diff options
author | Bernd Schmidt <bernd.schmidt@codesourcery.com> | 2010-03-19 19:45:01 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2010-03-19 19:45:01 +0000 |
commit | fdb2c6841da6ea02699c79ae63d80ffef3b140e8 (patch) | |
tree | a7652b5260259a953937fa3f6e70c25f80a84dea | |
parent | 036efbf272b224f8c2aa712cf11c00198224f923 (diff) | |
download | gcc-fdb2c6841da6ea02699c79ae63d80ffef3b140e8.tar.gz |
optabs.c (avoid_expensive_constant): Fix formatting.
* optabs.c (avoid_expensive_constant): Fix formatting.
From-SVN: r157584
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/optabs.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7afdbaca8ba..abf7e3fe95f 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 a82619e7cf3..555e2562a45 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) |