https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118537
--- Comment #15 from Julian Andres Klode <j...@jak-linux.org> --- I have the answer(In reply to Andrew Pinski from comment #12) > A few things to test out first: > Is it -fsanitize=address clean? I managed to recompile it with that option and annoyingly, that also prevents the bug from happening (just like valgrind) :)