re PR ipa/64378 (ICE: in inline_call, at ipa-inline-transform.c:347 with -O3 -fno...
authorJan Hubicka <hubicka@ucw.cz>
Sun, 18 Jan 2015 17:31:35 +0000 (18:31 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 18 Jan 2015 17:31:35 +0000 (17:31 +0000)
commit33c3b6be4d07de8f633a58b48d2e602586c1ad07
tree5e9c965ac3ae352399fa5d34e07ea24667cf9498
parent257024e31e297085e9f1d0c414f3a9cada93f300
re PR ipa/64378 (ICE: in inline_call, at ipa-inline-transform.c:347 with -O3 -fno-ipa-cp)

PR ipa/64378
* ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
flag correctly.
* ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
* g++.dg/torture/pr64378.C: New testcase.

From-SVN: r219822
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr64378.C [new file with mode: 0644]