[Bug fortran/54435] [4.7/4.8 Regression] ICE with SELECT TYPE on a non-CLASS object

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 31 13:15:00 GMT 2012


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.



More information about the Gcc-bugs mailing list