]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Add options for float16 for test [PR119133]
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 27 Mar 2025 14:44:18 +0000 (14:44 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Fri, 28 Mar 2025 13:22:42 +0000 (13:22 +0000)
Some targets (like arm) need some flags to enable _Float16 support.

gcc/testsuite/ChangeLog:

PR target/119133
* gcc.dg/torture/pr119133.c: Add options for float16.

gcc/testsuite/gcc.dg/torture/pr119133.c

index 5369becd350dfbcdc361e056fb1d6b09426e7e40..f0c8f734c866bf17a45e6fb92da53dbb4f0f740c 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-additional-options "-fno-tree-ter" } */
 /* { dg-require-effective-target float16 } */
+/* { dg-add-options float16 } */
 
 int
 foo(_Float16 f, int i)