summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Poulhiès <poulhies@adacore.com>2022-03-31 13:50:35 +0000
committerMarc Poulhiès <poulhies@adacore.com>2022-05-20 17:04:16 +0200
commitd5cf2a1f15ef6b46881f600dabf70636f531de2e (patch)
tree2130b4d2a5d163daf7fed860fb3d752f921316bb
parentlibstdc++: Reduce <random> test iterations for simulators (diff)
downloadgcc-d5cf2a1f15ef6b46881f600dabf70636f531de2e.tar.gz
gcc-d5cf2a1f15ef6b46881f600dabf70636f531de2e.tar.bz2
gcc-d5cf2a1f15ef6b46881f600dabf70636f531de2e.tar.xz
testsuite: add missing dg-require-effective-target fpic
Require effective target fpic for newly added test. gcc/testsuite/ * g++.dg/ext/visibility/visibility-local-extern1.C: Add missing dg-require-effective-target fpic.
-rw-r--r--gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C b/gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C
index 40c20199d0c..6fb1cc7f381 100644
--- a/gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C
+++ b/gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C
@@ -1,6 +1,7 @@
1// PR c++/103291 1// PR c++/103291
2// { dg-additional-options -fpic } 2// { dg-additional-options -fpic }
3// { dg-final { scan-assembler-not "@GOTPCREL" } } 3// { dg-final { scan-assembler-not "@GOTPCREL" } }
4// { dg-require-effective-target fpic }
4 5
5#pragma GCC visibility push(hidden) 6#pragma GCC visibility push(hidden)
6 7