OSDN Git Service

(find_reloads): Ignore `%' in the last operand after
authorwood <wood@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Aug 1992 18:39:00 +0000 (18:39 +0000)
committerwood <wood@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Aug 1992 18:39:00 +0000 (18:39 +0000)
        warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1830 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/reload.c

index 381a86e..ccaa4b7 100644 (file)
@@ -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 '?':