The new gcc.dg/torture/bitint-101.c test FAILs on Solaris/SPARC:

FAIL: gcc.dg/torture/bitint-101.c   -O0  (test for excess errors)
UNRESOLVED: gcc.dg/torture/bitint-101.c   -O0  compilation failed to produce 
executable

Excess errors:
gcc.dg/torture/bitint-101.c:4:1: sorry, unimplemented: '_BitInt(2)' is not 
supported on this target
gcc.dg/torture/bitint-101.c:11:3: sorry, unimplemented: '_BitInt(2)' is not 
supported on this target

Fixed by requiring bitint support.

Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11.

Committed to trunk.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


2026-07-16  Rainer Orth  <[email protected]>

        gcc/testsuite:
        * gcc.dg/torture/bitint-101.c: Require bitint.

diff --git a/gcc/testsuite/gcc.dg/torture/bitint-101.c b/gcc/testsuite/gcc.dg/torture/bitint-101.c
--- a/gcc/testsuite/gcc.dg/torture/bitint-101.c
+++ b/gcc/testsuite/gcc.dg/torture/bitint-101.c
@@ -1,5 +1,5 @@
 /* PR tree-optimization/126257 */
-/* { dg-do run } */
+/* { dg-do run { target bitint } } */
 
 _BitInt(2) a;
 long long b, c, d;

Reply via email to