[Bug fortran/58185] [4.8/4.9 Regression] [OOP] ICE when selector in SELECT TYPE is non-polymorphic

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 18 10:01:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58185

--- Comment #2 from janus at gcc dot gnu.org ---
(In reply to janus from comment #1)
> 0x567f7e copy_ts_from_selector_to_associate
>         /home/janus/gcc49/trunk/gcc/fortran/match.c:5171


I think this is where the problem is. This function should be fixed to not call
gfc_build_class_symbol with ts->u.derived == NULL.



More information about the Gcc-bugs mailing list