aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/951004-1.c
blob: 75644e91b56c4f230bc0b7723d3380f31baf39aa (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
typedef struct
{
  short v, h;
} S;

S a;

void
f (S pnt)
{
  S mpnt, mtp;

  (&pnt)->v -= 1;
  mpnt = pnt;
  mtp = a;
  if (mtp.v != mpnt.v)
    {
      S tpnt;

      tpnt = mtp;
      mtp = mpnt;
      mpnt = tpnt;
    }
}