------- 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  <mjam...@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

Reply via email to