summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-15 09:55:56 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-15 09:55:56 +0000
commitbde357c89ee20017fbe9e40fb81595fc3181fa95 (patch)
tree33ab050ea2db763c9c8d741701f0fa78e105ca12
parentc24c5face1810b7815ba6b1274aa9bef587c3b2f (diff)
downloadgcc-bde357c89ee20017fbe9e40fb81595fc3181fa95.tar.gz
gcc/
* 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
-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 2d34139b188..fa92fdbf065 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 9669f2ca6ba..30782d4f3a7 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 0ff9cf447bb..bd2c0dec2fe 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 467a603f992..a53c0293b7a 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 e51369aaffe..09b7260a66e 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;