This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: HOST_WIDE_INT = long long patch



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]