This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r232572 - in /trunk/gcc: ChangeLog ipa-devirt.c...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 19 Jan 2016 16:49:50 -0000
- Subject: r232572 - in /trunk/gcc: ChangeLog ipa-devirt.c...
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