This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HOST_WIDE_INT = long long patch
- To: John Carr <jfc at mit dot edu>
- Subject: Re: HOST_WIDE_INT = long long patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 06 Apr 1998 22:24:18 -0600
- cc: egcs at cygnus dot com, wilson at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199804062243.SAA04832@jfc.>you write:
>
> This fixes a bug in strength reduction on SPARC when HOST_WIDE_INT is
> long long: multiplying by -1 gets the wrong answer. It may not be the
> best fix. Please review.
>
> Mon Apr 6 18:38:20 1998 John Carr <jfc@mit.edu>
>
> * expmed.c (expand_mult): When HOST_WIDE_INT is wider than int do not
> call synth_mult with a negative multiplier value.
I checked in a fix to synth_mult for multiplying by -1 on Apr 3. In
theory your patch shouldn't be necessary anymore. Can you please
double check?
jeff