From 73c1f2f00e29ead11de64c8131a52cdf33a04897 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 21 Aug 2019 09:40:51 +0000 Subject: [PATCH] [testsuite][arm] Add missing quotes to expected warning messages. 2019-08-21 Christophe Lyon * gcc.target/arm/cmse/cmse-9.c: Add quotes to expected warning messages. From-SVN: r274793 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/cmse/cmse-9.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0826d148040..30844568fc8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-08-21 Christophe Lyon + + * gcc.target/arm/cmse/cmse-9.c: Add quotes to expected + warning messages. + 2019-08-21 Eric Botcazou * 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 9e81e30c891..d8874ee0a7d 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; -- 2.30.2