http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44913
Richard Guenther rguenth at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44913
--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-14
15:51:22 UTC ---
Author: rguenth
Date: Thu Oct 14 15:51:15 2010
New Revision: 165473
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165473
Log:
2010-10-14 Richard
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44913
Richard Guenther rguenth at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44913
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-23 12:35 ---
Confirmed. We end up vectorizing
void
foo (int *a, int n)
{
int *lasta = a + n;
for (; a != lasta; a++)
{
*a *= 2;
a[1] = a[-1] + a[-2];
}
}
not seeing the dependence of *a vs a[-1]
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Keywords||wrong-code
Target Milestone|--- |4.6.0
--- Comment #1 from hjl dot tools at gmail dot com 2010-07-11 23:11 ---
This is caused by revision 161655:
http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg6.html
--
hjl dot tools at gmail dot com changed:
What|Removed |Added