PR target/20093
* simplify-rtx.c (simplify_unary_operation_1): Check
SUBREG_PROMOTED_UNSIGNED_P (op) > 0 for zero-extension.
From-SVN: r97775
+2005-04-07 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR target/20093
+ * simplify-rtx.c (simplify_unary_operation_1): Check
+ SUBREG_PROMOTED_UNSIGNED_P (op) > 0 for zero-extension.
+
2005-04-06 James E Wilson <wilson@specifixinc.com>
PR target/20717
target mode is the same as the variable's promotion. */
if (GET_CODE (op) == SUBREG
&& SUBREG_PROMOTED_VAR_P (op)
- && SUBREG_PROMOTED_UNSIGNED_P (op)
+ && SUBREG_PROMOTED_UNSIGNED_P (op) > 0
&& GET_MODE (XEXP (op, 0)) == mode)
return XEXP (op, 0);