summaryrefslogtreecommitdiff
path: root/gcc/config/arm/thumb.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-26 20:29:38 -0700
committerYamaArashi <shadow962@live.com>2016-04-26 20:29:38 -0700
commitec139d66e9945595e66a7f64be71f95647917b60 (patch)
tree29c90fe37e97e428763e0ecaba4f8f9535d84acf /gcc/config/arm/thumb.c
parentcb63bcc6810ee28bc780b4f82a740368b4087d89 (diff)
fix warnings
Diffstat (limited to 'gcc/config/arm/thumb.c')
-rwxr-xr-xgcc/config/arm/thumb.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/gcc/config/arm/thumb.c b/gcc/config/arm/thumb.c
index c5ff67c..0310a51 100755
--- a/gcc/config/arm/thumb.c
+++ b/gcc/config/arm/thumb.c
@@ -29,9 +29,12 @@
#include "output.h"
#include "insn-flags.h"
#include "insn-attr.h"
+#include "insn-config.h"
#include "flags.h"
#include "tree.h"
#include "expr.h"
+#include "toplev.h"
+#include "recog.h"
int current_function_anonymous_args = 0;
static int current_function_has_far_jump = 0;
@@ -41,16 +44,6 @@ char *structure_size_string = NULL;
int arm_structure_size_boundary = 32; /* Used to be 8 */
/* Predicates */
-int
-reload_memory_operand(rtx op, enum machine_mode mode)
-{
- int regno = true_regnum(op);
-
- return (!CONSTANT_P(op)
- && (regno == -1
- || (GET_CODE(op) == REG
- && REGNO(op) >= FIRST_PSEUDO_REGISTER)));
-}
/* Return nonzero if op is suitable for the RHS of a cmp instruction. */
int
@@ -1278,13 +1271,6 @@ output_move_mem_multiple(int n, rtx *operands)
return "";
}
-
-int
-thumb_epilogue_size()
-{
- return 42; /* The answer to .... */
-}
-
static char *conds[] =
{
"eq", "ne", "cs", "cc", "mi", "pl", "vs", "vc",
@@ -1524,7 +1510,7 @@ arm_valid_machine_decl_attribute(tree decl, tree attributes, tree attr, tree arg
reloading. */
int
-s_register_operand(register rtx op, enum machine_mode mode)
+s_register_operand(rtx op, enum machine_mode mode)
{
if (GET_MODE(op) != mode && mode != VOIDmode)
return 0;