https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63938
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Nov 28 17:04:51 2014 New Revision: 218167 URL: https://gcc.gnu.org/viewcvs?rev=218167&root=gcc&view=rev Log: Backported from mainline 2014-11-24 Jakub Jelinek <ja...@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_8-branch/libgomp/testsuite/libgomp.fortran/pr63938-1.f90 branches/gcc-4_8-branch/libgomp/testsuite/libgomp.fortran/pr63938-2.f90 Modified: branches/gcc-4_8-branch/gcc/fortran/ChangeLog branches/gcc-4_8-branch/gcc/fortran/trans-openmp.c branches/gcc-4_8-branch/libgomp/ChangeLog