Debian Codegraph @

gcc/testsuite/gcc.dg/ipa/pr108679.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu17 -O2" } */
3
4 struct S1 {
5 signed f0;
6 };
7 struct S2 {
8 struct S1 f2;
9 short f8;
10 } g_18;
11 void safe_lshift_func_int16_t_s_u();
12 void safe_unary_minus_func_uint64_t_u();
13 int safe_mul_func_uint8_t_u_u(int, struct S1 p_14);
14 int g_732, func_6_l_17;
15 static int *func_12();
16 static int func_6(struct S2 p_7) { func_12(func_6_l_17, p_7.f2, g_18, 0); }
17 static int *func_12(int, struct S1 p_14) {
18 safe_lshift_func_int16_t_s_u();
19 safe_unary_minus_func_uint64_t_u();
20 g_732 = safe_mul_func_uint8_t_u_u(0, p_14);
21 }
22 int main() {
23 struct S2 l_10 = {3};
24 func_6(l_10);
25 }