r236793 - in /trunk: gcc/c/ChangeLog gcc/c/c-pa...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu May 26 19:12:00 GMT 2016


Author: jakub
Date: Thu May 26 19:12:27 2016
New Revision: 236793

URL: https://gcc.gnu.org/viewcvs?rev=236793&root=gcc&view=rev
Log:
	* c-parser.c (c_parser_omp_clause_schedule): Warn if
	OMP_CLAUSE_SCHEDULE_CHUNK_EXPR is known not to be positive.

	* semantics.c (finish_omp_clauses) <case OMP_CLAUSE_SCHEDULE>: Warn
	if OMP_CLAUSE_SCHEDULE_CHUNK_EXPR is known not to be positive.

	* openmp.c (resolve_omp_clauses): Warn if chunk_size is known not to
	be positive.

	* c-c++-common/gomp/schedule-1.c: New test.
	* gfortran.dg/gomp/schedule-1.f90: New test.

	* testsuite/libgomp.c/doacross-1.c (main): Use schedule(static)
	instead of invalid schedule(static, 0).
	* testsuite/libgomp.c/doacross-2.c (main): Likewise.

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/schedule-1.c
    trunk/gcc/testsuite/gfortran.dg/gomp/schedule-1.f90
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgomp/ChangeLog
    trunk/libgomp/testsuite/libgomp.c/doacross-1.c
    trunk/libgomp/testsuite/libgomp.c/doacross-2.c



More information about the Gcc-cvs mailing list