public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/62020] New: [4.10 regression] ICE in add_symbol_to_partition
Date: Tue, 05 Aug 2014 12:21:00 -0000	[thread overview]
Message-ID: <bug-62020-4@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2014-08-05 12:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05 12:21 ro at gcc dot gnu.org [this message]
2014-08-05 12:21 ` [Bug lto/62020] " ro at gcc dot gnu.org
2014-08-05 13:03 ` rguenth at gcc dot gnu.org
2014-11-19 14:01 ` [Bug lto/62020] [5 " rguenth at gcc dot gnu.org
2014-11-19 14:22 ` ro at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-62020-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).