https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83436
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to Daan van Vugt from comment #5) > Okay, turned out I missed the critical lines in my bug report... > Could you try again with this example? > WORKSFORME, but then again I use gfortan. > > I have compiled it as: > mpif90 -march=native -cpp -fopenmp -Wall -Wextra -Wno-unused-variable -g -Og ^^^^^^ That is not gfortran. What happens if (1) you remove all of the options and (2) you actually invoke gfortran?