From: Georg-Johann Lay Date: Fri, 8 Jul 2011 13:09:07 +0000 (+0000) Subject: avr.c (output_reload_insisf): Use 'REG_Z+1' instead of magic '31'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d8d6d7359822490c1a14cfcde0c736c4d220d34;p=gcc.git avr.c (output_reload_insisf): Use 'REG_Z+1' instead of magic '31'. * config/avr/avr.c (output_reload_insisf): Use 'REG_Z+1' instead of magic '31'. From-SVN: r176041 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f1cabbbc331..6a9d81a4890 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-08 Georg-Johann Lay + + * config/avr/avr.c (output_reload_insisf): Use 'REG_Z+1' instead + of magic '31'. + 2011-07-08 Bernd Schmidt * optabs.c (expand_binop): Use GET_MODE_PRECISION instead of diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 17020ce5ced..a6a307b45d2 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -6239,7 +6239,7 @@ output_reload_insisf (rtx insn ATTRIBUTE_UNUSED, That's cheaper than loading from constant pool. */ cooked_clobber_p = true; - clobber_reg = gen_rtx_REG (QImode, 31); + clobber_reg = gen_rtx_REG (QImode, REG_Z + 1); avr_asm_len ("mov __tmp_reg__,%0", &clobber_reg, len, 1); break; }