https://gcc.gnu.org/g:01db34387909207754d34c08ef5612396e262f00

commit r16-9298-g01db34387909207754d34c08ef5612396e262f00
Author: Rainer Orth <[email protected]>
Date:   Thu Jul 16 09:56:58 2026 +0200

    testsuite: Require bitint in gcc.dg/torture/bitint-101.c
    
    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.
    
    2026-07-16  Rainer Orth  <[email protected]>
    
            gcc/testsuite:
            * gcc.dg/torture/bitint-101.c: Require bitint.
    
    (cherry picked from commit 1731ba6e70ff806c209ab4d73c402257afd41768)

Diff:
---
 gcc/testsuite/gcc.dg/torture/bitint-101.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/torture/bitint-101.c 
b/gcc/testsuite/gcc.dg/torture/bitint-101.c
index 95e9a982aa2b..7b311fc07aa0 100644
--- 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