gcc/libgomp/testsuite/libgomp.oacc-c++
Nathan Sidwell e91eba31fd [nvptx] Fix calls to vector and worker routines
2018-04-20  Nathan Sidwell  <nathan@codesourcery.com>
	    Tom de Vries  <tom@codesourcery.com>

	PR target/85445
	* config/nvptx/nvptx.c (nvptx_emit_forking, nvptx_emit_joining):
	Emit insns for calls too.
	(nvptx_find_par): Always look for worker-level predecessor insn.
	(nvptx_propagate): Add is_call parm, return bool.  Copy frame for
	calls.
	(nvptx_vpropagate, nvptx_wpropagate): Adjust.
	(nvptx_process_pars): Propagate frames for calls.

	* testsuite/libgomp.oacc-c++/ref-1.C: New.

Co-Authored-By: Tom de Vries <tom@codesourcery.com>

From-SVN: r259523
2018-04-20 13:46:07 +00:00
..
c++.exp Runtime checking of OpenACC parallelism dimensions clauses 2017-05-23 11:16:05 +02:00
declare-1.C c-pragma.c (oacc_pragmas): Add entry for declare directive. 2015-11-12 22:20:41 +00:00
ref-1.C [nvptx] Fix calls to vector and worker routines 2018-04-20 13:46:07 +00:00
routine-1-auto.C C++ OpenACC routine directive testing: templated, and "auto", trailing return type syntax 2016-08-04 15:35:10 +02:00
routine-1-template-auto.C C++ OpenACC routine directive testing: templated, and "auto", trailing return type syntax 2016-08-04 15:35:10 +02:00
routine-1-template-trailing-return-type.C C++ OpenACC routine directive testing: templated, and "auto", trailing return type syntax 2016-08-04 15:35:10 +02:00
routine-1-template.C C++ OpenACC routine directive testing: templated, and "auto", trailing return type syntax 2016-08-04 15:35:10 +02:00
routine-1-trailing-return-type.C C++ OpenACC routine directive testing: templated, and "auto", trailing return type syntax 2016-08-04 15:35:10 +02:00
template-reduction.C OpenACC 2.5 default (present) clause 2017-05-19 15:32:48 +02:00