public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jamborm at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/42231] [4.4 Regression] Wrong generated code when using a callback function (possible callback function inlining bug ?)
Date: Sun, 27 Dec 2009 22:40:00 -0000	[thread overview]
Message-ID: <20091227224015.12370.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42231-18507@http.gcc.gnu.org/bugzilla/>



------- Comment #8 from jamborm at gcc dot gnu dot org  2009-12-27 22:40 -------
Subject: Bug 42231

Author: jamborm
Date: Sun Dec 27 22:39:58 2009
New Revision: 155481

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155481
Log:
2009-12-27  Martin Jambor  <mjambor@suse.cz>

        PR tree-optimization/42231
        * ipa-cp.c (ipcp_update_cloned_node): Add missing edges manually
        instead of relying on rebuild_cgraph_edges and mark them as
        indirect calls.
        (ipcp_update_callgraph): Always redirect indirect edges.

        * testsuite/gcc.c-torture/execute/pr42231.c: New test.


Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr42231.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/ipa-cp.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2009-12-27 22:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 14:27 [Bug c/42231] New: [4.4.x " roche+gccbugs at exalead dot com
2009-11-30 14:29 ` [Bug c/42231] " roche+gccbugs at exalead dot com
2009-11-30 14:38 ` roche+gccbugs at exalead dot com
2009-11-30 14:38 ` roche+gccbugs at exalead dot com
2009-11-30 14:46 ` [Bug tree-optimization/42231] [4.4 " rguenth at gcc dot gnu dot org
2009-11-30 14:47 ` rguenth at gcc dot gnu dot org
2009-11-30 15:07 ` roche+gccbugs at exalead dot com
2009-11-30 22:22 ` jamborm at gcc dot gnu dot org
2009-12-08 22:56 ` jamborm at gcc dot gnu dot org
2009-12-27 22:40 ` jamborm at gcc dot gnu dot org [this message]
2009-12-28  1:41 ` jamborm at gcc dot gnu dot org
2009-12-28  1:45 ` jamborm 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=20091227224015.12370.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).