PR fortran/77352
commit68c215e47b73f5d64a51ba3b261fdc212dc8270d
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Aug 2016 18:42:55 +0000 (31 18:42 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Aug 2016 18:42:55 +0000 (31 18:42 +0000)
treeec28d0149fff8389b1640c653288cfcd0a1524d7
parenta7b3b7c4dce64ba911fbeec227d5d43c3bb995ec
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239904 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr77352.f90 [new file with mode: 0644]