https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89079
--- Comment #4 from airplanemath <airplanemath at aol dot com> --- The line that the cygwin-native compiler crashes on: attributes = gfc_add_attributes_to_decl (com->head->attr, NULL_TREE); is not present in the Mingw-w64 cross compiler. Side-by-side debugging sessions reveal control flow through the two versions of build_common_decl are almost identical up to that point, except the cygwin-native compiler executes a line like TREE_PUBLIC (decl) = 1; which is not present in the Mingw-w64 execution. I asked for clarification on why the attributes line was there on the cygwin list.