From: Ralf Wildenhues Date: Sun, 15 Jun 2008 09:55:56 +0000 (+0000) Subject: omp-low.c (extract_omp_for_data): Fix comment typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cbc62c077deab75b6ced6c89874d25f5b785ec9;p=gcc.git omp-low.c (extract_omp_for_data): Fix comment typo. gcc/ * omp-low.c (extract_omp_for_data): Fix comment typo. * c.opt: Fix typo. gcc/cp/ * parser.c: Fix comment typo. From-SVN: r136804 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2d34139b188..fa92fdbf065 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-06-15 Ralf Wildenhues + + * omp-low.c (extract_omp_for_data): Fix comment typo. + * c.opt: Fix typo. + 2008-06-15 Ralf Wildenhues * doc/sourcebuild.texi (Config Fragments): Remove obsolete 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 + + * parser.c: Fix comment typo. + 2008-06-14 Simon Martin 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;