aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index bc1cc9b..05c7c94 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -4631,10 +4631,10 @@ make_extraction (mode, inner, pos, pos_rtx, len,
mode, new));
}
- /* Unless this isin a COMPARE or we have a funny memory reference,
- don't do anything with field extracts starting at the low-order
- bit since they are simple AND operations. */
- if (pos == 0 && ! in_dest && ! in_compare && ! spans_byte)
+ /* Unless this is a COMPARE or we have a funny memory reference,
+ don't do anything with zero-extending field extracts starting at
+ the low-order bit since they are simple AND operations. */
+ if (pos == 0 && ! in_dest && ! in_compare && ! spans_byte && unsignedp)
return 0;
/* Get the mode to use should INNER be a MEM, the mode for the position,