aboutsummaryrefslogtreecommitdiff
path: root/gcc/resource.c
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>2000-01-11 23:52:07 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>2000-01-11 23:52:07 +0000
commit07570c398bd180913d3c0a51c5d5d2c9722346d2 (patch)
tree7b61176cb1e5a47ecc6e95f45491a5e4c53036c6 /gcc/resource.c
parenta5bfff0ce674970498ff6cb28203c44d7fc185ef (diff)
downloadgcc-07570c398bd180913d3c0a51c5d5d2c9722346d2.zip
gcc-07570c398bd180913d3c0a51c5d5d2c9722346d2.tar.gz
gcc-07570c398bd180913d3c0a51c5d5d2c9722346d2.tar.bz2
resource.c (mark_referenced_resources): Mark a set strict_low_part as used.
* 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. From-SVN: r31340
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 e0e5442..719bd20 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);