https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87665
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- On x86_64 it fails with -O1 -fstrict-aliasing -ftree-loop-vectorize It still fails if every -fno-xxx option for -O1 is added except -fno-tree-copy-prop so it seems to require: -fstrict-aliasing -ftree-loop-vectorize -ftree-copy-prop On ppc64le it also fails with -O1 -fstrict-aliasing -ftree-loop-vectorize but -ftree-copy-prop isn't the only -O1 pass that matters, several of the -O1 passes are needed to cause the bug (including at least -ftree-copy-prop -ftree-ch -ftree-forwprop but also others I haven't isolated).