diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-29 12:05:44 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-29 12:05:44 +0200 |
commit | 91c2cbdb6847c9c1bbf1c0ce9d7e2f9bd7e3e5ab (patch) | |
tree | e0500df5e9169f2d414cedff64d374e236571d13 /gcc/ada/s-taskin.adb | |
parent | 6d47b1e3e982e90a53c20a3f6a7a7ed3cd78132d (diff) | |
download | gcc-91c2cbdb6847c9c1bbf1c0ce9d7e2f9bd7e3e5ab.zip gcc-91c2cbdb6847c9c1bbf1c0ce9d7e2f9bd7e3e5ab.tar.gz gcc-91c2cbdb6847c9c1bbf1c0ce9d7e2f9bd7e3e5ab.tar.bz2 |
[multiple changes]
2009-04-29 Arnaud Charlet <charlet@adacore.com>
* s-taskin.adb (Initialize): Remove pragma Warnings Off and remove
unused assignment.
2009-04-29 Thomas Quinot <quinot@adacore.com>
* make.adb: Minor reformatting.
Minor code reorganization throughout.
2009-04-29 Matteo Bordin <bordin@adacore.com>
* s-stausa.ads: Changed visibility of type Task_Result: moved to
public part to give application visibility over it.
This is for future improvement and to build a public API on top of it.
Changed record components name of type Task_Result to reflect the new
way of reporting.
* s-stausa.adb: Actual_Size_Str changed to reflect the new way of
reporting Stack usage.
* gnat_ugn.texi: Update doc of stack usage report.
* g-tastus.ads, s-stusta.ads, s-stusta.adb: New files.
* Makefile.rtl: Add new run-time files.
From-SVN: r146942
Diffstat (limited to 'gcc/ada/s-taskin.adb')
-rw-r--r-- | gcc/ada/s-taskin.adb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/ada/s-taskin.adb b/gcc/ada/s-taskin.adb index ba5ef09..35fcbdf 100644 --- a/gcc/ada/s-taskin.adb +++ b/gcc/ada/s-taskin.adb @@ -176,9 +176,7 @@ package body System.Tasking is procedure Initialize is T : Task_Id; Base_Priority : Any_Priority; - - Success : Boolean; - pragma Warnings (Off, Success); + Success : Boolean; begin if Initialized then @@ -195,7 +193,6 @@ package body System.Tasking is Base_Priority := Priority (Main_Priority); end if; - Success := True; T := STPO.New_ATCB (0); Initialize_ATCB (null, null, Null_Address, Null_Task, null, Base_Priority, |