This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/57206] Auto-vectorization fails when array index is an unsigned int expression


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]