summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-12 05:28:45 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-12 05:28:45 +0000
commit1c5cb56c0c6c09ab1e104d4ddbe7faaa7bc2affe (patch)
tree581a2d9db5fe57a38e74f724e70d25745667fc60 /gcc/alias.c
parent5a73ac23801f3065f531d77ed8a115e6756e325d (diff)
downloadgcc-1c5cb56c0c6c09ab1e104d4ddbe7faaa7bc2affe.tar.gz
PR optimization/11319
PR target/10021 * alias.c (find_base_value, case REG): Return 0 not src if no base found. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70359 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 32531365882..3951fd6216b 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -782,7 +782,7 @@ find_base_value (rtx src)
return reg_base_value[regno];
}
- return src;
+ return 0;
case MEM:
/* Check for an argument passed in memory. Only record in the