gcc-2.95 strength reduction fix
Alan Modra
amodra@bigpond.net.au
Sun Dec 2 22:47:00 GMT 2001
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)
More information about the Gcc-patches
mailing list