libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr109473.c
blob9dee5515dc665e2d32baec8c503178216ab15cbd
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O" } */
4 struct spa_buffer {
5 __UINT32_TYPE__ *metas;
6 };
7 void do_port_use_buffers(struct spa_buffer **buffers, void *endptr, void *mem)
9 for (int i = 0; i < 128; i++)
11 for (int j = 0; j < 128; j++)
12 endptr = (void *)((__UINTPTR_TYPE__)endptr + buffers[i]->metas[j]);
13 if (endptr > mem)
14 return;