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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb  7 14:34:32 2019
New Revision: 268625

URL: https://gcc.gnu.org/viewcvs?rev=268625&root=gcc&view=rev
Log:
        Backported from mainline
        2019-01-21  Jakub Jelinek  <ja...@redhat.com>

        PR c++/88949
        * optimize.c (cxx_copy_decl): New function.
        (clone_body): Use it instead of copy_decl_no_change.

        * g++.dg/gomp/pr88949.C: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/gomp/pr88949.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/optimize.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to