public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r11-11241] testsuite: Require lra effective target for pr107385.c
Date: Thu, 15 Feb 2024 19:09:11 +0000 (GMT)	[thread overview]
Message-ID: <20240215190911.7B7A9386D609@sourceware.org> (raw)

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

commit r11-11241-gda93a3d0976ad42aa6b4f5742119f3189ea21400
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Feb 15 20:04:01 2024 +0100

    testsuite: Require lra effective target for pr107385.c
    
    Old reload doesn't support asm goto with output operands.
    We have lra effective target (though, strangely it returns
    0 just for 2 targets out of at least 16 targets with no LRA support),
    so this patch uses it, similarly how it is done in other asm goto
    tests with output operands.
    
    2024-02-15  Jakub Jelinek  <jakub@redhat.com>
    
            PR middle-end/107385
            * gcc.dg/pr107385.c: Require lra effective target.
    
    (cherry picked from commit 0d5d1c75f5c68b6064640c3154ae5f4c0b464905)

Diff:
---
 gcc/testsuite/gcc.dg/pr107385.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr107385.c b/gcc/testsuite/gcc.dg/pr107385.c
index b678f57a3dfc..0cc0655d8483 100644
--- a/gcc/testsuite/gcc.dg/pr107385.c
+++ b/gcc/testsuite/gcc.dg/pr107385.c
@@ -1,5 +1,5 @@
 /* PR middle-end/107385 */
-/* { dg-do run } */
+/* { dg-do run { target lra } } */
 /* { dg-options "-O2" } */
 
 __attribute__((noipa)) int

                 reply	other threads:[~2024-02-15 19:09 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=20240215190911.7B7A9386D609@sourceware.org \
    --to=jakub@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).