2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-18 06:30:28 +08:00

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
This commit is contained in:
Robin Dapp 2019-03-15 13:19:10 +00:00 committed by Robin Dapp
parent 03570b2410
commit ec15654627
5 changed files with 14 additions and 7 deletions
gcc/testsuite
ChangeLog
gcc.target/s390/target-attribute

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

@ -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)

@ -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'" } */
}

@ -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)

@ -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'" } */
}