libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr93586.c
blobe861bdcd78ee81bc8f3eca50deb76622638f6e18
1 /* { dg-do run } */
2 /* { dg-additional-options "-fgimple" } */
4 int __GIMPLE(ssa) foo(int j)
6 int c[1][10][1];
7 int _1;
9 __BB(2):
10 c[0][1][0] = 1;
11 c[0][1] = _Literal (int[1]) {};
12 _1 = c[0][j_2(D)][0];
13 return _1;
16 int main()
18 if (foo (1) != 0)
19 __builtin_abort ();
20 return 0;