From: Christophe Lyon Date: Wed, 30 Jun 2021 11:44:00 +0000 (+0000) Subject: [testsuite]: Add missing dg-add-options float16 to gcc.dg/debug/ctf/ctf-skip-types-2.c X-Git-Tag: basepoints/gcc-13~6384 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6bc9d9bddad7f9e3aad939bb6750770ac67f003;p=thirdparty%2Fgcc.git [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 gcc/testsuite/ * gcc.dg/debug/ctf/ctf-skip-types-2.c: Add dg-add-options float16. --- 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 7c8b17df6db8..79d5cb230a1a 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;