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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May 26 10:13:34 2017
New Revision: 248487

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

        PR middle-end/80809
        * gimplify.c (omp_add_variable): For GOVD_DEBUG_PRIVATE use
        GOVD_SHARED rather than GOVD_PRIVATE with it.
        (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Expect
        GOVD_SHARED rather than GOVD_PRIVATE with GOVD_DEBUG_PRIVATE.

        * testsuite/libgomp.c/pr80809-1.c: New test.

Added:
    branches/gcc-7-branch/libgomp/testsuite/libgomp.c/pr80809-1.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/gimplify.c
    branches/gcc-7-branch/libgomp/ChangeLog

Reply via email to