summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-16 13:51:43 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-16 13:51:43 +0000
commitdaa869b65085b6f3e1069fc6b1fc2d3850fe9e79 (patch)
treed92f41f1190dc26ce3d3e79bc91b68dd9d8e6106 /gcc/local-alloc.c
parent4a2064d7b821fb2bc47994d074c9cc7969deef08 (diff)
downloadgcc-daa869b65085b6f3e1069fc6b1fc2d3850fe9e79.tar.gz
(memref_referenced_p, case REG): Fix last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11020 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index fd43faef1cd..c36aca8948b 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -625,8 +625,8 @@ memref_referenced_p (memref, x)
return 0;
case REG:
- return (reg_equiv_replacement[REGNO (x)] == 0
- || memref_referenced_p (memref,
+ return (reg_equiv_replacement[REGNO (x)]
+ && memref_referenced_p (memref,
reg_equiv_replacement[REGNO (x)]));
case MEM: