gcc/libgomp
Tom de Vries 7c82d82716 Add transform_to_exit_first_loop_alt
2015-06-05  Tom de Vries  <tom@codesourcery.com>

	merge from gomp4 branch:
	2015-05-28  Tom de Vries  <tom@codesourcery.com>

	PR tree-optimization/65443
	* tree-parloops.c (replace_imm_uses, replace_uses_in_bb_by)
	(replace_uses_in_bbs_by, transform_to_exit_first_loop_alt)
	(try_transform_to_exit_first_loop_alt): New function.
	(transform_to_exit_first_loop): Use
	try_transform_to_exit_first_loop_alt.

	* gcc.dg/parloops-exit-first-loop-alt-2.c: New test.
	* gcc.dg/parloops-exit-first-loop-alt-3.c: New test.
	* gcc.dg/parloops-exit-first-loop-alt.c: New test.

	* testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: New test.
	* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: New test.
	* testsuite/libgomp.c/parloops-exit-first-loop-alt.c: New test.

From-SVN: r224154
2015-06-05 15:57:34 +00:00
..
config futex.h (futex_wait): Remove doouble initialization. 2015-06-05 12:56:14 +02:00
plugin re PR libgomp/65742 (Several libgomp.oacc-* failures after r221922.) 2015-05-28 09:29:19 +00:00
testsuite Add transform_to_exit_first_loop_alt 2015-06-05 15:57:34 +00:00
acinclude.m4
aclocal.m4
alloc.c
barrier.c
ChangeLog Add transform_to_exit_first_loop_alt 2015-06-05 15:57:34 +00:00
ChangeLog.graphite
config.h.in
configure
configure.ac
configure.tgt
critical.c
env.c
error.c
fortran.c
hashtab.h
iter_ull.c
iter.c
libgomp_f.h.in
libgomp_g.h
libgomp-plugin.c
libgomp-plugin.h
libgomp.h
libgomp.map
libgomp.spec.in
libgomp.texi
loop_ull.c
loop.c
Makefile.am
Makefile.in
oacc-async.c
oacc-cuda.c
oacc-host.c
oacc-init.c oacc-init.c (resolve_device): Add FAIL_IS_ERROR argument. 2015-05-28 10:35:39 +00:00
oacc-int.h
oacc-mem.c
oacc-parallel.c
oacc-plugin.c
oacc-plugin.h
oacc-ptx.h
omp_lib.f90.in
omp_lib.h.in
omp.h.in
openacc_lib.h
openacc.f90
openacc.h
ordered.c
parallel.c
sections.c
single.c
splay-tree.c
splay-tree.h
target.c target.c (gomp_map_pointer): New function abstracting out GOMP_MAP_POINTER handling. 2015-05-27 06:16:37 +00:00
task.c
team.c
work.c