r195339 - in /branches/gcc-4_7-branch/gcc: Chan...

jamborm@gcc.gnu.org jamborm@gcc.gnu.org
Mon Jan 21 17:02:00 GMT 2013


Author: jamborm
Date: Mon Jan 21 17:02:08 2013
New Revision: 195339

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195339
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_or_aliased_p): Return false
	for virtual functions.
	* ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
	for virtual methods.
	* 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_7-branch/gcc/testsuite/g++.dg/ipa/pr55264.C
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/cgraph.c
    branches/gcc-4_7-branch/gcc/cgraph.h
    branches/gcc-4_7-branch/gcc/ipa-inline-transform.c
    branches/gcc-4_7-branch/gcc/ipa.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list