libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr114998.c
blob81fc1e077cb9ff21f14d1410b4c09dc05c914b05
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fno-tree-dce -ftree-loop-distribution" } */
4 short a, d;
5 int b, c, f, g, h, i, j[2], o;
6 __attribute__((const)) int s(char r);
7 int main() {
8 int l, m, k, n;
9 if (b) {
10 char p;
11 for (; p >= 0; p--) {
12 int e[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0,
14 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1,
15 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0};
16 if (j[p]) {
17 int q[1];
18 i = o;
19 o = q[h];
20 if (g)
21 n = d;
22 m = 4;
23 for (; m; m--) {
24 if (l)
25 k |= c;
26 if (a)
27 break;
30 s(n);
31 f |= b;
34 return 0;