From: Sandeep D. <sa...@dd...> - 2001-02-25 00:36:31
|
Fixed, the problem was in the new routine. pushcast... it has to stop at function call nodes. Sandeep -----Original Message----- From: sdc...@li... [mailto:sdc...@li...]On Behalf Of Johan Knol Sent: Saturday, February 24, 2001 8:32 AM To: sdc...@li... Subject: [sdcc-devel]bug report: compiler crash in geniCodeParms extern unsigned char docrc8(int, unsigned char); unsigned char tstcrc(int portnum) { unsigned int lastcrc8; lastcrc8 = docrc8(portnum,'a'); return lastcrc8; } (changing lastcrc8 to a char avoids the crash, but that's not the point) Because operandFromSymbol() is called with a "parm->argSYM==0" argument. I think the test at SDCCicode.c:2702 is too strict, but I don't know how to fix it. Please help, Regards, Johan _______________________________________________ sdcc-devel mailing list sdc...@li... http://lists.sourceforge.net/lists/listinfo/sdcc-devel |