Commit f008d5dc by Richard Henderson Committed by Richard Henderson

Testcase for pr53749

From-SVN: r188956
parent ec62cbe1
2012-06-25 Richard Henderson <rth@redhat.com>
* gcc.dg/pr53749.c: New.
2012-06-25 Jason Merrill <jason@redhat.com> 2012-06-25 Jason Merrill <jason@redhat.com>
PR c++/52988 PR c++/52988
......
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize" } */
#define N 1024
unsigned char a[N], b[N], c[N];
void f1(void)
{
int i;
for (i = 0; i < N; ++i)
a[i] = b[i] * c[i];
}
void f2(void)
{
int i;
for (i = 0; i < N; ++i)
a[i] = b[i] * 2;
}
void f3(void)
{
int i;
for (i = 0; i < N; ++i)
a[i] = b[i] * 20;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment