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]
Other format: [Raw text]

Re: gcc-2.95 strength reduction fix


On Mon, Dec 03, 2001 at 02:51:31PM +1030, Alan Modra wrote:
> 
> 	* loop.c (strength_reduce <giv loop>): Set up maybe_multiple for givs.
> 	(record_giv): Pass in maybe_multiple.
> 	(find_mem_givs): Likewise.

Sorry, needs this hunk too.

@@ -4426,6 +4427,7 @@ strength_reduce (scan_start, end, loop_t
      biv and a constant (or invariant), and it is not a biv.  */
 
   not_every_iteration = 0;
+  maybe_multiple = 0;
   loop_depth = 0;
   p = scan_start;
   while (1)


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