On Sat, Nov 22, 2014 at 12:08:38AM +0300, Ilya Verbin wrote: > > On 21 Nov 2014, at 23:36, Jakub Jelinek <ja...@redhat.com> wrote: > > > >> On Fri, Nov 21, 2014 at 11:19:26PM +0300, Ilya Verbin wrote: > >> Hi, > >> > >> '#pragma omp critical (name)' can be placed in the function, marked > >> with '#pragma omp declare target', in this case the corresponding node > >> should be marked as offloadable too. > >> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > > > Please add a testcase for this. > > By default with disabled offloading it will always PASS. Add anyway?
Doesn't matter. We want to test it both with host fallback and offloaded to various devices. The latter of course will be tested only if somebody configures the 2 compilers that way, less often, but still. Jakub