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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 16 07:44:48 2018
New Revision: 262679

URL: https://gcc.gnu.org/viewcvs?rev=262679&root=gcc&view=rev
Log:
        PR c++/3698
        PR c++/86208
        * cp-gimplify.c (cp_genericize_r): When using extern_decl_map, or
        in TREE_USED flag from stmt to h->to.

        * g++.dg/opt/pr3698.C: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/opt/pr3698.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/cp-gimplify.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to