diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e6ef13955c25..c798bf792a4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 10 01:22:59 1999 Jeffrey A Law (law@cygnus.com) + + * loop.c (strength_reduce): Disable biv->giv translations and + giv recombination. For the release branch only. + Wed Jun 9 15:57:57 1999 Franz Sirl * rs6000.md (movsi_got_internal_mem): Delete. diff --git a/gcc/loop.c b/gcc/loop.c index 80b22a7b26ee..0405ae743f26 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -4134,8 +4134,15 @@ strength_reduce (scan_start, end, loop_top, insn_count, n_extra_increment += bl->biv_count - 1; /* If the loop contains volatile memory references do not allow any - replacements to take place, since this could loose the volatile markers. */ - if (n_extra_increment && ! loop_has_volatile) + replacements to take place, since this could loose the volatile + markers. + + Disabled for the gcc-2.95 release. There are still some problems with + giv recombination. We have a patch from Joern which should fix those + problems. But the patch is fairly complex and not really suitable for + the gcc-2.95 branch at this stage. */ + if (0 && n_extra_increment && ! loop_has_volatile) + { int nregs = first_increment_giv + n_extra_increment; @@ -4740,7 +4747,13 @@ strength_reduce (scan_start, end, loop_top, insn_count, VARRAY_GROW (reg_iv_type, nregs); VARRAY_GROW (reg_iv_info, nregs); } +#if 0 + /* Disabled for the gcc-2.95 release. There are still some problems with + giv recombination. We have a patch from Joern which should fix those + problems. But the patch is fairly complex and not really suitable for + the gcc-2.95 branch at this stage. */ recombine_givs (bl, loop_start, loop_end, unroll_p); +#endif /* Reduce each giv that we decided to reduce. */