Patchwork [cilkplus-merge] fix various wrapping issues and correct some docs wording

login
register
mail settings
Submitter Aldy Hernandez
Date March 22, 2013, 6:26 p.m.
Message ID <514CA249.3090902@redhat.com>
Download mbox | patch
Permalink /patch/230237/
State New
Headers show

Comments

Aldy Hernandez - March 22, 2013, 6:26 p.m.
I am committing the following changes as obvious.  They include some 
wrapping issues, as well as some minor wording issues I found while 
peeking around.

Joseph, I am posting this as an incremental patch, to avoid posting a 7k 
line patch for everything.  I have also asked Balaji to post incremental 
patches as he iterates with you-- at least on these initial style 
reviews-- to aid in reviewing.  Then perhaps after this round is done, 
we can post a toplevel patch once again with everything so far in the 
branch, and start the process again.  If you dislike this approach let 
me know, and we revert to toplevel patches, or perhaps something else.

Aldy
commit 4f4932be8230284919d197cccb4b10201f82a0b3
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Fri Mar 22 13:07:57 2013 -0500

    Cleanup various typos and wrapping issues.

Patch

diff --git a/gcc/c-family/c-common.def b/gcc/c-family/c-common.def
index a5e3220..4d14fcf 100644
--- a/gcc/c-family/c-common.def
+++ b/gcc/c-family/c-common.def
@@ -56,7 +56,8 @@  DEFTREECODE (USERDEF_LITERAL, "userdef_literal", tcc_exceptional, 3)
 DEFTREECODE (SIZEOF_EXPR, "sizeof_expr", tcc_expression, 1)
 
 /* Array Notation expression.
-   Operand 0 is the array; operand 1 is the starting array index
+   Operand 0 is the array.
+   Operand 1 is the starting array index.
    Operand 2 contains the number of elements you need to access.
    Operand 3 is the stride.
    Operand 4 is the element size measured in units of alignments of
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h
index 1726a4b..edcff2e 100644
--- a/gcc/c-family/c-common.h
+++ b/gcc/c-family/c-common.h
@@ -1137,8 +1137,8 @@  enum stv_conv {
 extern enum stv_conv scalar_to_vector (location_t loc, enum tree_code code,
 				       tree op0, tree op1, bool);
 
-/* These #defines allow users to access different operands of the 
-      array notation tree.  */
+/* These #defines allow users to access different operands of the
+   array notation tree.  */
 
 #define ARRAY_NOTATION_CHECK(NODE) TREE_CHECK (NODE, ARRAY_NOTATION_REF)
 #define ARRAY_NOTATION_ARRAY(NODE) \
diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi
index e4699ca..6f6f792 100644
--- a/gcc/doc/generic.texi
+++ b/gcc/doc/generic.texi
@@ -1140,13 +1140,14 @@  directly; call @code{array_ref_low_bound} and @code{array_ref_element_size}
 instead.
 
 @item ARRAY_NOTATION_REF
-These nodes represent array notation expressions that are part of the Cilk Plus
-language extensions (enabled by @option{-fcilkplus} flag).  The first operand 
-is the array.  Second, third and fourth operands are the start-index, number of
-elements accessed (also called length) and the stride, respectively.  The 
-fifth operand holds the array type.  Around the end of the parsing stage, 
-these array notations are broken up into array references (@code{ARRAY_REF})
-enclosed inside a loop iterating from 0 to the number of elements accessed.
+These nodes represent array notation expressions that are part of the
+Cilk Plus language extensions (enabled by the @option{-fcilkplus}
+flag).  The first operand is the array.  The second, third, and fourth
+operands are the start-index, number of elements accessed (also called
+length) and the stride, respectively.  The fifth operand holds the
+array type.  Near the end of the parsing stage, these array notations
+are broken up into array references (@code{ARRAY_REF}) enclosed inside
+a loop iterating from 0 to the number of elements accessed.
 
 @item ARRAY_RANGE_REF
 These nodes represent access to a range (or ``slice'') of an array.  The