https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70970
--- Comment #2 from Rodrigo <rcc.dark at gmail dot com> --- Just noticed a dumb mistake in the parameter order of memalign (_aligned_malloc is (size, alignment); memalign is (alignment, size)) but the problem persists. Also forgot that I had to use -march=native under 5.3.1 but not 5.2.0. Sorry for the possible confusion this may cause, the computers in which I tested differ a lot. I just hope you can reproduce it without problems.