https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81804
Bug ID: 81804 Summary: m32c ICE during configure at leaf_function_p, at final.c:4317 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org Target Milestone: --- Version: (GCC) 8.0.0 20170809 target: m32c-rtems, likely for m32c-elf checking for m32c-rtems4.12-gcc... /home/joel/test-gcc/b-m32c-rtems4.12-gcc/./gcc/xgcc -B/home/joel/test-gcc/b-m32c-rtems4.12-gcc/./gcc/ -nostdinc -B/home/joel/test-gcc/b-m32c-rtems4.12-gcc/m32c-rtems4.12/newlib/ -isystem /home/joel/test-gcc/b-m32c-rtems4.12-gcc/m32c-rtems4.12/newlib/targ-include -isystem /home/joel/test-gcc/gcc/newlib/libc/include -B/home/joel/test-gcc/install-master/m32c-rtems4.12/bin/ -B/home/joel/test-gcc/install-master/m32c-rtems4.12/lib/ -isystem /home/joel/test-gcc/install-master/m32c-rtems4.12/include -isystem /home/joel/test-gcc/install-master/m32c-rtems4.12/sys-include checking for suffix of object files... configure: error: in `/home/joel/test-gcc/b-m32c-rtems4.12-gcc/m32c-rtems4.12/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. config.log contains: configure:3471: /home/joel/test-gcc/b-m32c-rtems4.12-gcc/./gcc/xgcc -B/home/joel/test-gcc/b-m32c-rtems4.12-gcc/./gcc/ -nostdinc -B/home/joel/test-gcc/b-m32c-rtems4.12-gcc/m32c-rtems4.12/newlib/ -isystem /home/joel/test-gcc/b-m32c-rtems4.12-gcc/m32c-rtems4.12/newlib/targ-include -isystem /home/joel/test-gcc/gcc/newlib/libc/include -B/home/joel/test-gcc/install-master/m32c-rtems4.12/bin/ -B/home/joel/test-gcc/install-master/m32c-rtems4.12/lib/ -isystem /home/joel/test-gcc/install-master/m32c-rtems4.12/include -isystem /home/joel/test-gcc/install-master/m32c-rtems4.12/sys-include -o conftest -g -O2 conftest.c >&5 during RTL pass: pro_and_epilogue conftest.c: In function 'main': conftest.c:16:1: internal compiler error: in leaf_function_p, at final.c:4317 } ^ 0x6e67c5 leaf_function_p() ../../gcc/gcc/final.c:4317 0xd484ac m32c_leaf_function_p ../../gcc/gcc/config/m32c/m32c.c:4016 0xd484ac m32c_emit_prologue() ../../gcc/gcc/config/m32c/m32c.c:4070 0xe8573a gen_prologue() ../../gcc/gcc/config/m32c/prologue.md:26 0xd44c58 target_gen_prologue ../../gcc/gcc/config/m32c/blkmov.md:359 0x734b47 make_prologue_seq ../../gcc/gcc/function.c:5835 0x734d03 thread_prologue_and_epilogue_insns() ../../gcc/gcc/function.c:5952 0x7353c2 rest_of_handle_thread_prologue_and_epilogue ../../gcc/gcc/function.c:6443 0x7353c2 execute ../../gcc/gcc/function.c:6485 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. configure:3474: $? = 1 configure:3662: checking for suffix of object files