OSDN Git Service

a590fa272cb3256450811a66c6e7fd9eac5d22a4
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr43084.c
1 /* PR debug/43084 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -fipa-struct-reorg -fwhole-program -fipa-type-escape -fcompare-debug" } */
4
5 struct S
6 {
7   int a;
8 };
9
10 int
11 main ()
12 {
13   struct S s;
14   struct S *p = &s;
15   return p->a;
16 }