[gcc r12-6818] testsuite: guard usage of _Float16 in analyzer test [PR104150]

David Malcolm dmalcolm@gcc.gnu.org
Sat Jan 22 15:27:54 GMT 2022


https://gcc.gnu.org/g:a1fb81bda97014ba14d55c4c2e143d31ffe2e264

commit r12-6818-ga1fb81bda97014ba14d55c4c2e143d31ffe2e264
Author: David Malcolm <dmalcolm@redhat.com>
Date:   Fri Jan 21 16:50:11 2022 -0500

    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 <dmalcolm@redhat.com>

Diff:
---
 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;


More information about the Gcc-cvs mailing list