Re: [PATCH, Fortran] PR fortran/77764 - ICE in is_anonymous_component

2016-09-30 Thread Andre Vehreschild
Hi Fritz, just out of curiosity: A structure typed can't be used for a class object? Like: structure /T/ integer :: something end structure class(T), allocatable :: foo end When the above *is* allowed then I miss some CLASS_DATA (...) in the code. If not, everything is fine. - Andre On Thu

[PATCH, Fortran] PR fortran/77764 - ICE in is_anonymous_component

2016-09-29 Thread Fritz Reese
ICE in [1] is due to failure to null-guard map components in gfc_compare_union_types. Attached is [obvious] fix - will commit soon without complaints. --- Fritz Reese [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77764 2016-09-29 Fritz Reese Fix ICE for maps with zero components.