Commit 97a778bd by Jakub Jelinek Committed by Jakub Jelinek

re PR libgomp/59337 (surprising OMP error message)

	PR libgomp/59337
	* openmp.c (resolve_omp_atomic): Adjust error message.

	* gfortran.dg/gomp/pr59337.f90: New test.

From-SVN: r206017
parent 292e6398
2013-12-16 Jakub Jelinek <jakub@redhat.com>
PR libgomp/59337
* openmp.c (resolve_omp_atomic): Adjust error message.
2013-12-15 Janus Weil <janus@gcc.gnu.org> 2013-12-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/59493 PR fortran/59493
......
...@@ -1279,7 +1279,7 @@ resolve_omp_atomic (gfc_code *code) ...@@ -1279,7 +1279,7 @@ resolve_omp_atomic (gfc_code *code)
alt_op = INTRINSIC_EQV; alt_op = INTRINSIC_EQV;
break; break;
default: 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", "+, *, -, /, .AND., .OR., .EQV. or .NEQV. at %L",
&expr2->where); &expr2->where);
return; return;
......
2013-12-16 Jakub Jelinek <jakub@redhat.com> 2013-12-16 Jakub Jelinek <jakub@redhat.com>
PR libgomp/59337
* gfortran.dg/gomp/pr59337.f90: New test.
2013-12-16 Jakub Jelinek <jakub@redhat.com>
PR middle-end/58956 PR middle-end/58956
PR middle-end/59470 PR middle-end/59470
* gcc.target/i386/pr59470.c: New test. * gcc.target/i386/pr59470.c: New test.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment