libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-pr98685.c
blobb213335da787fd7e3a14ff2d66f7cd46cff77944
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
4 char onelock_lock[16];
5 void write(void);
7 void lockit(int count) {
8 for (; count;) {
9 int pid, i;
10 char *p;
11 for (i = 0, p = (char *)&pid; i < sizeof 0; i++)
12 onelock_lock[i] = *p++;
13 write();