https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77605
byuu <setsunakun0 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |setsunakun0 at hotmail dot com
--- Comment #2 from byuu <setsunakun0 at hotmail dot com> ---
This bug is caused by tree-loop-vectorize, and it affects non-Linux platforms
as well (gcc version 5.1.0 (tdm64-1) Windows here.) It works correctly with -O3
-fno-tree-loop-vectorize. I've run into improperly generated code several times
due to this optimization, but was unable to produce such a succinct test case
for a bug report.