aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c.opt2
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/parser.c2
-rw-r--r--gcc/omp-low.c2
5 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2d34139..fa92fdb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/c.opt b/gcc/c.opt
index 9669f2c..30782d4 100644
--- 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++
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0ff9cf4..bd2c0de 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 467a603..a53c0293 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -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)
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index e51369a..09b7260 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -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;