]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gnat.dg/stack_usage3.adb: Robustify and enable for all targets.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 1 Mar 2016 17:33:51 +0000 (17:33 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 1 Mar 2016 17:33:51 +0000 (17:33 +0000)
From-SVN: r233859

gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/stack_usage3.adb

index 83a41c762a0a0d5cf7f7fb91af8b8288ffeaa2bb..5c88b72440f0da05e855aee31a9dbd5ceeb9337a 100644 (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
index fcc5cacf70722b5f6ef29e12d0e5d50cf2c55d2c..bd7d811612ad22b25b960b55284d47d51b9af4ba 100644 (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 } }