]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: guard usage of _Float16 in analyzer test [PR104150]
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 21 Jan 2022 21:50:11 +0000 (16:50 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Sat, 22 Jan 2022 15:27:45 +0000 (10:27 -0500)
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

index c51770411f13e85cda70ed5a3ef526cc88678b3f..3bf637ec5f65e6a97eab65ead453af5ee0b30933 100644 (file)
@@ -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;