Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr96796.c

raw
1 /* { dg-additional-options "-std=gnu17 -fpermissive -fcommon" } */
2 /* { dg-require-effective-target non_strict_prototype } */
3
4 struct S0 {
5 signed f0 : 8;
6 unsigned f1;
7 unsigned f4;
8 };
9 struct S1 {
10 long f3;
11 char f4;
12 } g_3_4;
13
14 int g_5, func_1_l_32, func_50___trans_tmp_31;
15 static struct S0 g_144, g_834, g_1255, g_1261;
16
17 int g_273[120] = {};
18 int *g_555;
19 char **g_979;
20 static int g_1092_0;
21 static int g_1193;
22 int safe_mul_func_int16_t_s_s(int si1, int si2) { return si1 * si2; }
23 static struct S0 *func_50();
24 int func_1() { func_50(g_3_4, g_5, func_1_l_32, 8, 3); }
25 void safe_div_func_int64_t_s_s(int *);
26 void safe_mod_func_uint32_t_u_u(struct S0);
27 struct S0 *func_50(int p_51, struct S0 p_52, struct S1 p_53, int p_54,
28 int p_55) {
29 int __trans_tmp_30;
30 char __trans_tmp_22;
31 short __trans_tmp_19;
32 long l_985_1;
33 long l_1191[8];
34 safe_div_func_int64_t_s_s(g_273);
35 __builtin_printf((char*)g_1261.f4);
36 safe_mod_func_uint32_t_u_u(g_834);
37 g_144.f0 += 1;
38 for (;;) {
39 struct S1 l_1350 = {&l_1350};
40 for (; p_53.f3; p_53.f3 -= 1)
41 for (; g_1193 <= 2; g_1193 += 1) {
42 __trans_tmp_19 = safe_mul_func_int16_t_s_s(l_1191[l_985_1 + p_53.f3],
43 p_55 % (**g_979 = 10));
44 __trans_tmp_22 = g_1255.f1 * p_53.f4;
45 __trans_tmp_30 = __trans_tmp_19 + __trans_tmp_22;
46 if (__trans_tmp_30)
47 g_1261.f0 = p_51;
48 else {
49 g_1255.f0 = p_53.f3;
50 int *l_1422 = g_834.f0 = g_144.f4 != (*l_1422)++ > 0 < 0 ^ 51;
51 g_555 = ~0;
52 g_1092_0 |= func_50___trans_tmp_31;
53 }
54 }
55 }
56 }