* src/pic16/gen.c (genPcall): fixed bug #1443644
authorvrokas <vrokas@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 6 Mar 2006 13:01:25 +0000 (13:01 +0000)
committervrokas <vrokas@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 6 Mar 2006 13:01:25 +0000 (13:01 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4052 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/pic16/gen.c

index bef7add7ad7cd8551c959df4729dfc38b04c97a5..1c33e739ec5e85d44d93138ae9aa72e1f29de64d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2006-03-06 Vangelis Rokas <vrokas AT users.sourceforge.net>
 
+       * src/pic16/gen.c (genPcall): fixed bug #1443644
        * src/pic16/device.h (struct pic16_options_t): added 'int CATregs' flag
        which dumps before the function entry point a data byte which represents
        the number of the local variables used by the specified function, added
index 826a7195706850d4872f90cf10bb3071a5b354a3..5faf9be9cd7e7b6d6b17b8ca722a0165aca4fac2 100644 (file)
@@ -3398,14 +3398,13 @@ static void genCall (iCode *ic)
 /*-----------------------------------------------------------------*/
 static void genPcall (iCode *ic)
 {
-  sym_link *ftype, *fntype;
+  sym_link *ftype;
   int stackParms=0;
   symbol *retlbl = newiTempLabel(NULL);
   pCodeOp *pcop_lbl = pic16_popGetLabel(retlbl->key);
   
     FENTRY;
 
-    ftype = OP_SYM_TYPE(IC_LEFT(ic));
     fntype = operandType( IC_LEFT(ic) )->next;
 
     /* if send set is not empty the assign */