Apply arm.h change for previous commit.
authorRamana Radhakrishnan <ramana@gcc.gnu.org>
Fri, 15 May 2015 08:47:06 +0000 (08:47 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Fri, 15 May 2015 08:47:06 +0000 (08:47 +0000)
2015-05-15  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* config/arm/arm.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Add appropriate
casting.

From-SVN: r223213

gcc/config/arm/arm.h

index 85743889d28848c734ace13cd136bc9ebe5dc714..a58a7b14deeff4b040c2e8b1526fbe315a86542b 100644 (file)
@@ -2060,8 +2060,8 @@ enum arm_auto_incmodes
 #define LOGICAL_OP_NON_SHORT_CIRCUIT                                   \
   ((optimize_size)                                                     \
    ? (TARGET_THUMB ? false : true)                                     \
-   : TARGET_THUMB ? current_tune->logical_op_non_short_circuit_thumb   \
-   : current_tune->logical_op_non_short_circuit_arm)
+   : TARGET_THUMB ? static_cast<bool> (current_tune->logical_op_non_short_circuit_thumb) \
+   : static_cast<bool> (current_tune->logical_op_non_short_circuit_arm))
 
 \f
 /* Position Independent Code.  */