[Bug fortran/80666] character length parameter fails if declaration order incorrect

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Mon May 8 15:59:00 GMT 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-05-08
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Why do you think this a bug in gfortran?

The code compiles if you remove 'implicit none'. With it you have to define
'keylen' before using it, as in you second test.


More information about the Gcc-bugs mailing list