[PR 81702] Remove devirtualization assert
authorMartin Jambor <mjambor@suse.cz>
Tue, 31 Oct 2017 21:36:51 +0000 (22:36 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 31 Oct 2017 21:36:51 +0000 (22:36 +0100)
commit0a9088ee137d861c70898598d1bb79408f61689e
tree5ab4cd6c1e3f7f5ce40b1fe445ddfae962ccc36b
parent77f4ead72e55094fca78530bff75f83eb0faadbd
[PR 81702] Remove devirtualization assert

2017-10-31  Martin Jambor  <mjambor@suse.cz>

PR c++/81702
* gimple-fold.c (gimple_get_virt_method_for_vtable): Remove assert.

testsuite/
* g++.dg/tree-ssa/pr81702.C: New test.

From-SVN: r254283
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr81702.C [new file with mode: 0644]