diff options
author | Michael Hayes <m.hayes@elec.canterbury.ac.nz> | 1998-12-07 09:56:56 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-12-07 02:56:56 -0700 |
commit | eb6a3bc0b4352f75de5b24de65f120c2ab6894ec (patch) | |
tree | 1bcc9f9727c67dacdd44e110f77f91d65a7d7890 /gcc/loop.c | |
parent | e6592fffc4ca720e306362c20c595dfe540f4696 (diff) | |
download | gcc-eb6a3bc0b4352f75de5b24de65f120c2ab6894ec.zip gcc-eb6a3bc0b4352f75de5b24de65f120c2ab6894ec.tar.gz gcc-eb6a3bc0b4352f75de5b24de65f120c2ab6894ec.tar.bz2 |
loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value in the loop_info structure.
* loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
in the loop_info structure.
Should fix -O1 -funroll-loops bootstrap problems.
From-SVN: r24146
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7067,8 +7067,8 @@ check_dbra_loop (loop_end, insn_count, loop_start, loop_info) bl->biv->add_val = new_add_val; /* Update loop info. */ - loop_info->initial_value = bl->initial_value; - loop_info->initial_equiv_value = bl->initial_value; + loop_info->initial_value = reg; + loop_info->initial_equiv_value = reg; loop_info->final_value = const0_rtx; loop_info->final_equiv_value = const0_rtx; loop_info->comparison_value = const0_rtx; |