https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109211
Bug ID: 109211
Summary: f951: internal compiler error: in
gfc_current_interface_head
Product: gcc
Version: 12.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: volker.weissmann at gmx dot de
Target Milestone: ---
My compiler told me to submit a bug report, so here I go:
$ cat bug.f90
module child
contains
module procedure childprod
print *,123
end procedure childprod
end submodule child
$ gfortran -freport-bug -c bug.f90
f951: internal compiler error: in gfc_current_interface_head, at
fortran/interface.cc:4890
0x193c404 internal_error(char const*, ...)
???:0
0x644496 fancy_abort(char const*, int, char const*)
???:0
0x68894d gfc_match_modproc()
???:0
0x734ef4 gfc_parse_file()
???:0
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.