libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr103093.c
blob36ec1b9d098fa6f55cd351b69c34cf20c5214d4c
1 /* { dg-do compile } */
2 /* { dg-options "-fpermissive -O2" } */
4 int i_0, c_4, uc_7, func_2_c_11;
6 short *func_2_ptr_10;
8 void func_2() {
9 uc_7 = 7;
10 for (; uc_7 <= 60; uc_7 += 1) {
11 c_4 = 5;
12 for (; c_4 <= 76; c_4 += 1) {
13 func_2_ptr_10 = &i_0; /* { dg-warning "assignment to .*" } */
14 if ((i_0 |= 5) > 0 ?: (60 && uc_7) | *func_2_ptr_10)
15 if (func_2_c_11)
16 for (;;)