aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2019-08-21 09:40:51 +0000
committerChristophe Lyon <clyon@gcc.gnu.org>2019-08-21 11:40:51 +0200
commit73c1f2f00e29ead11de64c8131a52cdf33a04897 (patch)
treecec5e3a6da1e1cf696e8be7a26edb6a80eeb0a0f /gcc
parent8ef64ab95417d6787b9bd2777ac282932b09a530 (diff)
downloadgcc-73c1f2f00e29ead11de64c8131a52cdf33a04897.zip
gcc-73c1f2f00e29ead11de64c8131a52cdf33a04897.tar.gz
gcc-73c1f2f00e29ead11de64c8131a52cdf33a04897.tar.bz2
[testsuite][arm] Add missing quotes to expected warning messages.
2019-08-21 Christophe Lyon <christophe.lyon@linaro.org> * gcc.target/arm/cmse/cmse-9.c: Add quotes to expected warning messages. From-SVN: r274793
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/arm/cmse/cmse-9.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0826d14..3084456 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2019-08-21 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * gcc.target/arm/cmse/cmse-9.c: Add quotes to expected
+ warning messages.
+
2019-08-21 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/prot9.adb, gnat.dg/prot9_gen.ads,
diff --git a/gcc/testsuite/gcc.target/arm/cmse/cmse-9.c b/gcc/testsuite/gcc.target/arm/cmse/cmse-9.c
index 9e81e30..d8874ee 100644
--- a/gcc/testsuite/gcc.target/arm/cmse/cmse-9.c
+++ b/gcc/testsuite/gcc.target/arm/cmse/cmse-9.c
@@ -2,12 +2,12 @@
/* { dg-skip-if "Testing exclusion of -mcmse" { arm-*-* } { "-mcmse" } { "" } } */
-void __attribute__ ((cmse_nonsecure_call)) (*bar) (int); /* { dg-warning "attribute ignored without -mcmse option" } */
-typedef void __attribute__ ((cmse_nonsecure_call)) baz (int); /* { dg-warning "attribute ignored without -mcmse option" } */
+void __attribute__ ((cmse_nonsecure_call)) (*bar) (int); /* { dg-warning "attribute ignored without '-mcmse' option" } */
+typedef void __attribute__ ((cmse_nonsecure_call)) baz (int); /* { dg-warning "attribute ignored without '-mcmse' option" } */
int __attribute__ ((cmse_nonsecure_entry))
foo (int a, baz b)
-{ /* { dg-warning "attribute ignored without -mcmse option" } */
+{ /* { dg-warning "attribute ignored without '-mcmse' option" } */
bar (a);
b (a);
return a + 1;