From: Richard Sandiford Date: Tue, 3 Feb 2015 14:18:38 +0000 (+0000) Subject: arm.c (thumb2_reorg): Test UNARY_P and BINARY_P instead of OBJECT_P. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=901e59b2bd947255b6a3fdacf387f37b4440aa0e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 855a76d0f1c..9552d334c5c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-03 Richard Sandiford + + * config/arm/arm.c (thumb2_reorg): Test UNARY_P and BINARY_P + instead of OBJECT_P. + 2015-02-03 Eric Botcazou PR target/62631 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index c7c0ecf20d0..7bf5b4dfcc7 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -17297,7 +17297,7 @@ thumb2_reorg (void) rtx src = XEXP (pat, 1); rtx op0 = NULL_RTX, op1 = NULL_RTX; - if (!OBJECT_P (src)) + if (UNARY_P (src) || BINARY_P (src)) op0 = XEXP (src, 0); if (BINARY_P (src))