Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / stack-layout-1.c
blob389a4eb051eb424dbf9ab8966586aab6d0657de8
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-strict-aliasing -fdump-rtl-expand" } */
3 union U {
4 int a;
5 float b;
6 };
7 struct A {
8 union U u1;
9 char a[100];
11 void bar (struct A *);
12 void foo ()
15 struct A a;
16 bar (&a);
19 struct A a;
20 bar (&a);
24 /* { dg-final { scan-rtl-dump-times "Partition" 1 "expand" } } */
25 /* { dg-final { cleanup-rtl-dump "expand" } } */