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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep  1 11:38:16 2016
New Revision: 239926

URL: https://gcc.gnu.org/viewcvs?rev=239926&root=gcc&view=rev
Log:
        Backported from mainline
        2016-08-19  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/69281
        * trans-openmp.c (gfc_trans_omp_parallel, gfc_trans_omp_task,
        gfc_trans_omp_target): Wrap gfc_trans_omp_code result in an extra
        BIND_EXPR with its own forced BLOCK.

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

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/gomp/pr69281.f90
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/trans-openmp.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to