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

            Bug ID: 64889
           Summary: [h8300] ICE maybe_record_trace_start, at
                    dwarf2cfi.c:2318
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ysato at users dot sourceforge.jp

Created attachment 34639
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34639&action=edit
reproduce on ICE

reporoduce code attached.

$ h8300-elf-gcc -mh -mint32 -Os -g -fomit-frame-pointer -c namei.c
namei.c: In function 'SYSC_mknodat':
namei.c:38:6: warning: implicit declaration of function 'new_decode_dev'
[-Wimplicit-function-declaration]
      new_decode_dev(dev));
      ^
../../linux/namei.c:42:1: internal compiler error: in maybe_record_trace_start,
at dwarf2cfi.c:2318
 }
 ^
0x6d1d87 maybe_record_trace_start
    ../../gcc/dwarf2cfi.c:2318
0x6d2640 scan_trace
    ../../gcc/dwarf2cfi.c:2496
0x6d2e4a create_cfi_notes
    ../../gcc/dwarf2cfi.c:2650
0x6d2e4a execute_dwarf2_frame
    ../../gcc/dwarf2cfi.c:3006
0x6d2e4a execute
    ../../gcc/dwarf2cfi.c:3486
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.

Reply via email to