This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak


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

--- Comment #13 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-21 17:09:27 UTC ---
Author: jamborm
Date: Mon Jan 21 17:09:22 2013
New Revision: 195340

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195340
Log:
2013-01-21  Martin Jambor  <mjambor@suse.cz>

        PR tree-optimizations/55264
    * cgraph.c (cgraph_create_virtual_clone): Mark clones as non-virtual.
    * cgraph.h (cgraph_only_called_directly_p): Return false for virtual
    functions.
    * ipa-inline.c (cgraph_clone_inlined_nodes): Do reuse nodes of any
    virtual function.
    * ipa.c (cgraph_remove_unreachable_nodes): Never return true for
    virtual methods before inlining is over.

testsuite/
    * g++.dg/ipa/pr55264.C: New test.


Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/ipa/pr55264.C
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/cgraph.c
    branches/gcc-4_6-branch/gcc/cgraph.h
    branches/gcc-4_6-branch/gcc/ipa-inline.c
    branches/gcc-4_6-branch/gcc/ipa.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]