[Bug fortran/51055] deferred length character allocation: allocate(character(len=i)::s) rejected

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 10 08:38:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51055

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid, wrong-code
         Depends on|                            |45170

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-10 08:20:12 UTC ---
(In reply to comment #2)
> However, your workaround doesn't seem to work either:
>  s=repeat(' ',j)

Try: s = (repeat(' ', j)

I think the issue is somewhat covered in PR 45170 comment 14



More information about the Gcc-bugs mailing list