From: Kyrylo Tkachov Date: Fri, 15 Mar 2019 09:50:11 +0000 (+0000) Subject: [AArch64] PR target/89719 Adjust gcc.target/aarch64/spellcheck*.c tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03570b241091ca95d95c28e95bc48d52aa2d6c8d;p=gcc.git [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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4e267d3f041..bb03f140e4d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-03-15 Kyrylo Tkachov + + 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 PR c++/89709 diff --git a/gcc/testsuite/gcc.target/aarch64/spellcheck_4.c b/gcc/testsuite/gcc.target/aarch64/spellcheck_4.c index 37c9d3c4d61..4e77e562194 100644 --- a/gcc/testsuite/gcc.target/aarch64/spellcheck_4.c +++ b/gcc/testsuite/gcc.target/aarch64/spellcheck_4.c @@ -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 } */ diff --git a/gcc/testsuite/gcc.target/aarch64/spellcheck_5.c b/gcc/testsuite/gcc.target/aarch64/spellcheck_5.c index 8ec581f1282..bf93adb905a 100644 --- a/gcc/testsuite/gcc.target/aarch64/spellcheck_5.c +++ b/gcc/testsuite/gcc.target/aarch64/spellcheck_5.c @@ -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 } */ diff --git a/gcc/testsuite/gcc.target/aarch64/spellcheck_6.c b/gcc/testsuite/gcc.target/aarch64/spellcheck_6.c index 8fa491b0ca4..2ab2bee5357 100644 --- a/gcc/testsuite/gcc.target/aarch64/spellcheck_6.c +++ b/gcc/testsuite/gcc.target/aarch64/spellcheck_6.c @@ -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 } */