From: kazu Date: Sun, 27 Oct 2002 14:47:55 +0000 (+0000) Subject: * combine.c: Fix comment formatting. X-Git-Tag: upstream/4.9.2~83680 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45498ea14d2f4cf09b4db9acbd3d73585f5dffb4;p=platform%2Fupstream%2Flinaro-gcc.git * combine.c: Fix comment formatting. * loop.c: Likewise. * real.c: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * regrename.c: Likewise. * reg-stack.c: Likewise. * reload1.c: Likewise. * reload.c: Likewise. * reload.h: Likewise. * unroll.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58583 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index acf305b..7d1ef85 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,19 @@ 2002-10-27 Kazu Hirata + * combine.c: Fix comment formatting. + * loop.c: Likewise. + * real.c: Likewise. + * regclass.c: Likewise. + * regmove.c: Likewise. + * regrename.c: Likewise. + * reg-stack.c: Likewise. + * reload1.c: Likewise. + * reload.c: Likewise. + * reload.h: Likewise. + * unroll.c: Likewise. + +2002-10-27 Kazu Hirata + * reload1.c (reload): Fix a comment typo. Sun Oct 27 10:15:24 CET 2002 Jan Hubicka diff --git a/gcc/combine.c b/gcc/combine.c index ce97adf..d6dfdf6 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -11913,7 +11913,7 @@ mark_used_regs_combine (x) { unsigned int endregno, r; - /* None of this applies to the stack, frame or arg pointers */ + /* None of this applies to the stack, frame or arg pointers. */ if (regno == STACK_POINTER_REGNUM #if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM || regno == HARD_FRAME_POINTER_REGNUM @@ -12021,7 +12021,7 @@ move_deaths (x, maybe_kill_insn, from_cuid, to_insn, pnotes) rtx where_dead = reg_last_death[regno]; rtx before_dead, after_dead; - /* Don't move the register if it gets killed in between from and to */ + /* Don't move the register if it gets killed in between from and to. */ if (maybe_kill_insn && reg_set_p (x, maybe_kill_insn) && ! reg_referenced_p (x, maybe_kill_insn)) return; diff --git a/gcc/loop.c b/gcc/loop.c index be4b12d..9461530 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -2475,7 +2475,7 @@ prescan_loop (loop) loop_info->first_loop_store_insn = NULL_RTX; loop_info->mems_idx = 0; loop_info->num_mem_sets = 0; - /* If loop opts run twice, this was set on 1st pass for 2nd. */ + /* If loop opts run twice, this was set on 1st pass for 2nd. */ loop_info->preconditioned = NOTE_PRECONDITIONED (end); for (insn = start; insn && GET_CODE (insn) != CODE_LABEL; diff --git a/gcc/real.c b/gcc/real.c index c3cb719..33f8459 100644 --- a/gcc/real.c +++ b/gcc/real.c @@ -1635,7 +1635,7 @@ real_to_decimal (str, r_orig, buf_size, digits, crop_trailing_zeros) digit = rtd_divmod (&r, &pten); - /* Be prepared for error in that division via underflow ... */ + /* Be prepared for error in that division via underflow ... */ if (digit == 0 && cmp_significand_0 (&r)) { /* Multiply by 10 and try again. */ diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index eafc1e4..4d37cec 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -222,7 +222,7 @@ enum emit_where /* The block we're currently working on. */ static basic_block current_block; -/* This is the register file for all register after conversion */ +/* This is the register file for all register after conversion. */ static rtx FP_mode_reg[LAST_STACK_REG+1-FIRST_STACK_REG][(int) MAX_MACHINE_MODE]; @@ -379,7 +379,7 @@ straighten_stack (insn, regstack) change_stack (insn, regstack, &temp_stack, EMIT_AFTER); } -/* Pop a register from the stack */ +/* Pop a register from the stack. */ static void pop_stack (regstack, regno) @@ -390,7 +390,7 @@ pop_stack (regstack, regno) CLEAR_HARD_REG_BIT (regstack->reg_set, regno); regstack->top--; - /* If regno was not at the top of stack then adjust stack */ + /* If regno was not at the top of stack then adjust stack. */ if (regstack->reg [top] != regno) { int i; @@ -1125,7 +1125,7 @@ move_for_stack_reg (insn, regstack, pat) return; } - /* The destination ought to be dead */ + /* The destination ought to be dead. */ if (get_hard_regnum (regstack, dest) >= FIRST_STACK_REG) abort (); @@ -1181,7 +1181,7 @@ move_for_stack_reg (insn, regstack, pat) stack. The stack mapping is changed to reflect that DEST is now at top of stack. */ - /* The destination ought to be dead */ + /* The destination ought to be dead. */ if (get_hard_regnum (regstack, dest) >= FIRST_STACK_REG) abort (); diff --git a/gcc/regclass.c b/gcc/regclass.c index e229826..28c2a6f 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -292,7 +292,7 @@ init_reg_sets () memcpy (call_used_regs, initial_call_used_regs, sizeof call_used_regs); memset (global_regs, 0, sizeof global_regs); - /* Do any additional initialization regsets may need */ + /* Do any additional initialization regsets may need. */ INIT_ONCE_REG_SET (); #ifdef REG_ALLOC_ORDER @@ -2296,7 +2296,7 @@ allocate_reg_info (num_regs, new_p, renumber_p) if (renumber_p) reg_renumber = renumber; - /* Tell the regset code about the new number of registers */ + /* Tell the regset code about the new number of registers. */ MAX_REGNO_REG_SET (num_regs, new_p, renumber_p); } diff --git a/gcc/regmove.c b/gcc/regmove.c index 7853e04..c39e5cc 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -793,7 +793,7 @@ copy_src_to_dest (insn, src, dest, old_max_uid) p_move_notes = ®_NOTES (move_insn); p_insn_notes = ®_NOTES (insn); - /* Move any notes mentioning src to the move instruction */ + /* Move any notes mentioning src to the move instruction. */ for (link = REG_NOTES (insn); link != NULL_RTX; link = next) { next = XEXP (link, 1); @@ -812,7 +812,7 @@ copy_src_to_dest (insn, src, dest, old_max_uid) *p_move_notes = NULL_RTX; *p_insn_notes = NULL_RTX; - /* Is the insn the head of a basic block? If so extend it */ + /* Is the insn the head of a basic block? If so extend it. */ insn_uid = INSN_UID (insn); move_uid = INSN_UID (move_insn); if (insn_uid < old_max_uid) diff --git a/gcc/regrename.c b/gcc/regrename.c index 923652c..ac1043d 100644 --- a/gcc/regrename.c +++ b/gcc/regrename.c @@ -738,7 +738,7 @@ scan_rtx (insn, loc, class, action, type, earlyclobber) } } -/* Build def/use chain */ +/* Build def/use chain. */ static struct du_chain * build_def_use (bb) diff --git a/gcc/reload.c b/gcc/reload.c index d500350..97b3521 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -6004,7 +6004,7 @@ copy_replacements_1 (px, py, orig_replacements) } } -/* Change any replacements being done to *X to be done to *Y */ +/* Change any replacements being done to *X to be done to *Y. */ void move_replacements (x, y) diff --git a/gcc/reload1.c b/gcc/reload1.c index b467e25..8d4e000 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -139,7 +139,7 @@ static int reg_reloaded_contents[FIRST_PSEUDO_REGISTER]; when reg_reloaded_valid is set for this register. */ static rtx reg_reloaded_insn[FIRST_PSEUDO_REGISTER]; -/* Indicate if reg_reloaded_insn / reg_reloaded_contents is valid */ +/* Indicate if reg_reloaded_insn / reg_reloaded_contents is valid. */ static HARD_REG_SET reg_reloaded_valid; /* Indicate if the register was dead at the end of the reload. This is only valid if reg_reloaded_contents is set and valid. */ @@ -1497,7 +1497,7 @@ calculate_needs_all_insns (global) && REGNO (SET_SRC (set)) >= FIRST_PSEUDO_REGISTER) { delete_insn (insn); - /* Delete it from the reload chain */ + /* Delete it from the reload chain. */ if (chain->prev) chain->prev->next = next; else diff --git a/gcc/unroll.c b/gcc/unroll.c index fa04253..3dea451 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -1136,7 +1136,7 @@ unroll_loop (loop, insn_count, strength_reduce_p) /* And whether the loop has been preconditioned. */ loop_info->preconditioned = loop_preconditioned; - /* Remember whether it was preconditioned for the second loop pass. */ + /* Remember whether it was preconditioned for the second loop pass. */ NOTE_PRECONDITIONED (loop->end) = loop_preconditioned; /* For each biv and giv, determine whether it can be safely split into