blob: 67c1d8db6ebdc43eacb88f21078f08026a6912ea (
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 b *b;
} c (struct a *d)
{
while (d)
;
}
void
main ()
{}
/* { dg-final { scan-ipa-dump "deleting all fields for struct a" "type-escape-analysis" } } */
|