This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: f/target.c HOST_BYTES_BIG_ENDIAN
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