diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-20 22:29:06 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-20 22:29:06 +0000 |
commit | 63160ce9229e6950ebabc014137fa6b795adf015 (patch) | |
tree | 06eaebd0cb7923db0f1b3bb0d7fc3f91935bd19f /gcc/explow.c | |
parent | 846a645c173e6d1b00187f1feed6104d13cb6ac1 (diff) | |
download | gcc-63160ce9229e6950ebabc014137fa6b795adf015.tar.gz |
* explow.c (force_reg): Avoid useless REG_EQUAL notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63187 138bc75d-0d04-0410-961f-82ee72b054a4
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 df5bcf659ef..fb133687c4a 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; |