Commit 7443a71d by Joseph Myers Committed by Joseph Myers

re PR target/20093 (23_containers/deque/cons/2.cc execution test fails on ia64-hpux, -milp32)

	PR target/20093
	* simplify-rtx.c (simplify_unary_operation_1): Check
	SUBREG_PROMOTED_UNSIGNED_P (op) > 0 for zero-extension.

From-SVN: r97775
parent c7bcbc2c
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
......
......@@ -570,7 +570,7 @@ simplify_unary_operation_1 (enum rtx_code code, enum machine_mode mode, rtx op)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment