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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org
         Depends on|                            |68241

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The code is correctly compiled if I replace

    character(len=:), dimension(:),allocatable:: ca

with

    character(len=N), dimension(:),allocatable:: ca

or

    read (buffer, '(3A5)') ca(1:3)

with

    read (buffer, '(3A5)') ca

It could be related to pr68241.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241
[Bug 68241] [meta-bug] [F03] Deferred-length character

Reply via email to