public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1184] [testsuite] require pic for pr103074.c
@ 2023-05-25  2:46 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2023-05-25  2:46 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1f6a9e42e9b5f992b0dbcbf3249bc6e09e6d0b3e

commit r14-1184-g1f6a9e42e9b5f992b0dbcbf3249bc6e09e6d0b3e
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed May 24 03:07:47 2023 -0300

    [testsuite] require pic for pr103074.c
    
    Fix test that uses -fPIC without stating the requirement for PIC
    support.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/i386/pr103074.c: Require fpic support.

Diff:
---
 gcc/testsuite/gcc.target/i386/pr103074.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.target/i386/pr103074.c b/gcc/testsuite/gcc.target/i386/pr103074.c
index 276ad82a1de..668d9531096 100644
--- a/gcc/testsuite/gcc.target/i386/pr103074.c
+++ b/gcc/testsuite/gcc.target/i386/pr103074.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
 /* { dg-options "-march=bonnell -Os -fPIC -fschedule-insns -w" } */
 
 void

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-25  2:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25  2:46 [gcc r14-1184] [testsuite] require pic for pr103074.c Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).