https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120111
--- Comment #4 from john.harper at vuw dot ac.nz --- Sorry if I did something wrong when installing gfortran 15 from source tarball gcc-15.1.0.tar.xz in a Linux Ubuntu system. Maybe your gfortran 15 is not identical to the release I used. I certainly don't know how to fake gfortran --version and I didn't want to. My evidence: (lf) john:~$ ls -o Downloads/gcc-15.1.0.tar.xz -rw-rw-r-- 1 john 98268344 Apr 30 11:31 Downloads/gcc-15.1.0.tar.xz (lf) john:~$ cat badfmt.f90 ! F2023 constraint C1302 requires a comma between A and I in a format character(5):: fmt = '(AI0)' print fmt, '6*7 = ',42 end program (lf) john:~$ gfortran --version GNU Fortran (GCC) 15.1.0 Copyright (C) 2025 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (lf) john:~$ gfortran -Wall -Wextra badfmt.f90 && ./a.out 6*7 = 42 ((lf) john:~$ On Tue, 6 May 2025, jvdelisle at gcc dot gnu.org wrote: > Date: Tue, 6 May 2025 00:32:54 +0000 > From: jvdelisle at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> > To: john.har...@vuw.ac.nz > Subject: [Bug fortran/120111] program with bad format that compiles and runs > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120111 > > Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|--- |INVALID > CC| |jvdelisle at gcc dot gnu.org > Status|UNCONFIRMED |RESOLVED > > --- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- > (In reply to kargls from comment #2) >> This is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88052 >> which you submitted. I don't have 15.1 installed, so cannot >> confirm whether or not the patch made it into 15.1. > > The fix did go into 15. (with attached test case) > > $ gfc15 missing.f90 > $ ./a.out > At line 3 of file missing.f90 (unit = 6, file = 'stdout') > Fortran runtime error: Missing comma between descriptors > (AI0) > ^ > > -- > You are receiving this mail because: > You reported the bug. -- John Harper, School of Mathematics and Statistics Victoria Univ. of Wellington, PO Box 600, Wellington 6140, New Zealand. e-mail john.har...@vuw.ac.nz