https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311
--- Comment #43 from anlauf at gcc dot gnu.org --- Mabye the fprem issue was a red herring from the beginning, pointing to a problem in a different place. I recompiled each module in a loop with -O0 until the FPE went away. instances_sub.f90 seems the file someone wants to look at. Works at -O0, -O1, -Os, -O2 -fno-tree-vectorize Fails at -O2, -O3 on x86_64-pc-linux-gnu. Jürgen: can you reduce this even more with this information?