public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alex Coplan <acoplan@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/vendors/ARM/heads/morello)] morello testsuite: Fix up const-pool-1.c test
Date: Mon, 14 Nov 2022 13:24:05 +0000 (GMT)	[thread overview]
Message-ID: <20221114132405.DAF5B385840E@sourceware.org> (raw)

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

commit e448c8a34a5188d6ff570c59ed60c5280c7b3ca9
Author: Alex Coplan <alex.coplan@arm.com>
Date:   Mon Nov 7 22:20:27 2022 +0000

    morello testsuite: Fix up const-pool-1.c test
    
    The check-function-bodies part of this test depends on -mcmodel=small
    and FAILs when testing with e.g. -mcmodel=tiny. This patch therefore
    only runs the check-function-bodies part of this test when testing with
    the small code model.

Diff:
---
 gcc/testsuite/gcc.target/aarch64/morello/const-pool-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/morello/const-pool-1.c b/gcc/testsuite/gcc.target/aarch64/morello/const-pool-1.c
index b780df5c1f4..e73da2612e8 100644
--- a/gcc/testsuite/gcc.target/aarch64/morello/const-pool-1.c
+++ b/gcc/testsuite/gcc.target/aarch64/morello/const-pool-1.c
@@ -1,6 +1,6 @@
 /* { dg-do assemble } */
 /* { dg-additional-options "-save-temps" } */
-/* { dg-final { check-function-bodies "**" ""  { {-O[123s]} } } } */
+/* { dg-final { check-function-bodies "**" ""  {-O[123s]} {target aarch64_small} } } */
 
 /*
 ** get_double:

             reply	other threads:[~2022-11-14 13:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-14 13:24 Alex Coplan [this message]
2022-11-22 12:42 Stam Markianos-Wright

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=20221114132405.DAF5B385840E@sourceware.org \
    --to=acoplan@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).