pr71675.c: Replace the unsupported c11 target selector with dg-options.
authorMartin Sebor <msebor@redhat.com>
Tue, 26 Jul 2016 20:48:20 +0000 (20:48 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 26 Jul 2016 20:48:20 +0000 (14:48 -0600)
gcc/testsuite/ChangeLog:
* gcc.dg/atomic/pr71675.c: Replace the unsupported c11 target
selector with dg-options.

From-SVN: r238766

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/atomic/pr71675.c

index c734253eefc81e854cd3f973c4b6fb8a39db4d8b..23a30625ccf2e028fa3ba0ebb1372494be0939f3 100644 (file)
@@ -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
index 4a1675cf2f54bc4a6049f61adab60485af636eab..8952bb26b5b2dee9b14baf0dc34abe6a96b0a184 100644 (file)
@@ -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 {                                                                 \