diff options
author | Jason Merrill <jason@redhat.com> | 2024-09-13 15:52:02 +0200 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-09-14 13:56:13 +0200 |
commit | 49cb7150f0e93e8332f4b78753675b255a5c58f2 (patch) | |
tree | da9e96eb9b1bd37b5082f00d2b2680011e93aca6 | |
parent | bec1f2ce4ad3fe56906d6429b542a290e574b3eb (diff) | |
download | gcc-49cb7150f0e93e8332f4b78753675b255a5c58f2.zip gcc-49cb7150f0e93e8332f4b78753675b255a5c58f2.tar.gz gcc-49cb7150f0e93e8332f4b78753675b255a5c58f2.tar.bz2 |
testsuite: adjust pragma-diag-17.c diagnostics
The Linaro CI runs of this testcase pointed out that I need to check for DFP
support, as well.
gcc/testsuite/ChangeLog:
* c-c++-common/pragma-diag-17.c: Handle !dfp targets.
-rw-r--r-- | gcc/testsuite/c-c++-common/pragma-diag-17.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/c-c++-common/pragma-diag-17.c b/gcc/testsuite/c-c++-common/pragma-diag-17.c index a38841b..a44ce90 100644 --- a/gcc/testsuite/c-c++-common/pragma-diag-17.c +++ b/gcc/testsuite/c-c++-common/pragma-diag-17.c @@ -12,7 +12,7 @@ void f() 0b0100; /* { dg-error "binary constant" "" { target { ! c++14 } } } */ #pragma GCC diagnostic ignored "-Wpedantic" 2.0j; - 1.0dd; + 1.0dd; /* { dg-error "decimal floating-point" "" { target { ! dfp } } } */ 1.0d; #ifdef __cplusplus |