[Bug target/78459] New: [7 Regression] [SH] ICE in maybe_record_trace_start building glibc string tests

jsm28 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 22 01:30:00 GMT 2016


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

            Bug ID: 78459
           Summary: [7 Regression] [SH] ICE in maybe_record_trace_start
                    building glibc string tests
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
            Target: sh4-linux-gnu

Created attachment 40104
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40104&action=edit
preprocessed source

GCC mainline built for sh4-linux-gnu has an ICE building glibc string/tester.c.
 Compile with: sh4-glibc-linux-gnu-gcc -S tester.i
-fno-isolate-erroneous-paths-dereference -fno-isolate-erroneous-paths-attribute
-std=gnu11 -fgnu89-inline  -O2 -fmerge-all-constants -g

tester.c: In function 'test_strcpy':
tester.c:178:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2328
 }
 ^
0x76f73c maybe_record_trace_start
        /scratch/jmyers/glibc/many7/src/gcc/gcc/dwarf2cfi.c:2328
0x770040 scan_trace
        /scratch/jmyers/glibc/many7/src/gcc/gcc/dwarf2cfi.c:2510
0x77086a create_cfi_notes
        /scratch/jmyers/glibc/many7/src/gcc/gcc/dwarf2cfi.c:2664
0x77086a execute_dwarf2_frame
        /scratch/jmyers/glibc/many7/src/gcc/gcc/dwarf2cfi.c:3022
0x77086a execute
        /scratch/jmyers/glibc/many7/src/gcc/gcc/dwarf2cfi.c:3502
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.

Preprocessed source attached.


More information about the Gcc-bugs mailing list