https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67814
--- Comment #4 from Jameson <vtjnash at gmail dot com> --- I couldn't find any generic linux binaries for 5.2 (or 6) to test. The downlink link from the download page to https://gcc.gnu.org/wiki/GFortranBinaries seems to go to a non-existant site gfortran.com I tested with the mingw64-gcc v5.2.0 compiler and, like you, was not able to reproduce the issue (I had originally noticed the issue on mingw64-gcc). So it seems like either the issue got resolved, or some other optimization is hiding it (it was pretty sensitive to the set of flags passed to gcc in 4.9.1 and 5.1.1). Is there any chance the fix will be backported to the major binary distribution channels such as Ubuntu?