public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/45621] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer is set but no predecessors found with -fipa-cp-clone -flto
Date: Thu, 09 Sep 2010 19:36:00 -0000	[thread overview]
Message-ID: <20100909193600.17483.qmail@sourceware.org> (raw)
In-Reply-To: <bug-45621-14164@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from zsojka at seznam dot cz  2010-09-09 19:35 -------
Created an attachment (id=21757)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21757&action=view)
archive with reduced testcase

$ g++ -O2 -fipa-cp-clone -flto -nostdlib -r file1.cpp file2.cpp

----- file1.cpp -----
#include "header.h"

void
foo ()
{
  s.v1 ();
  s.m ();
}
---------------------
----- file2.cpp -----
#include "header.h"

void
S::v1 ()
{
  v2 ();
}

void
S::m ()
{
  v1 ();
}
---------------------
----- header.h -----
struct S
{
  void m ();
  virtual void v1 ();
  virtual void v2 ();
};

extern S s;
--------------------

I pressed "Commit" too early, so there is the rest:
Tested revisions:
r164077 - crash
r164096 - crash
r161659 - OK


-- 


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


  reply	other threads:[~2010-09-09 19:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-09 19:31 [Bug rtl-optimization/45621] New: " zsojka at seznam dot cz
2010-09-09 19:36 ` zsojka at seznam dot cz [this message]
2010-09-10  9:38 ` [Bug rtl-optimization/45621] " rguenth at gcc dot gnu dot org
2010-09-17  1:06 ` hubicka at gcc dot gnu dot org
2010-09-17  1:08 ` hubicka at gcc dot gnu dot org
2010-09-17 12:17 ` hubicka at gcc dot gnu dot org
     [not found] <bug-45621-4@http.gcc.gnu.org/bugzilla/>
2010-09-29 17:12 ` rguenth at gcc dot gnu.org
2010-10-14 19:00 ` hubicka at gcc dot gnu.org
2010-10-15  1:21 ` hubicka at gcc dot gnu.org
2010-10-15  1:24 ` hubicka 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=20100909193600.17483.qmail@sourceware.org \
    --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).