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

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
With the patch in comment 4, the caret is shifted one character to the left and
there are some missing characters in the format string. This causes the failure
of the tests gfortran.dg/fmt_error_4.f90 and gfortran.dg/fmt_error_5.f90

Fortran runtime error: Unexpected element 'Q' in format
Q, A)                   <- with patch
   ^
(A, Q, A)               <- unpatched
    ^

Fortran runtime error: Unexpected element 'Q' in format
Q)                   <- with patch
^
(Q)                  <- unpatched
 ^

Reply via email to