oacc-parallel.c (GOACC_parallel): Move variadic handling into wait=-specific if.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 20 Jul 2015 17:31:46 +0000 (17:31 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 20 Jul 2015 17:31:46 +0000 (17:31 +0000)
commita091118d2c7bdd3a6fa2de0694aff47071051956
tree828f194bd1d3ecfa54cee8c29cceabdc3b74ef9d
parent53c1201606a2a8901544620eadc5965745b6e7de
oacc-parallel.c (GOACC_parallel): Move variadic handling into wait=-specific if.

* oacc-parallel.c (GOACC_parallel): Move variadic handling into
wait=-specific if.
(GOACC_enter_exit_data, GOACC_update): Use consistent num_waits
!=0 condition.
(goacc_waits): Move !num_waits handling to ...
(GOACC_wait): ... here, the only caller that might have zero waits.

From-SVN: r226011
libgomp/ChangeLog
libgomp/oacc-parallel.c