diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2003-10-10 19:02:51 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2003-10-10 15:02:51 -0400 |
commit | 892c9f1f53581abe563e6e0183fbc05936d10e95 (patch) | |
tree | c7b8226a60a47aab21edde66d03fe78266985c33 /gcc | |
parent | 0dd62597267bbe5c10c19f871fc6ba47abbbfbe7 (diff) | |
download | gcc-892c9f1f53581abe563e6e0183fbc05936d10e95.zip gcc-892c9f1f53581abe563e6e0183fbc05936d10e95.tar.gz gcc-892c9f1f53581abe563e6e0183fbc05936d10e95.tar.bz2 |
* combine.c (distribute_links): Properly test for REG being set.
From-SVN: r72310
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/combine.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5908a42..4f351d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/combine.c b/gcc/combine.c index 7a0b5d3..1ac2851 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -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. */ |