summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-23 18:29:58 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-23 18:29:58 +0000
commit2e984a7ac756fd086173ba207fef87d8b9ba4072 (patch)
tree8d2a28210fec823ee51d4a7b5697e1d6a3e2b4cc /gcc/alias.c
parentf2f2755fed413bf917f2f799a140ec9fa1101d93 (diff)
downloadgcc-2e984a7ac756fd086173ba207fef87d8b9ba4072.tar.gz
gcc/
* alias.c (find_base_value): Use FIND_BASE_TERM. * doc/tm.texi (FIND_BASE_TERM): Update documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 35a40bc99a8..113548942a2 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -836,6 +836,11 @@ find_base_value (rtx src)
{
unsigned int regno;
+#if defined (FIND_BASE_TERM)
+ /* Try machine-dependent ways to find the base term. */
+ src = FIND_BASE_TERM (src);
+#endif
+
switch (GET_CODE (src))
{
case SYMBOL_REF: