public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/48508] ICE in output_die, at dwarf2out.c:11409
Date: Wed, 14 Dec 2011 14:34:00 -0000	[thread overview]
Message-ID: <bug-48508-4-QXl5V1VCwT@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48508-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-14 14:33:27 UTC ---
Even more reduced, fails with

> ./g++ -B. -g -O -r -nostdlib 1.ii 2.ii -flto -finline-small-functions
lto1: internal compiler error: in output_die, at dwarf2out.c:8401

1.ii
----
class Value;
bool js_ValueToAtom(const Value &v);
void
js_InternNonIntElementIdSlow(const Value &idval)
{
  js_ValueToAtom(idval);
} 

2.ii
----
class Value;
void
js_InternNonIntElementId(const Value &idval)
{
  extern void js_InternNonIntElementIdSlow(const Value &);
  js_InternNonIntElementIdSlow(idval);
}
void
Interpret(const Value &idval_)
{
  js_InternNonIntElementId(idval_);
}

Appearantly it is required that js_InternNonIntElementId is inlined
eary while js_InternNonIntElementIdSlow is inlined two times at IPA
time, both into js_InternNonIntElementId and Interpret.


  parent reply	other threads:[~2011-12-14 14:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 23:21 [Bug lto/48508] New: " hubicka at gcc dot gnu.org
2011-04-07 23:25 ` [Bug lto/48508] " hubicka at gcc dot gnu.org
2011-04-08 10:09 ` rguenth at gcc dot gnu.org
2011-04-08 15:17 ` hubicka at gcc dot gnu.org
2011-04-22  9:33 ` hubicka at gcc dot gnu.org
2011-05-26 11:57 ` rguenth at gcc dot gnu.org
2011-11-06 19:01 ` josh.m.conner at gmail dot com
2011-12-09 13:50 ` rguenth at gcc dot gnu.org
2011-12-09 18:27 ` jason at gcc dot gnu.org
2011-12-09 20:09 ` jason at gcc dot gnu.org
2011-12-12 12:41 ` rguenth at gcc dot gnu.org
2011-12-12 12:46 ` rguenth at gcc dot gnu.org
2011-12-14 14:34 ` rguenth at gcc dot gnu.org [this message]
2011-12-14 15:14 ` rguenth at gcc dot gnu.org
2011-12-14 15:32 ` rguenth at gcc dot gnu.org
2011-12-14 16:04 ` rguenth at gcc dot gnu.org
2011-12-15  9:46 ` rguenth at gcc dot gnu.org
2011-12-15  9:52 ` rguenth 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-48508-4-QXl5V1VCwT@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).