From: Martin Sebor Date: Tue, 26 Jul 2016 20:48:20 +0000 (+0000) Subject: pr71675.c: Replace the unsupported c11 target selector with dg-options. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d48446ff30d6e0178f3d40bf1d20ea8ca19bd4c;p=gcc.git pr71675.c: Replace the unsupported c11 target selector with dg-options. gcc/testsuite/ChangeLog: * gcc.dg/atomic/pr71675.c: Replace the unsupported c11 target selector with dg-options. From-SVN: r238766 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c734253eefc..23a30625ccf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-07-26 Martin Sebor + + * gcc.dg/atomic/pr71675.c: Replace the unsupported c11 target + selector with dg-options. + 2016-07-26 Patrick Palka PR tree-optimization/18046 diff --git a/gcc/testsuite/gcc.dg/atomic/pr71675.c b/gcc/testsuite/gcc.dg/atomic/pr71675.c index 4a1675cf2f5..8952bb26b5b 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 { \