From: SourceForge.net <no...@so...> - 2004-02-04 06:34:16
|
Bugs item #861896, was opened at 2003-12-17 14:07 Message generated for change (Comment added) made by epetrich You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=861896&group_id=599 Category: C-Front End >Group: fixed >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Erik Petrich (epetrich) Summary: FATAL Compiler Internal Error Initial Comment: Hi. The following (attached) valid code gives an ICE and a suggestion to contact an Author with a source code. Doing that:) --- struct { unsigned char a; unsigned char *p; } v; char tmp[3]; void tst(void (*ttt)(char) reentrant, char *ptr) #define qqq(x) (*ttt)(x) { bit a = 0; char c; while( c=*ptr ) { qqq( *v.p++ ); qqq( tmp[(v.a) ? 1 : v.a] ); qqq( c ); qqq( a ? 1 : 2 ); } } --- $ sdcc -c funptr.c funptr.c:20: error: FATAL Compiler Internal Error in file 'gen.c' line number '1222' : aopPut got unsupported aop->type Contact Author with source code $ sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.3.6 (Dec 9 2003) (UNIX) Thanks. ---------------------------------------------------------------------- >Comment By: Erik Petrich (epetrich) Date: 2004-02-04 00:34 Message: Logged In: YES user_id=635249 Fixed with src/SDCCicode.c 1.187 and src/SDCCast.c 1.218. ---------------------------------------------------------------------- Comment By: Stas Sergeev (stsp) Date: 2003-12-17 14:10 Message: Logged In: YES user_id=501371 Sorry, forgot to login. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=861896&group_id=599 |