diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-12 13:28:13 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-12 13:28:13 +0000 |
commit | aab8de0adef0929dec573ba33cc09ba3a72b2050 (patch) | |
tree | 3067241056d7811b5be0253db902c31399aabba2 /gcc/ada/gnatls.adb | |
parent | 79abfe5ff215041ba46acca8990cd9b9de185236 (diff) | |
download | gcc-aab8de0adef0929dec573ba33cc09ba3a72b2050.tar.gz |
2004-02-12 Olivier Hainque <hainque@act-europe.fr>
* decl.c (components_to_record): Don't claim that the internal fields
we make to hold the variant parts are semantically addressable, because
they are not.
* exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and
adjust the comment describing the modular type form when we can use it.
(Install_PAT): Account for the Esiz renaming.
* init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the
sc_onstack context indication before raising the exception to which
the signal is mapped. Allows better handling of later signals possibly
triggered by the resumed user code if the exception is handled.
2004-02-12 Arnaud Charlet <charlet@act-europe.fr>
* 5zinit.adb: Removed, no longer used.
2004-02-12 Robert Dewar <dewar@gnat.com>
* ali.adb: Remove separating space between parameters on R line. Makes
format consistent with format used by the binder for Set_Globals call.
* atree.ads, atree.adb: Minor reformatting (new function header format)
* bindgen.adb: Add Run-Time Globals documentation section containing
detailed documentation of the globals passed from the binder file to
the run time.
* gnatls.adb: Minor reformatting
* init.c (__gnat_set_globals): Add note pointing to documentation in
bindgen.
* lib-writ.ads, lib-writ.adb: Remove separating space between
parameters on R line.
Makes format consistent with format used by the binder for Set_Globals
call.
* osint.ads: Add 2004 to copyright notice
Minor reformatting
* snames.ads: Correct capitalization of FIFO_Within_Priorities
Noticed during code reading, documentation issue only
* usage.adb: Remove junk line for obsolete C switch
Noticed during code reading
2004-02-12 Vincent Celier <celier@gnat.com>
* bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd
extend for each directory, so that multiple /** directories are
extended individually.
(Recursive_Process): Set the default for LANGUAGES to ada
* gprcmd.adb: Define new command "ignore", to do nothing.
Implement new comment "path".
* Makefile.generic: Suppress output when SILENT is set
Make sure that when compiler for C/C++ is gcc, the correct -x switch is
used, so that the correct compiler is invoked.
When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/
CXX_INCLUDE_PATH, to avoid failure with too long command lines.
2004-02-12 Jerome Guitton <guitton@act-europe.fr>
* Makefile.in: Clean ups and remove obsolete targets.
2004-02-12 Ed Schonberg <schonberg@gnat.com>
* exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar
predicate declared in exp_util.
* exp_util.adb: Add comments.
* sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from
visibility before compiling context of the subunit.
* sem_res.adb (Check_Parameterless_Call): If the context expects a
value but the name is a procedure, do not attempt to analyze as a call,
in order to obtain more telling diagnostics.
* sem_util.adb (Wrong_Type): Further enhancement to diagnose missing
'Access on parameterless function calls.
(Normalize_Actuals): For a parameterless function call with missing
actuals, defer diagnostic until resolution of enclosing call.
* sem_util.adb (Wrong_Type): If the context type is an access to
subprogram and the expression is a procedure name, suggest a missing
'attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77704 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnatls.adb')
-rw-r--r-- | gcc/ada/gnatls.adb | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gcc/ada/gnatls.adb b/gcc/ada/gnatls.adb index 2f5d3155ca3..3d0854914a6 100644 --- a/gcc/ada/gnatls.adb +++ b/gcc/ada/gnatls.adb @@ -87,10 +87,10 @@ procedure Gnatls is Print_Unit : Boolean := True; Print_Source : Boolean := True; Print_Object : Boolean := True; - -- Flags controlling the form of the outpout + -- Flags controlling the form of the output - Dependable : Boolean := False; -- flag -d - Also_Predef : Boolean := False; + Dependable : Boolean := False; -- flag -d + Also_Predef : Boolean := False; Unit_Start : Integer; Unit_End : Integer; @@ -132,14 +132,14 @@ procedure Gnatls is -- updated to the full file name if available. function Corresponding_Sdep_Entry (A : ALI_Id; U : Unit_Id) return Sdep_Id; - -- Give the Sdep entry corresponding to the unit U in ali record A. + -- Give the Sdep entry corresponding to the unit U in ali record A procedure Output_Object (O : File_Name_Type); -- Print out the name of the object when requested procedure Output_Source (Sdep_I : Sdep_Id); -- Print out the name and status of the source corresponding to this - -- sdep entry + -- sdep entry. procedure Output_Status (FS : File_Status; Verbose : Boolean); -- Print out FS either in a coded form if verbose is false or in an @@ -152,10 +152,10 @@ procedure Gnatls is -- Reset Print flags properly when selective output is chosen procedure Scan_Ls_Arg (Argv : String; And_Save : Boolean); - -- Scan and process lser specific arguments. Argv is a single argument. + -- Scan and process lser specific arguments. Argv is a single argument procedure Usage; - -- Print usage message. + -- Print usage message ----------------- -- Add_Lib_Dir -- @@ -279,10 +279,12 @@ procedure Gnatls is -- Verify is output is not wider than maximum number of columns - Too_Long := Verbose_Mode or else - (Max_Unit_Length + Max_Src_Length + Max_Obj_Length) > Max_Column; + Too_Long := + Verbose_Mode + or else + (Max_Unit_Length + Max_Src_Length + Max_Obj_Length) > Max_Column; - -- Set start and end of columns. + -- Set start and end of columns Object_Start := 1; Object_End := Object_Start - 1; @@ -817,10 +819,9 @@ begin Namet.Initialize; Csets.Initialize; - -- Use low level argument routines to avoid dragging in the secondary stack + -- Loop to scan out arguments Next_Arg := 1; - Scan_Args : while Next_Arg < Arg_Count loop declare Next_Argv : String (1 .. Len_Arg (Next_Arg)); @@ -956,6 +957,7 @@ begin end loop; Find_General_Layout; + for Id in ALIs.First .. ALIs.Last loop declare Last_U : Unit_Id; @@ -993,7 +995,7 @@ begin end if; end loop; - -- Print out list of dependable units + -- Print out list of units on which this unit depends (D lines) if Dependable and then Print_Source then if Verbose_Mode then |