This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Suspected bug lshift_value (expmed.c) and its patch
On Thu, Mar 19, 2009 at 9:07 AM, Bingfeng Mei <bmei@broadcom.com> wrote:
> # Âneed_64bit_hwint   Set to yes if HOST_WIDE_INT must be 64 bits wide
> # Â Â Â Â Â Â Â Â Â Â Â for this target. ÂThis is true iff this target
> # Â Â Â Â Â Â Â Â Â Â Â supports "long" or "wchar_t" wider than 32 bits.
> # Â Â Â Â Â Â Â Â Â Â Â The setting made here must match the one made in
> # Â Â Â Â Â Â Â Â Â Â Â other locations such as libcpp/configure.ac
> #
>
> Thanks. Maybe this description needs some modifications. It doesn't mention
> need_64bit_hwint has to true if target is 64-bit machine.
> "long" type on our target is 32-bit indeed.
Is your target a LLP64L32? I think it should mention pointers there
but it does not currently. A patch to add a mention about pointers
being wider than 32bit is an obvious patch. I x86_64-win32 is another
target where long is 32bit but pointers are 64bits.
Thanks,
Andrew Pinski