OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
137a039
)
(strength_reduce): When replacing DEST_ADDR givs, make sure resulting
author
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jun 1994 23:53:01 +0000
(23:53 +0000)
committer
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jun 1994 23:53:01 +0000
(23:53 +0000)
insn is valid.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7529
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/loop.c
patch
|
blob
|
history
diff --git
a/gcc/loop.c
b/gcc/loop.c
index
dc39fdf
..
31e7a6e
100644
(file)
--- a/
gcc/loop.c
+++ b/
gcc/loop.c
@@
-3851,7
+3851,7
@@
strength_reduce (scan_start, end, loop_top, insn_count,
if (v->giv_type == DEST_ADDR)
/* Store reduced reg as the address in the memref where we found
this giv. */
-
*v->location = v->new_reg
;
+
validate_change (v->insn, v->location, v->new_reg, 0)
;
else if (v->replaceable)
{
reg_map[REGNO (v->dest_reg)] = v->new_reg;