diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2008-09-23 18:29:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2008-09-23 18:29:58 +0000 |
commit | 5345105058a833d659af81773b717b46cfc98fa4 (patch) | |
tree | 8d2a28210fec823ee51d4a7b5697e1d6a3e2b4cc /gcc/alias.c | |
parent | 411e138af2c914ce23eb132c960eaf32f26f9991 (diff) | |
download | gcc-5345105058a833d659af81773b717b46cfc98fa4.tar.gz |
alias.c (find_base_value): Use FIND_BASE_TERM.
gcc/
* alias.c (find_base_value): Use FIND_BASE_TERM.
* doc/tm.texi (FIND_BASE_TERM): Update documentation.
From-SVN: r140612
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 5 |
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: |