[AArch64] PR target/89719 Adjust gcc.target/aarch64/spellcheck*.c tests

As of recently the -march,-mcpu,-mtune strings in the error messages are
now quoted.
This patch adjusts the testcases in gcc.target/aarch64/ that had started
failing due to that change.

	PR target/89719
	* gcc.target/aarch64/spellcheck_4.c: Adjust dg-error string.
	* gcc.target/aarch64/spellcheck_5.c: Likewise.
	* gcc.target/aarch64/spellcheck_6.c: Likewise.

From-SVN: r269703
This commit is contained in:
Kyrylo Tkachov 2019-03-15 09:50:11 +00:00 committed by Kyrylo Tkachov
parent 4e6482d05b
commit 03570b2410
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2019-03-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/89719
* gcc.target/aarch64/spellcheck_4.c: Adjust dg-error string.
* gcc.target/aarch64/spellcheck_5.c: Likewise.
* gcc.target/aarch64/spellcheck_6.c: Likewise.
2019-03-15 Jakub Jelinek <jakub@redhat.com>
PR c++/89709

View File

@ -7,5 +7,5 @@ foo ()
{
}
/* { dg-error "unknown value 'armv8-a-typo' for -march" "" { target *-*-* } 0 } */
/* { dg-error "unknown value 'armv8-a-typo' for '-march'" "" { target *-*-* } 0 } */
/* { dg-message "valid arguments are: \[^\n\r]*(; did you mean 'armv*'?)?" "" { target *-*-* } 0 } */

View File

@ -7,5 +7,5 @@ foo ()
{
}
/* { dg-error "unknown value 'cortex-a17' for -mcpu" "" { target *-*-* } 0 } */
/* { dg-error "unknown value 'cortex-a17' for '-mcpu'" "" { target *-*-* } 0 } */
/* { dg-message "valid arguments are: \[^\n\r]*; did you mean 'cortex-a57'?" "" { target *-*-* } 0 } */

View File

@ -7,5 +7,5 @@ foo ()
{
}
/* { dg-error "unknown value 'cortex-a72-typo' for -mtune" "" { target *-*-* } 0 } */
/* { dg-error "unknown value 'cortex-a72-typo' for '-mtune'" "" { target *-*-* } 0 } */
/* { dg-message "valid arguments are: \[^\n\r]*; did you mean 'cortex-a72'?" "" { target *-*-* } 0 } */