OSDN Git Service

* local-alloc.c (block_alloc): Stop looping over the input
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 1995 17:41:05 +0000 (17:41 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 1995 17:41:05 +0000 (17:41 +0000)
operands once we find an input/output register pair which can
be combined into a single qty.

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

gcc/local-alloc.c

index fc5cdb4..e62a5a6 100644 (file)
@@ -1294,6 +1294,8 @@ block_alloc (b)
                        win = combine_regs (r1, r0, may_save_copy,
                                            insn_number, insn, 0);
                    }
+                 if (win)
+                   break;
                }
            }