public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] testsuite: add missing dg-require-effective-target fpic
@ 2022-03-31 14:28 Marc Poulhiès
  2022-05-05  9:35 ` Marc Poulhies
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Poulhiès @ 2022-03-31 14:28 UTC (permalink / raw)
  To: gcc-patches

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.

Tested on x86_64-linux. Ok for master?

---
 gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C | 1 +
 1 file changed, 1 insertion(+)

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 @@
 // PR c++/103291
 // { dg-additional-options -fpic }
 // { dg-final { scan-assembler-not "@GOTPCREL" } }
+// { dg-require-effective-target fpic }
 
 #pragma GCC visibility push(hidden)
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-18 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 14:28 [PATCH] testsuite: add missing dg-require-effective-target fpic Marc Poulhiès
2022-05-05  9:35 ` Marc Poulhies
2022-05-18 22:00   ` Mike Stump

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).