gcc/libgomp
Tom de Vries 12efb1d75f Handle double reduction in parloops
2015-07-28  Tom de Vries  <tom@codesourcery.com>

	* tree-parloops.c (reduc_stmt_res): New function.
	(initialize_reductions, add_field_for_reduction)
	(create_phi_for_local_result, create_loads_for_reductions)
	(create_stores_for_reduction, build_new_reduction): Handle case that
	reduc_stmt is a phi.
	(gather_scalar_reductions): Allow double_reduc reductions.

	* gcc.dg/autopar/uns-outer-4.c: Remove xfail on scan for parallelizing
	outer loop.

	* testsuite/libgomp.c/uns-outer-4.c: New test.

From-SVN: r226300
2015-07-28 07:54:04 +00:00
..
config futex.h (futex_wait): Remove doouble initialization. 2015-06-05 12:56:14 +02:00
plugin plugin-nvptx.c (struct targ_fn_descriptor): Move later. 2015-07-20 16:17:57 +00:00
testsuite Handle double reduction in parloops 2015-07-28 07:54:04 +00:00
acinclude.m4 Fix Solaris symbol versioning (PR libstdc++/52188) 2012-02-27 13:51:50 +00:00
aclocal.m4 libgomp: Bump to automake 1.11.6 2015-05-13 11:24:38 +00:00
alloc.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
barrier.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
ChangeLog Handle double reduction in parloops 2015-07-28 07:54:04 +00:00
ChangeLog.graphite Add forgotten ChangeLog entries. 2010-03-08 17:49:42 +00:00
config.h.in configure.ac: Fix check for header <sys/sysctl.h>. 2015-06-23 19:59:59 +02:00
configure configure.ac: Fix check for header <sys/sysctl.h>. 2015-06-23 19:59:59 +02:00
configure.ac configure.ac: Fix check for header <sys/sysctl.h>. 2015-06-23 19:59:59 +02:00
configure.tgt libgomp: Add RTEMS support 2015-03-13 10:57:07 +00:00
critical.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
env.c Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
error.c Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
fortran.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
hashtab.h Update copyright years. 2015-01-05 13:33:28 +01:00
iter_ull.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
iter.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
libgomp_f.h.in libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
libgomp_g.h [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter. 2015-01-19 13:03:35 +01:00
libgomp-plugin.c libgomp: Make GOMP_PLUGIN_debug actually work... 2015-02-17 19:24:07 +01:00
libgomp-plugin.h libgomp: rework initialization of offloading 2015-04-06 12:40:28 +00:00
libgomp.h target.c (gomp_offload_image_to_device): Rename to ... 2015-07-21 13:30:06 +00:00
libgomp.map libgomp: rework initialization of offloading 2015-04-06 12:40:28 +00:00
libgomp.spec.in Generally link to libgomp for -ftree-parallelize-loops=*. 2013-11-07 16:07:34 +01:00
libgomp.texi Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
loop_ull.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
loop.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
Makefile.am Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
Makefile.in libgomp: Bump to automake 1.11.6 2015-05-13 11:24:38 +00:00
oacc-async.c mkoffload.c (process): Support variable mapping. 2015-04-08 15:58:33 +00:00
oacc-cuda.c mkoffload.c (process): Support variable mapping. 2015-04-08 15:58:33 +00:00
oacc-host.c mkoffload.c (process): Support variable mapping. 2015-04-08 15:58:33 +00:00
oacc-init.c target.c (gomp_offload_image_to_device): Rename to ... 2015-07-21 13:30:06 +00:00
oacc-int.h mkoffload.c (process): Support variable mapping. 2015-04-08 15:58:33 +00:00
oacc-mem.c oacc-init.c (acc_shutdown_1): Call gomp_mutex_unlock for goacc_thread_lock on error paths. 2015-05-06 16:45:49 +00:00
oacc-parallel.c Missed a difference between gomp4 and trunk 2015-07-20 17:38:49 +00:00
oacc-plugin.c Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
oacc-plugin.h Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
oacc-ptx.h libgomp: Make nvptx helper routines self-contained. 2015-02-17 19:05:24 +01:00
omp_lib.f90.in libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
omp_lib.h.in libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
omp.h.in libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
openacc_lib.h Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
openacc.f90 Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
openacc.h openacc.h (__GOACC_NOTHROW): Fix noexcept syntax. 2015-05-09 00:50:35 -04:00
ordered.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
parallel.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
sections.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
single.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
splay-tree.c Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
splay-tree.h Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
target.c target.c (gomp_offload_image_to_device): Rename to ... 2015-07-21 13:30:06 +00:00
task.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00
team.c [gomp] Recycle last non-nested team if possible 2015-07-15 09:11:11 +00:00
work.c libgomp: Now known as the GNU Offloading and Multi Processing Runtime Library. 2015-01-10 20:10:37 +01:00