aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2024-11-02 20:23:19 +0200
committerDimitar Dimitrov <dimitar@dinux.eu>2024-11-02 23:02:42 +0200
commitaf5a62ee88fbfbf5d60872bff2be5c2c0345dcf7 (patch)
treea329117a91c7223989a4044ce94fbe8224bcec8a
parent5e40dcf2458aab0441221f89af10f4c5682a8f63 (diff)
downloadgcc-af5a62ee88fbfbf5d60872bff2be5c2c0345dcf7.zip
gcc-af5a62ee88fbfbf5d60872bff2be5c2c0345dcf7.tar.gz
gcc-af5a62ee88fbfbf5d60872bff2be5c2c0345dcf7.tar.bz2
testsuite: Require fpic support for pr116887.c
Test case pr116887.c is passing -fpic, so mark it as such. With this patch the test is now properly marked as unsupported for pru-unknown-elf. Test still passes for x86_64-pc-linux-gnu. gcc/testsuite/ChangeLog: * gcc.dg/pr116887.c: Require effective target fpic. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
-rw-r--r--gcc/testsuite/gcc.dg/pr116887.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr116887.c b/gcc/testsuite/gcc.dg/pr116887.c
index b7255e0..e22b944 100644
--- a/gcc/testsuite/gcc.dg/pr116887.c
+++ b/gcc/testsuite/gcc.dg/pr116887.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
/* { dg-options "-fpic" } */
struct link_map