diff options
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/cse.c | 2 | ||||
-rw-r--r-- | gcc/fold-const.c | 2 | ||||
-rw-r--r-- | gcc/jump.c | 12 |
4 files changed, 19 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b2ed08..b1e7814 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * cse.c (free_element, get_element): Remove unused prototypes. + + * fold-const.c (extract_muldiv): Initialize variables `op0' and + `op1'. + + * jump.c (invert_exp): Add explicit braces to avoid ambiguous + `else' clauses. + Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com> * configure.in,configure: case arm for mn10200-*-* now sets @@ -652,9 +652,7 @@ static void make_regs_eqv PROTO((int, int)); static void delete_reg_equiv PROTO((int)); static int mention_regs PROTO((rtx)); static int insert_regs PROTO((rtx, struct table_elt *, int)); -static void free_element PROTO((struct table_elt *)); static void remove_from_table PROTO((struct table_elt *, unsigned)); -static struct table_elt *get_element PROTO((void)); static struct table_elt *lookup PROTO((rtx, unsigned, enum machine_mode)), *lookup_for_remove PROTO((rtx, unsigned, enum machine_mode)); static rtx lookup_as_function PROTO((rtx, enum rtx_code)); diff --git a/gcc/fold-const.c b/gcc/fold-const.c index a59d622..8f94161 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -4270,7 +4270,7 @@ extract_muldiv (t, c, code, wide_type) ? wide_type : type); tree t1, t2; int same_p = tcode == code; - tree op0, op1; + tree op0 = NULL_TREE, op1 = NULL_TREE; /* Don't deal with constants of zero here; they confuse the code below. */ if (integer_zerop (c)) @@ -4644,8 +4644,10 @@ invert_exp (x, insn) for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--) { if (fmt[i] == 'e') - if (! invert_exp (XEXP (x, i), insn)) - return 0; + { + if (! invert_exp (XEXP (x, i), insn)) + return 0; + } else if (fmt[i] == 'E') { register int j; @@ -4793,8 +4795,10 @@ redirect_exp (loc, olabel, nlabel, insn) for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--) { if (fmt[i] == 'e') - if (! redirect_exp (&XEXP (x, i), olabel, nlabel, insn)) - return 0; + { + if (! redirect_exp (&XEXP (x, i), olabel, nlabel, insn)) + return 0; + } else if (fmt[i] == 'E') { register int j; |