Hi! In the PR127905 commit I've missed during pushing a test with the same name has been committed already in PR111280.
Fixed thusly. Sorry. 2026-10-21 Jakub Jelinek <[email protected]> * gcc.dg/torture/bitint-112.c: Move 2026-10-20 test to ... * gcc.dg/torture/bitint-114.c: ... here. New test. --- a/gcc/testsuite/gcc.dg/torture/bitint-112.c +++ b/gcc/testsuite/gcc.dg/torture/bitint-112.c @@ -1,38 +1,3 @@ -/* PR tree-optimization/127905 */ -/* { dg-do run { target bitint } } */ - -#if __BITINT_MAXWIDTH__ >= 135 -typedef unsigned _BitInt(135) B; - -[[gnu::noipa]] B -foo (B b, int c, unsigned n) -{ - B x = c ? b : 7; - B y = b; - for (unsigned i = 0; i < n; i++) - y = x + i; - return y; -} - -[[gnu::noipa]] B -bar (B b, B a, int c, unsigned n) -{ - B x = c ? b : 7; - B y = b; - for (unsigned i = 0; i < n; i++) - y = c ? x + 7 : a; - return y; -} -#endif - -int -main () -{ -#if __BITINT_MAXWIDTH__ >= 135 - if (foo (5, 1, 3) != 7 || bar (5, 9, 1, 3) != 12) - __builtin_abort (); -#endif -} /* { dg-do run { target bitint } } */ /* { dg-options "-std=c23 -pedantic-errors" } */ --- a/gcc/testsuite/gcc.dg/torture/bitint-114.c +++ b/gcc/testsuite/gcc.dg/torture/bitint-114.c @@ -0,0 +1,35 @@ +/* PR tree-optimization/127905 */ +/* { dg-do run { target bitint } } */ + +#if __BITINT_MAXWIDTH__ >= 135 +typedef unsigned _BitInt(135) B; + +[[gnu::noipa]] B +foo (B b, int c, unsigned n) +{ + B x = c ? b : 7; + B y = b; + for (unsigned i = 0; i < n; i++) + y = x + i; + return y; +} + +[[gnu::noipa]] B +bar (B b, B a, int c, unsigned n) +{ + B x = c ? b : 7; + B y = b; + for (unsigned i = 0; i < n; i++) + y = c ? x + 7 : a; + return y; +} +#endif + +int +main () +{ +#if __BITINT_MAXWIDTH__ >= 135 + if (foo (5, 1, 3) != 7 || bar (5, 9, 1, 3) != 12) + __builtin_abort (); +#endif +} Jakub
