This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48172] [4.5/4.6/4.7 Regression] incorrect vectorization of loop in GCC 4.5.* with -O3
- From: "irar at il dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Mar 2011 17:12:09 +0000
- Subject: [Bug tree-optimization/48172] [4.5/4.6/4.7 Regression] incorrect vectorization of loop in GCC 4.5.* with -O3
- Auto-submitted: auto-generated
- References: <bug-48172-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48172
Ira Rosen <irar at il dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |irar at il dot ibm.com
--- Comment #5 from Ira Rosen <irar at il dot ibm.com> 2011-03-19 17:11:46 UTC ---
(In reply to comment #4)
>
> In particular for all tests the segment size we use for the alias tests
> is not enough for data-refs with differing DR_STEP. It would need to
> take the number of iterations into account.
Right, instead of checking
init_addr1 + step1 * vf < init_addr2
we should check something like
init_addr1 + step1 * vf + scalar_niters * (step1 - step2) < init_addr2
(or the other direction).