Commit cef0fd0e by Thomas Schwinge Committed by Thomas Schwinge

Fix description of OpenMP parallel directive in the C and C++ front ends.

	gcc/c/
	* c-parser.c (c_parser_omp_parallel): Fix description.
	gcc/cp/
	* parser.c (cp_parser_omp_parallel): Fix description.

From-SVN: r206052
parent fa00a5fe
2013-12-17 Thomas Schwinge <thomas@codesourcery.com>
* c-parser.c (c_parser_omp_parallel): Fix description.
2013-12-11 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c-objc-common.h (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Remove.
......
......@@ -12032,9 +12032,16 @@ c_parser_omp_sections (location_t loc, c_parser *parser,
}
/* OpenMP 2.5:
# pragma parallel parallel-clause new-line
# pragma parallel for parallel-for-clause new-line
# pragma parallel sections parallel-sections-clause new-line
# pragma omp parallel parallel-clause[optseq] new-line
structured-block
# pragma omp parallel for parallel-for-clause[optseq] new-line
structured-block
# pragma omp parallel sections parallel-sections-clause[optseq] new-line
structured-block
OpenMP 4.0:
# pragma omp parallel for simd parallel-for-simd-clause[optseq] new-line
structured-block
LOC is the location of the #pragma token.
*/
......
2013-12-17 Thomas Schwinge <thomas@codesourcery.com>
* parser.c (cp_parser_omp_parallel): Fix description.
2013-12-12 Jason Merrill <jason@redhat.com>
PR c++/58954
......
......@@ -29512,12 +29512,16 @@ cp_parser_omp_sections (cp_parser *parser, cp_token *pragma_tok,
}
/* OpenMP 2.5:
# pragma parallel parallel-clause new-line
# pragma parallel for parallel-for-clause new-line
# pragma parallel sections parallel-sections-clause new-line
# pragma omp parallel parallel-clause[optseq] new-line
structured-block
# pragma omp parallel for parallel-for-clause[optseq] new-line
structured-block
# pragma omp parallel sections parallel-sections-clause[optseq] new-line
structured-block
OpenMP 4.0:
# pragma parallel for simd parallel-for-simd-clause new-line */
# pragma omp parallel for simd parallel-for-simd-clause[optseq] new-line
structured-block */
#define OMP_PARALLEL_CLAUSE_MASK \
( (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_IF) \
......
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