diff mbox series

[COMMITTED,testsuite,arm] Add missing quotes to expected warning messages.

Message ID CAKdteOY3THgAdnUQ5CgEJef1vNQsWd7yFSYr9M0Xhi_U5Nvqbg@mail.gmail.com
State New
Headers show
Series [COMMITTED,testsuite,arm] Add missing quotes to expected warning messages. | expand

Commit Message

Christophe Lyon Aug. 21, 2019, 9:43 a.m. UTC
Hi,

The arm/cmse/cmse-9.c test was missing quotes in the expected warning messages.
Fix as obvious with r274793.

Christophe

2019-08-21  Christophe Lyon  <christophe.lyon@linaro.org>

       * gcc.target/arm/cmse/cmse-9.c: Add quotes to expected
       warning messages.

 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;
diff mbox series

Patch

Index: gcc/testsuite/gcc.target/arm/cmse/cmse-9.c
===================================================================
--- gcc/testsuite/gcc.target/arm/cmse/cmse-9.c  (revision 274792)
+++ gcc/testsuite/gcc.target/arm/cmse/cmse-9.c  (revision 274793)
@@ -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))