Hi Jakub! On Wed, 29 Apr 2015 10:53:32 +0200, Jakub Jelinek <ja...@redhat.com> wrote: > On Tue, Apr 28, 2015 at 08:45:50PM +0200, Thomas Schwinge wrote: > > I guess nobody so far ;-) has been using OpenMP's target update directive > > in templated code -- OK to commit the following, and to which branches > > (4.9, 5, trunk)? > > Seems I've missed testcases for target {,update,data} in templates indeed, > generally for C++ I'm trying to add testcases for templates, both when > relevant types are type dependent and whey aren't. > > > gcc/cp/ > > * pt.c (tsubst_expr) <OMP_TARGET_UPDATE>: Use > > OMP_TARGET_UPDATE_CLAUSES instead of OMP_CLAUSES. > > gcc/testsuite/ > > * g++.dg/gomp/tpl-target-update.C: New file. > > This is ok for trunk, 5.2 and 4.9.3, thanks for fixing that.
Committed in r222564, r222565, r222566, respectively. Grüße, Thomas
pgp95WUjpPpsS.pgp
Description: PGP signature