I'm compiling the Chipmunk electronic design/simulation tools (psys 1.58) and the default makefile gets an ICE in compiling math.c. The default Makefile specifies -O3, but the ICE does not happen if I use no optimization or just -O. -O2 also gets the same ICE. Here is the compilation line and output:
gcc -O3 -DBSD -Dlinux -DF_OK=0 -I../include -I/usr/X11R6/include -DCHIPLIB=\"`cd ../../lib; pwd`\" -c -o math.o math.c math.c: In function `ma_lnfactorial': math.c:1691: internal compiler error: in move_for_stack_reg, at reg-stack.c:1065Please submit a full bug report, I will attach the preprocessed source. -- Summary: ICE: in move_for_stack_reg, at reg-stack.c:1065 Product: gcc Version: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bugs at chen-becker dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: Fedora Core 3 on PIII Coppermine GCC host triplet: Fedora Core 3 on PIII Coppermine GCC target triplet: Fedora Core 3 on PIII Coppermine http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19572