aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-fileio.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-05-06 12:15:30 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-05-06 12:15:30 +0200
commitdeef4289f2b8b58b98610b2fb8bfb87f3a83a7a8 (patch)
tree34399a211443244be7b9afe3d79640a56cbb23c4 /gcc/ada/s-fileio.adb
parent965dbd5cd42af356796e931419edc70bb52854f2 (diff)
downloadgcc-deef4289f2b8b58b98610b2fb8bfb87f3a83a7a8.zip
gcc-deef4289f2b8b58b98610b2fb8bfb87f3a83a7a8.tar.gz
gcc-deef4289f2b8b58b98610b2fb8bfb87f3a83a7a8.tar.bz2
[multiple changes]
2009-05-06 Robert Dewar <dewar@adacore.com> * s-fileio.adb: Minor comment update * sem_ch8.adb: Minor reformatting * exp_ch3.adb: Update comments. 2009-05-06 Tristan Gingold <gingold@adacore.com> * init.c, s-osinte-darwin.ads: Reduce alternate stack size From-SVN: r147167
Diffstat (limited to 'gcc/ada/s-fileio.adb')
-rw-r--r--gcc/ada/s-fileio.adb5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/s-fileio.adb b/gcc/ada/s-fileio.adb
index fd7adfd..c6abba09 100644
--- a/gcc/ada/s-fileio.adb
+++ b/gcc/ada/s-fileio.adb
@@ -77,8 +77,9 @@ package body System.File_IO is
-- The closing of all open files and deletion of temporary files is an
-- action that takes place at the end of execution of the main program.
-- This action is implemented using a library level object which gets
- -- finalized at the end of program execution. Note that the type should be
- -- limited, in order to avoid unwanted optimizations.
+ -- finalized at the end of program execution. Note that the type is
+ -- limited, in order to stop the compiler optimizing away the declaration
+ -- which would be allowed in the non-limited case.
procedure Finalize (V : in out File_IO_Clean_Up_Type);
-- This is the finalize operation that is used to do the cleanup