Re: [Patch] Fortran: Fix absent-optional handling for nondescriptor arrays (PR94672)

2020-08-28 Thread Andre Vehreschild
Hi Tobias, the patch looks ok to me. Thanks for the patch. Regards, Andre On Wed, 26 Aug 2020 18:29:40 +0200 Tobias Burnus wrote: > This fixes an issue caused by the patch for PR 94672, which > affects both GCC 10 and GCC 11. > > Only 'sVal' of 'subroutine foo' was affected, the

[Patch] Fortran: Fix absent-optional handling for nondescriptor arrays (PR94672)

2020-08-26 Thread Tobias Burnus
This fixes an issue caused by the patch for PR 94672, which affects both GCC 10 and GCC 11. Only 'sVal' of 'subroutine foo' was affected, the rest is only a crosscheck that it worked for those code paths. (I did check against the dump – which looks fine. I could add dump tests as well. The