aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/optabs.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7afdbac..abf7e3f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -11,7 +11,9 @@
* config/arm/arm.c (thumb1_rtx_costs) <case CONST_INT>: If the
outer code is AND, do the same tests as the andsi3 expander and
return COSTS_N_INSNS (1) if and is cheap.
-
+
+ * optabs.c (avoid_expensive_constant): Fix formatting.
+
2010-03-19 Michael Matz <matz@suse.de>
PR c++/43116
diff --git a/gcc/optabs.c b/gcc/optabs.c
index a82619e..555e256 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -1390,6 +1390,7 @@ avoid_expensive_constant (enum machine_mode mode, optab binoptab,
rtx x, bool unsignedp)
{
bool speed = optimize_insn_for_speed_p ();
+
if (mode != VOIDmode
&& optimize
&& CONSTANT_P (x)