Re: [Patch] Fortran/OpenMP: Accept implicit-save DATA vars for threadprivate [PR99514]

2021-03-12 Thread Jakub Jelinek via Gcc-patches
On Wed, Mar 10, 2021 at 03:20:51PM +0100, Tobias Burnus wrote: > gcc/fortran/ChangeLog: > > PR fortran/99514 > * resolve.c (resolve_symbol): Accept vars which are in DATA > and hence (either) implicit SAVE (or in common). > > gcc/testsuite/ChangeLog: > > PR fortran/99514

[Patch] Fortran/OpenMP: Accept implicit-save DATA vars for threadprivate [PR99514]

2021-03-10 Thread Tobias Burnus
If a variable appears in DATA, the following applies: F2018: 8.6.7 DATA statement "Except for variables in named common blocks, a named variable has the SAVE attribute if any part of it is initialized in a DATA statement, and this may be confirmed by explicit specification." The attached test