Commit 901e59b2 by Richard Sandiford Committed by Richard Sandiford

arm.c (thumb2_reorg): Test UNARY_P and BINARY_P instead of OBJECT_P.

gcc/
	* config/arm/arm.c (thumb2_reorg): Test UNARY_P and BINARY_P
	instead of OBJECT_P.

From-SVN: r220371
parent 2944c91c
2015-02-03 Richard Sandiford <richard.sandiford@arm.com>
* config/arm/arm.c (thumb2_reorg): Test UNARY_P and BINARY_P
instead of OBJECT_P.
2015-02-03 Eric Botcazou <ebotcazou@adacore.com> 2015-02-03 Eric Botcazou <ebotcazou@adacore.com>
PR target/62631 PR target/62631
......
...@@ -17297,7 +17297,7 @@ thumb2_reorg (void) ...@@ -17297,7 +17297,7 @@ thumb2_reorg (void)
rtx src = XEXP (pat, 1); rtx src = XEXP (pat, 1);
rtx op0 = NULL_RTX, op1 = NULL_RTX; rtx op0 = NULL_RTX, op1 = NULL_RTX;
if (!OBJECT_P (src)) if (UNARY_P (src) || BINARY_P (src))
op0 = XEXP (src, 0); op0 = XEXP (src, 0);
if (BINARY_P (src)) if (BINARY_P (src))
......
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