2 -- { dg-options "-O2 -fstack-usage" }
4 with Stack_Usage1_Pkg
; use Stack_Usage1_Pkg
;
6 procedure Stack_Usage1c
is
8 A
: Integer := Ident_Int
(123);
13 My_Proc
(R
'(Ident_Int(0), Ident_Int(1), Ident_Int(2), Ident_Int(3), Ident_Int(4), Ident_Int(5), Ident_Int(6), Ident_Int(7), Ident_Int(8), Ident_Int(9)));
15 My_Proc (R'(Ident_Int
(0), Ident_Int
(1), Ident_Int
(2), Ident_Int
(3), Ident_Int
(4), Ident_Int
(5), Ident_Int
(6), Ident_Int
(7), Ident_Int
(8), Ident_Int
(9)));
17 My_Proc
(R
'(Ident_Int(0), Ident_Int(1), Ident_Int(2), Ident_Int(3), Ident_Int(4), Ident_Int(5), Ident_Int(6), Ident_Int(7), Ident_Int(8), Ident_Int(9)));
19 My_Proc (R'(Ident_Int
(0), Ident_Int
(1), Ident_Int
(2), Ident_Int
(3), Ident_Int
(4), Ident_Int
(5), Ident_Int
(6), Ident_Int
(7), Ident_Int
(8), Ident_Int
(9)));
21 My_Proc
(R
'(Ident_Int(0), Ident_Int(1), Ident_Int(2), Ident_Int(3), Ident_Int(4), Ident_Int(5), Ident_Int(6), Ident_Int(7), Ident_Int(8), Ident_Int(9)));
23 My_Proc (R'(Ident_Int
(0), Ident_Int
(1), Ident_Int
(2), Ident_Int
(3), Ident_Int
(4), Ident_Int
(5), Ident_Int
(6), Ident_Int
(7), Ident_Int
(8), Ident_Int
(9)));
25 My_Proc
(R
'(Ident_Int(0), Ident_Int(1), Ident_Int(2), Ident_Int(3), Ident_Int(4), Ident_Int(5), Ident_Int(6), Ident_Int(7), Ident_Int(8), Ident_Int(9)));
27 My_Proc (R'(Ident_Int
(0), Ident_Int
(1), Ident_Int
(2), Ident_Int
(3), Ident_Int
(4), Ident_Int
(5), Ident_Int
(6), Ident_Int
(7), Ident_Int
(8), Ident_Int
(9)));
29 My_Proc
(R
'(Ident_Int(0), Ident_Int(1), Ident_Int(2), Ident_Int(3), Ident_Int(4), Ident_Int(5), Ident_Int(6), Ident_Int(7), Ident_Int(8), Ident_Int(9)));
31 My_Proc (R'(Ident_Int
(0), Ident_Int
(1), Ident_Int
(2), Ident_Int
(3), Ident_Int
(4), Ident_Int
(5), Ident_Int
(6), Ident_Int
(7), Ident_Int
(8), Ident_Int
(9)));
38 -- { dg-final { scan-stack-usage "\t\[0-9\]\[0-9\]\t" { target i?86-*-* x86_64-*-* } } }
39 -- { dg-final { cleanup-stack-usage } }