[gcc/devel/ranger] update polytypes.c -flax-vector-conversions msg

Aldy Hernandez aldyh@gcc.gnu.org
Wed Jun 17 20:16:39 GMT 2020


https://gcc.gnu.org/g:542f73539db1433303a4dd16bd2cfc5e7e12eda8

commit 542f73539db1433303a4dd16bd2cfc5e7e12eda8
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Apr 8 09:09:20 2020 -0300

    update polytypes.c -flax-vector-conversions msg
    
    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.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/arm/polytypes.c: Add quotes around
            -flax-vector-conversions.

Diff:
---
 gcc/testsuite/ChangeLog                  | 5 +++++
 gcc/testsuite/gcc.target/arm/polytypes.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f0d7dae5719..3913d212c69 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-04-08  Alexandre Oliva <oliva@adacore.com>
+
+	* gcc.target/arm/polytypes.c: Add quotes around
+	-flax-vector-conversions.
+
 2020-04-08  Jakub Jelinek  <jakub@redhat.com>
 
 	PR rtl-optimization/94516
diff --git a/gcc/testsuite/gcc.target/arm/polytypes.c b/gcc/testsuite/gcc.target/arm/polytypes.c
index 110d62a8791..3753466a941 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);


More information about the Gcc-cvs mailing list