This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] Add basic-block.h to dojump.c to declare optimize_insn_for_speed_p
- From: Michael Meissner <gnu at the-meissners dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 30 Aug 2008 19:00:06 -0400
- Subject: [PATCH, committed] Add basic-block.h to dojump.c to declare optimize_insn_for_speed_p
I just committed the following patch as obvious to get the build working again:
2008-08-29 Michael Meissner <gnu@the-meissners.org>
* dojump.c (top level): Include basic-block.h to declare
optimize_insn_for_speed_p
* Makefile.in (dodump.h): Add $(BASIC_BLOCK_H) dependency.
Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in (revision 139809)
+++ gcc/Makefile.in (working copy)
@@ -2488,7 +2488,7 @@ expr.o : expr.c $(CONFIG_H) $(SYSTEM_H)
tree-pass.h $(DF_H) $(DIAGNOSTIC_H) vecprim.h
dojump.o : dojump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
$(FLAGS_H) $(FUNCTION_H) $(EXPR_H) $(OPTABS_H) $(INSN_ATTR_H) insn-config.h \
- langhooks.h $(GGC_H) gt-dojump.h vecprim.h
+ langhooks.h $(GGC_H) gt-dojump.h vecprim.h $(BASIC_BLOCK_H)
builtins.o : builtins.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
$(TREE_H) $(GIMPLE_H) $(FLAGS_H) $(TARGET_H) $(FUNCTION_H) $(REGS_H) \
$(EXPR_H) $(OPTABS_H) insn-config.h $(RECOG_H) output.h typeclass.h \
Index: gcc/dojump.c
===================================================================
--- gcc/dojump.c (revision 139809)
+++ gcc/dojump.c (working copy)
@@ -34,6 +34,7 @@ along with GCC; see the file COPYING3.
#include "optabs.h"
#include "langhooks.h"
#include "ggc.h"
+#include "basic-block.h"
static bool prefer_and_bit_test (enum machine_mode, int);
static void do_jump_by_parts_greater (tree, int, rtx, rtx);
--
Michael Meissner
email: gnu@the-meissners.org
http://www.the-meissners.org