From: Tom Wood Date: Fri, 14 Aug 1992 18:39:00 +0000 (+0000) Subject: (find_reloads): Ignore `%' in the last operand after X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42add480cd563bd0534cf7fd3c5cd6131052a1eb;p=gcc.git (find_reloads): Ignore `%' in the last operand after warning. From-SVN: r1830 --- diff --git a/gcc/reload.c b/gcc/reload.c index 381a86ecaec..ccaa4b71e37 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -2340,7 +2340,9 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) break; case '%': - commutative = i; + /* The last operand should not be marked commutative. */ + if (i != noperands - 1) + commutative = i; break; case '?':