aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/920608-1.c
blob: cae1978e6c01aa85be5f92107f683e8344addfda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
foo (p)
     int *p;
{
  int x;
  int a;

  a = p[0];
  x = a + 5;
  a = -1;
  p[0] = x - 5;
  return a;
}

bar (p)
{
  short x;
  int a;

  x = ((short *) p)[1];
#if INHIBIT_COMBINE
  ((short *) p)[0] = x;
#endif

  return (x < 45);
}