Compiling functions with __attribute__ ((nmi_handler)) __attribute__ ((exception_handler)) or __attribute__ ((interrupt_handler))
and with -O1 -gdwarf-2 -mlong-calls -fomit-frame-pointer -finline-functions -std=gnu9x -Wall -MMD -Wno-char-subscripts -mcsync-anomaly -mspecld-anomaly produdes the following output: error: insn does not satisfy its constraints: (insn 15 14 16 2 CPU/testCase_GccError.c:93 (set (reg:BI 34 CC) (const_int 1 [0x1])) 8 {movbi} (nil)) CPU/testCase_GccError.c:95: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1603 Please submit a full bug report, When compiling without Optimiziation the output is different: error: insn does not satisfy its constraints: (insn 15 14 16 2 CPU/testCase_GccError.c:93 (set (reg:BI 34 CC) (const_int 1 [0x1])) 8 {movbi} (nil)) CPU/testCase_GccError.c:95: internal compiler error: in extract_constrain_insn_cached, at recog.c:1967 I compiled with gcc4.4.3. I tried some versions before - the error occures since 4.4.0. ´Cause of the version, I even dealed with the options of the IRA (internal register allocator) (e.g. -fira-algorithm=priority), but the errors still the same. -- Summary: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1603 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andre dot heinze at gmx dot net GCC build triplet: bfin-elf GCC host triplet: bfin-elf GCC target triplet: bfin-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43267