aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-14 23:35:03 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-14 23:35:03 +0000
commit3a7c155d2e36bda69cb68c2f6f5105e256878506 (patch)
tree8a48c8fe1483a04f942006f3b721d484ad02e186 /gcc
parentefcc66f02cd0b34ee0e2a08312d7ab8e0405a556 (diff)
downloadgcc-3a7c155d2e36bda69cb68c2f6f5105e256878506.zip
gcc-3a7c155d2e36bda69cb68c2f6f5105e256878506.tar.gz
gcc-3a7c155d2e36bda69cb68c2f6f5105e256878506.tar.bz2
global.c, [...]: Fix comment typos.
* global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c, value-prof.c: Fix comment typos. From-SVN: r90638
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/global.c2
-rw-r--r--gcc/tree-ssa-copy.c2
-rw-r--r--gcc/tree-ssa-loop-ivopts.c2
-rw-r--r--gcc/value-prof.c4
5 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e026d6a..e9333a3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,7 @@
2004-11-14 Kazu Hirata <kazu@cs.umass.edu>
- * cfgrtl.c: Fix a comment typo.
+ * cfgrtl.c, global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c,
+ value-prof.c: Fix comment typos.
2004-11-14 Stan Shebs <shebs@apple.com>
diff --git a/gcc/global.c b/gcc/global.c
index 0cda11f..80caac9 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -695,7 +695,7 @@ global_conflicts (void)
since one hard reg can be used with various sizes.
Therefore, we must require that all the hard regs
implicitly live as part of a multi-word hard reg
- are explicitly marked in basic_block_live_at_start. */
+ be explicitly marked in basic_block_live_at_start. */
{
regset old = b->global_live_at_start;
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index e7f51c5c..ff497a8 100644
--- a/gcc/tree-ssa-copy.c
+++ b/gcc/tree-ssa-copy.c
@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
annotations up-to-date.
We require that for any copy operation where the RHS and LHS have
- a non-null memory tag that the memory tag be the same. It is OK
+ a non-null memory tag the memory tag be the same. It is OK
for one or both of the memory tags to be NULL.
We also require tracking if a variable is dereferenced in a load or
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c
index 867f72d..833cbf8 100644
--- a/gcc/tree-ssa-loop-ivopts.c
+++ b/gcc/tree-ssa-loop-ivopts.c
@@ -1305,7 +1305,7 @@ idx_find_step (tree base, tree *idx, void *data)
return false;
/* If base is a component ref, require that the offset of the reference
- is invariant. */
+ be invariant. */
if (TREE_CODE (base) == COMPONENT_REF)
{
off = component_ref_field_offset (base);
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 6c6eed8..1663e64 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -595,7 +595,7 @@ divmod_fixed_value_transform (rtx insn)
histogram = XEXP (histogram, 1);
all = INTVAL (XEXP (histogram, 0));
- /* We require that count is at least half of all; this means
+ /* We require that count be at least half of all; this means
that for the transformation to fire the value must be constant
at least 50% of time (and 75% gives the guarantee of usage). */
if (!rtx_equal_p (op2, value) || 2 * count < all)
@@ -969,7 +969,7 @@ speculative_prefetching_transform (rtx insn)
if (all < 4)
return false;
- /* We require that count is at least half of all; this means
+ /* We require that count be at least half of all; this means
that for the transformation to fire the value must be constant
at least 50% of time (and 75% gives the guarantee of usage). */
if (!rtx_equal_p (address, value) || 2 * count < all)