public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64686] [5 Regression] ICE: in edge_badness, at ipa-inline.c:912 during Firefox LTO build with enabled checking
Date: Wed, 28 Jan 2015 12:51:00 -0000	[thread overview]
Message-ID: <bug-64686-4-Uqh9IWDIJs@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64686-4@http.gcc.gnu.org/bugzilla/>

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat bug184.cc
class A
{
protected:
  A *m_fn2 (int) const;
public:
  virtual A *m_fn1 (int *) const = 0;
};
class B : A
{
  B (A *, int, A *);
  A *m_fn1 (int *) const;
};
A *
B::m_fn1 (int *) const
{
  new B (m_fn2 (0)->m_fn1 (0), 0, m_fn2 (0)->m_fn1 (0));
}

markus@x4 tmp % g++ -c -O3 bug184.cc
bug184.cc:17:1: internal compiler error: in edge_badness, at ipa-inline.c:1014
 }
 ^
0x128f4d7 edge_badness
        ../../gcc/gcc/ipa-inline.c:1014
0x1290855 update_edge_key
        ../../gcc/gcc/ipa-inline.c:1140
0x1290855 inline_small_functions
        ../../gcc/gcc/ipa-inline.c:1720
0x129305a ipa_inline
        ../../gcc/gcc/ipa-inline.c:2291
0x129305a execute
        ../../gcc/gcc/ipa-inline.c:2663
Please submit a full bug report,


  parent reply	other threads:[~2015-01-28 12:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-64686-4@http.gcc.gnu.org/bugzilla/>
2015-01-20 10:17 ` marxin at gcc dot gnu.org
2015-01-20 19:23 ` hubicka at gcc dot gnu.org
2015-01-22  5:09 ` hubicka at gcc dot gnu.org
2015-01-28 12:44 ` dcb314 at hotmail dot com
2015-01-28 12:47 ` dcb314 at hotmail dot com
2015-01-28 12:51 ` trippels at gcc dot gnu.org [this message]
2015-01-29  7:42 ` hubicka at gcc dot gnu.org
2015-02-04 22:56 ` hubicka at gcc dot gnu.org
2015-02-05  0:16 ` hubicka at gcc dot gnu.org
2015-02-05  4:47 ` 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=bug-64686-4-Uqh9IWDIJs@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).