+2000-06-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * bb-reorder.c (build_scope_forest): Initialize variable
+ `curr_scope'.
+
+ * calls.c (expand_call): Likewise for variables
+ `save_pending_stack_adjust' and `save_stack_pointer_delta'.
+
+ * i386.c (function_arg_advance, function_arg): Cast to avoid
+ signed/unsigned warnings.
+
+ * i386.h (MEMORY_MOVE_COST): Likewise.
+
+ * ifcvt.c (cond_exec_process_if_block): Initialize variables
+ `else_start' and `else_end'.
+
+ * libgcc2.h (__eh_alloc, __eh_free): Prototype.
+
+ * regrename.c (rr_replace_reg): Initialize variable `dest_subregno'.
+
2000-06-10 Mark Mitchell <mark@codesourcery.com>
* Makefile.in (libintl.a): Depend on intl.all.
rtx x;
int level, bbi, i;
basic_block curr_bb;
- scope root, curr_scope;
+ scope root, curr_scope = 0;
forest->num_trees = 0;
forest->trees = NULL;
recursion "call". That way we know any adjustment after the tail
recursion call can be ignored if we indeed use the tail recursion
call expansion. */
- int save_pending_stack_adjust;
- int save_stack_pointer_delta;
+ int save_pending_stack_adjust = 0;
+ int save_stack_pointer_delta = 0;
rtx insns;
rtx before_call, next_arg_reg;
+2000-06-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Makefile.in (EXPR_H): New dependency variable.
+ (actions.o, expr.o): Use EXPR_H.
+ (lang.o): Depend on RTL_H and EXPR_H.
+
+ * lang.c: Include rtl.h and expr.h.
+ (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED.
+
2000-06-04 Philipp Thomas <pthomas@suse.de>
* Makefile.in(INTLLIBS): New macro.
# CHILL language specific files.
+EXPR_H = $(srcdir)/../expr.h ../insn-codes.h
RTL_H = $(srcdir)/../rtl.h $(srcdir)/../rtl.def \
$(srcdir)/../machmode.h $(srcdir)/../machmode.def
TREE_H = $(srcdir)/../tree.h $(srcdir)/../real.h $(srcdir)/../tree.def \
actions.o : actions.c $(CONFIG_H) $(CHILL_TREE_H) actions.h $(RTL_H) \
lex.h $(srcdir)/../flags.h $(srcdir)/../input.h \
- $(srcdir)/../expr.h ../insn-codes.h $(srcdir)/../system.h \
- $(srcdir)/../toplev.h
+ $(EXPR_H) $(srcdir)/../system.h $(srcdir)/../toplev.h
convert.o : convert.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../flags.h \
$(srcdir)/../tree.h $(srcdir)/../system.h $(srcdir)/../toplev.h \
$(srcdir)/../convert.h
except.o : except.c $(CONFIG_H) $(srcdir)/../tree.h $(RTL_H) $(CHILL_TREE_H) \
$(srcdir)/../system.h $(srcdir)/../toplev.h
expr.o : expr.c $(CONFIG_H) $(RTL_H) $(CHILL_TREE_H) $(srcdir)/../flags.h \
- $(srcdir)/../expr.h ../insn-codes.h $(srcdir)/../tree.h lex.h \
- $(srcdir)/../system.h $(srcdir)/../toplev.h
+ $(EXPR_H) $(srcdir)/../tree.h lex.h $(srcdir)/../system.h \
+ $(srcdir)/../toplev.h
grant.o: grant.c $(CONFIG_H) $(CHILL_TREE_H) $(RTL_H) $(srcdir)/../flags.h \
$(srcdir)/../input.h lex.h actions.h $(srcdir)/../system.h \
$(srcdir)/../toplev.h $(srcdir)/../output.h
inout.o : inout.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../flags.h \
$(srcdir)/../input.h $(srcdir)/../system.h $(srcdir)/../toplev.h
lang.o : lang.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../input.h lex.h \
- $(srcdir)/../system.h $(srcdir)/../toplev.h
+ $(srcdir)/../system.h $(srcdir)/../toplev.h $(EXPR_H) $(RTL_H)
lex.o : lex.c $(CONFIG_H) $(CHILL_TREE_H) $(RTL_H) $(srcdir)/../flags.h \
$(srcdir)/../input.h $(srcdir)/parse.h $(srcdir)/../system.h \
$(srcdir)/../toplev.h lex.h $(srcdir)/../dwarfout.h hash.h
#include "lex.h"
#include "input.h"
#include "toplev.h"
+#include "rtl.h"
+#include "expr.h"
/* Type node for boolean types. */
HOST_WIDE_INT
lang_get_alias_set (t)
- tree t;
+ tree t ATTRIBUTE_UNUSED;
{
/* ??? Need to figure out what the rules are. Certainly we'd need
to handle union-like things, and probably variant records.
tree type; /* type of the argument or 0 if lib support */
int named; /* whether or not the argument was named */
{
- int bytes
- = (mode == BLKmode) ? int_size_in_bytes (type) : GET_MODE_SIZE (mode);
+ int bytes =
+ (mode == BLKmode) ? int_size_in_bytes (type) : (int) GET_MODE_SIZE (mode);
int words = (bytes + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
if (TARGET_DEBUG_ARG)
int named; /* != 0 for normal args, == 0 for ... args */
{
rtx ret = NULL_RTX;
- int bytes
- = (mode == BLKmode) ? int_size_in_bytes (type) : GET_MODE_SIZE (mode);
+ int bytes =
+ (mode == BLKmode) ? int_size_in_bytes (type) : (int) GET_MODE_SIZE (mode);
int words = (bytes + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
switch (mode)
: (GET_MODE_SIZE (MODE)==2 \
? (IN ? ix86_cost->int_load[1] : ix86_cost->int_store[1]) \
: ((IN ? ix86_cost->int_load[2] : ix86_cost->int_store[2]) \
- * GET_MODE_SIZE (MODE) / 4))))
+ * (int) GET_MODE_SIZE (MODE) / 4))))
/* A C expression for the cost of a branch instruction. A value of 1
is the default; other values are interpreted relative to that. */
+2000-06-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * decl2.c (compare_options): Don't needlessly cast away const-ness.
+
2000-06-10 Mark Mitchell <mark@codesourcery.com>
* decl.c (add_binding): Handle duplicate declarations of external
const PTR p1;
const PTR p2;
{
- return strcmp (*((char **) p1), *((char **) p2));
+ return strcmp (*((const char *const *) p1), *((const char *const *) p2));
}
/* Decode the string P as a language-specific option.
+Sun Jun 11 00:03:00 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * com.c (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED.
+
2000-06-04 Philipp Thomas <pthomas@suse.de>
* Makefile.in(INTLLIBS): New macro.
HOST_WIDE_INT
lang_get_alias_set (t)
- tree t;
+ tree t ATTRIBUTE_UNUSED;
{
/* We do not wish to use alias-set based aliasing at all. Used in the
extreme (every object with its own set, with equivalences recorded)
rtx test_expr; /* expression in IF_THEN_ELSE that is tested */
rtx then_start; /* first insn in THEN block */
rtx then_end; /* last insn + 1 in THEN block */
- rtx else_start; /* first insn in ELSE block or NULL */
- rtx else_end; /* last insn + 1 in ELSE block */
+ rtx else_start = NULL_RTX; /* first insn in ELSE block or NULL */
+ rtx else_end = NULL_RTX; /* last insn + 1 in ELSE block */
int max; /* max # of insns to convert. */
int then_mod_ok; /* whether conditional mods are ok in THEN */
rtx true_expr; /* test for else block insns */
+2000-06-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * decl.c (create_primitive_vtable): Prototype.
+
+ * jcf-write.c (generate_bytecode_insns): Initialize variable
+ `saved_context'.
+
+ * lang.c (lang_get_alias_set): Mark parameter with ATTRIBUTE_UNUSED.
+
Tue Jun 6 11:39:05 2000 Tom Tromey <tromey@ferrule.cygnus.com>
* parse.y (check_modifiers_consistency): Don't subtract out
static struct binding_level *make_binding_level PARAMS ((void));
static boolean emit_init_test_initialization PARAMS ((struct hash_entry *,
hash_table_key));
+static tree create_primitive_vtable PARAMS ((const char *));
/* Set to non-zero value in order to emit class initilization code
before static field references. */
NOTE_POP (1); /* Pop implicit this. */
if (TREE_CODE (f) == FUNCTION_DECL && DECL_CONTEXT (f) != NULL_TREE)
{
- tree saved_context;
+ tree saved_context = NULL_TREE;
int index, interface = 0;
RESERVE (5);
if (METHOD_STATIC (f))
HOST_WIDE_INT
lang_get_alias_set (t)
- tree t;
+ tree t ATTRIBUTE_UNUSED;
{
return -1;
}
extern void __sjpopnthrow (void) __attribute__ ((__noreturn__));
extern void __eprintf (const char *, const char *, unsigned int, const char *)
__attribute__ ((__noreturn__));
+extern void *__eh_alloc (size_t);
+extern void __eh_free (void *);
struct bb;
extern void __bb_exit_func (void);
replace_type, insn, status);
else if (replace_type == SOURCE)
{
- unsigned int dest_subregno;
+ unsigned int dest_subregno = 0;
int had_subreg = GET_CODE (SET_DEST (x)) == SUBREG;
if (had_subreg)