https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64403
Bug ID: 64403 Summary: m32c-elf ICE with -mcpu=m32cm and cleanup Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: yselkowi at redhat dot com Host: x86_64-cygwin Target: m32c-elf, m32c-rtems Build: x86_64-cygwin While building 4.9.2 with binutils-2.25 for m32c-{elf,rtems} targets, the m32cm multilib libgcc configure (but not the main one) fails during the SjLj exceptions test: $ cat conftest.c void bar (); void clean (int *); void foo () { int i __attribute__ ((cleanup (clean))); bar(); } $ ./gcc/xgcc -B gcc -c -fexceptions -save-temps conftest.c [succeeds] $ ./gcc/xgcc -B gcc -c -mcpu=m32cm -fexceptions -save-temps conftest.c conftest.c: In function ‘foo’: conftest.c:7:1: error: insn does not satisfy its constraints: } ^ (insn 52 38 23 (set (reg:SI 2 r1 [29]) (reg:SI 4 a0)) 99 {movsi_24} (nil)) conftest.c:7:1: internal compiler error: in final_scan_insn, at final.c:2891 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.