public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1929] [testsuite]: Add missing dg-add-options float16 to gcc.dg/debug/ctf/ctf-skip-types-2.c
@ 2021-06-30 11:44 Christophe Lyon
0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2021-06-30 11:44 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f6bc9d9bddad7f9e3aad939bb6750770ac67f003
commit r12-1929-gf6bc9d9bddad7f9e3aad939bb6750770ac67f003
Author: Christophe Lyon <christophe.lyon@foss.st.com>
Date: Wed Jun 30 11:44:00 2021 +0000
[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.
Diff:
---
gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-2.c | 1 +
1 file changed, 1 insertion(+)
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 7c8b17df6db..79d5cb230a1 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-30 11:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 11:44 [gcc r12-1929] [testsuite]: Add missing dg-add-options float16 to gcc.dg/debug/ctf/ctf-skip-types-2.c Christophe Lyon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).