libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr84419.c
blob4864f8eb934dd5eaf78357d130c672f92f8b6d22
1 #include <string.h>
3 #define SIZE 400
5 int foo[SIZE];
6 char bar[SIZE];
8 void __attribute__ ((noinline)) foo_func(void)
10 int i;
11 for (i = 1; i < SIZE; i++)
12 if (bar[i])
13 foo[i] = 1;
16 int main()
18 memset(bar, 1, sizeof(bar));
19 foo_func();
20 return 0;