Deutsch English Français Italiano |
<20240528104632.00005197@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Tue, 28 May 2024 10:46:32 +0300 Organization: A noiseless patient Spider Lines: 19 Message-ID: <20240528104632.00005197@yahoo.com> References: <v2l828$18v7f$1@dont-email.me> <v2o57g$1t5p4$1@raubtier-asyl.eternal-september.org> <7d0e8f25-a8ba-4995-9b90-ff35f85d423f@gmail.com> <v2p91e$26lpk$1@raubtier-asyl.eternal-september.org> <beffc569-3606-b627-ded9-93ce8478f2dd@please.ty> <20240525142325.517@kylheku.com> <v2ul1f$3aa7c$1@dont-email.me> <871q5o29af.fsf@nosuchdomain.example.com> <v2v7av$3d561$1@dont-email.me> <20240526153913.00007f65@yahoo.com> <v2vefo$3e72q$1@dont-email.me> <v2vh0f$3eaba$3@dont-email.me> <20240526180531.00007259@yahoo.com> <v2vnsa$3fnv7$1@dont-email.me> <20240526195040.00001480@yahoo.com> <v33qpo$fftb$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Tue, 28 May 2024 09:46:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="14313ffd129ddac4bff0d9eb9d968071"; logging-data="538708"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/TEDG6DidYGB6S/Lu/jW9MBvyMDRV16Cw=" Cancel-Lock: sha1:2yLdmMpQmYSUWc0VJrO5qddOUSI= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) Bytes: 2349 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.