diff mbox series

[committed] testsuite: Require fpic support for pr116887.c

Message ID 20241102210357.46525-2-dimitar@dinux.eu
State New
Headers show
Series [committed] testsuite: Require fpic support for pr116887.c | expand

Commit Message

Dimitar Dimitrov Nov. 2, 2024, 9:03 p.m. UTC
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.

Pushed to trunk as obvious.

gcc/testsuite/ChangeLog:

	* gcc.dg/pr116887.c: Require effective target fpic.

Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
 gcc/testsuite/gcc.dg/pr116887.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/pr116887.c b/gcc/testsuite/gcc.dg/pr116887.c
index b7255e09a18..e22b944eade 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