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
This commit is contained in:
Richard Henderson 2010-09-07 15:04:14 -07:00 committed by Richard Henderson
parent 182a0c1121
commit 237e9c04cd
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
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

View File

@ -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) \

View File

@ -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);

View File

@ -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"