[Bug fortran/63938] OpenMP atomic update does not protect access to automatic array
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 28 13:37:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63938
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 28 13:36:36 2014
New Revision: 218153
URL: https://gcc.gnu.org/viewcvs?rev=218153&root=gcc&view=rev
Log:
Backported from mainline
2014-11-24 Jakub Jelinek <jakub@redhat.com>
PR fortran/63938
* trans-openmp.c (gfc_trans_omp_atomic): Make sure lhsaddr is
simple enough for goa_lhs_expr_p.
* libgomp.fortran/pr63938-1.f90: New test.
* libgomp.fortran/pr63938-2.f90: New test.
Added:
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.fortran/pr63938-1.f90
branches/gcc-4_9-branch/libgomp/testsuite/libgomp.fortran/pr63938-2.f90
Modified:
branches/gcc-4_9-branch/gcc/fortran/ChangeLog
branches/gcc-4_9-branch/gcc/fortran/trans-openmp.c
branches/gcc-4_9-branch/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list