aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@foss.st.com>2021-06-30 11:44:00 +0000
committerChristophe Lyon <christophe.lyon@foss.st.com>2021-06-30 11:44:30 +0000
commitf6bc9d9bddad7f9e3aad939bb6750770ac67f003 (patch)
tree09630183452bf0c78e3a1476eeb5568674ab87d3 /gcc
parenta3ce7d75dd9c0308b8565669f31127436cb2ba9f (diff)
downloadgcc-f6bc9d9bddad7f9e3aad939bb6750770ac67f003.zip
gcc-f6bc9d9bddad7f9e3aad939bb6750770ac67f003.tar.gz
gcc-f6bc9d9bddad7f9e3aad939bb6750770ac67f003.tar.bz2
[testsuite]: Add missing dg-add-options float16 to gcc.dg/debug/ctf/ctf-skip-types-2.c
The test already checks dg-require-effective-target float16, but this is not sufficient to use the flags needed, if any. This patch makes the test pass on arm. 2021-06-30 Christophe Lyon <christophe.lyon@foss.st.com> gcc/testsuite/ * gcc.dg/debug/ctf/ctf-skip-types-2.c: Add dg-add-options float16.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-2.c
index 7c8b17d..79d5cb2 100644
--- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-2.c
+++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-2.c
@@ -13,5 +13,6 @@
/* { dg-options "-gctf" } */
/* { dg-require-effective-target float16 } */
+/* { dg-add-options float16 } */
_Float16 f16;