https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83282

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
We now do the following:

$ gfc pr83282.f90 
pr83282.f90:1:13:

    1 |    write(*,'(aa)') "ab", "bc"
      |             1
Warning: Legacy Extension: Missing comma in FORMAT string at (1)
pr83282.f90:3:19:

    3 |    write(*,'(a,"cd"a)') "ab", "bc"
      |                   1
Warning: Legacy Extension: Missing comma in FORMAT string at (1)
$ ./a.out 
At line 1 of file pr83282.f90 (unit = 6, file = 'stdout')
Fortran runtime error: Missing comma between descriptors
(aa)
  ^
Using -std=legacy we get:

$ gfc -std=legacy  pr83282.f90 
$ ./a.out 
abbc
abbc
abcdbc

I would like to close this.

Reply via email to