summaryrefslogtreecommitdiff
path: root/gcc/config/arm/aarch-common.c
diff options
context:
space:
mode:
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 17:53:33 +0000
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 17:53:33 +0000
commitdaac2ec84a615d30e608ea0dcc340dc6228bfe29 (patch)
tree9bf222f72be5ef0e007edbb62b4a5f9e52046dce /gcc/config/arm/aarch-common.c
parentefbb5e19fe2d5972d4fe7b7cc2253d3964da849d (diff)
downloadgcc-daac2ec84a615d30e608ea0dcc340dc6228bfe29.tar.gz
* config/arm/arm.c (arm_new_rtx_costs):
Handle narrow mode add-shifts properly. * config/arm/arm-common.c (arm_rtx_shift_left_p): Remove static. * config/arm/arm-common-protos.h (arm_rtx_shift_left_p): Declare extern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205051 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/aarch-common.c')
-rw-r--r--gcc/config/arm/aarch-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/aarch-common.c b/gcc/config/arm/aarch-common.c
index 201e581a4a6..a46e6751a7b 100644
--- a/gcc/config/arm/aarch-common.c
+++ b/gcc/config/arm/aarch-common.c
@@ -40,7 +40,7 @@ typedef struct
/* Return TRUE if X is either an arithmetic shift left, or
is a multiplication by a power of two. */
-static bool
+bool
arm_rtx_shift_left_p (rtx x)
{
enum rtx_code code = GET_CODE (x);