Commit 0b0fdc0b by Marek Polacek Committed by Marek Polacek

re PR c/61553 (__atomic_store with non-pointer arg ICE)

	PR c/61553
	* c-c++-common/pr61553.c (foo): Add dg-error.

From-SVN: r211910
parent bb85ec6e
2014-06-23 Marek Polacek <polacek@redhat.com>
PR c/61553
* c-c++-common/pr61553.c (foo): Add dg-error.
2014-06-23 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/coarray_32.f90: New.
......
......@@ -4,5 +4,5 @@
void
foo (char *s)
{
__atomic_store (s, (void *) 0, __ATOMIC_SEQ_CST);
__atomic_store (s, (void *) 0, __ATOMIC_SEQ_CST); /* { dg-error "size mismatch" } */
}
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