111
|
1 /* PR bootstrap/41241 */
|
|
2 /* { dg-do compile } */
|
|
3 /* { dg-options "-O2 -fcompare-debug -g" } */
|
|
4 /* { dg-options "-O2 -fcompare-debug -g -march=i586 -mtune=i586 -fomit-frame-pointer" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
|
|
5 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
|
|
6
|
|
7 typedef struct { int t1; int t2; int t3; } *T;
|
|
8 typedef struct { int s; } S;
|
|
9
|
|
10 int fn1 (int);
|
|
11 int fn2 (int, int, int);
|
|
12 int fn3 (void);
|
|
13
|
|
14 static S
|
|
15 bar ()
|
|
16 {
|
|
17 S s = { 0 };
|
|
18 return s;
|
|
19 }
|
|
20
|
|
21 void
|
|
22 foo (T x)
|
|
23 {
|
|
24 int a, b, c, d, e;
|
|
25 T f, g;
|
|
26 S h;
|
|
27 a = x->t2;
|
|
28 fn1 (x->t1);
|
|
29 h = bar (b);
|
|
30 c = fn1 (e);
|
|
31 d = fn3 ();
|
|
32 f->t3 &= g->t3 |= fn2 (0, b, x->t1);
|
|
33 fn2 (0, c, d);
|
|
34 fn2 (0, e, 0);
|
|
35 }
|