This is the mail archive of the gcc-patches@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: reload buglet


  In message <199911082237.WAA10727@phal.cygnus.co.uk>you write:
  > Hmm, it's actually a buglet pair.
  > 
  > Mon Nov  8 22:35:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
  > 
  > 	* reload.c (find_reloads): Fix out-of-range array access.
I don't see how this could fix anything.

As Jim noted, before the two if statements you changed we have:

        else if (goal_alternative_matched[i] == -1)
[ ... ]

So, under what circumstances were you getting an out of range memory
access?

jeff


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