diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 15:10:33 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 15:10:33 +0200 |
commit | ded8909b241d9fd6e60981085c0fd9246392472f (patch) | |
tree | 31260f5efb109439c9337953245e792f3b84b436 /gcc/ada/s-stusta.adb | |
parent | 70c34e1c94f276d6f306ed92b892cbe7340acd65 (diff) | |
download | gcc-ded8909b241d9fd6e60981085c0fd9246392472f.zip gcc-ded8909b241d9fd6e60981085c0fd9246392472f.tar.gz gcc-ded8909b241d9fd6e60981085c0fd9246392472f.tar.bz2 |
[multiple changes]
2011-08-02 Robert Dewar <dewar@adacore.com>
* sem_ch3.adb, sem_ch5.adb, sem_type.adb, switch-c.adb, switch-c.ads,
sem_prag.adb, sem_util.adb, sem_util.ads, sem_res.adb, warnsw.ads,
prepcomp.ads, cstand.adb, stand.ads, a-calfor.adb, s-stusta.adb:
Minor reformatting.
2011-08-02 Ed Schonberg <schonberg@adacore.com>
* sem_attr.adb: handle properly 'Result when it is a prefix of an
indexed component.
2011-08-02 Javier Miranda <miranda@adacore.com>
* einfo.ads, einfo.adb
(Original_Access_Type): Move this attribute to Node26 since there was
an undocumented use of Node21 in E_Access_Subprogram_Type entities
which causes conflicts and breaks the generation of the .NET compiler.
(Interface_Name): Add missing documentation on JGNAT only uses of
this attribute.
From-SVN: r177145
Diffstat (limited to 'gcc/ada/s-stusta.adb')
-rw-r--r-- | gcc/ada/s-stusta.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/s-stusta.adb b/gcc/ada/s-stusta.adb index e690c74..da925a7 100644 --- a/gcc/ada/s-stusta.adb +++ b/gcc/ada/s-stusta.adb @@ -234,8 +234,8 @@ package body System.Stack_Usage.Tasking is procedure Print (Obj : Stack_Usage_Result) is Pos : Positive := Obj.Task_Name'Last; - begin + begin -- Simply trim the string containing the task name for S in Obj.Task_Name'Range loop @@ -246,8 +246,8 @@ package body System.Stack_Usage.Tasking is end loop; declare - T_Name : constant String := Obj.Task_Name - (Obj.Task_Name'First .. Pos); + T_Name : constant String := + Obj.Task_Name (Obj.Task_Name'First .. Pos); begin Put_Line ("| " & T_Name & " | " & Natural'Image (Obj.Max_Size) & |