From: Jeffrey A Law Date: Sun, 14 Feb 1999 22:09:56 +0000 (+0000) Subject: * loop.c (scan_loop): Fix typo in last change. X-Git-Tag: prereleases/egcs-1.1.2-prerelease-1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85cb89e62f8af097dbfbda0edbee269b2084179;p=thirdparty%2Fgcc.git * loop.c (scan_loop): Fix typo in last change. From-SVN: r25206 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24e25d1895e2..a6e7d386fa3a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sun Feb 14 23:05:34 1999 Jeffrey A Law (law@cygnus.com) + + * loop.c (scan_loop): Fix typo in last change. + Sat Feb 13 11:53:12 1999 Jeffrey A Law (law@cygnus.com) 1999-02-05 Michael Meissner diff --git a/gcc/loop.c b/gcc/loop.c index 5e021812206b..cfa3f60ef20c 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -793,10 +793,10 @@ scan_loop (loop_start, end, nregs, unroll_p) (1) it is used only in the same basic block as the set (2) the set is guaranteed to be executed once the loop starts, and the reg is not used until after that. */ - else if (! (reg_in_basic_block_p (p, SET_DEST (set))) + else if (! (reg_in_basic_block_p (p, SET_DEST (set)) || (! maybe_never && ! loop_reg_used_before_p (set, p, loop_start, - scan_start, end))) + scan_start, end)))) ; else if ((tem = invariant_p (src)) && (dependencies == 0