]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Require effective target bitint for test case
authorDimitar Dimitrov <dimitar@dinux.eu>
Sun, 4 Jan 2026 13:51:51 +0000 (15:51 +0200)
committerDimitar Dimitrov <dimitar@dinux.eu>
Sun, 4 Jan 2026 15:01:16 +0000 (17:01 +0200)
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 <dimitar@dinux.eu>
gcc/testsuite/gcc.dg/Wzero-as-null-pointer-constant-2.c

index 9b3e1c1a0149346a3883abb50b155f396c610495..5535581389387f3038a596a13ddf755af452818e 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target bitint } } */
 /* { dg-options "-std=c23 -Wzero-as-null-pointer-constant" } */
 
 void foo(void*);