This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48172] [4.5/4.6/4.7 Regression] incorrect vectorization of loop in GCC 4.5.* with -O3


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]