From 9eab30bcdc09316ab513c01bd5afd78760e7c81e Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Sat, 30 Jan 1999 07:32:56 +0000 Subject: [PATCH] loop.c: Disable recent loop changes. * loop.c: Disable recent loop changes. Temporary as Joern continues to fix problems. From-SVN: r24916 --- gcc/ChangeLog | 5 +++++ gcc/loop.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdd20095c48..04ddeb0c141 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Jan 30 08:27:23 1999 Jeffrey A Law (law@cygnus.com) + + * loop.c: Disable recent loop changes. Temporary as Joern + continues to fix problems. + Sat Jan 30 03:24:37 1999 J"orn Rennecke * loop.c (strength_reduce): Size reg_map according to reg_iv_type. diff --git a/gcc/loop.c b/gcc/loop.c index 109ededbba1..7c3204a20ad 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -4101,7 +4101,8 @@ strength_reduce (scan_start, end, loop_top, insn_count, first_increment_giv = max_reg_num (); for (n_extra_increment = 0, bl = loop_iv_list; bl; bl = bl->next) n_extra_increment += bl->biv_count - 1; - if (n_extra_increment) + /* XXX Temporary. */ + if (0 && n_extra_increment) { int nregs = first_increment_giv + n_extra_increment; @@ -4587,6 +4588,8 @@ strength_reduce (scan_start, end, loop_top, insn_count, } } +#if 0 + /* XXX Temporary. */ /* Now that we know which givs will be reduced, try to rearrange the combinations to reduce register pressure. recombine_givs calls find_life_end, which needs reg_iv_type and @@ -4605,6 +4608,7 @@ strength_reduce (scan_start, end, loop_top, insn_count, VARRAY_GROW (reg_iv_info, nregs); } recombine_givs (bl, loop_start, loop_end, unroll_p); +#endif /* Reduce each giv that we decided to reduce. */