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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec  7 22:40:40 2016
New Revision: 243392

URL: https://gcc.gnu.org/viewcvs?rev=243392&root=gcc&view=rev
Log:
        Backported from mainline
        2016-10-26  Jakub Jelinek  <ja...@redhat.com>
                    Martin Liska  <mli...@suse.cz>

        PR fortran/77973
        * gimplify.c (gimplify_adjust_omp_clauses_1): For all added map
        clauses with OMP_CLAUSE_SIZE being a decl, call omp_notice_variable
        on outer context if any.

        * gfortran.dg/gomp/pr77973.f90: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/gomp/pr77973.f90
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/gimplify.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to