public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] testsuite: guard usage of _Float16 in analyzer test [PR104150]
@ 2022-01-22 15:32 David Malcolm
  0 siblings, 0 replies; only message in thread
From: David Malcolm @ 2022-01-22 15:32 UTC (permalink / raw)
  To: gcc-patches

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-22 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 15:32 [committed] testsuite: guard usage of _Float16 in analyzer test [PR104150] David Malcolm

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).