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
This commit is contained in:
Marek Polacek 2014-06-23 18:23:19 +00:00 committed by Marek Polacek
parent bb85ec6e3a
commit 0b0fdc0b80
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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" } */
}