Re: OpenMP target update tests

2014-05-28 Thread Jakub Jelinek
On Thu, May 29, 2014 at 12:14:45AM +0200, Jakub Jelinek wrote: > > +#pragma omp target update from(a, b, b) /* { dg-error "'b' appears more > > than once in motion clauses" } */ > > +#pragma omp target update to(a) to(b, b) /* { dg-error "'b' appears more > > than once in motion clauses" } */ > >

Re: OpenMP target update tests

2014-05-28 Thread Jakub Jelinek
On Wed, May 28, 2014 at 10:38:55PM +0200, Thomas Schwinge wrote: > --- gcc/c/c-parser.c > +++ gcc/c/c-parser.c > @@ -13530,7 +13530,7 @@ c_parser_omp_target_update (location_t loc, c_parser > *parser, >&& find_omp_clause (clauses, OMP_CLAUSE_FROM) == NULL_TREE) > { >error_at (

OpenMP target update tests

2014-05-28 Thread Thomas Schwinge
Hi! Does that look appropriate (for trunk)? gcc/c/c-parser.c | 2 +- gcc/c/c-typeck.c | 2 ++ gcc/cp/parser.c | 2 +- gcc/cp/semantics.c| 2 ++ gcc/testsuite/c-