2011-06-16 Tom de Vries <tom@codesourcery.com>
PR target/45098
* gcc.target/arm/ivopts-3.c: Update test.
* gcc.target/arm/ivopts-5.c: Same.
From-SVN: r175106
+2011-06-16 Tom de Vries <tom@codesourcery.com>
+
+ PR target/45098
+ * gcc.target/arm/ivopts-3.c: Update test.
+ * gcc.target/arm/ivopts-5.c: Same.
+
2011-06-16 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
Revert
{
int sum = 0;
unsigned int x;
- x = 0;
- while (1)
- {
- sum += foo2 (&array[x]);
- if (!(x < n))
- break;
- x++;
- }
+ for (x = 0; x < n; ++x)
+ sum += foo2 (&array[x]);
return sum;
}
{
int sum = 0;
unsigned int x;
- x = 0;
- while (1)
- {
- sum += foo (&array[x]);
- if (!(x < n))
- break;
- x++;
- }
+ for (x = 0; x < n; ++x)
+ sum += foo (&array[x]);
return sum;
}