Re: [Patch] Fortran/OpenMP: Fix use_device_{ptr,addr} with assumed-size array [PR98858]

2021-03-12 Thread Jakub Jelinek via Fortran
On Thu, Mar 11, 2021 at 02:44:38PM +0100, Tobias Burnus wrote: > Fortran/OpenMP: Fix use_device_{ptr,addr} with assumed-size array [PR98858] > > gcc/ChangeLog: > > PR fortran/98858 > * gimplify.c (omp_add_variable): Handle NULL_TREE as size > occuring for assumed-size arrays in

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

2021-03-12 Thread Jakub Jelinek via Fortran
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

Re: [Patch] OpenMP: Fix 'omp declare target' handling for vars [PR99509]

2021-03-12 Thread Jakub Jelinek via Fortran
On Wed, Mar 10, 2021 at 03:20:42PM +0100, Tobias Burnus wrote: > The C/C++ FE sets for an 'omp declare target' ... 'omp end declare target' > the attribute 'omp declare target implicit'. > > That's later processed (for C++) in decl.c - which remove that attribute > and either keeps and explicit 'o

[PATCH] PR fortran/99112 - [11 Regression] ICE with runtime diagnostics for SIZE intrinsic function

2021-03-12 Thread Harald Anlauf via Fortran
Dear all, the addition of runtime checks for the SIZE intrinsic created a regression that showed up for certain CLASS arguments to procedures. Paul did most of the work (~ 99%), but asked me to dig into an issue with an inappropriately selected error message. This actually turned out to be a sim