This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] gcc/tree*: Fix comment typos.


Hi,

Committed as obvious.

Kazu Hirata

2005-01-10  Kazu Hirata  <kazu@cs.umass.edu>

	* tree-vectorizer.c, tree.def: Fix comment typos.

Index: tree-vectorizer.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vectorizer.c,v
retrieving revision 2.60
diff -u -d -p -r2.60 tree-vectorizer.c
--- tree-vectorizer.c	9 Jan 2005 17:30:13 -0000	2.60
+++ tree-vectorizer.c	10 Jan 2005 19:31:07 -0000
@@ -1377,13 +1377,13 @@ vect_strip_conversion (tree expr)
             a[j].b[i][j] = 0;
 	 
    For a[j].b[i][j], EXPR will be 'i * C_i + j * C_j + C'. 'i' cannot be 
-   subsituted, since its access_fn in the inner loop is i. 'j' will be 
+   substituted, since its access_fn in the inner loop is i. 'j' will be 
    substituted with 3. An INITIAL_OFFSET will be 'i * C_i + C`', where
    C` =  3 * C_j + C.
 
    Compute MISALIGN (the misalignment of the data reference initial access from
    its base) if possible. Misalignment can be calculated only if all the
-   variables can be substitued with constants, or if a variable is multiplied
+   variables can be substituted with constants, or if a variable is multiplied
    by a multiple of VECTYPE_ALIGNMENT. In the above example, since 'i' cannot
    be substituted, MISALIGN will be NULL_TREE in case that C_i is not a multiple
    of VECTYPE_ALIGNMENT, and C` otherwise. (We perform MISALIGN modulo 
@@ -4894,7 +4894,7 @@ vect_get_memtag_and_dr (tree memref, tre
    1.1.1- vect_get_base_and_offset():
       Calculate base, initial_offset, step and alignment.      
       For ARRAY_REFs and COMPONENT_REFs use call get_inner_reference.
-   2- vect_analyze_dependences(): apply dependece testing using ref_stmt.DR
+   2- vect_analyze_dependences(): apply dependence testing using ref_stmt.DR
    3- vect_analyze_drs_alignment(): check that ref_stmt.alignment is ok.
    4- vect_analyze_drs_access(): check that ref_stmt.step is ok.
 
Index: tree.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.def,v
retrieving revision 1.108
diff -u -d -p -r1.108 tree.def
--- tree.def	21 Dec 2004 17:43:11 -0000	1.108
+++ tree.def	10 Jan 2005 19:31:07 -0000
@@ -32,7 +32,7 @@ Software Foundation, 59 Temple Place - S
 
    These tree codes have been sorted so that the macros in tree.h that
    check for various tree codes are optimized into range checks.  This
-   gives a measureable performance improvement.  When adding a new
+   gives a measurable performance improvement.  When adding a new
    code, consider its placement in relation to the other codes.  */
 
 /* Any erroneous construct is parsed into a node of this type.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]