2 -- { dg-options "-O2 -fdump-tree-optimized" }
4 package body Noinline2
is
6 function Inner
(A
, B
: Integer) return Integer;
7 pragma No_Inline
(Inner
);
9 function Inner
(A
, B
: Integer) return Integer is
14 function F
(A
, B
: Integer) return Integer is
16 return Inner
(A
, B
) + Inner
(A
, -B
);
21 -- { dg-final { scan-tree-dump-times "noinline2.inner" 4 "optimized" } }