]> gcc.gnu.org Git - gcc.git/commitdiff
[testsuite] [i386] require fpic for pr111497.C
authorAlexandre Oliva <oliva@adacore.com>
Thu, 18 Apr 2024 11:01:29 +0000 (08:01 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 18 Apr 2024 11:11:45 +0000 (08:11 -0300)
Fix another test that uses -fPIC without requiring fpic support.

for  gcc/testsuite/ChangeLog

* g++.target/i386/pr111497.C: Require fpic support.

gcc/testsuite/g++.target/i386/pr111497.C

index a645bb95907ee34a2145a6cf01f0c26630a37155..30e2e0409ad0e9068f8c97f7325610090006bb65 100644 (file)
@@ -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; };
This page took 0.07005 seconds and 5 git commands to generate.