]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: fix `cmpbr-3.c` tests
authorKarl Meakin <karl.meakin@arm.com>
Thu, 11 Dec 2025 16:19:22 +0000 (16:19 +0000)
committerKarl Meakin <karl.meakin@arm.com>
Thu, 26 Feb 2026 14:13:15 +0000 (14:13 +0000)
The assembly tests in `cmpbr-3.c` were failing when run with an old
version of `gas` which did not recognise the extension. Fix by changing
`dg-do assemble` to `dg-do compile`.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/cmpbr-3.c: `dg-do assemble` => `dg-do compile`.

gcc/testsuite/gcc.target/aarch64/cmpbr-3.c

index a4f12deef27cd344fba4e3d9879731beca7233c8..ab0ba48162114ac41f9c89d5c65aad8a21abf95c 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do assemble } */
+/* { dg-do compile } */
 /* { dg-options "-O2" } */
 
 #pragma GCC target "+cmpbr"