From: Maxim Kuvyrkov Date: Fri, 24 Oct 2014 08:23:01 +0000 (+0000) Subject: Handle SCRATCH in decompose_address X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=948cd9a5651e2791baf8c59726bbeb34eb14b6eb;p=gcc.git Handle SCRATCH in decompose_address * rtlanal.c (get_base_term): Handle SCRATCH. From-SVN: r216624 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa8674601a4..ac77c22d3f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-10-24 Maxim Kuvyrkov + + * rtlanal.c (get_base_term): Handle SCRATCH. + 2014-10-24 Maxim Kuvyrkov * haifa-sched.c (sched_init): Disable max_issue when scheduling for diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 6459238db0d..153429074eb 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -5794,7 +5794,8 @@ get_base_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; }