Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr79125.c

raw
1 /* { dg-additional-options "-fpermissive" } */
2 int za;
3
4 void
5 hl (void)
6 {
7 short int o8 = 0;
8 short int m6 = 1;
9 short int *ni = &m6;
10
11 for (;;)
12 {
13 int af;
14 short int *fd = (short int *)∋
15
16 if (ni != 0)
17 {
18 if (m6 != 0)
19 *ni = 0;
20 else
21 za = 0;
22 af = (o8 * o8) || o8;
23 if (af == 0)
24 m6 /= 0; /* { dg-warning "division" } */
25 while (za != 0)
26 {
27 }
28 }
29 *fd = &o8; /* { dg-warning "without a cast" } */
30 for (af = 0; af < 2; ++af)
31 af = za;
32 }
33 }