aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-09-07 15:04:14 -0700
committerRichard Henderson <rth@gcc.gnu.org>2010-09-07 15:04:14 -0700
commit237e9c04cd786379d85273faa6fed98119ac0c0d (patch)
tree23fb83c725bb8c2d429b97208311900ff5737461
parent182a0c1121794e8785a8401f6e1409a62d5e9ebb (diff)
downloadgcc-237e9c04cd786379d85273faa6fed98119ac0c0d.zip
gcc-237e9c04cd786379d85273faa6fed98119ac0c0d.tar.gz
gcc-237e9c04cd786379d85273faa6fed98119ac0c0d.tar.bz2
Fix undeclared function error in tree-vect-data-refs.c.
Make sure ix86_cfun_abi always gets declared, and make sure that tree-vect-data-refs.c includes "tm_p.h". From-SVN: r163975
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/Makefile.in3
-rw-r--r--gcc/config/i386/i386-protos.h5
-rw-r--r--gcc/tree-vect-data-refs.c1
4 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3b2acce..d5c7623 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2010-09-07 Richard Henderson <rth@redhat.com>
+ * tree-vect-data-refs.c: Include tm_p.h.
+ * Makefile.in (tree-vect-data-refs.o): Update deps.
+ * config/i386/i386-protos.h (ix86_cfun_abi, ix86_function_type_abi):
+ Move delarations outside #ifdef RTX_CODE.
+
+2010-09-07 Richard Henderson <rth@redhat.com>
+
* final.c (rest_of_handle_final): Unconditionally do
output_function_exception_table before assemble_end_function.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index acffb60..736963c 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2753,7 +2753,8 @@ tree-vect-stmts.o: tree-vect-stmts.c $(CONFIG_H) $(SYSTEM_H) \
tree-vect-data-refs.o: tree-vect-data-refs.c $(CONFIG_H) $(SYSTEM_H) \
coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \
$(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) \
- $(EXPR_H) $(OPTABS_H) $(SCEV_H) $(TREE_VECTORIZER_H) $(TOPLEV_H) $(DIAGNOSTIC_CORE_H) \
+ $(EXPR_H) $(OPTABS_H) $(SCEV_H) $(TREE_VECTORIZER_H) $(TOPLEV_H) \
+ $(DIAGNOSTIC_CORE_H) $(TM_P_H) \
tree-pretty-print.h gimple-pretty-print.h
tree-vectorizer.o: tree-vectorizer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(GGC_H) $(TREE_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h
index de6b961..a7b5948 100644
--- a/gcc/config/i386/i386-protos.h
+++ b/gcc/config/i386/i386-protos.h
@@ -35,6 +35,9 @@ extern void ix86_expand_epilogue (int);
extern void ix86_output_addr_vec_elt (FILE *, int);
extern void ix86_output_addr_diff_elt (FILE *, int, int);
+extern enum calling_abi ix86_cfun_abi (void);
+extern enum calling_abi ix86_function_type_abi (const_tree);
+
#ifdef RTX_CODE
extern int standard_80387_constant_p (rtx);
extern const char *standard_80387_constant_opcode (rtx);
@@ -142,8 +145,6 @@ extern int ix86_function_arg_boundary (enum machine_mode, const_tree);
extern bool ix86_solaris_return_in_memory (const_tree, const_tree);
extern rtx ix86_force_to_memory (enum machine_mode, rtx);
extern void ix86_free_from_memory (enum machine_mode);
-extern enum calling_abi ix86_cfun_abi (void);
-extern enum calling_abi ix86_function_type_abi (const_tree);
extern void ix86_call_abi_override (const_tree);
extern int ix86_reg_parm_stack_space (const_tree);
diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c
index 7944d8b..ff4f0db 100644
--- a/gcc/tree-vect-data-refs.c
+++ b/gcc/tree-vect-data-refs.c
@@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "ggc.h"
#include "tree.h"
+#include "tm_p.h"
#include "target.h"
#include "basic-block.h"
#include "tree-pretty-print.h"