From: kazu Date: Fri, 22 Aug 2003 07:03:15 +0000 (+0000) Subject: * cfgcleanup.c: Fix comment typos. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=845bebef620d4e847cde2fb2da10713dc155fa3f;p=thirdparty%2Fgcc.git * cfgcleanup.c: Fix comment typos. * emit-rtl.c: Likewise. * optabs.c: Likewise. * ra-build.c: Likewise. * rtlanal.c: Likewise. * tree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70678 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4d1d2ebe8d45..97e711c9753c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2003-08-22 Kazu Hirata + + * cfgcleanup.c: Fix comment typos. + * emit-rtl.c: Likewise. + * optabs.c: Likewise. + * ra-build.c: Likewise. + * rtlanal.c: Likewise. + * tree.h: Likewise. + 2003-08-22 Kazu Hirata * c-decl.c: Fix comment formatting. diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index 1937ad03dd2b..074812d54ef4 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -227,7 +227,7 @@ mark_effect (rtx exp, regset nonequal) } } -/* Return nonzero if X is an register set in regset DATA. +/* Return nonzero if X is a register set in regset DATA. Called via for_each_rtx. */ static int mentions_nonequal_regs (rtx *x, void *data) diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 45ff41ce67ae..4140abc15d0c 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -858,7 +858,7 @@ gen_reg_rtx (enum machine_mode mode) return val; } -/* Generate an register with same attributes as REG, +/* Generate a register with same attributes as REG, but offsetted by OFFSET. */ rtx diff --git a/gcc/optabs.c b/gcc/optabs.c index 7a4bd0f9e9dc..e413d86d18ee 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -3175,7 +3175,7 @@ emit_no_conflict_block (rtx insns, rtx target, rtx op0, rtx op1, rtx equiv) next = NEXT_INSN (insn); - /* Some ports (cris) create an libcall regions at their own. We must + /* Some ports (cris) create a libcall regions at their own. We must avoid any potential nesting of LIBCALLs. */ if ((note = find_reg_note (insn, REG_LIBCALL, NULL)) != NULL) remove_note (insn, note); @@ -3342,7 +3342,7 @@ emit_libcall_block (rtx insns, rtx target, rtx result, rtx equiv) rtx set = single_set (insn); rtx note; - /* Some ports (cris) create an libcall regions at their own. We must + /* Some ports (cris) create a libcall regions at their own. We must avoid any potential nesting of LIBCALLs. */ if ((note = find_reg_note (insn, REG_LIBCALL, NULL)) != NULL) remove_note (insn, note); diff --git a/gcc/ra-build.c b/gcc/ra-build.c index d00369ec14e0..dfd8588aa306 100644 --- a/gcc/ra-build.c +++ b/gcc/ra-build.c @@ -2429,7 +2429,7 @@ detect_spill_temps () continue; /* A web with only defs and no uses can't be spilled. Nevertheless - it must get a color, as it takes away an register from all webs + it must get a color, as it takes away a register from all webs live at these defs. So we make it a short web. */ if (web->num_uses == 0) web->spill_temp = 3; diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 55c1020f3fb8..18173ebf297e 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -3311,7 +3311,7 @@ subreg_offset_representable_p (unsigned int xregno, enum machine_mode xmode, #endif /* The XMODE value can be seen as a vector of NREGS_XMODE - values. The subreg must represent an lowpart of given field. + values. The subreg must represent a lowpart of given field. Compute what field it is. */ offset -= subreg_lowpart_offset (ymode, mode_for_size (GET_MODE_BITSIZE (xmode) diff --git a/gcc/tree.h b/gcc/tree.h index 0563f08554a9..7bc44c7ce846 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2582,7 +2582,7 @@ extern tree substitute_in_expr (tree, tree, tree); extern tree variable_size (tree); -/* stabilize_reference (EXP) returns an reference equivalent to EXP +/* stabilize_reference (EXP) returns a reference equivalent to EXP but it can be used multiple times and only evaluate the subexpressions once. */