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(refs/users/aoliva/heads/testme)] add -mfloat128 to __float128-using test missing it
Date: Tue,  9 Mar 2021 21:25:32 +0000 (GMT)	[thread overview]
Message-ID: <20210309212532.98D3B3893660@sourceware.org> (raw)

https://gcc.gnu.org/g:54a39afdf8edcbb82cdd3cfd26edc1f6d3c6a5dd

commit 54a39afdf8edcbb82cdd3cfd26edc1f6d3c6a5dd
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Mon Mar 8 23:22:51 2021 -0300

    add -mfloat128 to __float128-using test missing it
    
    Most (all?) powerpc tests that use the __float128 type either enable
    it with -mfloat128, or use effective target requirements to check for
    its presence.
    
    prefix-ds-dq.c is failing in some of our configurations because it
    uses the __float128 type without checking for it, or enabling it
    explicitly.
    
    Since it's a compile test, I'm enabling it explicitly.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/prefix-ds-dq.c: Enable __float128.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
index 554cd0c1bea..6517eadf44c 100644
--- a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
+++ b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_prefixed_addr } */
 /* { dg-require-effective-target lp64 } */
-/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
+/* { dg-options "-O2 -mdejagnu-cpu=power10 -mfloat128" } */
+/* { dg-prune-output ".-mfloat128. option may not be fully supported" } */
 
 /* Tests whether we generate a prefixed load/store operation for addresses that
    don't meet DS/DQ offset constraints.  64-bit is needed for testing the use


             reply	other threads:[~2021-03-09 21:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 21:25 Alexandre Oliva [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-11 10:21 Alexandre Oliva
2021-03-09 21:47 Alexandre Oliva
2021-03-09  2:26 Alexandre Oliva

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=20210309212532.98D3B3893660@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).