http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61147
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-05-12 CC| |janus at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Confirmed on 4.9.0 and trunk. The code "works" if I replace class (B), intent(in), target :: this with type (B), intent(in), target :: this however print *, "'", toPointer(obj), "'" prints ''.