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
|
/* PR tree-optimization/82387 */
struct A { int b; };
int f = 1;
struct A
foo (void)
{
struct A h[] = {
{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1},
{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1},
{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1},
{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1},
{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1},
{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1},
{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1},
};
return h[24];
}
int
main ()
{
struct A i = foo (), j = i;
j.b && (f = 0);
return f;
}
|