re PR fortran/69281 (gfortran ICE on temporary array in function call with -fstack...
authorJakub Jelinek <jakub@redhat.com>
Fri, 19 Aug 2016 15:27:40 +0000 (17:27 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 19 Aug 2016 15:27:40 +0000 (17:27 +0200)
commit94e73c786980bd8b84c935952a05e02b9c55e05b
tree973d03c991632786f2ef3561aa0597497fc66184
parentb5fd0b71fe74d11f37e6f679d3e72bad23b82aa7
re PR fortran/69281 (gfortran ICE on temporary array in function call with -fstack-arrays -fopenmp)

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.

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