https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943
--- Comment #2 from Andrea Mastellone <artu72 at gmail dot com> --- (In reply to kargl from comment #1) > There is very little we can do without a minimum example that shows the > problem. What you have attached cannot be compiled by anyone as > deallocate_vars.f90 contains a dozen or so USE statements and you haven't > provided those modules. In addition, we don't do mpif90. What happens if > you remove all of the unnecessary compiler options you use and use actually > use gfortran. Ok, i will try to reduce the code to minimal part that can reproduce the problem without using mpif90. I'll send you something asap.