* c-semantics.c: Include expr.h.
* ifcvt.c: Include toplev.h.
* expr.h (rtx_equal_p): Delete prototype.
* rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
eliminate_constant_term, expand_complex_abs, find_single_use,
make_tree, init_expr_once, init_optabs, supports_one_only):
Likewise.
* tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
expand_assignment, store_expr, emit_line_note_after,
emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
* toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
cp:
* Make-lang.in (cp/semantics.o): Depend on $(EXPR_H).
* semantics.c: Include expr.h.
java:
* Make-lang.in (java/boehm.o): Depend on toplev.h.
* boehm.c: Include toplev.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41256
138bc75d-0d04-0410-961f-
82ee72b054a4
2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * Makefile.in (ifcvt.o): Depend on toplev.h.
+
+ * c-semantics.c: Include expr.h.
+
+ * ifcvt.c: Include toplev.h.
+
+ * expr.h (rtx_equal_p): Delete prototype.
+
+ * rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
+ protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
+ eliminate_constant_term, expand_complex_abs, find_single_use,
+ make_tree, init_expr_once, init_optabs, supports_one_only):
+ Likewise.
+
+ * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
+ rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
+ expand_assignment, store_expr, emit_line_note_after,
+ emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
+
+ * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
+
* sparc-protos.h: Delete redundant prototypes.
2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) insn-config.h \
$(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h $(RECOG_H) function.h \
resource.h $(OBSTACK_H) flags.h $(TM_P_H)
-ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) \
+ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) toplev.h \
flags.h insn-config.h function.h $(RECOG_H) $(BASIC_BLOCK_H) $(EXPR_H) \
output.h $(TM_P_H)
dependence.o : dependence.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \
#include "flags.h"
#include "ggc.h"
#include "rtl.h"
+#include "expr.h"
#include "output.h"
#include "timevar.h"
+2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Make-lang.in (cp/semantics.o): Depend on $(EXPR_H).
+
+ * semantics.c: Include expr.h.
+
2001-04-11 Nathan Sidwell <nathan@codesourcery.com>
* method.c (implicitly_declare_fn): Commonize code for copy ctor
cp/errfn.o: cp/errfn.c $(CXX_TREE_H) toplev.h
cp/repo.o: cp/repo.c $(CXX_TREE_H) toplev.h $(GGC_H)
cp/semantics.o: cp/semantics.c $(CXX_TREE_H) cp/lex.h except.h toplev.h \
- flags.h $(GGC_H) output.h $(RTL_H) $(TIMEVAR_H)
+ flags.h $(GGC_H) output.h $(RTL_H) $(TIMEVAR_H) $(EXPR_H)
cp/dump.o: cp/dump.c $(CXX_TREE_H) c-dump.h
cp/optimize.o: cp/optimize.c $(CXX_TREE_H) rtl.h integrate.h insn-config.h \
input.h params.h
#include "flags.h"
#include "ggc.h"
#include "rtl.h"
+#include "expr.h"
#include "output.h"
#include "timevar.h"
/* Assemble the static constant template for function entry trampolines. */
extern rtx assemble_trampoline_template PARAMS ((void));
-/* Return 1 if two rtx's are equivalent in structure and elements. */
-extern int rtx_equal_p PARAMS ((rtx, rtx));
-
/* Given rtx, return new rtx whose address won't be affected by
any side effects. It has been copied to a new temporary reg. */
extern rtx stabilize PARAMS ((rtx));
#include "expr.h"
#include "real.h"
#include "output.h"
+#include "toplev.h"
#include "tm_p.h"
+2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Make-lang.in (java/boehm.o): Depend on toplev.h.
+
+ * boehm.c: Include toplev.h.
+
2001-04-06 Tom Tromey <tromey@redhat.com>
Alexandre Petit-Bianco <apbianco@redhat.com>
java/gjavah.o: $(CONFIG_H) $(SYSTEM_H) $(JAVA_TREE_H) java/gjavah.c \
java/jcf-reader.c java/jcf.h java/javaop.h version.h
java/boehm.o: java/boehm.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(JAVA_TREE_H) \
- java/parse.h
+ java/parse.h toplev.h
java/buffer.o: java/buffer.c $(CONFIG_H) java/buffer.h $(SYSTEM_H) toplev.h
java/check-init.o: java/check-init.c $(CONFIG_H) \
$(JAVA_TREE_H) $(SYSTEM_H) toplev.h
#include "tree.h"
#include "java-tree.h"
#include "parse.h"
+#include "toplev.h"
static void mark_reference_fields PARAMS ((tree,
unsigned HOST_WIDE_INT *,
/* Generally useful functions. */
-/* The following functions accept a wide integer argument. Rather than
- having to cast on every function call, we use a macro instead, that is
- defined here and in tree.h. */
-
-#ifndef exact_log2
-#define exact_log2(N) exact_log2_wide ((unsigned HOST_WIDE_INT) (N))
-#define floor_log2(N) floor_log2_wide ((unsigned HOST_WIDE_INT) (N))
-#endif
-extern int exact_log2_wide PARAMS ((unsigned HOST_WIDE_INT));
-extern int floor_log2_wide PARAMS ((unsigned HOST_WIDE_INT));
-
/* In expmed.c */
extern int ceil_log2 PARAMS ((unsigned HOST_WIDE_INT));
extern rtvec gen_rtvec PARAMS ((int, ...));
/* In other files */
-extern char *permalloc PARAMS ((int));
extern rtx rtx_alloc PARAMS ((RTX_CODE));
extern rtvec rtvec_alloc PARAMS ((int));
extern rtx copy_insn_1 PARAMS ((rtx));
extern rtx assign_temp PARAMS ((union tree_node *,
int, int, int));
/* In expr.c */
-extern rtx protect_from_queue PARAMS ((rtx, int));
extern void emit_queue PARAMS ((void));
extern rtx emit_move_insn PARAMS ((rtx, rtx));
/* In optabs.c */
extern rtx gen_move_insn PARAMS ((rtx, rtx));
-extern rtx gen_jump PARAMS ((rtx));
-extern rtx gen_beq PARAMS ((rtx));
-extern rtx gen_bge PARAMS ((rtx));
-extern rtx gen_ble PARAMS ((rtx));
-
/* In function.c */
extern rtx gen_mem_addressof PARAMS ((rtx, union tree_node *));
-/* In explow.c */
-extern rtx eliminate_constant_term PARAMS ((rtx, rtx *));
-
-/* In optabs.c */
-extern rtx expand_complex_abs PARAMS ((enum machine_mode, rtx, rtx,
- int));
-
/* In regclass.c */
extern enum machine_mode choose_hard_reg_mode PARAMS ((unsigned int,
unsigned int));
#define INVALID_REGNUM (~(unsigned int)0)
extern rtx find_next_ref PARAMS ((rtx, rtx));
-extern rtx *find_single_use PARAMS ((rtx, rtx, rtx *));
extern rtx output_constant_def PARAMS ((union tree_node *, int));
extern rtx immed_real_const PARAMS ((union tree_node *));
-extern union tree_node *make_tree PARAMS ((union tree_node *, rtx));
/* Define a default value for STORE_FLAG_VALUE. */
extern int preserve_subexpressions_p PARAMS ((void));
/* In expr.c */
-extern void init_expr_once PARAMS ((void));
extern void move_by_pieces PARAMS ((rtx, rtx,
unsigned HOST_WIDE_INT,
unsigned int));
extern void dbr_schedule PARAMS ((rtx, FILE *));
#endif
-/* In optabs.c */
-extern void init_optabs PARAMS ((void));
-
/* In local-alloc.c */
#ifdef BUFSIZ
extern void dump_local_alloc PARAMS ((FILE *));
/* In varasm.c */
extern void bss_section PARAMS ((void));
extern int in_data_section PARAMS ((void));
-extern int supports_one_only PARAMS ((void));
extern void init_varasm_once PARAMS ((void));
/* In rtl.c */
extern void set_fast_math_flags PARAMS ((void));
extern void set_no_fast_math_flags PARAMS ((void));
+/* The following functions accept a wide integer argument. Rather
+ than having to cast on every function call, we use a macro instead. */
+
+#ifndef exact_log2
+#define exact_log2(N) exact_log2_wide ((unsigned HOST_WIDE_INT) (N))
+#define floor_log2(N) floor_log2_wide ((unsigned HOST_WIDE_INT) (N))
+#endif
+extern int exact_log2_wide PARAMS ((unsigned HOST_WIDE_INT));
+extern int floor_log2_wide PARAMS ((unsigned HOST_WIDE_INT));
+
#endif /* __GCC_TOPLEV_H */
\f
#define NULL_TREE (tree) NULL
-/* The following functions accept a wide integer argument. Rather than
- having to cast on every function call, we use a macro instead, that is
- defined here and in rtl.h. */
-
-#ifndef exact_log2
-#define exact_log2(N) exact_log2_wide ((unsigned HOST_WIDE_INT) (N))
-#define floor_log2(N) floor_log2_wide ((unsigned HOST_WIDE_INT) (N))
-#endif
-extern int exact_log2_wide PARAMS ((unsigned HOST_WIDE_INT));
-extern int floor_log2_wide PARAMS ((unsigned HOST_WIDE_INT));
-
/* Approximate positive square root of a host double. This is for
statistical reports, not code generation. */
extern double approx_sqrt PARAMS ((double));
tree));
extern int expand_exit_something PARAMS ((void));
-extern void expand_null_return PARAMS ((void));
extern void expand_return PARAMS ((tree));
extern int optimize_tail_recursion PARAMS ((tree, struct rtx_def *));
extern void expand_start_bindings_and_block PARAMS ((int, tree));
extern tree build_range_type PARAMS ((tree, tree, tree));
-/* Called after finishing a record, union or enumeral type. */
-extern void rest_of_type_compilation PARAMS ((tree, int));
-
/* In alias.c */
extern void record_component_aliases PARAMS ((tree));
extern HOST_WIDE_INT get_alias_set PARAMS ((tree));
#endif
/* In expr.c */
-extern void emit_queue PARAMS ((void));
extern int apply_args_register_offset PARAMS ((int));
extern struct rtx_def *expand_builtin_return_addr
PARAMS ((enum built_in_function, int, struct rtx_def *));
-extern void do_pending_stack_adjust PARAMS ((void));
-extern struct rtx_def *expand_assignment PARAMS ((tree, tree, int,
- int));
-extern struct rtx_def *store_expr PARAMS ((tree,
- struct rtx_def *,
- int));
extern void check_max_integer_computation_mode PARAMS ((tree));
/* In emit-rtl.c */
extern void start_sequence_for_rtl_expr PARAMS ((tree));
-extern struct rtx_def *emit_line_note_after PARAMS ((const char *, int,
- struct rtx_def *));
extern struct rtx_def *emit_line_note PARAMS ((const char *, int));
-extern struct rtx_def *emit_line_note_force PARAMS ((const char *, int));
/* In calls.c */
extern void incomplete_type_error PARAMS ((tree, tree));
extern void print_lang_statistics PARAMS ((void));
extern tree truthvalue_conversion PARAMS ((tree));
-extern void split_specs_attrs PARAMS ((tree, tree *, tree *));
#ifdef BUFSIZ
extern void print_lang_decl PARAMS ((FILE *, tree, int));
extern void print_lang_type PARAMS ((FILE *, tree, int));
/* In stmt.c */
extern void emit_nop PARAMS ((void));
extern void expand_computed_goto PARAMS ((tree));
-extern struct rtx_def *label_rtx PARAMS ((tree));
extern void expand_asm_operands PARAMS ((tree, tree, tree, tree, int,
const char *, int));
extern int any_pending_cleanups PARAMS ((int));