On Mon, Feb 16, 2026 at 5:59 AM Karl Meakin <[email protected]> wrote:
>
> 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`.
Ok.
>
> gcc/testsuite/ChangeLog:
>
> * gcc.target/aarch64/cmpbr-3.c: `dg-do assemble` => `dg-do compile`.
> ---
> 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 a4f12deef27..ab0ba481621 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"
> --
> 2.43.0
>