[Bug middle-end/84992] [openacc] function static var in parallel

2021-04-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84992 Thomas Schwinge changed: What|Removed |Added See Also||https://github.com/OpenACC/

[Bug middle-end/84992] [openacc] function static var in parallel

2021-04-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84992 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:60b589b5858fb8ad414583c6b493e0897f1bde5f commit r10-9681-g60b589b5858fb8ad414583c6b493e0897f1bde5f Author: Thomas Schwing

[Bug middle-end/84992] [openacc] function static var in parallel

2021-04-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84992 --- Comment #3 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:ffa0ae6eeef3ad15d3f288283e4c477193052f1a commit r11-8096-gffa0ae6eeef3ad15d3f288283e4c477193052f1a Author: Thomas Schwinge Date:

[Bug middle-end/84992] [openacc] function static var in parallel

2019-06-15 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84992 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > When compiling this openacc testcase: > > #include > > int > main (void) > { > int n[1]; > n[0] = 3; > #pragma acc parallel copy(n) > { > static co

[Bug middle-end/84992] [openacc] function static var in parallel

2018-03-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84992 --- Comment #1 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > > But the first question here is: is this a valid openacc program? > > Given that function static variables are not supported in functions to which > a routine di