summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-45-phis-0.c
blob: 82f47e6413748e5ac5dd6484ce72c973ef28fbac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do link } */
/* { dg-options  "-flto -fipa-type-escape-analysis -fdump-ipa-type-escape-analysis " } */

struct a
{
  struct arc *b;
} c (struct a *d, struct a *e)
{
  while (e)
    d = d;
}
int
main ()
{}

/* { dg-final { scan-ipa-dump "deleting all fields for struct a" "type-escape-analysis" } } */