https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116885
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Jaroslav Fojtík from comment #3) > It seems to me that this problem has something to do with memcpy optimised > for AVX, that newly requests everything to be alligned. As shown by the valgrind output, the problem appears to be a wild pointer which is then passed to memcpy, wherever that comes from.