gcc/libgomp/testsuite
Jakub Jelinek aec17bfe91 re PR c/63326 (whether a #pragma is a statement depends on the type of pragma)
PR c/63326
	* c-parser.c (c_parser_compound_statement_nostart): If
	last_label is true, use pragma_stmt instead of pragma_compound
	as second c_parser_pragma argument.
	(c_parser_omp_ordered, c_parser_omp_target_update,
	c_parser_omp_target_enter_data, c_parser_omp_target_exit_data): Pass
	false as second argument to c_parser_skip_to_pragma_eol after
	diagnosing standalone directives used in pragma_stmt context.

	* parser.c (cp_parser_statement): Clear in_compound after labels.

	* gcc.dg/gomp/barrier-2.c (f2): Expect another error after label.
	* c-c++-common/gomp/pr63326.c: New test.

	* testsuite/libgomp.c/cancel-parallel-2.c (foo): Add semicolon
	in between case label and OpenMP standalone directives.
	* testsuite/libgomp.c++/cancel-parallel-2.C (foo): Likewise.

From-SVN: r230999
2015-11-27 09:59:55 +01:00
..
config
lib builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
libgomp.c re PR c/63326 (whether a #pragma is a statement depends on the type of pragma) 2015-11-27 09:59:55 +01:00
libgomp.c++ re PR c/63326 (whether a #pragma is a statement depends on the type of pragma) 2015-11-27 09:59:55 +01:00
libgomp.fortran builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
libgomp.graphite
libgomp.oacc-c
libgomp.oacc-c-c++-common reduction-dbl.c: New. 2015-11-19 18:58:39 +00:00
libgomp.oacc-c++ c-pragma.c (oacc_pragmas): Add entry for declare directive. 2015-11-12 22:20:41 +00:00
libgomp.oacc-fortran dump-parse-tree.c (show_namespace): Handle declares. 2015-11-22 16:45:38 +00:00
libgomp-test-support.exp.in
Makefile.am
Makefile.in