Handle assembler name in -fdisable/enable options
[official-gcc.git] / gcc / testsuite / gcc.dg / inline_3.c
blob70a23665de2923e6af0007ae72739bf3cfa3b083
1 /* { dg-do compile { target i?86-*-linux* x86_64-*-linux* } } */
2 /* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=foo,foo2 -fdisable-ipa-inline" } */
3 int g;
4 __attribute__((always_inline)) void bar (void)
6 g++;
9 int foo (void)
11 bar ();
12 return g;
15 int foo2 (void)
17 bar();
18 return g + 1;
21 /* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */
22 /* { dg-final { cleanup-tree-dump "optimized" } } */
23 /* { dg-excess-errors "extra notes" } */