diff options
author | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-06 08:15:35 +0000 |
---|---|---|
committer | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-06 08:15:35 +0000 |
commit | 76c66009a833271e1c3428f75f5a4a564490b49f (patch) | |
tree | 3ffd7f90a3fcf7814fc1054ebcd4950dda87ffd4 /gcc/gcse.c | |
parent | d2099aed4632e059c94011ce2500692e95e30b49 (diff) | |
download | gcc-76c66009a833271e1c3428f75f5a4a564490b49f.tar.gz |
2005-09-06 Andreas Krebbel <krebbel1@de.ibm.com>
* gcse.c (try_replace_reg): Disallow REG_EQUAL notes for
STRICT_LOW_PART SETs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103934 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index e2d35e21286..f16536368ae 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -2677,7 +2677,8 @@ try_replace_reg (rtx from, rtx to, rtx insn) have a note, and have no special SET, add a REG_EQUAL note to not lose information. */ if (!success && note == 0 && set != 0 - && GET_CODE (SET_DEST (set)) != ZERO_EXTRACT) + && GET_CODE (SET_DEST (set)) != ZERO_EXTRACT + && GET_CODE (SET_DEST (set)) != STRICT_LOW_PART) note = set_unique_reg_note (insn, REG_EQUAL, copy_rtx (src)); } |