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
This commit is contained in:
Ralf Wildenhues 2008-06-15 09:55:56 +00:00 committed by Ralf Wildenhues
parent 6ccde948ad
commit 1cbc62c077
5 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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> 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/sourcebuild.texi (Config Fragments): Remove obsolete * doc/sourcebuild.texi (Config Fragments): Remove obsolete

View File

@ -679,7 +679,7 @@ Enable OpenMP
foperator-names foperator-names
C++ ObjC++ C++ ObjC++
Recognize C++ kewords like \"compl\" and \"xor\" Recognize C++ keywords like \"compl\" and \"xor\"
foptional-diags foptional-diags
C++ ObjC++ C++ ObjC++

View 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> 2008-06-14 Simon Martin <simartin@users.sourceforge.net>
PR c++/35320 PR c++/35320

View File

@ -20423,7 +20423,7 @@ cp_parser_omp_for_incr (cp_parser *parser, tree decl)
return build2 (MODIFY_EXPR, TREE_TYPE (decl), decl, rhs); 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 static tree
cp_parser_omp_for_loop (cp_parser *parser, tree clauses, tree *par_clauses) cp_parser_omp_for_loop (cp_parser *parser, tree clauses, tree *par_clauses)

View 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). /* FIXME: for now map schedule(auto) to schedule(static).
There should be analysis to determine whether all iterations There should be analysis to determine whether all iterations
are approximately the same amount of work (then schedule(static) 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) if (fd->sched_kind == OMP_CLAUSE_SCHEDULE_AUTO)
{ {
fd->sched_kind = OMP_CLAUSE_SCHEDULE_STATIC; fd->sched_kind = OMP_CLAUSE_SCHEDULE_STATIC;