Commit 1cbc62c0 by Ralf Wildenhues Committed by Ralf Wildenhues

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
parent 6ccde948
2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 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 * doc/sourcebuild.texi (Config Fragments): Remove obsolete
FIXME note about gcc/config.guess. FIXME note about gcc/config.guess.
* doc/options.texi (Option file format): Remove non-ASCII bytes. * doc/options.texi (Option file format): Remove non-ASCII bytes.
......
...@@ -679,7 +679,7 @@ Enable OpenMP ...@@ -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++
......
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
......
...@@ -20423,7 +20423,7 @@ cp_parser_omp_for_incr (cp_parser *parser, tree decl) ...@@ -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)
......
...@@ -235,7 +235,7 @@ extract_omp_for_data (tree for_stmt, struct omp_for_data *fd, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment