[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
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 21 17:10:00 GMT 2013
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
More information about the Gcc-bugs
mailing list