This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/53355] Autovectorization of a simple loop could be improved.
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 May 2012 12:32:11 +0000
- Subject: [Bug tree-optimization/53355] Autovectorization of a simple loop could be improved.
- Auto-submitted: auto-generated
- References: <bug-53355-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53355
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-18 12:32:11 UTC ---
The following testcase (extracted from PR53346, which stores zero though) shows
another case of slowness
void foo (int *p, int n)
{
int i;
for (i = 0; i < n; ++i)
p[i] = 1;
}