f/target.c HOST_BYTES_BIG_ENDIAN

Alan Modra amodra@bigpond.net.au
Thu Aug 22 20:31:00 GMT 2002


On Thu, Aug 22, 2002 at 10:32:07PM -0400, Hans-Peter Nilsson wrote:
> Your patch is wrong; don't use the *target* BITS_BIG_ENDIAN (et
> al) when the HOST_ one isn't defined.  I suggest to remove that
> test; check instead that HOST_WORDS_BIG_ENDIAN matches both
> BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN.

Please, can you fix your code then?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Gcc mailing list