Re: [Patch] OpenMP/Fortran: Permit end-clause on directive

2022-11-27 Thread Tobias Burnus
Updated patch – taking the comments below into account – and the remark by Harald, second by Jakub. Namely: I have now split the pre-existing nowait-2.f90 into nowait-2.f90 (with only valid usage) and nowait-4.f90 (with the dg-error tests). In the previous version of the patch, nowait-4.f90 was a

Re: typespec in forall and implied-do

2022-11-27 Thread Mikael Morin
Le 21/11/2022 à 19:46, Steve Kargl a écrit : On Mon, Nov 21, 2022 at 11:34:07AM +0100, Mikael Morin wrote: Le 21/11/2022 à 00:31, Steve Kargl via Fortran a écrit : Unfortunately, gfortran does not define a namespace for an implied-do index and uses a kludge by adding the attr.implied_index att

Re: typespec in forall and implied-do

2022-11-27 Thread Mikael Morin
Le 27/11/2022 à 20:17, Mikael Morin a écrit : Le 21/11/2022 à 19:46, Steve Kargl a écrit : On Mon, Nov 21, 2022 at 11:34:07AM +0100, Mikael Morin wrote: Le 21/11/2022 à 00:31, Steve Kargl via Fortran a écrit : Unfortunately, gfortran does not define a namespace for an implied-do index and use

[PATCH] Fortran: ICE with elemental and dummy argument with VALUE attribute [PR107819]

2022-11-27 Thread Harald Anlauf via Fortran
Dear Fortranners, in dependency checking of arguments of elemental prodecures we should treat dummy arguments with the value attribute as implicitly having intent(in). This is simple and obvious. The PR by Gerhard provides a series of testcases that are either valid (like the one in the attached