[testsuite][arm] Add missing quotes to expected warning messages.
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 21 Aug 2019 09:40:51 +0000 (09:40 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Wed, 21 Aug 2019 09:40:51 +0000 (11:40 +0200)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/cmse/cmse-9.c

index 0826d14..3084456 100644 (file)
@@ -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,
index 9e81e30..d8874ee 100644 (file)
@@ -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;