diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-16 15:33:42 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-16 15:33:42 +0000 |
commit | a5291c821e0123f14b80cf014442d2d0d20ea86e (patch) | |
tree | 0e9df71ca786e936bfff5917c0b74e17d5369cbd /gcc/fortran/openmp.c | |
parent | 82185f8c09730756abb602bb0c3b0019aa171830 (diff) | |
download | gcc-a5291c821e0123f14b80cf014442d2d0d20ea86e.tar.gz |
PR libgomp/59337
* openmp.c (resolve_omp_atomic): Adjust error message.
* gfortran.dg/gomp/pr59337.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206017 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/openmp.c')
-rw-r--r-- | gcc/fortran/openmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/openmp.c b/gcc/fortran/openmp.c index 6c4dccbed10..f4b8d908f92 100644 --- a/gcc/fortran/openmp.c +++ b/gcc/fortran/openmp.c @@ -1279,7 +1279,7 @@ resolve_omp_atomic (gfc_code *code) alt_op = INTRINSIC_EQV; break; default: - gfc_error ("!$OMP ATOMIC assignment operator must be " + gfc_error ("!$OMP ATOMIC assignment operator must be binary " "+, *, -, /, .AND., .OR., .EQV. or .NEQV. at %L", &expr2->where); return; |