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.