https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89828
Bug ID: 89828 Summary: Inernal compiler error on -fno-omit-frame-pointer Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ysato at users dot sourceforge.jp Target Milestone: --- Created attachment 46025 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46025&action=edit problem happened source code I got following errors. $ rx-elf-gcc -c -O2 -g -fno-omit-frame-pointer core.c during RTL pass: dwarf2 kernel/sched/core.c: In function '__schedule_bug': kernel/sched/core.c:3277:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1183 3277 | } | ^ 0x75efc9 dwarf2out_frame_debug_adjust_cfa ../../gcc/dwarf2cfi.c:1183 0x75efc9 dwarf2out_frame_debug ../../gcc/dwarf2cfi.c:2079 0x75efc9 scan_insn_after ../../gcc/dwarf2cfi.c:2511 0x75f188 scan_trace ../../gcc/dwarf2cfi.c:2678 0x75fdca create_cfi_notes ../../gcc/dwarf2cfi.c:2722 0x75fdca execute_dwarf2_frame ../../gcc/dwarf2cfi.c:3086 0x75fdca execute ../../gcc/dwarf2cfi.c:3574 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. rx-elf-gcc -c -O2 -g -fomit-frame-pointer core.c works fine.