devirt-46.C: New testcase.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 4 Oct 2014 18:29:03 +0000 (20:29 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 4 Oct 2014 18:29:03 +0000 (18:29 +0000)
commit049e6d36cd8661e7dc1c7dc474cb6b1227543af6
tree1163da82a2e60b73864668cdd54636ba6277fe01
parent3daa7bbf7912030a760199f31a0926a11365a76f
devirt-46.C: New testcase.

* g++.dg/ipa/devirt-46.C: New testcase.
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Call
get_dynamic_type; drop TODO.
* ipa-polymorphic-call.c
(ipa_polymorphic_call_context::get_dynamic_type): Be ready
for otr_type to be unknown.

From-SVN: r215890
gcc/ChangeLog
gcc/ipa-polymorphic-call.c
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-46.C [new file with mode: 0644]