2012-07-11 Steven Bosscher <steven@gcc.gnu.org>
+ * expr.h (can_move_by_pieces): Move prototype from here ...
+ * tree.h (can_move_by_pieces): ... to here.
+ * optabs.h (set_widening_optab_handler): Use XCNEW.
+ * gimplify.c: Do not include expr.h.
+
+ * toplev.c: Do not include dwarf2out.h.
+ * config/ia64/ia64.c: Likewise.
+ * config/sparc/sparc.c: Likewise.
+ * config/sparc/t-sparc (sparc.o): Fix dependencies.
+
+ * Makefile.in (toplev.o): Fix dependencies
+ (c-family/c-gimplify.o): Likewise.
+ (c-family/c-common.o): Likewise.
+
+2012-07-11 Steven Bosscher <steven@gcc.gnu.org>
+
* basic-block.h (struct edge_def): Use basic_block instead of
basic_block_def *.
* cfgloop.h (struct loop_exit, struct loop): Likewise.
$(DIAGNOSTIC_H) langhooks.h c-family/c-objc.h \
$(TARGET_H) tree-iterator.h langhooks.h tree-mudflap.h \
intl.h $(OPTS_H) $(CPPLIB_H) $(TREE_INLINE_H) $(HASHTAB_H) \
- $(BUILTINS_DEF) $(CGRAPH_H) $(BASIC_BLOCK_H) $(TARGET_DEF_H) \
- $(LIBFUNCS_H) \
+ $(BUILTINS_DEF) $(CGRAPH_H) $(TARGET_DEF_H) \
gt-c-family-c-common.h $(COMMON_TARGET_H)
c-family/c-cppbuiltin.o : c-family/c-cppbuiltin.c $(CONFIG_H) $(SYSTEM_H) \
c-family/c-gimplify.o : c-family/c-gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
$(C_COMMON_H) $(DIAGNOSTIC_CORE_H) $(GIMPLE_H) \
$(FLAGS_H) langhooks.h $(LANGHOOKS_DEF_H) \
- $(TM_H) coretypes.h $(C_PRETTY_PRINT_H) $(CGRAPH_H) $(BASIC_BLOCK_H) \
- hard-reg-set.h $(TREE_DUMP_H) $(TREE_INLINE_H)
+ $(TM_H) coretypes.h $(C_PRETTY_PRINT_H) $(CGRAPH_H) \
+ $(TREE_DUMP_H) $(TREE_INLINE_H)
c-family/c-lex.o : c-family/c-lex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(TREE_H) $(FIXED_VALUE_H) debug.h $(C_COMMON_H) $(SPLAY_TREE_H) \
toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
version.h $(RTL_H) $(FUNCTION_H) $(FLAGS_H) xcoffout.h $(INPUT_H) \
$(INSN_ATTR_H) output.h $(DIAGNOSTIC_H) debug.h insn-config.h intl.h \
- $(RECOG_H) Makefile toplev.h $(DWARF2OUT_H) sdbout.h dbxout.h $(EXPR_H) \
+ $(RECOG_H) Makefile toplev.h sdbout.h dbxout.h $(EXPR_H) \
hard-reg-set.h $(BASIC_BLOCK_H) graph.h $(EXCEPT_H) $(REGS_H) $(TIMEVAR_H) \
value-prof.h $(PARAMS_H) $(TM_P_H) reload.h ira.h dwarf2asm.h $(TARGET_H) \
langhooks.h insn-flags.h $(CFGLOOP_H) hosthooks.h \
+2012-07-11 Steven Bosscher <steven@gcc.gnu.org>
+
+ * c-gimplify.c: Do not include basic-block.h.
+ * c-common.c: Do not include linfuncs.h.
+
2012-07-08 Steven Bosscher <steven@gcc.gnu.org>
* c-common.h: Include tree.h.
#include "opts.h"
#include "cgraph.h"
#include "target-def.h"
-#include "libfuncs.h"
cpp_reader *parse_in; /* Declared in c-pragma.h. */
#include "tree.h"
#include "c-common.h"
#include "gimple.h"
-#include "basic-block.h"
#include "tree-inline.h"
#include "diagnostic-core.h"
#include "langhooks.h"
return NULL;
}
-/* Returns a hash value for X (which really is a die_struct). */
+/* Returns a hash value for X (which really is a cgraph_edge). */
static hashval_t
edge_hash (const void *x)
return htab_hash_pointer (((const struct cgraph_edge *) x)->call_stmt);
}
-/* Return nonzero if decl_id of die_struct X is the same as UID of decl *Y. */
+/* Return nonzero if the call_stmt of of cgraph_edge X is stmt *Y. */
static int
edge_eq (const void *x, const void *y)
#include "tm-constrs.h"
#include "sel-sched.h"
#include "reload.h"
-#include "dwarf2out.h"
#include "opts.h"
/* This is used for communication between ASM_OUTPUT_LABEL and
#include "reload.h"
#include "params.h"
#include "df.h"
-#include "dwarf2out.h"
#include "opts.h"
/* Processor costs */
$(FUNCTION_H) $(EXCEPT_H) $(EXPR_H) $(OPTABS_H) $(RECOG_H) \
$(DIAGNOSTIC_CORE_H) $(GGC_H) $(TM_P_H) debug.h $(TARGET_H) \
$(TARGET_DEF_H) $(COMMON_TARGET_H) $(GIMPLE_H) \
- langhooks.h reload.h $(PARAMS_H) $(DF_H) dwarf2out.h $(OPTS_H) \
+ langhooks.h reload.h $(PARAMS_H) $(DF_H) $(OPTS_H) \
gt-sparc.h
sparc-c.o: $(srcdir)/config/sparc/sparc-c.c \
+2012-07-11 Steven Bosscher <steven@gcc.gnu.org>
+
+ * method.c: Do not include tree-pass.h.
+
2012-07-10 Jason Merrill <jason@redhat.com>
DR 1402
#include "tm_p.h"
#include "target.h"
#include "common/common-target.h"
-#include "tree-pass.h"
#include "diagnostic.h"
#include "cgraph.h"
#include "gimple.h"
extern bool set_storage_via_setmem (rtx, rtx, rtx, unsigned int,
unsigned int, HOST_WIDE_INT);
-/* Determine whether the LEN bytes can be moved by using several move
- instructions. Return nonzero if a call to move_by_pieces should
- succeed. */
-extern int can_move_by_pieces (unsigned HOST_WIDE_INT, unsigned int);
-
extern unsigned HOST_WIDE_INT move_by_pieces_ninsns (unsigned HOST_WIDE_INT,
unsigned int,
unsigned int);
+2012-07-11 Steven Bosscher <steven@gcc.gnu.org>
+
+ * trans.c: Do not include defaults.h.
+ * trans-intrinsic.c: Likewise.
+
2012-07-08 Steven Bosscher <steven@gcc.gnu.org>
* gfortran.h: Do not include coretypes.h here.
#include "trans-const.h"
#include "trans-types.h"
#include "trans-array.h"
-#include "defaults.h"
/* Only for gfc_trans_assign and gfc_trans_pointer_assign. */
#include "trans-stmt.h"
#include "gimple.h" /* For create_tmp_var_raw. */
#include "tree-iterator.h"
#include "diagnostic-core.h" /* For internal_error. */
-#include "defaults.h"
#include "flags.h"
#include "gfortran.h"
#include "trans.h"
#include "tree-pass.h"
#include "langhooks-def.h" /* FIXME: for lhd_set_decl_assembler_name. */
-#include "expr.h" /* FIXME: for can_move_by_pieces
- and STACK_CHECK_MAX_VAR_SIZE. */
enum gimplify_omp_var_data
{
walk_tree (&DECL_INITIAL (object), force_labels_r, NULL, NULL);
/* ??? C++ doesn't automatically append a .<number> to the
- assembler name, and even when it does, it looks a FE private
+ assembler name, and even when it does, it looks at FE private
data structures to figure out what that number should be,
which are not set for this variable. I suppose this is
important for local statics for inline functions, which aren't
+2012-07-11 Steven Bosscher <steven@gcc.gnu.org>
+
+ * decl.c: Do not include libfuncs.h.
+ * class.c: Do not include defaults.h.
+ * jvgenmain.c: Likewise.
+ * magnle.c: Likewise.
+ * Make-lang.in (decl.o): Fix dependencies.
+
2012-07-08 Steven Bosscher <steven@gcc.gnu.org>
* verify.h: Do not include system.h and coretypes.h here.
toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) gt-java-constants.h
java/decl.o: java/decl.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
toplev.h $(FLAGS_H) $(SYSTEM_H) coretypes.h $(TM_H) \
- libfuncs.h java/java-except.h $(GGC_H) $(REAL_H) gt-java-decl.h \
+ java/java-except.h $(GGC_H) $(REAL_H) gt-java-decl.h \
$(TARGET_H) $(CGRAPH_H) langhooks.h
java/except.o: java/except.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h $(REAL_H) \
java/javaop.h java/java-opcodes.h java/java-except.h \
#include "cgraph.h"
#include "tree-iterator.h"
#include "vecprim.h"
-#include "tm.h" /* FIXME: For gcc_obstack_init from defaults.h. */
#include "target.h"
static tree make_method_value (tree);
#include "flags.h"
#include "java-tree.h"
#include "jcf.h"
-#include "libfuncs.h"
#include "java-except.h"
#include "ggc.h"
#include "cgraph.h"
#include "java-tree.h"
#include "intl.h"
#include "diagnostic.h"
-#include "tm.h" /* FIXME: For gcc_obstack_init from defaults.h. */
static char * do_mangle_classname (const char *string);
#include "diagnostic-core.h"
#include "ggc.h"
#include "langhooks-def.h"
-#include "tm.h" /* FIXME: For gcc_obstack_init from defaults.h. */
static void mangle_class_field (tree);
static void mangle_vtable (tree);
else
{
if (op->widening == NULL)
- op->widening = (struct widening_optab_handlers *)
- xcalloc (1, sizeof (struct widening_optab_handlers));
+ op->widening = XCNEW (struct widening_optab_handlers);
op->widening->handlers[(int) to_mode][(int) from_mode].insn_code = code;
}
#include "tree-ssa-alias.h"
#include "plugin.h"
-#if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO)
-#include "dwarf2out.h"
-#endif
-
#if defined(DBX_DEBUGGING_INFO) || defined(XCOFF_DEBUGGING_INFO)
#include "dbxout.h"
#endif
extern unsigned HOST_WIDE_INT compute_builtin_object_size (tree, int);
/* In expr.c. */
+
+/* Determine whether the LEN bytes can be moved by using several move
+ instructions. Return nonzero if a call to move_by_pieces should
+ succeed. */
+extern int can_move_by_pieces (unsigned HOST_WIDE_INT, unsigned int);
+
extern unsigned HOST_WIDE_INT highest_pow2_factor (const_tree);
extern tree build_personality_function (const char *);
return htab_hash_pointer (((const_histogram_value)x)->hvalue.stmt);
}
-/* Return nonzero if decl_id of die_struct X is the same as UID of decl *Y. */
+/* Return nonzero if statement for histogram_value X is Y. */
static int
histogram_eq (const void *x, const void *y)