aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-comlin.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2016-06-16 12:25:47 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2016-06-16 12:25:47 +0200
commit3386e3ae5dcea06e710c0bccdc2af72b1ab8dde4 (patch)
tree22cccf2de5d7b3b6967f2e729fc3a520cc668e52 /gcc/ada/g-comlin.adb
parent5ed4ba1574be5f1f1b01672d38cbcb76c6951398 (diff)
downloadgcc-3386e3ae5dcea06e710c0bccdc2af72b1ab8dde4.zip
gcc-3386e3ae5dcea06e710c0bccdc2af72b1ab8dde4.tar.gz
gcc-3386e3ae5dcea06e710c0bccdc2af72b1ab8dde4.tar.bz2
[multiple changes]
2016-06-16 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Check_Entry_Contracts): New procedure, subsidiary of Analyze_Declarations, that performs pre-analysis of pre/postconditions on entry declarations before full analysis is performed after entries have been converted into procedures. Done solely to capture semantic errors. * sem_attr.adb (Analyze_Attribute, case 'Result): Add guard to call to Denote_Same_Function. 2016-06-16 Emmanuel Briot <briot@adacore.com> * g-comlin.adb: Fix minor memory leak in GNAT.Command_Line. 2016-06-16 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch7.adb (Find_Last_Init): Remove obsolete code. The logic is now performed by Process_Object_Declaration. (Process_Declarations): Recognize a controlled deferred constant which is in fact initialized by means of a build-in-place function call as needing finalization actions. (Process_Object_Declaration): Insert the counter after the build-in-place initialization call for a controlled object. This was previously done in Find_Last_Init. * exp_util.adb (Requires_Cleanup_Actions): Recognize a controlled deferred constant which is in fact initialized by means of a build-in-place function call as needing finalization actions. 2016-06-16 Justin Squirek <squirek@adacore.com> * exp_aggr.adb (Expand_Array_Aggregate): Minor comment changes and additional style fixes. * exp_ch7.adb: Minor typo fixes and reformatting. From-SVN: r237515
Diffstat (limited to 'gcc/ada/g-comlin.adb')
-rw-r--r--gcc/ada/g-comlin.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/g-comlin.adb b/gcc/ada/g-comlin.adb
index 172edaf..86ac2b5 100644
--- a/gcc/ada/g-comlin.adb
+++ b/gcc/ada/g-comlin.adb
@@ -3073,6 +3073,7 @@ package body GNAT.Command_Line is
Free (Config.Switches (S).Long_Switch);
Free (Config.Switches (S).Help);
Free (Config.Switches (S).Section);
+ Free (Config.Switches (S).Argument);
end loop;
Unchecked_Free (Config.Switches);