devirt-42.C: New testcase.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 4 Oct 2014 03:24:42 +0000 (05:24 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 4 Oct 2014 03:24:42 +0000 (03:24 +0000)
commit07f4a83d4afba28f8b73a9b9a8aeb48adec9eac3
tree4e12538abcb7a57877879348dae3ea4837723aa8
parentdbaba85539c4742ccb02f4750c05ccc296cbbb7b
devirt-42.C: New testcase.

* testsuite/g++.dg/ipa/devirt-42.C: New testcase.
* testsuite/g++.dg/ipa/devirt-43.C: New testcase.
* testsuite/g++.dg/ipa/devirt-44.C: New testcase.
* testsuite/g++.dg/ipa/devirt-45.C: New testcase.
* ipa-polymorphic-call.c
(ipa_polymorphic_call_context::ipa_polymorphic_call_context): Fix
code determining speculative type.
(ipa_polymorphic_call_context::combine_with): Fix speculation merge.

From-SVN: r215886
gcc/ChangeLog
gcc/ipa-polymorphic-call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-41.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-42.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-43.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-44.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-45.C [new file with mode: 0644]