This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32824] New: Missed reduction vectorizer after store to global is LIM'd
- 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: 19 Jul 2007 16:55:51 -0000
- Subject: [Bug tree-optimization/32824] New: Missed reduction vectorizer after store to global is LIM'd
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase:
int a[16*100];
int e;
float f(void)
{
int i;
for(i = 0;i<16*100;i++)
e += a[i];
}
rt.c:7: note: not vectorized: unsupported use in stmt.
If I manually LIM'd e, then this is vectorized.
--
Summary: Missed reduction vectorizer after store to global is
LIM'd
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32824