This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57206] Auto-vectorization fails when array index is an unsigned int expression
- From: "snagavallis at outlook dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 May 2013 10:55:18 +0000
- Subject: [Bug c++/57206] Auto-vectorization fails when array index is an unsigned int expression
- Auto-submitted: auto-generated
- References: <bug-57206-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57206
Sasanka Nagavalli <snagavallis at outlook dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |http://gcc.gnu.org/bugzilla
| |/show_bug.cgi?id=48052
--- Comment #2 from Sasanka Nagavalli <snagavallis at outlook dot com> 2013-05-08 10:55:18 UTC ---
Sorry, in the original description, good1() should have been written as follows
to avoid the warning:
void good1(float * d, unsigned int n)
{
unsigned int i;
for (i=0; i<n; i++)
d[i] = 0.0;
}
This issue may be related to #48052.