]> gcc.gnu.org Git - gcc.git/commitdiff
Fix undeclared function error in tree-vect-data-refs.c.
authorRichard Henderson <rth@redhat.com>
Tue, 7 Sep 2010 22:04:14 +0000 (15:04 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 7 Sep 2010 22:04:14 +0000 (15:04 -0700)
Make sure ix86_cfun_abi always gets declared, and make sure
that tree-vect-data-refs.c includes "tm_p.h".

From-SVN: r163975

gcc/ChangeLog
gcc/Makefile.in
gcc/config/i386/i386-protos.h
gcc/tree-vect-data-refs.c

index 3b2acced8db6c4c24a96668c7c512ed80d68eae4..d5c76237ba5b1a9b20b66c5261aa8898a8ca7ae3 100644 (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 
index acffb6005dd261e14768aa46b04bce39fba1e726..736963c5fa1d9bebd47540a5c680b05ccd4eff73 100644 (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) \
index de6b961fd7b3245c943ce9bfa3c45825d2ade638..a7b594872c240df54c92877c99cf84d6ef0c736c 100644 (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);
 
index 7944d8bcb8057df993b95adf49370fbf11d410a4..ff4f0dbe0506b46643cf2c461b9297f785f1b79b 100644 (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"
This page took 0.110602 seconds and 5 git commands to generate.