* gnat.dg/stack_usage3.adb: Robustify and enable for all targets.

From-SVN: r233859
This commit is contained in:
Eric Botcazou 2016-03-01 17:33:51 +00:00 committed by Eric Botcazou
parent db48a9e352
commit f8e4188cae
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2016-03-01 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/stack_usage3.adb: Robustify and enable for all targets.
2016-02-29 Jeff Law <law@redhat.com>
PR tree-optimization/69987

View File

@ -5,9 +5,7 @@ with Ada.Text_IO; use Ada.Text_IO;
with Stack_Usage3_Pkg; use Stack_Usage3_Pkg;
procedure Stack_Usage3 is
begin
Put_Line (Diag ("Diag line 0"));
Put_Line (Diag ("Diag line 1"));
Put_Line (Diag ("Diag line 2"));
Put_Line (Diag ("Diag line 3"));
@ -22,7 +20,13 @@ begin
Put_Line (Diag ("Diag line 12"));
Put_Line (Diag ("Diag line 13"));
Put_Line (Diag ("Diag line 14"));
Put_Line (Diag ("Diag line 15"));
Put_Line (Diag ("Diag line 16"));
Put_Line (Diag ("Diag line 17"));
Put_Line (Diag ("Diag line 18"));
Put_Line (Diag ("Diag line 19"));
Put_Line (Diag ("Diag line 20"));
end;
-- { dg-final { scan-stack-usage "\t\[0-9\]\[0-9\]\t" { target i?86-*-* x86_64-*-* } } }
-- { dg-final { scan-stack-usage-not "\t\[0-9\]\[0-9\]\[0-9\]\[0-9\]\t" } }
-- { dg-final { cleanup-stack-usage } }