Commit ec156546 by Robin Dapp Committed by Robin Dapp

S/390: Fix tests that expect unquoted option names

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

From-SVN: r269706
parent 03570b24
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> 2019-03-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/89719 PR target/89719
......
...@@ -13,7 +13,7 @@ void htm1(void) ...@@ -13,7 +13,7 @@ void htm1(void)
__attribute__ ((target("arch=z10"))) __attribute__ ((target("arch=z10")))
void htm0(void) void htm0(void)
{ {
__builtin_tend(); /* { dg-error "is not supported without -mhtm" } */ __builtin_tend(); /* { dg-error "is not supported without '-mhtm'" } */
} }
void htmd(void) void htmd(void)
......
...@@ -20,7 +20,7 @@ void p0(void) ...@@ -20,7 +20,7 @@ void p0(void)
#ifdef __HTM__ #ifdef __HTM__
#error __HTM__ is defined #error __HTM__ is defined
#endif #endif
__builtin_tend (); /* { dg-error "is not supported without -mhtm" } */ __builtin_tend (); /* { dg-error "is not supported without '-mhtm'" } */
} }
#pragma GCC reset_options #pragma GCC reset_options
...@@ -39,7 +39,7 @@ void a0(void) ...@@ -39,7 +39,7 @@ void a0(void)
#ifdef __HTM__ #ifdef __HTM__
#error __HTM__ is defined #error __HTM__ is defined
#endif #endif
__builtin_tend (); /* { dg-error "is not supported without -mhtm" } */ __builtin_tend (); /* { dg-error "is not supported without '-mhtm'" } */
} }
void htmd(void) void htmd(void)
...@@ -47,5 +47,5 @@ void htmd(void) ...@@ -47,5 +47,5 @@ void htmd(void)
#ifdef __HTM__ #ifdef __HTM__
#error __HTM__ is defined #error __HTM__ is defined
#endif #endif
__builtin_tend (); /* { dg-error "is not supported without -mhtm" } */ __builtin_tend (); /* { dg-error "is not supported without '-mhtm'" } */
} }
...@@ -16,7 +16,7 @@ void vx1(void) ...@@ -16,7 +16,7 @@ void vx1(void)
__attribute__ ((target("arch=z10"))) __attribute__ ((target("arch=z10")))
void vx0(void) 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) void vxd(void)
......
...@@ -24,7 +24,7 @@ void a0(void) ...@@ -24,7 +24,7 @@ void a0(void)
#ifdef __VEC__ #ifdef __VEC__
#error __VEC__ is defined #error __VEC__ is defined
#endif #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) void d(void)
...@@ -32,5 +32,5 @@ void d(void) ...@@ -32,5 +32,5 @@ void d(void)
#ifdef __VEC__ #ifdef __VEC__
#error __VEC__ is defined #error __VEC__ is defined
#endif #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'" } */
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment