diff options
author | Roger Sayle <sayle@gcc.gnu.org> | 2003-02-20 22:29:06 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-02-20 22:29:06 +0000 |
commit | fd7acc3008b8e4a34cf2ba99a90dcaa98a0049e5 (patch) | |
tree | 06eaebd0cb7923db0f1b3bb0d7fc3f91935bd19f /gcc/explow.c | |
parent | 4876b2b427de2df3c92aee16b7fbd7348022026f (diff) | |
download | gcc-fd7acc3008b8e4a34cf2ba99a90dcaa98a0049e5.zip gcc-fd7acc3008b8e4a34cf2ba99a90dcaa98a0049e5.tar.gz gcc-fd7acc3008b8e4a34cf2ba99a90dcaa98a0049e5.tar.bz2 |
* explow.c (force_reg): Avoid useless REG_EQUAL notes.
From-SVN: r63187
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/explow.c b/gcc/explow.c index df5bcf6..fb13368 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -775,7 +775,8 @@ force_reg (mode, x) if INSN set something else (such as a SUBREG of TEMP). */ if (CONSTANT_P (x) && (set = single_set (insn)) != 0 - && SET_DEST (set) == temp) + && SET_DEST (set) == temp + && ! rtx_equal_p (x, SET_SRC (set))) set_unique_reg_note (insn, REG_EQUAL, x); return temp; |