https://gcc.gnu.org/g:49cb7150f0e93e8332f4b78753675b255a5c58f2

commit r15-3638-g49cb7150f0e93e8332f4b78753675b255a5c58f2
Author: Jason Merrill <ja...@redhat.com>
Date:   Fri Sep 13 15:52:02 2024 +0200

    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.

Diff:
---
 gcc/testsuite/c-c++-common/pragma-diag-17.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/c-c++-common/pragma-diag-17.c 
b/gcc/testsuite/c-c++-common/pragma-diag-17.c
index a38841bc48d2..a44ce90f98b1 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

Reply via email to