Commit f8e4188c by Eric Botcazou Committed by Eric Botcazou

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

From-SVN: r233859
parent db48a9e3
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> 2016-02-29 Jeff Law <law@redhat.com>
PR tree-optimization/69987 PR tree-optimization/69987
......
...@@ -5,9 +5,7 @@ with Ada.Text_IO; use Ada.Text_IO; ...@@ -5,9 +5,7 @@ with Ada.Text_IO; use Ada.Text_IO;
with Stack_Usage3_Pkg; use Stack_Usage3_Pkg; with Stack_Usage3_Pkg; use Stack_Usage3_Pkg;
procedure Stack_Usage3 is procedure Stack_Usage3 is
begin begin
Put_Line (Diag ("Diag line 0"));
Put_Line (Diag ("Diag line 1")); Put_Line (Diag ("Diag line 1"));
Put_Line (Diag ("Diag line 2")); Put_Line (Diag ("Diag line 2"));
Put_Line (Diag ("Diag line 3")); Put_Line (Diag ("Diag line 3"));
...@@ -22,7 +20,13 @@ begin ...@@ -22,7 +20,13 @@ begin
Put_Line (Diag ("Diag line 12")); Put_Line (Diag ("Diag line 12"));
Put_Line (Diag ("Diag line 13")); Put_Line (Diag ("Diag line 13"));
Put_Line (Diag ("Diag line 14")); 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; 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 } } -- { dg-final { cleanup-stack-usage } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment