HOST_WIDE_INT = long long patch

Jeffrey A Law law@cygnus.com
Wed Apr 8 02:13:00 GMT 1998


  In message < 199804072327.TAA16420@jfc. >you write:
  > 
  > > 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?
  > 
  > That didn't fix the problem for me.
OK.  I couldn't ever convince myself that the change wasn't just
covering up the bug (the change is still correct, but it wasn't
clear if actually fixed the bug).  Anyways...

  > It turned out that my fix worked
  > because it masked a different error: certain operations were
  > incorrectly being assigned cost 0.  Use this patch instead.
Hmmm.  Seems to me like we shouldn't have been accessing elements
higher than BITS_PER_WORD in those arrays to start with.  That
might actually be the underlying bug.

It may or may not be relavent, but when I ran into this problem
last week it was on a machine with a nonvarying BITS_PER_WORD.

jeff



More information about the Gcc mailing list