Merge trunk at revision 160193 into branch.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / foldaddr-3.c
blobb764187a029f335860e0cb826b9dcf3ee208e96d
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
3 union a
5 struct s1
7 long long a;
8 long long b;
9 } s1;
10 struct s2
12 int c;
13 int d;
14 } s2;
15 struct s3
17 unsigned long long e;
18 unsigned long long f;
19 } s3;
20 } a;
21 int *
22 t ()
24 return (int *) &a;
27 /* { dg-final { scan-tree-dump "a.s2.c" "optimized"} } */
28 /* { dg-final { cleanup-tree-dump "optimized" } } */