This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: New libiberty sorting routine
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: PATCH: New libiberty sorting routine
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sun, 23 Apr 2000 18:21:02 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200004240101.SAA03780@vaio.codesourcery.com>
On Sun, Apr 23, 2000 at 06:01:30PM -0700, Mark Mitchell wrote:
> + /* Figure out the endianness of the machine. */
> + for (i = 0; i < sizeof (size_t); ++i)
> + ((char *)&j)[i] = i;
> + big_endian_p = (((char *)&j)[0] == 0);
This is always false.
r~