[arm,testsuite] asm-flag-4.c: match quotes in expected message

Message ID orr0uou8ai.fsf@lxoliva.fsfla.org
State Accepted
Headers
Series [arm,testsuite] asm-flag-4.c: match quotes in expected message |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Alexandre Oliva Feb. 17, 2023, 6:15 a.m. UTC
  Quotes were added around the "asm" keyword in the message expected by
the test, so the test needs adjusting.

Regstrapped on x86_64-linux-gnu.
Tested on arm-vxworks7 (gcc-12) and arm-eabi (trunk).
Ok to install?


for  gcc/testsuite/ChangeLog

	* gcc.target/arm/asm-flag-4.c: Match quotes around "asm" in
	message.
---
 gcc/testsuite/gcc.target/arm/asm-flag-4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Mike Stump Feb. 17, 2023, 7:50 p.m. UTC | #1
On Feb 16, 2023, at 10:15 PM, Alexandre Oliva <oliva@adacore.com> wrote:
> 
> Quotes were added around the "asm" keyword in the message expected by
> the test, so the test needs adjusting.
> 
> Regstrapped on x86_64-linux-gnu.
> Tested on arm-vxworks7 (gcc-12) and arm-eabi (trunk).
> Ok to install?

Ok.
  

Patch

diff --git a/gcc/testsuite/gcc.target/arm/asm-flag-4.c b/gcc/testsuite/gcc.target/arm/asm-flag-4.c
index 75378cc89b092..6841b6ea1e272 100644
--- a/gcc/testsuite/gcc.target/arm/asm-flag-4.c
+++ b/gcc/testsuite/gcc.target/arm/asm-flag-4.c
@@ -11,5 +11,5 @@  void __attribute__((target("arm"))) f(char *out)
 
 void __attribute__((target("thumb"))) g(char *out)
 {
-  asm("" : "=@ccne"(out[0]));  /* { dg-message "asm flags not supported" } */
+  asm("" : "=@ccne"(out[0]));  /* { dg-message ".asm. flags not supported" } */
 }