S/390: Fix tests that expect unquoted option names

Message ID ce8693d8-71aa-a336-ce9d-f4cdd97c6565@linux.ibm.com
State New
Headers show
Series
  • S/390: Fix tests that expect unquoted option names
Related show

Commit Message

Robin Dapp March 15, 2019, 12:19 p.m.
Hi,

r269586 puts single quotes around option names. This patch fixes tests
that expect the old format.

Regards
 Robin

---

gcc/testsuite/ChangeLog:

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.

Comments

Andreas Krebbel March 15, 2019, 12:33 p.m. | #1
On 15.03.19 13:19, Robin Dapp wrote:
> Hi,

> 

> r269586 puts single quotes around option names. This patch fixes tests

> that expect the old format.

> 

> Regards

>  Robin

> 

> ---

> 

> gcc/testsuite/ChangeLog:

> 

> 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.

> 

Ok. Thanks!

Andreas

Patch

diff --git a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-1.c b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-1.c
index 31643490540..ff573443d04 100644
--- a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-1.c
+++ b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-1.c
@@ -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)
diff --git a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c
index f0d282f6a66..739c2eabc83 100644
--- a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c
+++ b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c
@@ -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'" } */
 }
diff --git a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-3.c b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-3.c
index 1af2274120d..769690e942c 100644
--- a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-3.c
+++ b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-3.c
@@ -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)
diff --git a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-4.c b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-4.c
index c501eca2ca6..cd813d9a59b 100644
--- a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-4.c
+++ b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-4.c
@@ -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'" } */
 }