https://gcc.gnu.org/g:9c7141fbd9f2b61ed685068803c73ed5596daec9

commit r16-7719-g9c7141fbd9f2b61ed685068803c73ed5596daec9
Author: Karl Meakin <[email protected]>
Date:   Thu Dec 11 16:19:22 2025 +0000

    aarch64: fix `cmpbr-3.c` tests
    
    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`.

Diff:
---
 gcc/testsuite/gcc.target/aarch64/cmpbr-3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/cmpbr-3.c 
b/gcc/testsuite/gcc.target/aarch64/cmpbr-3.c
index a4f12deef27c..ab0ba4816211 100644
--- a/gcc/testsuite/gcc.target/aarch64/cmpbr-3.c
+++ b/gcc/testsuite/gcc.target/aarch64/cmpbr-3.c
@@ -1,4 +1,4 @@
-/* { dg-do assemble } */
+/* { dg-do compile } */
 /* { dg-options "-O2" } */
 
 #pragma GCC target "+cmpbr"

Reply via email to