Since commit 2f6d557ff82876432be76b1892c6c3783c0095f4 AKA SVN-r269586,
the inform() message suggesting the use of -flax-vector-conversions
has had quotes around the option name, but the testcase still expected
the message without the quotes.  This patch adds to the expected
compiler output the quotes that are now issues.

I'm installing this shortly, as obvious.  Tested on x86_64-linux-gnu
with a cross compiler to an arm target.


for  gcc/testsuite/ChangeLog

        * gcc.target/arm/polytypes.c: Add quotes around
        -flax-vector-conversions.
---
 gcc/testsuite/gcc.target/arm/polytypes.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/arm/polytypes.c 
b/gcc/testsuite/gcc.target/arm/polytypes.c
index 110d62a8..3753466 100644
--- a/gcc/testsuite/gcc.target/arm/polytypes.c
+++ b/gcc/testsuite/gcc.target/arm/polytypes.c
@@ -28,7 +28,7 @@ void foo ()
   poly8x16_t v128_8;
   poly16x8_t v128_16;
 
-  s64_8 (v64_8); /* { dg-message "use -flax-vector-conversions" } */
+  s64_8 (v64_8); /* { dg-message "use '-flax-vector-conversions'" } */
   /* { dg-error "incompatible type for argument 1 of 's64_8'" "" { target 
*-*-* } .-1 } */
   u64_8 (v64_8); /* { dg-error "incompatible type for argument 1 of 'u64_8'" } 
*/
   p64_8 (v64_8);


-- 
Alexandre Oliva, freedom fighter    he/him    https://FSFLA.org/blogs/lxo/
Free Software Evangelist              Stallman was right, but he's left :(
GNU Toolchain Engineer           Live long and free, and prosper ethically

Reply via email to