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

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Tue Jan 19 16:49:00 GMT 2016


Author: hubicka
Date: Tue Jan 19 16:49:50 2016
New Revision: 232572

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

	PR ipa/66223
	* ipa-devirt.c (is_cxa_pure_virtual_p): New function.
	(maybe_record_node): Record cxa_pure_virtual as the only possible
	target if there are not ohter candidates.
	(possible_polymorphic_call_target_p): Accept cxa_pure_virtual.

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

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



More information about the Gcc-cvs mailing list