https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943
--- Comment #3 from Andrea Mastellone <artu72 at gmail dot com> --- Created attachment 48460 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48460&action=edit simple test case which reproduces the bug Here is a simple source code replying the bug. I have attached the original module, used by the main procedure. Compiling it (by issuing make debug or make release) produces the error.