aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeevitha <jeevitha@linux.ibm.com>2023-12-25 22:17:54 -0600
committerJeevitha <jeevitha@linux.ibm.com>2023-12-25 22:17:54 -0600
commit7c6615692e052e6bd08f46d9ed060fdbcd711c5c (patch)
treef448f439c2d99371946e4a4bfc704dbb5f936d12 /gcc
parent07ee6d7b2c361437b877e37e096af71d53a6faef (diff)
downloadgcc-7c6615692e052e6bd08f46d9ed060fdbcd711c5c.zip
gcc-7c6615692e052e6bd08f46d9ed060fdbcd711c5c.tar.gz
gcc-7c6615692e052e6bd08f46d9ed060fdbcd711c5c.tar.bz2
testsuite: Add dg-require-effective-target powerpc_pcrel for testcase [PR110320]
Add dg-require-effective-target directive that allows the test case to run specifically on powerpc_pcrel target. 2023-12-26 Jeevitha Palanisamy <jeevitha@linux.ibm.com> gcc/testsuite/ PR target/110320 * gcc.target/powerpc/pr110320-1.c: Add dg-require-effective-target powerpc_pcrel.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/powerpc/pr110320-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/powerpc/pr110320-1.c b/gcc/testsuite/gcc.target/powerpc/pr110320-1.c
index 9d49732..a87b37c 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr110320-1.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr110320-1.c
@@ -1,5 +1,6 @@
/* PR target/110320 */
/* { dg-require-effective-target powerpc_elfv2 } */
+/* { dg-require-effective-target powerpc_pcrel } */
/* { dg-options "-O2 -mdejagnu-cpu=power10 -ffixed-r0 -ffixed-r11 -ffixed-r12" } */
/* Ensure we use r2 as a normal volatile register for the code below.