From: Robin Dapp Date: Fri, 15 Mar 2019 13:19:10 +0000 (+0000) Subject: S/390: Fix tests that expect unquoted option names X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec15654627d34bf9fb4f7624c7659ac4912bef17;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bb03f140e4d..285dc51b5e7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-03-15 Robin Dapp + + * 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 PR target/89719 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'" } */ }