public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/60567] New: lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233
Date: Tue, 18 Mar 2014 17:35:00 -0000	[thread overview]
Message-ID: <bug-60567-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60567

            Bug ID: 60567
           Summary: lto1 ICE in add_symbol_to_partition, at
                    lto/lto-partition.c:233
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org

Possibly related: PR56775, PR56963 and PR57715 - or not.

The following code ICEs when doing with GCC 4.9:

$ gcc -c -flto test13.ii
$ gcc -r -nostdlib test13.o -flto
lto1: internal compiler error: in add_symbol_to_partition, at
lto/lto-partition.c:233
0x5b4dc4 add_symbol_to_partition
        ../../gcc/lto/lto-partition.c:231
0x5b4e69 add_references_to_partition
        ../../gcc/lto/lto-partition.c:94
0x5b4f9a add_symbol_to_partition_1
        ../../gcc/lto/lto-partition.c:168
0x5b649e lto_balanced_map()
        ../../gcc/lto/lto-partition.c:727
0x5b08a0 do_whole_program_analysis
        ../../gcc/lto/lto.c:3276
0x5b08a0 lto_main()
        ../../gcc/lto/lto.c:3416


Testcase:

#pragma implementation
class EIdent {   };
#pragma interface
class CellInsertedListener {
  virtual void cellInserted( const EIdent& newCell ) = 0;
};
class LayerListUpdateListener {
  virtual void layerRemoved( const EIdent& layerId ) = 0;
};
class VwBboxCacheMaster :
   public CellInsertedListener,
   public LayerListUpdateListener {
  virtual void layerRemoved (const EIdent&) {  }
};


             reply	other threads:[~2014-03-18 17:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 17:35 burnus at gcc dot gnu.org [this message]
2014-03-19 12:21 ` [Bug lto/60567] " burnus at gcc dot gnu.org
2014-03-19 17:42 ` burnus at gcc dot gnu.org
2014-03-19 19:01 ` burnus at gcc dot gnu.org
2014-03-19 19:20 ` burnus at gcc dot gnu.org
2014-03-20 19:13 ` [Bug lto/60567] lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 - when no -fresolution= is available burnus at gcc dot gnu.org
2014-03-21  9:58 ` [Bug lto/60567] [4.9 Regression] lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 with -fno-use-linker-plugin rguenth at gcc dot gnu.org
2014-03-21 10:00 ` rguenth at gcc dot gnu.org
2014-03-25  0:33 ` hubicka at gcc dot gnu.org
2014-03-31  9:45 ` rguenth at gcc dot gnu.org
2014-04-09  8:51 ` jakub at gcc dot gnu.org
2014-04-09 15:42 ` jakub at gcc dot gnu.org
2014-04-09 15:59 ` hubicka at gcc dot gnu.org
2014-04-09 16:03 ` hubicka at gcc dot gnu.org
2014-04-09 17:20 ` jason at gcc dot gnu.org
2014-04-10  8:48 ` jakub at gcc dot gnu.org
2014-04-10  9:03 ` jakub at gcc dot gnu.org
2014-04-10 16:45 ` jakub at gcc dot gnu.org
2014-04-10 18:55 ` jakub at gcc dot gnu.org
2014-04-10 18:58 ` jakub at gcc dot gnu.org
2014-04-10 19:02 ` jakub 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-60567-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).