http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57297
Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #30138|0 |1 is obsolete| | --- Comment #9 from Mikael Morin <mikael at gcc dot gnu.org> --- Created attachment 30148 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30148&action=edit frontend patch, third try Another variant, yet not passing the testsuite. This one moves the class_pointer attribute from the class container's type to the class container, so that the type can be shared between non-pointer and pointer variants. It regresses on class_optional_2.f90 (among a few others) because some pointer array specs become of type AS_ASSUMED_SHAPE instead of AS_DEFERRED without the patch. The reasons for that are beyond my understanding so far.