diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-15 13:58:20 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-15 13:58:20 +0000 |
commit | 8f199ad0416c7b2779da7eaabd9f00c4f936502b (patch) | |
tree | 51acb2abb4ef8b5a72e09e35ec949add9fa416cb /gcc/ada/g-comlin.adb | |
parent | 4536414b71264cb3f73463a0e8af3d349ca885a0 (diff) | |
download | gcc-8f199ad0416c7b2779da7eaabd9f00c4f936502b.tar.gz |
2007-10-15 Robert Dewar <dewar@adacore.com>
* errout.ads: Comment clarification
* exp_ch4.adb (Expand_N_Allocator): Code cleanup.
(Expand_N_Op_Eq): Improve handling of array equality with -gnatVa
* lib.ads: Comment update
* init.c: Minor reformatting.
* sem_attr.adb: Minor formatting
* osint-b.ads: Minor reformatting
* sem_ch9.adb: Implement -gnatd.I switch
* g-comlin.adb: (Start): Fix handling of empty command line.
* gnatcmd.adb (GNATCmd): Do not put the -rules in the -cargs section,
even when -rules follows the -cargs section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-comlin.adb')
-rw-r--r-- | gcc/ada/g-comlin.adb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/g-comlin.adb b/gcc/ada/g-comlin.adb index 61a0d87da27..95b1fbe2367 100644 --- a/gcc/ada/g-comlin.adb +++ b/gcc/ada/g-comlin.adb @@ -1606,6 +1606,11 @@ package body GNAT.Command_Line is Expanded : Boolean) is begin + if Cmd.Expanded = null then + Iter.List := null; + return; + end if; + -- Coalesce the switches as much as possible if not Expanded |