[Bug middle-end/69913] New: [6 Regression] ICE (segfault) in check_global_declaration ../../gcc/cgraphunit.c:947

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 23 10:07:00 GMT 2016


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

            Bug ID: 69913
           Summary: [6 Regression] ICE (segfault) in
                    check_global_declaration ../../gcc/cgraphunit.c:947
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
  Target Milestone: ---

Created attachment 37764
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37764&action=edit
Test case (tar.gz): Compile with: gcc -Wall  *c

Compiling the following test case, based on bfd/peigen.c (from today's
"binutils-gdb" Git), fails with an ICE when compiling it with:

gcc -Wall  test8.c

It fails with:

cc1: internal compiler error: Segmentation fault
0xb5f78f crash_signal
        ../../gcc/toplev.c:335
0x78b47d check_global_declaration
        ../../gcc/cgraphunit.c:947
0x78b47d analyze_functions
        ../../gcc/cgraphunit.c:1168
0x78bd58 symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2537


More information about the Gcc-bugs mailing list