r224607 - in /branches/gomp-4_1-branch: gcc/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Jun 18 13:51:00 GMT 2015


Author: jakub
Date: Thu Jun 18 13:51:29 2015
New Revision: 224607

URL: https://gcc.gnu.org/viewcvs?rev=224607&root=gcc&view=rev
Log:
	* omp-builtins.def (BUILT_IN_GOMP_TASK,
	BUILT_IN_GOMP_TASKLOOP, BUILT_IN_GOMP_TASKLOOP_ULL): Add
	priority argument (BT_INT).
	* gcc/builtin-types.def
	(BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR,
	BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_LONG_LONG_LONG,
	BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_ULL_ULL_ULL):
	Removed.
	(BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT,
	BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_LONG_LONG_LONG,
	BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_ULL_ULL_ULL):
	New.
	* omp-low.c (expand_task_call): Add priority argument to
	GOMP_task* calls.  Or in GOMP_TASK_FLAG_PRIORITY into flags
	if priority is present for GOMP_task call.
gcc/c/
	* c-parser.c (OMP_TASKLOOP_CLAUSE_MASK): Add priority clause.
gcc/cp/
	* parser.c (OMP_TASKLOOP_CLAUSE_MASK): Add priority clause.
gcc/c-family/
	* c-omp.c (c_omp_split_clauses): Split OMP_CLAUSE_PRIORITY
	to OMP_TASKLOOP.
	* c-common.c (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_11): Define.
	(DEF_FUNCTION_TYPE_10): Fix up a pasto.
gcc/fortran/
	* types.def
	(BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR,
	BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_LONG_LONG_LONG,
	BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_ULL_ULL_ULL):
	Removed.
	(BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT,
	BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_LONG_LONG_LONG,
	BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_ULL_ULL_ULL):
	New.
	* gcc/fortran/f95-lang.c (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_11):
	Define.
gcc/jit/
	* jit-builtins.c (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_11): Define.
	(DEF_FUNCTION_TYPE_10): Fix up a pasto.
gcc/lto/
	* lto-lang.c (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_11): Define.
	(DEF_FUNCTION_TYPE_10): Fix up a pasto.
gcc/testsuite/
	* c-c++-common/gomp/priority-1.c: New test.
include/
	* gomp-constants.h (GOMP_TASK_FLAG_PRIORITY): Define.
libgomp/
	* libgomp_g.h (GOMP_task): Add priority argument to the prototype.
	(GOMP_taskloop, GOMP_taskloop_ull): New prototypes.
	* task.c (GOMP_task): Add priority argument.
	* taskloop.c (GOMP_taskloop): Likewise.

Added:
    branches/gomp-4_1-branch/gcc/testsuite/c-c++-common/gomp/priority-1.c
Modified:
    branches/gomp-4_1-branch/gcc/ChangeLog.gomp
    branches/gomp-4_1-branch/gcc/builtin-types.def
    branches/gomp-4_1-branch/gcc/c-family/ChangeLog.gomp
    branches/gomp-4_1-branch/gcc/c-family/c-common.c
    branches/gomp-4_1-branch/gcc/c-family/c-omp.c
    branches/gomp-4_1-branch/gcc/c/ChangeLog.gomp
    branches/gomp-4_1-branch/gcc/c/c-parser.c
    branches/gomp-4_1-branch/gcc/cp/ChangeLog.gomp
    branches/gomp-4_1-branch/gcc/cp/parser.c
    branches/gomp-4_1-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_1-branch/gcc/fortran/f95-lang.c
    branches/gomp-4_1-branch/gcc/fortran/types.def
    branches/gomp-4_1-branch/gcc/jit/ChangeLog.gomp
    branches/gomp-4_1-branch/gcc/jit/jit-builtins.c
    branches/gomp-4_1-branch/gcc/lto/ChangeLog.gomp
    branches/gomp-4_1-branch/gcc/lto/lto-lang.c
    branches/gomp-4_1-branch/gcc/omp-builtins.def
    branches/gomp-4_1-branch/gcc/omp-low.c
    branches/gomp-4_1-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_1-branch/include/ChangeLog.gomp
    branches/gomp-4_1-branch/include/gomp-constants.h
    branches/gomp-4_1-branch/libgomp/ChangeLog.gomp
    branches/gomp-4_1-branch/libgomp/libgomp_g.h
    branches/gomp-4_1-branch/libgomp/task.c
    branches/gomp-4_1-branch/libgomp/taskloop.c



More information about the Gcc-cvs mailing list