https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72755
Bug ID: 72755 Summary: Internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1369 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: fmartinez at gmv dot com Target Milestone: --- Created attachment 39030 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39030&action=edit Module generating the error Dear gfortran team, the provided code generates the following internal error. The warning is part of te stack of messages that I believe is not related. Cheers, Fran Warning: Only array FINAL procedures declared for derived type ‘t_msg’ defined at (1), suggest also scalar one [-Wsurprising] m_messages.f03:293:0: end subroutine messages_dump_error_stack 1 internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1369 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. ../../templates/makeInclude.mak:386: recipe for target '/home/fran/atlantis/src/utilities/Debug/m_messages.o' failed make: *** [/home/fran/atlantis/src/utilities/Debug/m_messages.o] Error 1