don't assume pointer cast to unsigned long is a valid initializer
Jason R Thorpe
thorpej@wasabisystems.com
Mon Mar 3 20:26:00 GMT 2003
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@wasabisystems.com>
More information about the Gcc-patches
mailing list