HOST_WIDE_INT = long long patch
Jeffrey A Law
law@cygnus.com
Tue Apr 7 19:34:00 GMT 1998
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
More information about the Gcc
mailing list