aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-08-22 07:03:15 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-08-22 07:03:15 +0000
commitdcc24678550981985ddd17df7871e63c9752315d (patch)
tree4aba1caf92c33ab7044cd4b26a7ec2edf69eb141 /gcc
parentbeb235f8964321e02e492c9b6856a1ca56f2e027 (diff)
downloadgcc-dcc24678550981985ddd17df7871e63c9752315d.zip
gcc-dcc24678550981985ddd17df7871e63c9752315d.tar.gz
gcc-dcc24678550981985ddd17df7871e63c9752315d.tar.bz2
cfgcleanup.c: Fix comment typos.
* cfgcleanup.c: Fix comment typos. * emit-rtl.c: Likewise. * optabs.c: Likewise. * ra-build.c: Likewise. * rtlanal.c: Likewise. * tree.h: Likewise. From-SVN: r70678
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/cfgcleanup.c2
-rw-r--r--gcc/emit-rtl.c2
-rw-r--r--gcc/optabs.c4
-rw-r--r--gcc/ra-build.c2
-rw-r--r--gcc/rtlanal.c2
-rw-r--r--gcc/tree.h2
7 files changed, 16 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4d1d2eb..97e711c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,14 @@
2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
+ * 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 <kazu@cs.umass.edu>
+
* c-decl.c: Fix comment formatting.
* cfgrtl.c: Likewise.
* combine.c: Likewise.
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 1937ad0..074812d 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 45ff41c..4140abc 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 7a4bd0f..e413d86 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 d00369e..dfd8588 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 55c1020..18173eb 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 0563f08..7bc44c7 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. */