diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 21:56:14 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 21:56:14 +0000 |
commit | a7cf5bbf407b59635c3d7d7a6aceaedbadfe08c8 (patch) | |
tree | 3876efc0aa84c9fca8072376a3aeed37ca13cbe6 /gcc/alias.c | |
parent | 6632aeb54aba709529fa8786746a56c5fddee740 (diff) | |
download | gcc-a7cf5bbf407b59635c3d7d7a6aceaedbadfe08c8.tar.gz |
* alias.c (find_base_term): Move around LO_SUM case, so that
CONST falls through into PLUS/MINUS handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146616 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index 85db75569c8..acfd934a7cf 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -1474,15 +1474,16 @@ find_base_term (rtx x) return x; return 0; + case LO_SUM: + /* The standard form is (lo_sum reg sym) so look only at the + second operand. */ + return find_base_term (XEXP (x, 1)); + case CONST: x = XEXP (x, 0); if (GET_CODE (x) != PLUS && GET_CODE (x) != MINUS) return 0; /* Fall through. */ - case LO_SUM: - /* The standard form is (lo_sum reg sym) so look only at the - second operand. */ - return find_base_term (XEXP (x, 1)); case PLUS: case MINUS: { |