re PR ipa/64282 (ICE in gimple_get_virt_method_for_vtable, at gimple-fold.c:5635)
commitb833dedd61dac54df19512744772c6765c6d33a4
authorJan Hubicka <hubicka@ucw.cz>
Tue, 27 Jan 2015 16:59:31 +0000 (27 17:59 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 27 Jan 2015 16:59:31 +0000 (27 16:59 +0000)
tree3e002e77ee8eed2f26642b856fa34952144d14f8
parente24ca886a81b5754e75c734c6dc140fdf5524131
re PR ipa/64282 (ICE in gimple_get_virt_method_for_vtable, at gimple-fold.c:5635)

PR ipa/64282
* gimple-fold.c (gimple_get_virt_method_for_vtable): Remove assert
on vtable being vtable.
* g++.dg/torture/pr64282.C: New testcase.

From-SVN: r220177
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr64282.C [new file with mode: 0644]