public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Malcolm <dmalcolm@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: [committed] testsuite: guard usage of _Float16 in analyzer test [PR104150]
Date: Sat, 22 Jan 2022 10:32:09 -0500	[thread overview]
Message-ID: <20220122153209.2510595-1-dmalcolm@redhat.com> (raw)

Committed to trunk as r12-6818-ga1fb81bda97014ba14d55c4c2e143d31ffe2e264.

gcc/testsuite/ChangeLog:
	PR analyzer/104150
	* gcc.dg/analyzer/pr104089.c: Add "dg-add-options float16"
	and "dg-require-effective-target float16" directives.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
---
 gcc/testsuite/gcc.dg/analyzer/pr104089.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/testsuite/gcc.dg/analyzer/pr104089.c b/gcc/testsuite/gcc.dg/analyzer/pr104089.c
index c51770411f1..3bf637ec5f6 100644
--- a/gcc/testsuite/gcc.dg/analyzer/pr104089.c
+++ b/gcc/testsuite/gcc.dg/analyzer/pr104089.c
@@ -1,3 +1,5 @@
+/* { dg-add-options float16 } */
+/* { dg-require-effective-target float16 } */
 /* { dg-additional-options "-frounding-math" } */
 
 volatile _Float16 true_min = 5.96046447753906250000000000000000000e-8F16;
-- 
2.26.3


                 reply	other threads:[~2022-01-22 15:32 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=20220122153209.2510595-1-dmalcolm@redhat.com \
    --to=dmalcolm@redhat.com \
    --cc=gcc-patches@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).