re PR tree-optimization/77352 (ICE: verify_ssa failed)
authorJakub Jelinek <jakub@redhat.com>
Wed, 31 Aug 2016 18:42:55 +0000 (20:42 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 31 Aug 2016 18:42:55 +0000 (20:42 +0200)
commitd12a0b5aabfc329077c4222755c5e6f78e7fd07e
treeec28d0149fff8389b1640c653288cfcd0a1524d7
parentf25f40be277fe6687e86b6395a55781211811bef
re PR tree-optimization/77352 (ICE: verify_ssa failed)

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.

From-SVN: r239904
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr77352.f90 [new file with mode: 0644]