This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/78862] New: tile*: ICE with -fstack-protetor-strong


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

            Bug ID: 78862
           Summary: tile*: ICE with -fstack-protetor-strong
           Product: gcc
           Version: 6.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fw at gcc dot gnu.org
  Target Milestone: ---
            Target: tilepro-glibc-linux

Created attachment 40369
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40369&action=edit
Test case extracted from glibc

Compile the attached test case with:

tilepro-glibc-linux-gnu-gcc -c -O2 -fstack-protector-strong
tst-pthread-getattr.i

This causes an ICE:

tst-pthread-getattr.c: In function ‘allocate_and_test’:
tst-pthread-getattr.c:55:1: internal compiler error: in
dwarf2out_frame_debug_cfa_offset, at dwarf2cfi.c:1173
 }
 ^
0x64d4e8 dwarf2out_frame_debug_cfa_offset
        /home/bmg/src/gcc/gcc/dwarf2cfi.c:1173
0x64d4e8 dwarf2out_frame_debug
        /home/bmg/src/gcc/gcc/dwarf2cfi.c:2019
0x64d4e8 scan_insn_after
        /home/bmg/src/gcc/gcc/dwarf2cfi.c:2415
0x64ebdd scan_trace
        /home/bmg/src/gcc/gcc/dwarf2cfi.c:2572
0x64f64e create_cfi_notes
        /home/bmg/src/gcc/gcc/dwarf2cfi.c:2611
0x64f64e execute_dwarf2_frame
        /home/bmg/src/gcc/gcc/dwarf2cfi.c:2974
0x64f64e execute
        /home/bmg/src/gcc/gcc/dwarf2cfi.c:3454

Version: gcc version 6.2.1 20161219 [gcc-6-branch revision 243794] (GCC) 

Other tile* targets run into similar-looking ICEs.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]