Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S 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: <7d0e8f25-a8ba-4995-9b90-ff35f85d423f@gmail.com> <20240525142325.517@kylheku.com> <871q5o29af.fsf@nosuchdomain.example.com> <20240526153913.00007f65@yahoo.com> <20240526180531.00007259@yahoo.com> <20240526195040.00001480@yahoo.com> 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 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 > . 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.