https://gcc.gnu.org/g:b6efbea361aac79bcc9a28f67a20bea8db2b74e3
commit b6efbea361aac79bcc9a28f67a20bea8db2b74e3 Author: Michael Meissner <meiss...@linux.ibm.com> Date: Sat May 25 02:08:31 2024 -0400 Fix test for TAR register. 2024-05-25 Michael Meissner <meiss...@linux.ibm.com> gcc/testsuite/ * gcc.target/powerpc/safe-indirect-jump-2.c: Fix test for generating the TAR register. Diff: --- gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-2.c b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-2.c index d6fc6a3e0b7..791537921c8 100644 --- a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-2.c +++ b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-2.c @@ -28,5 +28,5 @@ int foo (int x) } /* { dg-final { scan-assembler "crset" } } */ -/* { dg-final { scan-assembler "beqctr-" } } */ +/* { dg-final { scan-assembler "beq\(ctr\|tar\)-" } } */ /* { dg-final { scan-assembler {b \$} } } */