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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The following program (pasted in the #fortran IRC channel) is accepted
> by gfortran -- unless -std=f2008 is used.

% gfc pr45288.f90 -std=f95
pr45288.f90:8:25:

    8 |         PRINT '(4(4(F5.2,3H    ),/))',Matrix
      |                         1
Warning: The H format specifier at (1) is a Fortran 95 deleted feature
pr45288.f90:19:28:

   19 |         DATA Matrix(2,1)/2.0/  ! individual values
      |                            1
Error: GNU Extension: re-initialization of 'matrix' at (1)

% gfc pr45288.f90 -pedantic
pr45288.f90:19:28:

   19 |         DATA Matrix(2,1)/2.0/  ! individual values
      |                            1
Warning: GNU Extension: re-initialization of 'matrix' at (1)

since at least GGC5, closing as WORKSFORME.

Reply via email to