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

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Sat Jun 28 18:26:00 GMT 2014


Author: hubicka
Date: Sat Jun 28 18:26:12 2014
New Revision: 212107

URL: https://gcc.gnu.org/viewcvs?rev=212107&root=gcc&view=rev
Log:
	* ipa-devirt.c (set_type_binfo): New function.
	(add_type_duplicate): Use it.
	(get_odr_type): Sanity check that binfos points to main variants.
	(get_class_context): Be sure the context's outer_type is main variant.
	(contains_type_p): Walk main variant.
	(get_polymorphic_call_info_for_decl): Set outer_type to be main variant.
	(get_polymorphic_call_info): Likewise.
	(possible_polymorphic_call_targets): Sanity check that we operate on main
	variant.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-devirt.c



More information about the Gcc-cvs mailing list