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

struct a
{
  struct a_inner *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" } } */