This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/69281] gfortran ICE on temporary array in function call with -fstack-arrays -fopenmp
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Aug 2016 15:28:12 +0000
- Subject: [Bug fortran/69281] gfortran ICE on temporary array in function call with -fstack-arrays -fopenmp
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-69281-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69281
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 19 15:27:40 2016
New Revision: 239618
URL: https://gcc.gnu.org/viewcvs?rev=239618&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gfortran.dg/gomp/pr69281.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-openmp.c
trunk/gcc/testsuite/ChangeLog