diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/builtins.c | 4 | ||||
-rw-r--r-- | gcc/c-typeck.c | 2 | ||||
-rw-r--r-- | gcc/combine.c | 12 | ||||
-rw-r--r-- | gcc/expr.c | 8 | ||||
-rw-r--r-- | gcc/loop.c | 24 |
6 files changed, 33 insertions, 25 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c65fd8662ce..6f801ff7c75 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2002-01-03 Kazu Hirata <kazu@hxi.com> + + * builtins.c: Fix formatting. + * c-typeck.c: Likewise. + * combine.c: Likewise. + * expr.c: Likewise. + * loop.c: Likewise. + 2002-01-03 Andreas Schwab <schwab@suse.de> * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool diff --git a/gcc/builtins.c b/gcc/builtins.c index d7d83e847ba..404bf46a004 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -1,6 +1,6 @@ /* Expand builtin functions. Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -3368,7 +3368,7 @@ expand_builtin_fputs (arglist, ignore, unlocked) break; } default: - abort(); + abort (); } return expand_expr (build_function_call_expr (fn, arglist), diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 667dbe2dba1..cf3a387e99f 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -5554,7 +5554,7 @@ pop_init_level (implicit) else /* Zero-length arrays are no longer special, so we should no longer get here. */ - abort(); + abort (); } /* Warn when some struct elements are implicitly initialized to zero. */ diff --git a/gcc/combine.c b/gcc/combine.c index a25909d14a2..f83990e4b39 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -1,6 +1,6 @@ /* Optimize by combining instructions for GNU compiler. Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -135,7 +135,7 @@ static int max_uid_cuid; BITS_PER_WORD would invoke undefined behavior. Work around it. */ #define UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD(val) \ - (((unsigned HOST_WIDE_INT)(val) << (BITS_PER_WORD - 1)) << 1) + (((unsigned HOST_WIDE_INT) (val) << (BITS_PER_WORD - 1)) << 1) /* Maximum register number, which is the size of the tables below. */ @@ -6012,7 +6012,7 @@ make_extraction (mode, inner, pos, pos_rtx, len, /* Get the mode to use should INNER not be a MEM, the mode for the position, and the mode for the result. */ - if (in_dest && mode_for_extraction(EP_insv, -1) != MAX_MACHINE_MODE) + if (in_dest && mode_for_extraction (EP_insv, -1) != MAX_MACHINE_MODE) { wanted_inner_reg_mode = mode_for_extraction (EP_insv, 0); pos_mode = mode_for_extraction (EP_insv, 2); @@ -8544,8 +8544,8 @@ num_sign_bit_copies (x, mode) if (! POINTERS_EXTEND_UNSIGNED && GET_MODE (x) == Pmode && (code == PLUS || code == MINUS) && GET_CODE (XEXP (x, 0)) == REG && REG_POINTER (XEXP (x, 0))) - result = MAX ((int)(GET_MODE_BITSIZE (Pmode) - - GET_MODE_BITSIZE (ptr_mode) + 1), + result = MAX ((int) (GET_MODE_BITSIZE (Pmode) + - GET_MODE_BITSIZE (ptr_mode) + 1), result); #endif return result; @@ -12004,7 +12004,7 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1) else if (i2 && GET_CODE (i2) == JUMP_INSN) place = i2; else - abort(); + abort (); break; case REG_EH_REGION: diff --git a/gcc/expr.c b/gcc/expr.c index 1388b6ff835..b07d88d41fa 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -3155,7 +3155,7 @@ emit_single_push_insn (mode, x, type) if (icode != CODE_FOR_nothing) { if (((pred = insn_data[(int) icode].operand[0].predicate) - && !((*pred) (x, mode)))) + && !((*pred) (x, mode)))) x = force_reg (mode, x); emit_insn (GEN_FCN (icode) (x)); return; @@ -3166,7 +3166,7 @@ emit_single_push_insn (mode, x, type) { #ifdef STACK_GROWS_DOWNWARD dest_addr = gen_rtx_PLUS (Pmode, stack_pointer_rtx, - GEN_INT (-(HOST_WIDE_INT)rounded_size)); + GEN_INT (-(HOST_WIDE_INT) rounded_size)); #else dest_addr = gen_rtx_PLUS (Pmode, stack_pointer_rtx, GEN_INT (rounded_size)); @@ -6152,7 +6152,7 @@ expand_expr (exp, target, tmode, modifier) set_mem_attributes (value, exp, 1); SET_DECL_RTL (exp, value); } - } + } /* ... fall through ... */ @@ -8880,7 +8880,7 @@ expand_increment (exp, post, ignore) } if (TYPE_TRAP_SIGNED (TREE_TYPE (exp))) - this_optab = this_optab == add_optab ? addv_optab : subv_optab; + this_optab = this_optab == add_optab ? addv_optab : subv_optab; /* For a preincrement, see if we can do this with a single instruction. */ if (!post) diff --git a/gcc/loop.c b/gcc/loop.c index 4200470e02d..177efb3734c 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -3575,7 +3575,7 @@ check_store (x, pat, data) rtx x, pat ATTRIBUTE_UNUSED; void *data; { - struct check_store_data *d = (struct check_store_data *)data; + struct check_store_data *d = (struct check_store_data *) data; if ((GET_CODE (x) == MEM) && rtx_equal_p (d->mem_address, XEXP (x, 0))) d->mem_write = 1; @@ -3673,7 +3673,7 @@ rtx_equal_for_prefetch_p (x, y) static HOST_WIDE_INT remove_constant_addition (x) - rtx *x; + rtx *x; { HOST_WIDE_INT addval = 0; rtx exp = *x; @@ -5309,7 +5309,7 @@ check_insn_for_givs (loop, p, not_every_iteration, maybe_multiple) record_giv (loop, v, p, src_reg, dest_reg, mult_val, add_val, ext_val, benefit, DEST_REG, not_every_iteration, - maybe_multiple, (rtx*)0); + maybe_multiple, (rtx*) 0); } } @@ -6437,13 +6437,13 @@ simplify_giv_expr (loop, x, ext_val, benefit) tem = arg0, arg0 = arg1, arg1 = tem; if (GET_CODE (arg1) == PLUS) - return - simplify_giv_expr (loop, - gen_rtx_PLUS (mode, - gen_rtx_PLUS (mode, arg0, - XEXP (arg1, 0)), - XEXP (arg1, 1)), - ext_val, benefit); + return + simplify_giv_expr (loop, + gen_rtx_PLUS (mode, + gen_rtx_PLUS (mode, arg0, + XEXP (arg1, 0)), + XEXP (arg1, 1)), + ext_val, benefit); /* Now must have MULT + MULT. Distribute if same biv, else not giv. */ if (GET_CODE (arg0) != MULT || GET_CODE (arg1) != MULT) @@ -9294,7 +9294,7 @@ get_condition_for_loop (loop, x) const struct loop *loop; rtx x; { - rtx comparison = get_condition (x, (rtx*)0); + rtx comparison = get_condition (x, (rtx*) 0); if (comparison == 0 || ! loop_invariant_p (loop, XEXP (comparison, 0)) @@ -10477,7 +10477,7 @@ loop_giv_dump (v, file, verbose) break; case TRUNCATE: fprintf (file, " ext tr"); - break; + break; default: abort (); } |