On Mar 26, 2026, Alexandre Oliva <[email protected]> wrote:

> diff --git a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c 
> b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c
> index b9ad8c1dd36a6..adecb3cd67233 100644
> --- a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c
> +++ b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c
> @@ -18,5 +18,5 @@ int bar ()
>  /* { dg-final { scan-assembler "beqctrl-" { target { lp64 || { 
> powerpc*-*-aix* } } } } } */
 
>  /* The other ABIs do allow a sibcall.  */
> -/* { dg-final { scan-assembler "beqctr-" { target { ilp32 && 
> !powerpc*-*-aix* } } } } */
> -/* { dg-final { scan-assembler {b \$} { target { ilp32 && !powerpc*-*-aix* } 
> } } } */
> +/* { dg-final { scan-assembler "beqctr-" { target { ilp32 && { ! 
> powerpc*-*-aix* } } } } } */
> +/* { dg-final { scan-assembler {b \$} { target { ilp32 && { ! 
> powerpc*-*-aix* } } } } } */

FTR, this exposed a latent bug in the testcase.  Some 32-bit ppc targets
are now visibly failing because they have long failed to output the
expected (?) ilp32 patterns, but we didn't check for them because
'!powerpc*-*-aix*' never matched anything.

-- 
Alexandre Oliva, happy hacker            https://blog.lx.oliva.nom.br/
Free Software Activist     FSFLA co-founder     GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity.
Excluding neuro-others for not behaving ""normal"" is *not* inclusive!

Reply via email to