public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/42110] [4.5 Regression] ICE with inlining
Date: Thu, 10 Dec 2009 20:51:00 -0000	[thread overview]
Message-ID: <20091210205104.16193.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42110-1771@http.gcc.gnu.org/bugzilla/>



------- Comment #12 from hubicka at gcc dot gnu dot org  2009-12-10 20:51 -------
Subject: Bug 42110

Author: hubicka
Date: Thu Dec 10 20:50:47 2009
New Revision: 155140

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155140
Log:

        PR middle-end/42228
        PR middle-end/42110
        * cgraph.c (cgraph_create_edge_including_clones): Add old_stmt
parameter;
        update edge if it already exists.
        (cgraph_remove_node): Handle correctly cases where we are removing node
having
        clones.
        * cgraph.h (cgraph_create_edge_including_clones): Declare.
        (verify_cgraph_node): Add missing error_found = true code.
        (cgraph_materialize_all_clones): Remove call edges of dead nodes.
        * ipa.c (cgraph_remove_unreachable_nodes): Correctly look for master
        clone; fix double linked list removal.
        * tree-inline.c (copy_bb): Update cgraph_create_edge_including_clones
call;
        fix frequency of newly created edge.

        * g++.dg/torture/pr42110.C: new file.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr42110.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.c
    trunk/gcc/cgraph.h
    trunk/gcc/cgraphunit.c
    trunk/gcc/ipa.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c


-- 


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


  parent reply	other threads:[~2009-12-10 20:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 20:35 [Bug middle-end/42110] New: " reichelt at gcc dot gnu dot org
2009-11-19 20:36 ` [Bug middle-end/42110] " reichelt at gcc dot gnu dot org
2009-11-20 10:58 ` rguenth at gcc dot gnu dot org
2009-11-27 11:25 ` rguenth at gcc dot gnu dot org
2009-11-27 11:35 ` rguenth at gcc dot gnu dot org
2009-12-04 12:03 ` rguenth at gcc dot gnu dot org
2009-12-04 12:06 ` rguenth at gcc dot gnu dot org
2009-12-04 13:00 ` rguenth at gcc dot gnu dot org
2009-12-04 13:45 ` hjl dot tools at gmail dot com
2009-12-08 15:57 ` hubicka at gcc dot gnu dot org
2009-12-08 16:01 ` rguenth at gcc dot gnu dot org
2009-12-08 16:35 ` hubicka at ucw dot cz
2009-12-08 16:36 ` hubicka at gcc dot gnu dot org
2009-12-10 20:51 ` hubicka at gcc dot gnu dot org [this message]
2009-12-11 11:18 ` hubicka at gcc dot gnu dot org
2009-12-11 23:41 ` hjl at gcc dot gnu dot 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=20091210205104.16193.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).