https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- 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.