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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Sep 15 21:42:20 2017
New Revision: 252864

URL: https://gcc.gnu.org/viewcvs?rev=252864&root=gcc&view=rev
Log:
        Backported from mainline
        2017-09-14  Jakub Jelinek  <ja...@redhat.com>

        PR c++/81314
        * cp-gimplify.c (omp_var_to_track): Look through references.
        (omp_cxx_notice_variable): Likewise.

        * testsuite/libgomp.c++/pr81314.C: New test.

Added:
    branches/gcc-6-branch/libgomp/testsuite/libgomp.c++/pr81314.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/cp-gimplify.c
    branches/gcc-6-branch/libgomp/ChangeLog

Reply via email to