https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63755
Bug ID: 63755 Summary: m32c invalid asm generated in libgcc autoconf probe Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org Created attachment 33899 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33899&action=edit autoconf libgcc probe generating ICE xgcc (GCC) 5.0.0 20141104 (experimental) configure:: /users/joel/test-gcc/b-m32c-rtems4.11-gcc/./gcc/xgcc -B/users/joel/test-gcc/b-m32c-rtems4.11-gcc/./gcc/ -nostdinc -B/users/joel/test-gcc/b-m32c-rtems4.11-gcc/m32c-rtems4.11/m32cm/newlib/ -isystem /users/joel/test-gcc/b-m32c-rtems4.11-gcc/m32c-rtems4.11/m32cm/newlib/targ-include -isystem /users/joel/test-gcc/gcc/newlib/libc/include -B/users/joel/test-gcc/install-head/m32c-rtems4.11/bin/ -B/users/joel/test-gcc/install-head/m32c-rtems4.11/lib/ -isystem /users/joel/test-gcc/install-head/m32c-rtems4.11/include -isystem /users/joel/test-gcc/install-head/m32c-rtems4.11/sys-include -mcpu=m32cm -c --save-temps -fexceptions conftest.c >&5 conftest.c: In function 'foo': conftest.c:19:1: error: insn does not satisfy its constraints: } ^ (insn 50 38 23 (set (reg:SI 2 r1 [29]) (reg:SI 4 a0)) 99 {movsi_24} (nil)) conftest.c:19:1: internal compiler error: in final_scan_insn, at final.c:2946 0x87e623 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc/gcc/rtl-error.c:110 0x87e64f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) ../../gcc/gcc/rtl-error.c:121 0x659ba9 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) ../../gcc/gcc/final.c:2946 0x659c76 final(rtx_insn*, _IO_FILE*, int) ../../gcc/gcc/final.c:2076 0x65a61e rest_of_handle_final ../../gcc/gcc/final.c:4484 0x65a61e execute ../../gcc/gcc/final.c:4559 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. configure:: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | #define SIZEOF_DOUBLE 8 | #define SIZEOF_LONG_DOUBLE 8 | #define HAVE_GETIPINFO 1 | /* end confdefs.h. */ | | void bar (); | void clean (int *); | void foo () | { | int i __attribute__ ((cleanup (clean))); | bar(); | } | configure:4262: result: unknown configure:4278: error: unable to detect exception model