https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83670

            Bug ID: 83670
           Summary: m32c ICE in leaf_function_p, at final.c:4368
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sebastian.hu...@embedded-brains.de
  Target Milestone: ---

Created attachment 43016
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43016&action=edit
Test program.

m32c-rtems5-gcc -O2 test.i
during RTL pass: pro_and_epilogue
test.c: In function 'main':
test.c:16:1: internal compiler error: in leaf_function_p, at final.c:4368
 }
 ^
0x103e7b8b leaf_function_p()
        /home/sh/src/gcc/gcc/final.c:4368
0x10c3c61f m32c_leaf_function_p
        /home/sh/src/gcc/gcc/config/m32c/m32c.c:4023
0x10c3c61f m32c_emit_prologue()
        /home/sh/src/gcc/gcc/config/m32c/m32c.c:4077
0x10dfb8e3 gen_prologue()
        /home/sh/src/gcc/gcc/config/m32c/prologue.md:26
0x10c35e57 target_gen_prologue
        /home/sh/src/gcc/gcc/config/m32c/blkmov.md:359
0x1044e9d3 make_prologue_seq
        /home/sh/src/gcc/gcc/function.c:5912
0x1044ed67 thread_prologue_and_epilogue_insns()
        /home/sh/src/gcc/gcc/function.c:6029
0x1044f7af rest_of_handle_thread_prologue_and_epilogue
        /home/sh/src/gcc/gcc/function.c:6520
0x1044f7af execute
        /home/sh/src/gcc/gcc/function.c:6562
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.

Reply via email to