Re: [PATCH] PR fortran/102287 - optional allocatable array arguments (intent out) of derived types with allocatable components are not properly passed to subroutines

2021-09-15 Thread Thomas Koenig via Fortran
Hello Harald, As nicely described in the PR, we mishandled the case of passing optional allocatable DT arguments with allocatable components when the INTENT was declared as INTENT(OUT), as we unconditionally tried to deallocate these components even when the argument was not present. The obviou

Re: Missing finalizations

2021-09-15 Thread Andrew Benson via Fortran
Hi Paul, Thanks, that sounds good. -Andrew On Tuesday, September 14, 2021 11:51:00 PM PDT Paul Richard Thomas wrote: > Hi Andrew, > > Not long before I had to step aside (temporarily, I hope) from gfortran > maintenance, I made quite a lot of progress on missing finalizations. I'll > dig out t

Re: [committed] Fortran: Add missing ST_OMP_END_SCOPE handling [PR102313]

2021-09-15 Thread Thomas Schwinge
Hi! On 2021-09-14T14:25:20+0200, Tobias Burnus wrote: > I have created a testcase with all missing ST_OMP_END_* and ST_OACC_END_*; > I am not quite sure why a different code path is triggered for some, but > at least here is now a parse check for all. At least the OpenACC one is explained easily