r234894 - in /trunk: gcc/ChangeLog gcc/omp-low....

jakub@gcc.gnu.org jakub@gcc.gnu.org
Tue Apr 12 07:05:00 GMT 2016


Author: jakub
Date: Tue Apr 12 07:05:29 2016
New Revision: 234894

URL: https://gcc.gnu.org/viewcvs?rev=234894&root=gcc&view=rev
Log:
	* omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT
	regardless whether there are depend clauses or not.

	* libgomp.h (struct gomp_target_task): Remove firstprivate_copies
	field.
	* target.c (gomp_target_fallback_firstprivate,
	gomp_target_unshare_firstprivate): Removed.
	(GOMP_target_ext): Copy firstprivate vars into gomp_allocaed memory
	before waiting for dependencies.
	(gomp_target_task_fn): Don't copy firstprivate vars here.
	* task.c (GOMP_PLUGIN_target_task_completion): Don't free
	firstprivate_copies here.
	(gomp_create_target_task): Don't initialize firstprivate_copies field.
	* testsuite/libgomp.c/target-25.c (main): Use map (to:) instead of
	explicit/implicit firstprivate.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/libgomp/ChangeLog
    trunk/libgomp/libgomp.h
    trunk/libgomp/target.c
    trunk/libgomp/task.c
    trunk/libgomp/testsuite/libgomp.c/target-25.c



More information about the Gcc-cvs mailing list