https://gcc.gnu.org/g:582ccf3dc8d35c0249b9ef9ab69f6431e830d83d

commit r16-6482-g582ccf3dc8d35c0249b9ef9ab69f6431e830d83d
Author: Dimitar Dimitrov <[email protected]>
Date:   Sun Jan 4 15:51:51 2026 +0200

    testsuite: Require effective target bitint for test case
    
    Fix for the following test error on pru-unknown-elf:
    
      FAIL: gcc.dg/Wzero-as-null-pointer-constant-2.c (test for excess errors)
      Excess errors:
      .../gcc/gcc/testsuite/gcc.dg/Wzero-as-null-pointer-constant-2.c:9:19: 
sorry, unimplemented: '_BitInt(4)' is not supported on this target
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/Wzero-as-null-pointer-constant-2.c: Require effective
            target bitint.
    
    Signed-off-by: Dimitar Dimitrov <[email protected]>

Diff:
---
 gcc/testsuite/gcc.dg/Wzero-as-null-pointer-constant-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/Wzero-as-null-pointer-constant-2.c 
b/gcc/testsuite/gcc.dg/Wzero-as-null-pointer-constant-2.c
index 9b3e1c1a0149..553558138938 100644
--- a/gcc/testsuite/gcc.dg/Wzero-as-null-pointer-constant-2.c
+++ b/gcc/testsuite/gcc.dg/Wzero-as-null-pointer-constant-2.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target bitint } } */
 /* { dg-options "-std=c23 -Wzero-as-null-pointer-constant" } */
 
 void foo(void*);

Reply via email to