This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[COMMITTED] [testsuite][arm] Add missing quotes to expected warning messages.
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 21 Aug 2019 11:43:41 +0200
- Subject: [COMMITTED] [testsuite][arm] Add missing quotes to expected warning messages.
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.
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))
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;