On Tue, Aug 25, 2026 at 09:35:03AM +0200, Andreas Schwab wrote:
> On Aug 25 2026, Andrea Pinski wrote:
>
> >> diff --git a/gcc/testsuite/gcc.dg/torture/pr126650.c
> >> b/gcc/testsuite/gcc.dg/torture/pr126650.c
> >> index 166705d9cfe..f9997b16f2b 100644
> >> --- a/gcc/testsuite/gcc.dg/torture/pr126650.c
> >> +++ b/gcc/testsuite/gcc.dg/torture/pr126650.c
> >> @@ -1,5 +1,13 @@
> >> /* { dg-do run } */
> >>
> >> +#if __s390__
> >
> > I think this should be `__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__` instead.
>
> No, it needs to depend on BITS_BIG_ENDIAN. Byte order and bit order are
> independent, and gcc supports all combinations of them (the latter is
> usually constant even if the former is selectable).
Isn't BITS_BIG_ENDIAN an internal thingy and therefore cannot be used in
test cases?
Cheers,
Stefan