Re: [PATCH] Make static vars inside of target regions or declare target routines implicitly declare target to (PR middle-end/90779)

2021-04-09 Thread Thomas Schwinge
Hi! So I recently had reason to verify how 'static' variables behave in OpenACC compute construct regions as well as OpenACC 'routine'. Two weeks ago I started writing a few testcases -- and today then wondered if maybe there's something in the GCC archives about this. And there is: directly rel

Re: [PATCH] Make static vars inside of target regions or declare target routines implicitly declare target to (PR middle-end/90779)

2019-06-15 Thread Tom de Vries
On 13-06-19 10:34, Jakub Jelinek wrote: > Hi! > > The OpenMP specification isn't clear on this, I'll work on getting that > clarified for 5.1, but the agreement on omp-lang has been that it should > work the way the patch implements it, static block scope variables inside of > #pragma omp target o

[PATCH] Make static vars inside of target regions or declare target routines implicitly declare target to (PR middle-end/90779)

2019-06-13 Thread Jakub Jelinek
Hi! The OpenMP specification isn't clear on this, I'll work on getting that clarified for 5.1, but the agreement on omp-lang has been that it should work the way the patch implements it, static block scope variables inside of #pragma omp target or #pragma omp declare target routines are handled as