[Bug lto/62020] New: [4.10 regression] ICE in add_symbol_to_partition

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 5 12:21:00 GMT 2014


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

            Bug ID: 62020
           Summary: [4.10 regression] ICE in add_symbol_to_partition
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
              Host: *-*-solaris2.1[01]
            Target: *-*-solaris2.1[01]
             Build: *-*-solaris2.1[01]

Between 20140725 (r213049) and 20140801 (r213453) occured a testsuite
regression
on Solaris (both sparc and x86, 32 and 64-bit):

FAIL: g++.dg/lto/20100302 cp_lto_20100302_0.o-cp_lto_20100302_1.o link, -flto
-fabi-version=2 (internal compiler error)
UNRESOLVED: g++.dg/lto/20100302 cp_lto_20100302_0.o-cp_lto_20100302_1.o execute
-flto -fabi-version=2

The failure boils down to

./lto1 -quiet -fwpa cp_lto_20100302_0.o cp_lto_20100302_1.o
lto1: internal compiler error: in add_symbol_to_partition, at
lto/lto-partition.c:232
0x8295962 add_symbol_to_partition
        /vol/gcc/src/hg/trunk/local/gcc/lto/lto-partition.c:232
0x8295582 add_references_to_partition
        /vol/gcc/src/hg/trunk/local/gcc/lto/lto-partition.c:94
0x82956ce add_symbol_to_partition_1
        /vol/gcc/src/hg/trunk/local/gcc/lto/lto-partition.c:168
0x8295de6 lto_balanced_map(int)
        /vol/gcc/src/hg/trunk/local/gcc/lto/lto-partition.c:501
0x82901d2 do_whole_program_analysis
        /vol/gcc/src/hg/trunk/local/gcc/lto/lto.c:3272
0x82901d2 lto_main()
        /vol/gcc/src/hg/trunk/local/gcc/lto/lto.c:3426

gdb finds
#1  0x08295963 in add_symbol_to_partition (part=part@entry=0x9433aa0, 
    node=0xface4040) at /vol/gcc/src/hg/trunk/local/gcc/lto/lto-partition.c:232
232       gcc_assert (node->get_partitioning_class () == SYMBOL_DUPLICATE
(gdb) p node->get_partitioning_class()
$1 = SYMBOL_PARTITION

I can attach the .o files if this helps.

  Rainer



More information about the Gcc-bugs mailing list