S/390: Fix tests that expect unquoted option names
authorRobin Dapp <rdapp@linux.ibm.com>
Fri, 15 Mar 2019 13:19:10 +0000 (13:19 +0000)
committerRobin Dapp <rdapp@gcc.gnu.org>
Fri, 15 Mar 2019 13:19:10 +0000 (13:19 +0000)
r269586 puts single quotes around option names. This patch fixes tests
that expect the old format.

From-SVN: r269706

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/target-attribute/tattr-1.c
gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c
gcc/testsuite/gcc.target/s390/target-attribute/tattr-3.c
gcc/testsuite/gcc.target/s390/target-attribute/tattr-4.c

index bb03f14..285dc51 100644 (file)
@@ -1,3 +1,10 @@
+2019-03-15  Robin Dapp  <rdapp@linux.ibm.com>
+
+       * gcc.target/s390/target-attribute/tattr-1.c (htm0): -mhtm -> '-mhtm'.
+       * gcc.target/s390/target-attribute/tattr-2.c: Likewise.
+       * gcc.target/s390/target-attribute/tattr-3.c (vx0): -mvx -> '-mvx'.
+       * gcc.target/s390/target-attribute/tattr-4.c: Likewise.
+
 2019-03-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        PR target/89719
index 3164349..ff57344 100644 (file)
@@ -13,7 +13,7 @@ void htm1(void)
 __attribute__ ((target("arch=z10")))
 void htm0(void)
 {
-  __builtin_tend(); /* { dg-error "is not supported without -mhtm" } */
+  __builtin_tend(); /* { dg-error "is not supported without '-mhtm'" } */
 }
 
 void htmd(void)
index f0d282f..739c2ea 100644 (file)
@@ -20,7 +20,7 @@ void p0(void)
 #ifdef __HTM__
 #error __HTM__ is defined
 #endif
-  __builtin_tend (); /* { dg-error "is not supported without -mhtm" } */
+  __builtin_tend (); /* { dg-error "is not supported without '-mhtm'" } */
 }
 #pragma GCC reset_options
 
@@ -39,7 +39,7 @@ void a0(void)
 #ifdef __HTM__
 #error __HTM__ is defined
 #endif
-  __builtin_tend (); /* { dg-error "is not supported without -mhtm" } */
+  __builtin_tend (); /* { dg-error "is not supported without '-mhtm'" } */
 }
 
 void htmd(void)
@@ -47,5 +47,5 @@ void htmd(void)
 #ifdef __HTM__
 #error __HTM__ is defined
 #endif
-  __builtin_tend (); /* { dg-error "is not supported without -mhtm" } */
+  __builtin_tend (); /* { dg-error "is not supported without '-mhtm'" } */
 }
index 1af2274..769690e 100644 (file)
@@ -16,7 +16,7 @@ void vx1(void)
 __attribute__ ((target("arch=z10")))
 void vx0(void)
 {
-  __builtin_s390_vll ((unsigned int)0, (const void *)8); /* { dg-error "requires -mvx" } */
+  __builtin_s390_vll ((unsigned int)0, (const void *)8); /* { dg-error "requires '-mvx'" } */
 }
 
 void vxd(void)
index c501eca..cd813d9 100644 (file)
@@ -24,7 +24,7 @@ void a0(void)
 #ifdef __VEC__
 #error __VEC__ is defined
 #endif
-  __builtin_s390_vll ((unsigned int)0, (const void *)8); /* { dg-error "requires -mvx" } */
+  __builtin_s390_vll ((unsigned int)0, (const void *)8); /* { dg-error "requires '-mvx'" } */
 }
 
 void d(void)
@@ -32,5 +32,5 @@ void d(void)
 #ifdef __VEC__
 #error __VEC__ is defined
 #endif
-  __builtin_s390_vll ((unsigned int)0, (const void *)8); /* { dg-error "requires -mvx" } */
+  __builtin_s390_vll ((unsigned int)0, (const void *)8); /* { dg-error "requires '-mvx'" } */
 }