OSDN Git Service

gcc/
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Jun 2008 09:55:56 +0000 (09:55 +0000)
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Jun 2008 09:55:56 +0000 (09:55 +0000)
* omp-low.c (extract_omp_for_data): Fix comment typo.
* c.opt: Fix typo.

gcc/cp/
* parser.c: Fix comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136804 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c.opt
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/omp-low.c

index 2d34139..fa92fdb 100644 (file)
@@ -1,5 +1,10 @@
 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * omp-low.c (extract_omp_for_data): Fix comment typo.
+       * c.opt: Fix typo.
+
+2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
        * doc/sourcebuild.texi (Config Fragments): Remove obsolete
        FIXME note about gcc/config.guess.
        * doc/options.texi (Option file format): Remove non-ASCII bytes.
index 9669f2c..30782d4 100644 (file)
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -679,7 +679,7 @@ Enable OpenMP
 
 foperator-names
 C++ ObjC++
-Recognize C++ kewords like \"compl\" and \"xor\"
+Recognize C++ keywords like \"compl\" and \"xor\"
 
 foptional-diags
 C++ ObjC++
index 0ff9cf4..bd2c0de 100644 (file)
@@ -1,3 +1,7 @@
+2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * parser.c: Fix comment typo.
+
 2008-06-14  Simon Martin  <simartin@users.sourceforge.net>
 
        PR c++/35320
index 467a603..a53c029 100644 (file)
@@ -20423,7 +20423,7 @@ cp_parser_omp_for_incr (cp_parser *parser, tree decl)
   return build2 (MODIFY_EXPR, TREE_TYPE (decl), decl, rhs);
 }
 
-/* Parse the restricted form of the for statment allowed by OpenMP.  */
+/* Parse the restricted form of the for statement allowed by OpenMP.  */
 
 static tree
 cp_parser_omp_for_loop (cp_parser *parser, tree clauses, tree *par_clauses)
index e51369a..09b7260 100644 (file)
@@ -235,7 +235,7 @@ extract_omp_for_data (tree for_stmt, struct omp_for_data *fd,
   /* FIXME: for now map schedule(auto) to schedule(static).
      There should be analysis to determine whether all iterations
      are approximately the same amount of work (then schedule(static)
-     is best) or if it varries (then schedule(dynamic,N) is better).  */
+     is best) or if it varies (then schedule(dynamic,N) is better).  */
   if (fd->sched_kind == OMP_CLAUSE_SCHEDULE_AUTO)
     {
       fd->sched_kind = OMP_CLAUSE_SCHEDULE_STATIC;