https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112307
--- Comment #14 from mcccs at gmx dot com --- Created attachment 61179 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61179&action=edit reduced.cpp I think this reduction is valid. Fails with -O1 -fcode-hoisting, doesn't fail with -O0 or -O3 or with LLVM's various sanitizers