https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65450
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Uroš Bizjak from comment #0) > The compiler generates unaligned access for Polyhedron channel.f90 test when > compiled with -O2 -mtune=k8: Whoops, this should read "-O3 -mtune=k8". > > /home/uros/gcc-build/gcc/gfortran -B/home/uros/gcc-build/gcc > -B/home/uros/gcc-build/x86_64-unknown-linux-gnu/libgfortran/ > -B/home/uros/gcc-build/x86_64-unknown-linux-gnu/libquadmath/.libs > -L/home/uros/gcc-build/x86_64-unknown-linux-gnu/libgfortran/.libs > -L-L/home/uros/gcc-build/x86_64-unknown-linux-gnu/libquadmath/.libs -O2 > -ffast-math -mtune=k8 channel.f90 And here. Correct flags are "-O3 -mtune=k8". Everything reported is compiled with these two flags only.