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).

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to