[Bug fortran/91773] New: Buffer overflow for long module/submodule names
andreas at skeidsvoll dot no
gcc-bugzilla@gcc.gnu.org
Sun Sep 15 12:30:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91773
Bug ID: 91773
Summary: Buffer overflow for long module/submodule names
Product: gcc
Version: 9.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: andreas at skeidsvoll dot no
Target Milestone: ---
The compilation of a submodule file crashes with error
*** buffer overflow detected ***: /usr/lib/gcc/x86_64-linux-gnu/9/f951
terminated
f951: internal compiler error: Aborted
when both the module and submodule names are long, and the submodule
declaration is on the form
submodule (long_module_name) long_submodule_name
The error appears when using both GCC 8.3 and 9.1, and disappears when any of
the two names are shortened.
More information about the Gcc-bugs
mailing list