http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50640
--- Comment #16 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-06 19:42:22 UTC --- Created attachment 25730 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25730 Possible patch which pushes the vtab to the toplevel Based on Michael's suggestion (comment 4), this patch pushes the vtable to the top level. I am not sure whether one needs to fix other occurrences as well or whether it regtests, but it fixes select_type_12.f03. (Additionally, I set TREE_READONLY to fix PR 50960.)