public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hubicka at ucw dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/52037] [4.7 regression] ICE in update_ssa, at tree-into-ssa.c:3362 while linking LTO libxul
Date: Tue, 31 Jan 2012 14:11:00 -0000	[thread overview]
Message-ID: <bug-52037-4-l7hWkMt5y9@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52037-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #12 from Jan Hubicka <hubicka at ucw dot cz> 2012-01-31 13:34:13 UTC ---
> BTW I've been using the following patch since August last year:
> 
> diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c
> index 75b8e9d..530fca3 100644
> --- a/gcc/ipa-inline-transform.c
> +++ b/gcc/ipa-inline-transform.c
> @@ -123,6 +123,7 @@ can_remove_node_now_p (struct cgraph_node *node, struct
> cgraph_edge *e)
>      if ((next->callers && next->callers != e)
>         || !can_remove_node_now_p_1 (next))
>        return false;
> +  gcc_unreachable ();
>    return true;
>  }
> 
> And it never triggered since then...

I suppose it is because same_condat_group is used for virutal constructors with
thunks and we are so bad at devirutalzing still... (i.e. somthing like 11 calls
at Mozilla if I remember right) At least I do not see obvoius thinko in that
code.

Honza


      parent reply	other threads:[~2012-01-31 13:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-29 11:14 [Bug tree-optimization/52037] New: " markus at trippelsdorf dot de
2012-01-29 12:00 ` [Bug tree-optimization/52037] " markus at trippelsdorf dot de
2012-01-29 12:00 ` markus at trippelsdorf dot de
2012-01-29 14:11 ` markus at trippelsdorf dot de
2012-01-29 14:12 ` markus at trippelsdorf dot de
2012-01-29 18:49 ` markus at trippelsdorf dot de
2012-01-29 21:21 ` markus at trippelsdorf dot de
2012-01-30  9:39 ` rguenth at gcc dot gnu.org
2012-01-30 12:46 ` rguenth at gcc dot gnu.org
2012-01-30 13:42 ` hubicka at ucw dot cz
2012-01-30 13:58 ` rguenth at gcc dot gnu.org
2012-01-30 14:36 ` markus at trippelsdorf dot de
2012-01-31 14:11 ` hubicka at ucw dot cz [this message]

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-52037-4-l7hWkMt5y9@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).