diff options
author | Marek Polacek <polacek@redhat.com> | 2014-06-23 18:23:19 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-06-23 18:23:19 +0000 |
commit | 0b0fdc0b8069ded24764ef0cc15b1fd627d817fd (patch) | |
tree | 12162f5284b4fcf68a37070bd40b692461072856 /gcc | |
parent | bb85ec6e3a530dd1264a11a76fb95a87850651fc (diff) | |
download | gcc-0b0fdc0b8069ded24764ef0cc15b1fd627d817fd.zip gcc-0b0fdc0b8069ded24764ef0cc15b1fd627d817fd.tar.gz gcc-0b0fdc0b8069ded24764ef0cc15b1fd627d817fd.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/pr61553.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7cdbc91..66db535 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/c-c++-common/pr61553.c b/gcc/testsuite/c-c++-common/pr61553.c index fa97e94..8a3b699 100644 --- a/gcc/testsuite/c-c++-common/pr61553.c +++ b/gcc/testsuite/c-c++-common/pr61553.c @@ -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" } */ } |