r214271 - in /trunk/gcc: ChangeLog ipa-devirt.c...

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Thu Aug 21 13:49:00 GMT 2014


Author: hubicka
Date: Thu Aug 21 13:49:07 2014
New Revision: 214271

URL: https://gcc.gnu.org/viewcvs?rev=214271&root=gcc&view=rev
Log:

	PR tree-optimization/62091
	* g++.dg/ipa/devirt-37.C: Update template.
	* g++.dg/ipa/devirt-40.C: New testcase.
	* ipa-devirt.c (ipa_polymorphic_call_context::restrict_to_inner_type):
	handle correctly arrays.
	(extr_type_from_vtbl_ptr_store): Add debug output; handle multiple
	inheritance binfos.
	(record_known_type): Walk into inner type.
	(ipa_polymorphic_call_context::get_dynamic_type): Likewise; strenghten
	condition on no type changes.

Added:
    trunk/gcc/testsuite/g++.dg/ipa/devirt-40.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-devirt.c
    trunk/gcc/lto/lto.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ipa/devirt-37.C



More information about the Gcc-cvs mailing list