Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Sandeep Dutta <sandeep@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: sdcc-devel-admin@... [mailto:sdcc-devel-admin@...]On Behalf Of Johan Knol Sent: Saturday, February 24, 2001 8:32 AM To: sdcc-devel@... 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 sdcc-devel@... http://lists.sourceforge.net/lists/listinfo/sdcc-devel |