* testsuite/libgomp.oacc-c-c++-common/vector-loop.c: Fix loop
initializer.
From-SVN: r228737
+2015-10-12 James Norris <jnorris@codesourcery.com>
+
+ * testsuite/libgomp.oacc-c-c++-common/vector-loop.c: Fix loop
+ initializer.
+
2015-10-09 David Malcolm <dmalcolm@redhat.com>
* testsuite/lib/libgomp.exp: Load multiline.exp before prune.exp,
int
main (void)
{
- for (unsigned int i; i < n; ++i)
+ for (unsigned int i = 0; i < n; ++i)
{
a[i] = i % 3;
b[i] = i % 5;
c[i] = a[i] + b[i];
}
- for (unsigned int i; i < n; ++i)
+ for (unsigned int i = 0; i < n; ++i)
if (c[i] != (i % 3) + (i % 5))
abort ();