https://gcc.gnu.org/g:af5a62ee88fbfbf5d60872bff2be5c2c0345dcf7

commit r15-4867-gaf5a62ee88fbfbf5d60872bff2be5c2c0345dcf7
Author: Dimitar Dimitrov <dimi...@dinux.eu>
Date:   Sat Nov 2 20:23:19 2024 +0200

    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 <dimi...@dinux.eu>

Diff:
---
 gcc/testsuite/gcc.dg/pr116887.c | 1 +
 1 file changed, 1 insertion(+)

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

Reply via email to