https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88052
--- Comment #5 from harper at msor dot vuw.ac.nz --- The error I found is not just violating a constraint in f2008 or above. The same constraint with different wording is in f2003, f95 and f90. If you want to allow any constraint violations I think that should be an option, not the default. On Fri, 16 Nov 2018, jvdelisle at gcc dot gnu.org wrote: > Date: Fri, 16 Nov 2018 19:08:12 +0000 > From: jvdelisle at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> > To: John Harper <john.har...@vuw.ac.nz> > Subject: [Bug fortran/88052] Format contravening f2008 constraint C1002 > permitted > Resent-Date: Sat, 17 Nov 2018 08:08:38 +1300 (NZDT) > Resent-From: <john.har...@vuw.ac.nz> > > https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D88052&data=02%7C01%7Cjohn.harper%40vuw.ac.nz%7C9dafaf4a7f4a4275460b08d64bf6dd15%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C636779921039210363&sdata=Nuf9UwUTOPDw6Xip1CG%2FTe7DUR37%2Bdq8Pd6hWYWMLG8%3D&reserved=0 > > --- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- > Well until now we were permitting this as an extension. We could choose to > allow it only under -std=legacy or throw a runtime error. Usually we don't > like > to throw runtime errors for things if not absolutely necessary. As this is a > constraint, we can give the error with F2008 or above. > > In format.c we have: > > default: > /* Assume a missing comma, this is a GNU extension */ > goto format_item_1; > > -- > 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 phone (+64)(4)463 5276 fax (+64)(4)463 5045