gcc/testsuite/ChangeLog:
PR/tree-optimization 88903
* gcc.dg/vect/pr88903-1.c: Add explicit &.
From-SVN: r268144
+2019-01-22 Tamar Christina <tamar.christina@arm.com>
+
+ PR/tree-optimization 88903
+ * gcc.dg/vect/pr88903-1.c: Add explicit &.
+
2019-01-22 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/88904
{
for (int i = 0; i < 512; ++i)
{
- x[2*i] = x[2*i] << (i+1);
- x[2*i+1] = x[2*i+1] << (i+1);
+ x[2*i] = x[2*i] << ((i+1) & 31);
+ x[2*i+1] = x[2*i+1] << ((i+1) & 31);
}
}
x[i] = i;
foo ();
for (int i = 0; i < 1024; ++i)
- if (x[i] != i << (i/2+1))
+ if (x[i] != i << ((i/2+1) & 31))
__builtin_abort ();
return 0;
}