]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: testsuite: Fix pr123238.c [PR123238]
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Mon, 13 Apr 2026 17:55:38 +0000 (10:55 -0700)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Mon, 13 Apr 2026 17:59:45 +0000 (10:59 -0700)
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 <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/gcc.target/aarch64/pr123238.c

index 3228dde2e764aebf3a7785a34b7fc76e7a6e43ad..a88bf295d8f8f41861feb131f94fbbd41fee0b11 100644 (file)
@@ -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 } } */