http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54435
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janus at gcc dot gnu.org --- Comment #4 from janus at gcc dot gnu.org 2012-08-31 13:15:24 UTC --- (In reply to comment #1) > As postscript: Non BT_CLASS should be directly rejected. From F2008: > > C837 (R847) The selector in a select-type-stmt shall be polymorphic. We have such a check in resolve_select_type, which obviously comes too late for gfc_match_select_type.