From: vrokas Date: Mon, 6 Mar 2006 13:01:25 +0000 (+0000) Subject: * src/pic16/gen.c (genPcall): fixed bug #1443644 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=0f538b7d15fe73d43484c0ee8d097acc2286608a;p=fw%2Fsdcc * src/pic16/gen.c (genPcall): fixed bug #1443644 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4052 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index bef7add7..1c33e739 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2006-03-06 Vangelis Rokas + * 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 diff --git a/src/pic16/gen.c b/src/pic16/gen.c index 826a7195..5faf9be9 100644 --- a/src/pic16/gen.c +++ b/src/pic16/gen.c @@ -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 */