summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/921109-1.c
blob: eda43451f2570fbbbc2c8b5aca555b3fb7949ac1 (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
26
27
28
typedef struct { double x, y; } p;
typedef struct { int s; float r; } t;
t *e, i;
int i1;

f(t *op)
{
int i2 = e->r;
p pt;
int c = g();
t p;

if (c)
{
i = *e;
e -= 3;
return 8;
}
if (op > e)
return 1;
op->r = pt.x;
op->r = pt.y;
p = *e;
++e;
e->r = i1, e->s = i1;
*++e = p;
return 3;
}