summaryrefslogtreecommitdiff
path: root/gcc/resource.c
diff options
context:
space:
mode:
authoroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-11 23:52:07 +0000
committeroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-11 23:52:07 +0000
commit9913cf73fe7e100c618ff9adf02861bcc12fc398 (patch)
tree7b61176cb1e5a47ecc6e95f45491a5e4c53036c6 /gcc/resource.c
parent2fca75c4c68a28ae6d2b97ca3c9659849ded3bd2 (diff)
downloadgcc-9913cf73fe7e100c618ff9adf02861bcc12fc398.tar.gz
* resource.c (mark_referenced_resources): Mark a set strict_low_part
as used. * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set strict_low_part when possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31340 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/resource.c')
-rw-r--r--gcc/resource.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/resource.c b/gcc/resource.c
index e0e54428a03..719bd2090c2 100644
--- a/gcc/resource.c
+++ b/gcc/resource.c
@@ -272,7 +272,9 @@ mark_referenced_resources (x, res, include_delayed_effects)
mark_referenced_resources (SET_SRC (x), res, 0);
x = SET_DEST (x);
- if (GET_CODE (x) == SIGN_EXTRACT || GET_CODE (x) == ZERO_EXTRACT)
+ if (GET_CODE (x) == SIGN_EXTRACT
+ || GET_CODE (x) == ZERO_EXTRACT
+ || GET_CODE (x) == STRICT_LOW_PART)
mark_referenced_resources (x, res, 0);
else if (GET_CODE (x) == SUBREG)
x = SUBREG_REG (x);