This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HOST_WIDE_INT broken for x86 on mainline
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.