summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
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: