]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Require fpic support for pr116887.c
authorDimitar Dimitrov <dimitar@dinux.eu>
Sat, 2 Nov 2024 18:23:19 +0000 (20:23 +0200)
committerDimitar Dimitrov <dimitar@dinux.eu>
Sat, 2 Nov 2024 21:02:42 +0000 (23:02 +0200)
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>
gcc/testsuite/gcc.dg/pr116887.c

index b7255e09a18ac8a62866185bde6db25e92bfdc1b..e22b944eade76979a652658d19e3a9af9cab7744 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
 /* { dg-options "-fpic" } */
 
 struct link_map