public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Marc Poulhiès" <dkm@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-694] testsuite: add missing dg-require-effective-target fpic
Date: Fri, 20 May 2022 15:26:29 +0000 (GMT)	[thread overview]
Message-ID: <20220520152629.A64883856DCB@sourceware.org> (raw)

https://gcc.gnu.org/g:d5cf2a1f15ef6b46881f600dabf70636f531de2e

commit r13-694-gd5cf2a1f15ef6b46881f600dabf70636f531de2e
Author: Marc Poulhiès <poulhies@adacore.com>
Date:   Thu Mar 31 13:50:35 2022 +0000

    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.

Diff:
---
 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)


                 reply	other threads:[~2022-05-20 15:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220520152629.A64883856DCB@sourceware.org \
    --to=dkm@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).