public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-10024] [testsuite] [i386] require fpic for pr111497.C
@ 2024-04-18 11:15 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2024-04-18 11:15 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:514c6b1cb766dc0a14121016ce84b9f5a1ef4e41

commit r14-10024-g514c6b1cb766dc0a14121016ce84b9f5a1ef4e41
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Apr 18 08:01:29 2024 -0300

    [testsuite] [i386] require fpic for pr111497.C
    
    Fix another test that uses -fPIC without requiring fpic support.
    
    
    for  gcc/testsuite/ChangeLog
    
            * g++.target/i386/pr111497.C: Require fpic support.

Diff:
---
 gcc/testsuite/g++.target/i386/pr111497.C | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/g++.target/i386/pr111497.C b/gcc/testsuite/g++.target/i386/pr111497.C
index a645bb95907..30e2e0409ad 100644
--- a/gcc/testsuite/g++.target/i386/pr111497.C
+++ b/gcc/testsuite/g++.target/i386/pr111497.C
@@ -1,5 +1,6 @@
 // { dg-do compile { target ia32 } }
 // { dg-options "-march=i686 -mtune=generic -fPIC -O2 -g" }
+// { dg-require-effective-target fpic }
 
 class A;
 struct B { const char *b1; int b2; };

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

only message in thread, other threads:[~2024-04-18 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18 11:15 [gcc r14-10024] [testsuite] [i386] require fpic for pr111497.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).