This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: don't assume pointer cast to unsigned long is a valid initializer
On Mon, Mar 03, 2003 at 04:32:47PM -0300, Alexandre Oliva wrote:
> It doesn't work with EABI, as Richard Sandiford pointed out,
> confirming my recollection that it didn't really work on mips64-elf
> except when sizeof(long)==sizeof(void*). Since this patch introduces
> a regression, I propose that we revert it according to the
> patch-reversal rules, and on the grounds that it didn't follow the
> rules for modifying testcases.
I've been watching this thread with some interest... mostly I'm curious
to know which mips ABI has the property of "sizeof(long) != sizeof(void*)".
--
-- Jason R. Thorpe <thorpej at wasabisystems dot com>