Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/920608-1.c

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 foo (p)
4 int *p;
5 {
6 int x;
7 int a;
8
9 a = p[0];
10 x = a + 5;
11 a = -1;
12 p[0] = x - 5;
13 return a;
14 }
15
16 bar (p)
17 {
18 short x;
19 int a;
20
21 x = ((short *) p)[1];
22 #if INHIBIT_COMBINE
23 ((short *) p)[0] = x;
24 #endif
25
26 return (x < 45);
27 }