libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr111882.c
blob024ad57b6930dd1f516e9c8127e2b440016360c6
1 /* { dg-do compile } */
2 /* { dg-additional-options { -fdump-tree-ifcvt-all } } */
4 static void __attribute__((noipa)) f(int n) {
5 int i, j;
6 struct S { char d[n]; int a; int b : 17; int c : 12; };
7 struct S A[100][1111];
8 for (i = 0; i < 100; i++) {
9 asm volatile("" : : "g"(&A[0][0]) : "memory");
10 for (j = 0; j < 1111; j++) A[i][j].b = 2;
13 void g(void) { f(1); }
15 /* { dg-final { scan-tree-dump-not "Bitfield OK to lower" "ifcvt" } } */