This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [bugs] a gcc sign bug?
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: [bugs] a gcc sign bug?
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 1 Jun 2001 09:48:18 -0700
- Cc: Frank van der Linden <fvdl at wasabisystems dot com>, gcc-patches at gcc dot gnu dot org, bugs at x86-64 dot org
- References: <20010530231747.A27294@vaasje.org> <20010531125351.D926@atrey.karlin.mff.cuni.cz> <20010531141336.C17766@redhat.com> <20010601140819.B30070@atrey.karlin.mff.cuni.cz>
On Fri, Jun 01, 2001 at 02:08:19PM +0200, Jan Hubicka wrote:
> This is not overflow on host side, as HOST_WIDE_INT is 64bit,
> it is overflow on target side, as x86_64 limit immediates to
> 32bit sign extended expressions.
CONST_INT is supposed to be properly sign-extended on
the host, which means we got overflow there as well.
Either that or there's another bug elsewhere.
r~