[Bug lto/65380] New: [5 Regression] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 10 16:43:00 GMT 2015


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

            Bug ID: 65380
           Summary: [5 Regression] LTO: ICE in add_symbol_to_partition_1,
                    at lto/lto-partition.c:158
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org

Created attachment 35003
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35003&action=edit
one.ii

Follow up to PR65276, PR65302, PR65316, PR65361 - still for the same program.

Somewhat reduced test case (NOTE: The order one.ii/two.ii matters; if one
reverses it, it compiles):

 g++ -c -w -O2 -flto -std=c++11 one.ii two.ii
 gcc -r -nostdlib one.o two.o

fails with:

lto1: internal compiler error: in add_symbol_to_partition_1, at
lto/lto-partition.c:158
0x637bd0 add_symbol_to_partition_1
        ../../gcc/lto/lto-partition.c:157
0x637a1a add_symbol_to_partition_1
        ../../gcc/lto/lto-partition.c:202
0x63942c lto_balanced_map(int)
        ../../gcc/lto/lto-partition.c:640
0x632089 do_whole_program_analysis
        ../../gcc/lto/lto.c:3304
0x632089 lto_main()
        ../../gcc/lto/lto.c:3465



More information about the Gcc-bugs mailing list