From: Maxim Kuvyrkov Date: Sat, 17 Jan 2015 01:06:29 +0000 (+0000) Subject: Handle SCRATCH in decompose_address X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71acd4776fee1ef3dfd961dd49967d00f11de7c5;p=gcc.git Handle SCRATCH in decompose_address * rtlanal.c (get_base_term): Handle SCRATCH. From-SVN: r219788 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d20442f3ab..8cc1dc7bf99 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-01-17 Maxim Kuvyrkov + + * rtlanal.c (get_base_term): Handle SCRATCH. + 2015-01-17 Maxim Kuvyrkov * config/aarch64/aarch64.c diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 4aadac22431..513feeb577b 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -5688,7 +5688,8 @@ get_index_term (rtx *inner) inner = strip_address_mutations (&XEXP (*inner, 0)); if (REG_P (*inner) || MEM_P (*inner) - || GET_CODE (*inner) == SUBREG) + || GET_CODE (*inner) == SUBREG + || GET_CODE (*inner) == SCRATCH) return inner; return 0; }