Hi! With gcc 4.1.0 and 4.1.1 on GNU/Linux platforms i can reliably reproduce an internal compiler error. Unfortunately, there does not seem to be a way to attach a file to this bug report, so i will instead post a URL:
http://s11n.net/tmp/jscpucfg.c The command line is: gcc -o jscpucfg.o -c -Wall -Wno-format -DGCC_OPT_BUG -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DX86_LINUX jscpucfg.c jscpucfg.c:376: internal compiler error: in dwarf2out_finish, at dwarf2out.c:14117 gcc --version gcc (GCC) 4.1.1 Also reproduced with 4.1.0. The software being built is the Mozilla SpiderMonkey Javascript engine, in case it makes any difference. -- Summary: internal compiler error with demo code Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stephan at s11n dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28379