]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c/61553 (__atomic_store with non-pointer arg ICE)
authorMarek Polacek <polacek@redhat.com>
Mon, 23 Jun 2014 18:23:19 +0000 (18:23 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 23 Jun 2014 18:23:19 +0000 (18:23 +0000)
PR c/61553
* c-c++-common/pr61553.c (foo): Add dg-error.

From-SVN: r211910

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr61553.c

index 7cdbc918c753dae93936ab321de69ba07a59a249..66db535d569c8685ee77ba8a5860ed3680859575 100644 (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.
index fa97e94b74c757d195f97216bdb3caa8728cc23b..8a3b699ee703a2461296f789d575db0f419c31c7 100644 (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" } */
 }