PR tree-optimization/66720
* gcc.dg/vect/pr48052.c: Use dg-require-effective-target
vect_int_mult.
From-SVN: r225443
+2015-07-06 Bin Cheng <bin.cheng@arm.com>
+
+ PR tree-optimization/66720
+ * gcc.dg/vect/pr48052.c: Use dg-require-effective-target
+ vect_int_mult.
+
2015-07-05 Chung-Lin Tang <cltang@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
/* { dg-do compile } */
-/* { dg-additional-options "-O3" } */
+/* { dg-require-effective-target vect_int_mult } */
int foo(int* A, int* B, unsigned start, unsigned BS)
{
- int s;
+ int s = 0;
for (unsigned k = start; k < start + BS; k++)
{
s += A[k] * B[k];
int bar(int* A, int* B, unsigned BS)
{
- int s;
+ int s = 0;
for (unsigned k = 0; k < BS; k++)
{
s += A[k] * B[k];