Sujet : Re: C23 thoughts and opinions
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 28. May 2024, 08:46:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240528104632.00005197@yahoo.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Tue, 28 May 2024 05:41:12 -0000 (UTC)
Lawrence D'Oliveiro <
ldo@nz.invalid> wrote:
On Sun, 26 May 2024 19:50:40 +0300, Michael S wrote:
If I am not mistaken, gfortran by default treats extension .f
as "old FORTRAN" and extension .f90 as "new Fortran".
The full list of recognized file extensions and their treatment is
here
<https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gfortran/GNU-Fortran-and-GCC.html>.
Thank you.
So I remembered correctly, but did not realize that both old and new
variants (a.k.a fixed form and free form) are processed by the same
front end, f951. The driver programs (gcc, g++, gfortran) passes
dialect information to f951 as command line parameter. Fixed form is
chosen by -ffixed-form, free form appears to be the default.