This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/77605] wrong code at -O3 on x86_64-linux-gnu
- From: "setsunakun0 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Sep 2016 08:46:01 +0000
- Subject: [Bug tree-optimization/77605] wrong code at -O3 on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-77605-4@http.gcc.gnu.org/bugzilla/>
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.