Include machmode.h.
* jump.c: Include basic-block.h.
* profile.c: Likewise.
* tree-profile.c: Likewise.
* coverage.c: Likewise.
* basic-block.h (optimize_function_for_size_p): Move to function.h.
(optimize_function_for_speed_p): Likewise.
* function.h (optimize_function_for_size_p,
optimize_function_for_speed_p): Moved here from basic-block.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159761
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-05-23 Steven Bosscher <steven@gcc.gnu.org>
+
+ * regs.h: Do not include obstack.h, basic-block.h.
+ Include machmode.h.
+ * jump.c: Include basic-block.h.
+ * profile.c: Likewise.
+ * tree-profile.c: Likewise.
+ * coverage.c: Likewise.
+ * basic-block.h (optimize_function_for_size_p): Move to function.h.
+ (optimize_function_for_speed_p): Likewise.
+ * function.h (optimize_function_for_size_p,
+ optimize_function_for_speed_p): Moved here from basic-block.h.
+
2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lto-wrapper.c (run_gcc): Unset MAKEFLAGS and MFLAGS
extern bool optimize_bb_for_speed_p (const_basic_block);
extern bool optimize_edge_for_size_p (edge);
extern bool optimize_edge_for_speed_p (edge);
-extern bool optimize_function_for_size_p (struct function *);
-extern bool optimize_function_for_speed_p (struct function *);
extern bool optimize_loop_for_size_p (struct loop *);
extern bool optimize_loop_for_speed_p (struct loop *);
extern bool optimize_loop_nest_for_size_p (struct loop *);
#include "regs.h"
#include "expr.h"
#include "function.h"
+#include "basic-block.h"
#include "toplev.h"
#include "tm_p.h"
#include "ggc.h"
extern void used_types_insert (tree);
extern int get_next_funcdef_no (void);
+
+/* In predict.c */
+extern bool optimize_function_for_size_p (struct function *);
+extern bool optimize_function_for_speed_p (struct function *);
+
#endif /* GCC_FUNCTION_H */
#include "insn-attr.h"
#include "recog.h"
#include "function.h"
+#include "basic-block.h"
#include "expr.h"
#include "except.h"
#include "diagnostic.h"
#include "regs.h"
#include "expr.h"
#include "function.h"
+#include "basic-block.h"
#include "toplev.h"
#include "coverage.h"
#include "value-prof.h"
#ifndef GCC_REGS_H
#define GCC_REGS_H
-#include "obstack.h"
+#include "machmode.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
#define REG_BYTES(R) mode_size[(int) GET_MODE (R)]
#include "regs.h"
#include "expr.h"
#include "function.h"
+#include "basic-block.h"
#include "toplev.h"
#include "coverage.h"
#include "tree.h"