summaryrefslogtreecommitdiff
path: root/gcc/ada/gnatcmd.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 15:08:53 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 15:08:53 +0000
commitf3dfb204921d1f8db570c12c0cc2c9323f476821 (patch)
treea8556befe412e2568e782369bd08f8a9bb980226 /gcc/ada/gnatcmd.adb
parent4749555368227d07230709bd46a42f7cd606e804 (diff)
downloadgcc-f3dfb204921d1f8db570c12c0cc2c9323f476821.tar.gz
2010-09-10 Thomas Quinot <quinot@adacore.com>
* scos.ads: Add comments. 2010-09-10 Vincent Celier <celier@adacore.com> * gnatcmd.adb (Get_Closure): Remove useless invocation of Close. 2010-09-10 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch7.adb, exp_ch6.adb (Expand_Call): Establish a transient scope for a controlled build-in-place function call which appears in an anonymous context. The transient scope ensures that the intermediate function result is cleaned up after the master is left. (Make_Build_In_Place_Call_In_Anonymous_Context): Remove the creation of the transient scope. This is now done in Exand_Call which covers additional cases other than secondary stack release. 2010-09-10 Arnaud Charlet <charlet@adacore.com> * sem.adb (Do_Unit_And_Dependents): Add guard. 2010-09-10 Robert Dewar <dewar@adacore.com> * exp_ch5.adb: Update comments. * exp_dist.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnatcmd.adb')
-rw-r--r--gcc/ada/gnatcmd.adb2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/ada/gnatcmd.adb b/gcc/ada/gnatcmd.adb
index 9c038db96ed..93f7d1c6b93 100644
--- a/gcc/ada/gnatcmd.adb
+++ b/gcc/ada/gnatcmd.adb
@@ -805,8 +805,6 @@ procedure GNATCmd is
Return_Code => Return_Code,
Err_To_Out => True);
- Close (FD);
-
-- Read the output of the invocation of gnatmake
Open (File, In_File, Get_Name_String (Name));