]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Adjust spellcheck tests for recent quotation-mark changes
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 21 Jan 2022 11:29:40 +0000 (11:29 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Fri, 21 Jan 2022 11:29:40 +0000 (11:29 +0000)
Adjust tests for quotation-mark and punctuation changes.

gcc/testsuite:

* gcc.target/aarch64/spellcheck_1.c: Adjust tests for new output.
* gcc.target/aarch64/spellcheck_2.c: Likewise.
* gcc.target/aarch64/spellcheck_3.c: Likewise.
* gcc.target/aarch64/spellcheck_7.c: Likewise.

gcc/testsuite/gcc.target/aarch64/spellcheck_1.c
gcc/testsuite/gcc.target/aarch64/spellcheck_2.c
gcc/testsuite/gcc.target/aarch64/spellcheck_3.c
gcc/testsuite/gcc.target/aarch64/spellcheck_7.c

index a0795c1cc532208fcb04ceefa6877deac4a2d749..8654674fc6752dfcadb4ea439c7e1ece140a54cc 100644 (file)
@@ -4,6 +4,6 @@ __attribute__((target ("arch=armv8-a-typo"))) void
 foo ()
 {
   /* { dg-message "valid arguments are: \[^\n\r]*(; did you mean 'armv*'?)?"  "" { target *-*-* } .-1 } */
-  /* { dg-error "invalid name \\(\"armv8-a-typo\"\\) in 'target\\(\"arch=\"\\)' pragma or attribute"  "" { target *-*-* } .-2 } */
+  /* { dg-error "invalid name \\('armv8-a-typo'\\) in 'target\\(\"arch=\"\\)' pragma or attribute"  "" { target *-*-* } .-2 } */
   /* { dg-error "pragma or attribute 'target\\(\"arch=armv8-a-typo\"\\)' is not valid"  "" { target *-*-* } .-3 } */
 }
index 70096f89e0b653aa66ad30ccf65ffe7d041dd56e..1cc2c0591dc600b0d025a870d0b7bd489d437547 100644 (file)
@@ -4,6 +4,6 @@ __attribute__((target ("cpu=cortex-a57-typo"))) void
 foo ()
 {
   /* { dg-message "valid arguments are: \[^\n\r]*; did you mean 'cortex-a57'?"  "" { target *-*-* } .-1 } */
-  /* { dg-error "invalid name \\(\"cortex-a57-typo\"\\) in 'target\\(\"cpu=\"\\)' pragma or attribute"  "" { target *-*-* } .-2 } */
+  /* { dg-error "invalid name \\('cortex-a57-typo'\\) in 'target\\(\"cpu=\"\\)' pragma or attribute"  "" { target *-*-* } .-2 } */
   /* { dg-error "pragma or attribute 'target\\(\"cpu=cortex-a57-typo\"\\)' is not valid"  "" { target *-*-* } .-3 } */
 }
index 20dff2b6e45f150f4f3e535c1e7ff63e74a97e15..9953872b679cb59ef1077f24b6ca88c292043f6d 100644 (file)
@@ -4,6 +4,6 @@ __attribute__((target ("tune=cortex-a57-typo"))) void
 foo ()
 {
   /* { dg-message "valid arguments are: \[^\n\r]*; did you mean 'cortex-a57'?"  "" { target *-*-* } .-1 } */
-  /* { dg-error "invalid name \\(\"cortex-a57-typo\"\\) in 'target\\(\"tune=\"\\)' pragma or attribute"  "" { target *-*-* } .-2 } */
+  /* { dg-error "invalid name \\('cortex-a57-typo'\\) in 'target\\(\"tune=\"\\)' pragma or attribute"  "" { target *-*-* } .-2 } */
   /* { dg-error "pragma or attribute 'target\\(\"tune=cortex-a57-typo\"\\)' is not valid"  "" { target *-*-* } .-3 } */
 }
index 1d31950cb610e255d3b5d59d1ac60fe5caf24e84..1e1cbec057f398e14790f5a7ea77e8c22ce58bae 100644 (file)
@@ -9,4 +9,4 @@ foo ()
 }
 
 /* { dg-error "invalid feature modifier .typo. in .-march=armv8-a\\+typo."  "" { target *-*-* } 0 } */
-/* { dg-message "valid arguments are: \[^\n\r]*;'?"  "" { target *-*-* } 0 } */
+/* { dg-message "valid arguments are: \[^\n\r]*"  "" { target *-*-* } 0 } */