* combine.c (distribute_links): Properly test for REG being set.

From-SVN: r72310
This commit is contained in:
Richard Kenner 2003-10-10 19:02:51 +00:00 committed by Richard Kenner
parent 0dd6259726
commit 892c9f1f53
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2003-10-10 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* combine.c (distribute_links): Properly test for REG being set.
* config/alpha/alpha.c (alpha_expand_block_mode): Don't use
gen_lowpart and company except for REG.

View File

@ -12999,6 +12999,8 @@ distribute_links (rtx links)
place = insn;
break;
}
else if (INSN_P (insn) && reg_set_p (reg, insn))
break;
/* If we found a place to put the link, place it there unless there
is already a link to the same insn as LINK at that point. */