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(-) 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" } */ } -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about <https://stallmansupport.org>