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

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

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

        PR fortran/77352
        * trans-openmp.c (gfc_trans_omp_parallel_workshare): Always add a
        BIND_EXPR with BLOCK around what gfc_trans_omp_workshare returns.

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

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/gomp/pr77352.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