[Bug fortran/60289] allocating class(*) pointer as character gives type-spec requires the same character-length parameter

ondrej.certik at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 9 22:54:00 GMT 2014


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

Ondřej Čertík <ondrej.certik at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ondrej.certik at gmail dot com

--- Comment #4 from Ondřej Čertík <ondrej.certik at gmail dot com> ---
Is there any workaround for this bug?

I am porting a code to gfortran and hit this bug. "P" in my code has various
types, so it needs to be class(*). I then need to allocate it and gfortran
prevents it due to this bug.

Still present in gfortran 4.9.2.


More information about the Gcc-bugs mailing list