2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / inline-7.c
blob5002aa098f3e264f8ad2a363c792329febb4b874
1 /* Check that early inliner works out that a is empty of parameter 0. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-einline -fno-partial-inlining" } */
4 void t(void);
5 int a (int b)
7 if (!b)
9 t();
10 t();
11 t();
12 t();
13 t();
14 t();
15 t();
18 void
19 m()
21 a(1);
22 a(0);
24 /* { dg-final { scan-tree-dump-times "Inlining a into m" 1 "einline" } } */