[Bug c++/81007] [7 Regression] ICE with virtual function in broken class

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 28 13:28:00 GMT 2017


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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun 28 13:25:33 2017
New Revision: 249738

URL: https://gcc.gnu.org/viewcvs?rev=249738&root=gcc&view=rev
Log:
2017-06-28  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2017-06-09  Richard Biener  <rguenther@suse.de>

        PR middle-end/81007
        * ipa-polymorphic-call.c
        (ipa_polymorphic_call_context::restrict_to_inner_class):
        Skip FIELD_DECLs with error_mark_node type.
        * passes.def (all_lowering_passes): Run pass_build_cgraph_edges
        last again.

        * g++.dg/pr81007.C: New testcase.

        2017-06-14  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/81083
        * tree-ssa-sccvn.c (vn_reference_lookup_3): Do not use abnormals
        as values.

        * gcc.dg/torture/pr81083.c: New testcase.

        2017-06-21  Richard Biener  <rguenther@suse.de>

        PR gcov-profile/81080
        * configure.ac: Add AC_SYS_LARGEFILE.
        * libgcov.h: Include auto-target.h before tsystem.h to pick
        up _FILE_OFFSET_BITS which might differ for multilibs.
        * config.in: Regenerate.
        * configure: Likewise.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/pr81007.C
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr81083.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/ipa-polymorphic-call.c
    branches/gcc-7-branch/gcc/passes.def
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-ssa-sccvn.c
    branches/gcc-7-branch/libgcc/ChangeLog
    branches/gcc-7-branch/libgcc/config.in
    branches/gcc-7-branch/libgcc/configure
    branches/gcc-7-branch/libgcc/configure.ac
    branches/gcc-7-branch/libgcc/libgcov.h


More information about the Gcc-bugs mailing list