[PATCH] Fortran: reject empty derived type with bind(C) attribute [PR101577]

2025-03-02 Thread Harald Anlauf
Dear all, due to an oversight in the Fortran standard before 2018, empty derived types with bind(C) attribute were explicitly (deliberately?) accepted by gfortran, giving a warning that the companion processor might not provide an interoperating entity. In the PR, Tobias pointed to a discussion

F2018 REDUCE intrinsic

2025-03-02 Thread Paul Richard Thomas
Hi All, This is very much an early version of the F2018 REDUCE intrinsic. I am posting it now because I have totally forgotten how to include new functions in libgfortran.so. -static-libfortran works fine and the results are the same as the other brands. At present, it produces several of link wa

Re: [PATCH 0/4] Fortran: Improve flow of intrinsics/library documentation [PR47928]

2025-03-02 Thread Sandra Loosemore
On 2/28/25 02:56, Andre Vehreschild wrote: Hi Sandra, thanks for taking on the laborious task. I have browsed over the changes and found: Patch 3 in intrinsic.texi: @@ -2071,6 +2071,9 @@ end program atomic @cindex Atomic subroutine, ADD with fetch @table @asis +@item @emph{Synopsis}: +@co