HOST_WIDE_INT broken for x86 on mainline

Neil Booth neil@daikokuya.demon.co.uk
Sat May 12 04:29:00 GMT 2001


Alexandre Oliva wrote:-

> Not really.  When the compiler targets a 64-bit machine (possibly
> among other 32-bit machines, as is the case of x86[_64]),
> HOST_WIDE_INT must be at least 64-bits wide.  That's why we currently
> get this on targets such as x86, mips-irix6 and bi-arch sparc.

Why?  Surely the correct fix is just to have an arbitrary-precision
integer library, optimised as appropriate for the native case.  Then
we could target whatever with whatever.

Neil.



More information about the Gcc-patches mailing list