public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ktietz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65277] [5 Regression] ice in get_untransformed_body with -O2
Date: Mon, 02 Mar 2015 15:58:00 -0000	[thread overview]
Message-ID: <bug-65277-4-WZlvCgNNtP@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-65277-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #2)
> 221040(In reply to Kai Tietz from comment #1)
> > It is caused by r214422
> 
> No, I think this started with r221040.

Yes, it got shown with r221040.  Nevertheless code-change mentioned before
happend in r214256 (svn blame lied).  So I am testing right now:

Index: cgraphunit.c
===================================================================
--- cgraphunit.c        (Revision 221103)
+++ cgraphunit.c        (Arbeitskopie)
@@ -1847,7 +1847,8 @@ cgraph_node::expand (void)
   announce_function (decl);
   process = 0;
   gcc_assert (lowered);
-  get_untransformed_body ();
+  if (in_lto_p)
+    get_untransformed_body ();

   /* Generate RTL for the body of DECL.  */


  parent reply	other threads:[~2015-03-02 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02 13:52 [Bug c++/65277] New: " dcb314 at hotmail dot com
2015-03-02 14:02 ` [Bug c++/65277] [5 Regression] " rguenth at gcc dot gnu.org
2015-03-02 14:43 ` ktietz at gcc dot gnu.org
2015-03-02 15:24 ` mpolacek at gcc dot gnu.org
2015-03-02 15:58 ` ktietz at gcc dot gnu.org [this message]
2015-03-02 23:29 ` hubicka at gcc dot gnu.org
2015-03-03 13:07 ` [Bug ipa/65277] " marxin 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-65277-4-WZlvCgNNtP@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).