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

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Thu Dec 27 21:23:00 GMT 2018


Author: hubicka
Date: Thu Dec 27 21:23:30 2018
New Revision: 267438

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

	* ipa-devirt.c (polymorphic_call_target_d): Add n_odr_types.
	(polymorphic_call_target_hasher::hash): Hash it.
	(polymorphic_call_target_hasher::equal): Compare it.
	(possible_polymorphic_call_targets): Set it.
	* tree.c (free_lang_data): Rebuild type inheritance graph even on
	non-LTO path.

	* g++.dg/ipa/devirt-53.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/ipa/devirt-53.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-devirt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c



More information about the Gcc-cvs mailing list