From: Andrew Pinski Date: Mon, 13 Apr 2026 17:55:38 +0000 (-0700) Subject: aarch64: testsuite: Fix pr123238.c [PR123238] X-Git-Tag: basepoints/gcc-17~216 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c694b3ecd0eb5308e85a0eac69c4b2d008ca83e;p=thirdparty%2Fgcc.git aarch64: testsuite: Fix pr123238.c [PR123238] This fixes the testcase as not matches "note" as in: .section .note.GNU-stack,"",@progbits Also let's match cmeq at the same time since we want to make sure this is vectorized too. Committed as obvious after testing to make sure the testcase passes now (and fails before the backend change). PR target/123238 gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr123238.c: Signed-off-by: Andrew Pinski --- diff --git a/gcc/testsuite/gcc.target/aarch64/pr123238.c b/gcc/testsuite/gcc.target/aarch64/pr123238.c index 3228dde2e76..a88bf295d8f 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr123238.c +++ b/gcc/testsuite/gcc.target/aarch64/pr123238.c @@ -13,4 +13,5 @@ void bar(char c[]) c[i] = c[i] == 'a' ? 'c' : 'e'; } -/* { dg-final { scan-assembler-not "not" } } */ +/* { dg-final { scan-assembler-not "\tnot\t" } } */ +/* { dg-final { scan-assembler-times "\tcmeq\t" 2 } } */