mirror of git://gcc.gnu.org/git/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
This commit is contained in:
parent
6ccde948ad
commit
1cbc62c077
|
@ -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
|
||||||
|
|
|
@ -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++
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
/* 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;
|
||||||
|
|
Loading…
Reference in New Issue