re PR c++/58252 (ice in gimple_get_virt_method_for_binfo with -O2)
PR ipa/58252 PR ipa/59226 * ipa-devirt.c record_target_from_binfo): Take as argument stack of binfos and lookup matching one for virtual inheritance. (possible_polymorphic_call_targets_1): Update. * g++.dg/ipa/devirt-20.C: New testcase. * g++.dg/torture/pr58252.C: Likewise. * g++.dg/torture/pr59226.C: Likewise. From-SVN: r206516
Showing
gcc/testsuite/g++.dg/ipa/devirt-20.C
0 → 100644
gcc/testsuite/g++.dg/torture/pr58252.C
0 → 100644
gcc/testsuite/g++.dg/torture/pr59226.C
0 → 100644
Please
register
or
sign in
to comment