From: David Malcolm Date: Fri, 21 Jan 2022 21:50:11 +0000 (-0500) Subject: testsuite: guard usage of _Float16 in analyzer test [PR104150] X-Git-Tag: basepoints/gcc-13~1495 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1fb81bda97014ba14d55c4c2e143d31ffe2e264;p=thirdparty%2Fgcc.git testsuite: guard usage of _Float16 in analyzer test [PR104150] 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 --- diff --git a/gcc/testsuite/gcc.dg/analyzer/pr104089.c b/gcc/testsuite/gcc.dg/analyzer/pr104089.c index c51770411f13..3bf637ec5f65 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;