[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr53749.c
blob136b5b09c52656ccc9f38eb31731dc8555f2825d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize" } */
4 #define N 1024
5 unsigned char a[N], b[N], c[N];
7 void f1(void)
9 int i;
10 for (i = 0; i < N; ++i)
11 a[i] = b[i] * c[i];
14 void f2(void)
16 int i;
17 for (i = 0; i < N; ++i)
18 a[i] = b[i] * 2;
21 void f3(void)
23 int i;
24 for (i = 0; i < N; ++i)
25 a[i] = b[i] * 20;