[Bug fortran/64120] [F03] Wrong handling of allocatable character string

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 30 17:28:00 GMT 2014


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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #2 from kargl at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #1)
> Already present in 4.5.4. With 4.4.7 I get
> 
>       character(len=x), allocatable :: s
>                                         1
> Error: Scalar object 's' at (1) may not be ALLOCATABLE

Of course you'll get errors with 4.5.4 and 4.4.7.  Support
for deferred parameter type was added in 4.6.

-- 
steve



More information about the Gcc-bugs mailing list