projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e69be8
)
(check_dbra_loop): Fix error in previous change.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 25 Dec 1993 17:37:10 +0000
(12:37 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 25 Dec 1993 17:37:10 +0000
(12:37 -0500)
From-SVN: r6316
gcc/loop.c
patch
|
blob
|
history
diff --git
a/gcc/loop.c
b/gcc/loop.c
index 631d1fc98f600b8dd725c930a515f67f37afdee7..60243f7755f6c986853f35335b15d014382e92fb 100644
(file)
--- a/
gcc/loop.c
+++ b/
gcc/loop.c
@@
-5731,7
+5731,9
@@
check_dbra_loop (loop_end, insn_count, loop_start)
case, the insn should have been moved out of the loop. */
if (num_mem_sets == 1)
- reversible_mem_store = ! invariant_p (XEXP (loop_store_mems[0], 0));
+ reversible_mem_store
+ = (! unknown_address_altered
+ && ! invariant_p (XEXP (loop_store_mems[0], 0)));
/* This code only acts for innermost loops. Also it simplifies
the memory address check by only reversing loops with