aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.ibm.com>2021-07-28 17:24:23 -0400
committerMichael Meissner <meissner@linux.ibm.com>2021-07-28 17:24:23 -0400
commitf471739e636734c2b4933cc4cb4ebad6cb2083ad (patch)
treef3cf0d03f81b61249e36079df581e8e23b2ea71b /gcc
parent37eb3ef48c9840475646528751b5f8ffb7eb34ce (diff)
downloadgcc-f471739e636734c2b4933cc4cb4ebad6cb2083ad.zip
gcc-f471739e636734c2b4933cc4cb4ebad6cb2083ad.tar.gz
gcc-f471739e636734c2b4933cc4cb4ebad6cb2083ad.tar.bz2
PR 100168: Fix call test on power10.
Fix a test that was checking for 64-bit TOC calls, to also allow for PC-relative calls. 2021-07-28 Michael Meissner <meissner@linux.ibm.com> gcc/testsuite PR testsuite/100168 * gcc.dg/pr56727-2.c: Add support for PC-relative calls.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/pr56727-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr56727-2.c b/gcc/testsuite/gcc.dg/pr56727-2.c
index c54369e..77fdf4b 100644
--- a/gcc/testsuite/gcc.dg/pr56727-2.c
+++ b/gcc/testsuite/gcc.dg/pr56727-2.c
@@ -18,4 +18,4 @@ void h ()
/* { dg-final { scan-assembler "@(PLT|plt)" { target i?86-*-* x86_64-*-* } } } */
/* { dg-final { scan-assembler "@(PLT|plt)" { target { powerpc*-*-linux* && ilp32 } } } } */
-/* { dg-final { scan-assembler "bl f\n\\s*nop" { target { powerpc*-*-linux* && lp64 } } } } */
+/* { dg-final { scan-assembler "(bl f\n\\s*nop)|(bl f@notoc)" { target { powerpc*-*-linux* && lp64 } } } } */