This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18813] not vectorizing obvious loop
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2004 19:51:23 -0000
- Subject: [Bug tree-optimization/18813] not vectorizing obvious loop
- References: <20041203181357.18813.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-03 19:51 -------
Oh, the problem is we don't handle non one increment.
Another example:
int f(unsigned s1, unsigned s2, int *s, int *e)
{
unsigned i;
for (i = s1; i< s2; i+=4)
*s++ = 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18813