[Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 1 10:36:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81702

--- Comment #11 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Wed Nov  1 10:35:13 2017
New Revision: 254295

URL: https://gcc.gnu.org/viewcvs?rev=254295&root=gcc&view=rev
Log:
[PR 81702] Remove devirtualization assert

2017-11-01  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.


Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/tree-ssa/pr81702.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/gimple-fold.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list