public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-1184] [testsuite] require pic for pr103074.c
Date: Thu, 25 May 2023 02:46:02 +0000 (GMT)	[thread overview]
Message-ID: <20230525024602.75A633858D3C@sourceware.org> (raw)

https://gcc.gnu.org/g:1f6a9e42e9b5f992b0dbcbf3249bc6e09e6d0b3e

commit r14-1184-g1f6a9e42e9b5f992b0dbcbf3249bc6e09e6d0b3e
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed May 24 03:07:47 2023 -0300

    [testsuite] require pic for pr103074.c
    
    Fix test that uses -fPIC without stating the requirement for PIC
    support.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/i386/pr103074.c: Require fpic support.

Diff:
---
 gcc/testsuite/gcc.target/i386/pr103074.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.target/i386/pr103074.c b/gcc/testsuite/gcc.target/i386/pr103074.c
index 276ad82a1de..668d9531096 100644
--- a/gcc/testsuite/gcc.target/i386/pr103074.c
+++ b/gcc/testsuite/gcc.target/i386/pr103074.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
 /* { dg-options "-march=bonnell -Os -fPIC -fschedule-insns -w" } */
 
 void

                 reply	other threads:[~2023-05-25  2:46 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=20230525024602.75A633858D3C@sourceware.org \
    --to=aoliva@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).