diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/atomic/pr71675.c | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c734253..23a3062 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-07-26 Martin Sebor <msebor@redhat.com> + + * gcc.dg/atomic/pr71675.c: Replace the unsupported c11 target + selector with dg-options. + 2016-07-26 Patrick Palka <ppalka@gcc.gnu.org> PR tree-optimization/18046 diff --git a/gcc/testsuite/gcc.dg/atomic/pr71675.c b/gcc/testsuite/gcc.dg/atomic/pr71675.c index 4a1675c..8952bb2 100644 --- a/gcc/testsuite/gcc.dg/atomic/pr71675.c +++ b/gcc/testsuite/gcc.dg/atomic/pr71675.c @@ -1,6 +1,8 @@ -/* PR c++/71675 - __atomic_compare_exchange_n returns wrong type for typed enum - */ -/* { dg-do compile { target c11 } } */ +/* PR c++/71675 - __atomic_compare_exchange_n returns wrong type for typed + enum */ +/* { dg-do compile } */ +/* { dg-options "-std=c11" } */ + #define Test(T) \ do { \ |