PR rtl-optimization/82913
[official-gcc.git] / gcc / ada / ChangeLog-2003
blob6b950685e2cd1f73153d8cc765773187b14d7a41
1 2003-12-23  Kelley Cook  <kcook@gcc.gnu.org>
3         * gnat_ug.texi: Force a CVS commit by updating copyright.
4         * gnat_ug_vxw.texi: Regenerate.
5         * gnat_ug_wnt.texi: Regenerate.
6         * gnat_ug_vms.texi: Regenerate.
7         * gnat_ug_unx.texi: Regenerate.
9 2003-12-20  Kazu Hirata  <kazu@cs.umass.edu>
11         * trans.c: Remove uses of "register" specifier in
12         declarations of local variables.
14 2003-12-18  Kelley Cook  <kcook@gcc.gnu.org>
16         * stamp-xgnatug: New stamp file.
17         * Make-lang.in (stamp-xgnatug):  New stamp file and comment.
18         (ada/doctools/xgnatug): Add $(build_exeext).
19         (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
20         ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
22 2003-12-17  Ed Falis  <falis@gnat.com>
24         * a-elchha.adb (Tailored_Exception_Information): made Info constant to
25         eliminate warning.
27         * a-exextr.adb: Add context clause for
28         Ada.Exceptions.Last_Chance_Handler.
30 2003-12-17  Sergey Rybin  <rybin@act-europe.fr>
32         * cstand.adb (Create_Standard): Change the way how the declaration of
33         the Duration type is created (making it the same way as it is for all
34         the other standard types).
36 2003-12-17  Robert Dewar  <dewar@gnat.com>
38         * s-crtl.ads: Fix header format
39         Change Pure to Preelaborate
41 2003-12-17  Ed Schonberg  <schonberg@gnat.com>
43         * checks.adb (Selected_Length_Checks): Generate an Itype reference for
44         the expression type only if it is declared in the current unit.
46         * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
47         are universal and already analyzed, as can occur in constrained
48         subcomponents that depend on discriminants, when one constraint is a
49         subtype mark.
51         * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
52         type Any_Fixed is legal as the argument of a conversion, if only one
53         fixed-point type is in context.
55 2003-12-17  GNAT Script  <nobody@gnat.com>
57         * Make-lang.in: Makefile automatically updated
59 2003-12-15  Robert Dewar  <dewar@gnat.com>
61         * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
62         sec stack size.
64 2003-12-15  Vincent Celier  <celier@gnat.com>
66         * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
67         (Gnatchop): Do not set failure status when reporting the number of
68         warnings.
70 2003-12-15  Doug Rupp  <rupp@gnat.com>
72         * s-ctrl.ads: New file.
74         * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
76         * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
77         (GNATBIND_OBJS): Add ada/s-crtl.o.
79         * Makefile.in [VMS]: Clean up ifeq rules.
81         * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
82         a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
83         g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
84         s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
85         s-tasdeb.adb: Update copyright.
86         Import System.CRTL.
87         Make minor modifications to use System.CRTL declared functions instead
88         of importing locally.
90 2003-12-15  GNAT Script  <nobody@gnat.com>
92         * Make-lang.in: Makefile automatically updated
94 2003-12-11  Ed Falis  <falis@gnat.com>
96         * 5zinit.adb: Clean up.
98         * 5zintman.adb (Notify_Exception): replaced case statement with a call
99         to __gnat_map_signal, imported from init.c to support
100         signal -> exception mappings that depend on the vxWorks version.
102         * init.c:
103         Created and exported __gnat_map_signal to support signal -> exception
104         mapping that is dependent on the VxWorks version.
105         Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
107 2003-12-11  Vasiliy Fofanv  <fofanov@act-europe.fr>
109         * 5wosinte.ads: Link with -mthreads switch.
111 2003-12-11  Arnaud Charlet  <charlet@act-europe.fr>
113         * init.c (__gnat_install_handler [NetBSD]): Set
114         __gnat_handler_installed, as done on all other platforms.
115         Remove duplicated code.
117 2003-12-11  Jerome Guitton  <guitton@act-europe.fr>
119         * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
121 2003-12-11  Thomas Quinot  <quinot@act-europe.fr>
123         * sinfo.ads: Fix inconsistent example code in comment.
125 2003-12-11  Robert Dewar  <dewar@gnat.com>
127         * a-tiinau.adb: Add a couple of comments
129         * sem_ch3.adb: Minor reformatting
131         * sem_prag.adb:
132         Fix bad prototype of Same_Base_Type in body (code reading cleanup)
133         Minor reformatting throughout
135 2003-12-11  Ed Schonberg  <schonberg@gnat.com>
137         * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
138         bounds of a loop, create a separate block in order to generate proper
139         cleanup actions to prevent memory leaks.
141         * sem_res.adb (Resolve_Call): After a call to
142         Establish_Transient_Scope, the call may be rewritten and relocated, in
143         which case no further processing is needed.
145         * sem_util.adb: (Wrong_Type): Refine previous fix.
146          Fixes ACATS regressions.
148         PR ada/13353
149         * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
150         be inlined.
152 2003-12-08  Jerome Guitton  <guitton@act-europe.fr>
154         * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
155         i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
156         obsolete files.
158         * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
159         (rts-zfp): Ditto.
161 2003-12-08  Robert Dewar  <dewar@gnat.com>
163         * 7sintman.adb: Minor reformatting
165         * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
166         standard linker options to get standard libraries linked. We now plan
167         to provide dummy versions of these libraries to match the appropriate
168         configurable run-time (e.g. if a library is not needed at all, provide
169         a dummy empty library).
171         * targparm.ads: Configurable_Run_Time mode no longer affects linker
172         options (-L parameters and standard libraries). What we plan to do is
173         to provide dummy libraries where the libraries are not required.
175         * gnatbind.adb: Minor comment improvement
177 2003-12-08  Javier Miranda  <miranda@gnat.com>
179         * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
180         aggregate in the parent. Otherwise constants with limited aggregates
181         are not supported. Add new formal to pass the component type (Ctype).
182         It is required to call the corresponding IP subprogram in case of
183         default initialized components.
184         (Gen_Assign): In case of default-initialized component, generate a
185         call to the IP subprogram associated with the component.
186         (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
187         of aggregate with default initialized components.
188         (Has_Default_Init_Comps): Improve implementation to recursively check
189         all the present expressions.
191         * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
192         to indicate that the initialization call corresponds to a
193         default-initialized component of an aggregate.
194         In case of default initialized aggregate with tasks this parameter is
195         used to generate a null string (this is just a workaround that must be
196         improved later). In case of discriminants, this parameter is used to
197         generate a selected component node that gives access to the discriminant
198         value.
200         * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
201         subprogram, based on Build_Task_Allocate_Block, but adapted to expand
202         allocated aggregates with default-initialized components.
204         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
205         the box notation is used in positional aggregates.
207 2003-12-08  Samuel Tardieu  <tardieu@act-europe.fr>
209         * lib.ads: Fix typo in comment
211 2003-12-08  Vincent Celier  <celier@gnat.com>
213         * prj.adb (Project_Empty): New component Unkept_Comments
214         (Scan): Remove procedure; moved to Prj.Err.
216         * prj.ads (Project_Data): New Boolean component Unkept_Comments
217         (Scan): Remove procedure; moved to Prj.Err.
219         * prj-dect.adb: Manage comments for the different declarations.
221         * prj-part.adb (With_Record): New component Node
222         (Parse): New Boolean parameter Store_Comments, defaulted to False.
223         Set the scanner to return ends of line and comments as tokens, if
224         Store_Comments is True.
225         (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
226         comments are associated with these nodes. Store the node IDs in the
227         With_Records.
228         (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
229         With_Records.
230         (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
231         the N_Project node. Call Tree.Save and Tree.Reset before scanning the
232         current project. Call Tree.Restore afterwards. Set the various nodes
233         for comment storage (Next_End, End_Of_Line, Previous_Line,
234         Previous_End).
236         * prj-part.ads (Parse): New Boolean parameter Store_Comments,
237         defaulted to False.
239         * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
240         to False. When Truncated is True, truncate the string, never go to the
241         next line.
242         (Write_End_Of_Line_Comment): New procedure
243         (Print): Process comments for nodes N_With_Clause,
244         N_Package_Declaration, N_String_Type_Declaration,
245         N_Attribute_Declaration, N_Typed_Variable_Declaration,
246         N_Variable_Declaration, N_Case_Construction, N_Case_Item.
247         Process nodes N_Comment.
249         * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
250         without comments and there are some comments, set the flag
251         Unkept_Comments to True.
252         (Scan): If there are comments, set the flag Unkept_Comments to True and
253         clear the comments.
254         (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
255         (Next_End_Nodes: New table
256         (Comment_Zones_Of): New function
257         (Scan): New procedure; moved from Prj. Accumulate comments in the
258         Comments table and set end of line comments, comments after, after end
259         and before end.
260         (Add_Comments): New procedure
261         (Save, Restore, Seset_State): New procedures
262         (There_Are_Unkept_Comments): New function
263         (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
264         (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
265         procedures.
266         (First_Comment_After, First_Comment_After_End): New functions
267         (First_Comment_Before, First_Comment_Before_End): New functions
268         (Next_Comment): New function
269         (End_Of_Line_Comment, Follows_Empty_Line,
270         Is_Followed_By_Empty_Line): New functions
271         (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
272         (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
273         (Set_Next_Comment): New procedure
274         (Default_Project_Node): Associate comment before if the node can store
275         comments.
277         * scans.ads (Token_Type): New enumeration value Tok_Comment
278         (Comment_Id): New global variable
280         * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
281         defaulted to False.
282         (Scan): Store position of start of comment. If comments are tokens, set
283         Comment_Id and set Token to Tok_Comment when scanning a comment.
284         (Set_Comment_As_Token): New procedure
286         * sinput-p.adb: Update Copyright notice
287         (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
288         that no longer exists.
290 2003-12-08  Javier Miranda  <miranda@gnat.com>
292         * sem_aggr.adb: Add dependence on Exp_Tss package
293         Correct typo in comment
294         (Resolve_Aggregate): In case of array aggregates set the estimated
295         type of the aggregate before calling resolve. This is needed to know
296         the name of the corresponding IP in case of limited array aggregates.
297         (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
298         in case of default initialized array components.
300         * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
301         types. Required to give support to limited aggregates in generic
302         formals.
304 2003-12-08  Ed Schonberg  <schonberg@gnat.com>
306         * sem_ch3.adb (Check_Initialization): For legality purposes, an
307         inlined body functions like an instantiation.
308         (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
309         until bounds are analyzed, to diagnose premature use of type.
311         * sem_util.adb (Wrong_Type): Improve error message when the type of
312         the expression is used prematurely.
314 2003-12-08  GNAT Script  <nobody@gnat.com>
316         * Make-lang.in: Makefile automatically updated
318 2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>
320         * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
321         they are automatically generated by Make-lang.in and cause nothing but
322         maintenance troubles.
324 2003-12-05  Thomas Quinot  <quinot@act-europe.fr>
326         * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
327         version of this unit).
329 2003-12-05  Olivier Hainque  <hainque@act-europe.fr>
331         * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
332         5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
333         5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
334         the body of System.Interrupt_Management common to several targets.
335         Update copyright notice when appropriate.
337         * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
338         constant.
340         * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
341         to ensure that the kernel fills in the interrupted context structure
342         before calling a signal handler, which is necessary to be able to
343         unwind past it. Update the copyright notice.
345 2003-12-05  Jerome Guitton  <guitton@act-europe.fr>
347         * a-elchha.ads: New file.
349         * a-elchha.adb: New default last chance handler. Contents taken from
350         Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
352         * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
353         is moved to a-elchha.adb to provide a target-independent default last
354         chance handler.
356         * Makefile.rtl: Add a-elchha.o
358         * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
360 2003-12-05  Ed Schonberg  <schonberg@gnat.com>
362         * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
363         declared in an instance, do not inline the call if the instance is not
364         frozen yet, to prevent order of elaboration problems.
366         * sem_prag.adb: Add comments for previous fix.
368 2003-12-05  Samuel Tardieu  <tardieu@act-europe.fr>
370         * g-table.adb: Use the right variable in Set_Item.
371         Update copyright notice.
373 2003-12-05  Arnaud Charlet  <charlet@act-europe.fr>
375         * Makefile.in: Remove unused rules.
377 2003-12-05  Vincent Celier  <celier@gnat.com>
379         * switch-c.adb (Scan_Front_End_Switches): Remove processing of
380         -nostdlib. Not needed here after all.
382 2003-12-03  Thomas Quinot  <quinot@act-europe.fr>
384         PR ada/11724
385         * adaint.h, adaint.c, g-os_lib.ads:
386         Do not assume that the offset argument to lseek(2) is a 32 bit integer,
387         on some platforms (including FreeBSD), it is a 64 bit value.
388         Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
390 2003-12-03  Arnaud Charlet  <charlet@act-europe.fr>
392         * gnatvsn.ads (Library_Version): Now contain only the relevant
393         version info.
394         (Verbose_Library_Version): New constant.
396         * g-spipat.adb, g-awk.adb, g-debpoo.adb,
397         g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
398         s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
400         * gnatlbr.adb: Clean up: replace Library_Version by
401         Verbose_Library_Version.
403         * make.adb, lib-writ.adb, exp_attr.adb:
404         Clean up: replace Library_Version by Verbose_Library_Version.
406         * 5lintman.adb: Removed.
408         * Makefile.in:
409         Update and simplify computation of LIBRARY_VERSION.
410         Fix computation of GSMATCH_VERSION.
411         5lintman.adb is no longer used: replaced by 7sintman.adb.
413 2003-12-03  Robert Dewar  <dewar@gnat.com>
415         * exp_ch5.adb:
416         (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
417         name. Modified to consider small non-bit-packed arrays as troublesome
418         and in need of component-by-component assigment expansion.
420 2003-12-03  Vincent Celier  <celier@gnat.com>
422         * lang-specs.h: Process nostdlib as nostdinc
424         * back_end.adb: Update Copyright notice
425         (Scan_Compiler_Arguments): Process -nostdlib directly.
427 2003-12-03  Jose Ruiz  <ruiz@act-europe.fr>
429         * Makefile.in:
430         When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
431         redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
432         included in HIE_NONE_TARGET_PAIRS.
434 2003-12-03  Ed Schonberg  <schonberg@gnat.com>
436         * sem_attr.adb:
437         (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
438         is legal in an instance, because legality is cheched in the template.
440         * sem_prag.adb:
441         (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
442         appplied to an unchecked conversion of a formal parameter.
444         * sem_warn.adb:
445         (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
446         variables.
448 2003-12-03  Olivier Hainque  <hainque@act-europe.fr>
450         * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
451         routines. The second one is new functionality to deal with backtracing
452         through signal handlers.
453         (unwind): Split into the two separate subroutines above.
454         Update the documentation, and deal properly with sizeof (REG) different
455         from sizeof (void*).
457 2003-12-01  Nicolas Setton  <setton@act-europe.fr>
459         * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
460         so that the debugger can reliably access the value of the parameter,
461         and therefore is able to display the exception name when an exception
462         breakpoint is reached.
464 2003-12-01  Thomas Quinot  <quinot@act-europe.fr>
466         * fmap.adb: Fix typo in warning message.
468         * g-socket.ads, g-socket.adb: Make Free a visible instance of
469         Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
471 2003-12-01  Vincent Celier  <celier@gnat.com>
473         * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
474         ther is no Afile.
475         (Build_Library): Get the switches only if Default_Switches is declared
476         in package Binder.
478 2003-12-01  Ed Schonberg  <schonberg@gnat.com>
480         * exp_ch6.adb (Expand_Actuals): When applying validity checks to
481         actuals that are indexed components, reanalyze actual to ensure that
482         packed array references are properly expanded.
484         * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
485         attempted assignment to a discriminant.
487 2003-12-01  Robert Dewar  <dewar@gnat.com>
489         * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
490         reformatting.
492         * switch-c.adb: Minor reformatting of comments
494 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
496         * Makefile.in: Clean ups.
498 2003-12-01  GNAT Script  <nobody@gnat.com>
500         * Make-lang.in: Makefile automatically updated
502 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
504         * 5wsystem.ads: Disable zero cost exception, not ready yet.
506 2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
508         * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
509         to force serialization.
511 2003-11-26  Thomas Quinot  <quinot@act-europe.fr>
513         * g-socket.ads, g-socket.adb:
514         Clarify documentation of function Stream. Introduce a Free procedure
515         to release the returned Stream once it becomes unused.
517         * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
519 2003-11-26  Arnaud Charlet  <charlet@act-europe.fr>
521         (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
522         since NT 4 cannot handle timeout values that are too large,
523         e.g. DWORD'Last - 1.
525 2003-11-26  Ed Schonberg  <schonberg@gnat.com>
527         * exp_ch4.adb:
528         (Expand_N_Slice): Recognize all cases of slices that appear as actuals
529         in procedure calls and whose expansion must be deferred.
531         * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
532         is in exp_ch4.
534         * sem_ch3.adb:
535         (Build_Derived_Array_Type): Create operator for unconstrained type
536         if ancestor is unconstrained.
538 2003-11-26  Vincent Celier  <celier@gnat.com>
540         * make.adb (Project_Object_Directory): New global variable
541         (Change_To_Object_Directory): New procedure
542         (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
543         of Change_Dir directly. Do not change working directory to object
544         directory of main project after each compilation.
545         (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
546         directly.
547         Change to object directory of main project before binding step.
548         (Initialize): Initialize Project_Object_Directory to No_Project
550         * mlib-prj.adb:
551         (Build_Library): Take into account Builder'Default_Switches ("Ada") when
552         binding a Stand-Alone Library.
554         * output.adb: Update Copyright notice
555         (Write_Char): Output buffer when full
557 2003-11-26  Robert Dewar  <dewar@gnat.com>
559         * sem_ch13.adb: (Check_Size): Reset size if size is too small
561         * sem_ch13.ads:
562         (Check_Size): Fix documentation to include bit-packed array case
564         * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
566         * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
568         * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
570 2003-11-24  Arnaud Charlet  <charlet@act-europe.fr>
572         PR ada/13142
573         * utils.c (init_gigi_decls): Change name of built-in setjmp to
574         __builtin_setjmp, since this is apparently needed by recent
575         non Ada changes.
577 2003-11-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
579         * adadecode.c: Only include ctype.h if not IN_GCC.
580         (__gnat_decode): Use ISDIGIT from safe-ctype.h.
582 2003-11-24  Jose Ruiz  <ruiz@act-europe.fr>
584         * Makefile.in:
585         Use 5zintman.ads for VxWorks targets. This file avoid confusion between
586         signals and interrupts.
588         * 5zintman.ads: New File.
590         * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
591         add exception signals to the set of unmasked signals.
593         * 5ztaprop.adb:
594         Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
595         between signals and interrupts.
596         Add to Unblocked_Signal_Mask the set of signals that are in
597         Keep_Unmasked.
599         * 7sinmaop.adb:
600         Adding a check to see whether the Interrupt_ID we want to unmask is in
601         the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
602         reason is that the index type of the Keep_Unmasked array is not always
603         Interrupt_ID; it may be a subtype of Interrupt_ID.
605 2003-11-24  Gary Dismukes  <dismukes@gnat.com>
607         * exp_util.adb:
608         (Remove_Side_Effects): Condition constantness of object created for a
609          an unchecked type conversion on the constantness of the expression
610          to ensure the correct value for 'Constrained when passing components
611          of view-converted class-wide objects.
613 2003-11-24  Robert Dewar  <dewar@gnat.com>
615         * par-load.adb (Load): Improve handling of misspelled and missing units
616         Removes several cases of compilation abandoned messages
618         * lib.adb: (Remove_Unit): New procedure
620         * lib.ads: (Remove_Unit): New procedure
622         * lib-load.adb: Minor reformatting
624 2003-11-24  Vincent Celier  <celier@gnat.com>
626         * make.adb:
627         (Gnatmake, Initialize): Call Usage instead of Makeusg directly
628         (Marking_Label): Label to mark processed source files. Incremented for
629         each executable.
630         (Gnatmake): Increase Marking_Labet for each executable
631         (Is_Marked): Compare against marking label
632         (Mark): Mark with marking label
634 2003-11-24  Jerome Guitton  <guitton@act-europe.fr>
636         * s-thread.ads:
637         Move the declaration of the TSD for System.Threads to System.Soft_Links.
638         Add some comments.
640         * Makefile.in: Added target pair for s-thread.adb for cert runtime.
641         (rts-cert): build a single relocatable object for the run-time lib.
642         Fix perms.
644 2003-11-24  Vasiliy Fofanov  <fofanov@act-europe.fr>
646         * Make-lang.in:
647         Use gnatls rather than gcc to obtain the location of GNAT RTL for
648         crosstools build.
650 2003-11-24  Sergey Rybin  <rybin@act-europe.fr>
652         * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
653         can not use it as before (that is, as a variable) when dumping it into
654         the tree file. Add a local variable to store the result of this
655         function and to be used as the string to be written into the tree.
657         * scn.adb (Initialize_Scanner): Add comments explaining the recent
658         changes.
660         * sinput.adb (Source_First, Source_Last): In case of
661         Internal_Source_File, replace returning attributes of
662         Internal_Source_Ptr (which is wrong) with returning attributes of
663         Internal_Source.
665 2003-11-24  Ed Schonberg  <schonberg@gnat.com>
667         * sem_ch3.adb:
668         (New_Concatenation_Op): Proper name for New_Binary_Operator, only
669         used for implicit concatenation operators.
670         Code cleanup.
672         * sem_elab.adb:
673         (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
674         task bodies that are in the scope of a Suppress pragma.
675         (Check_A Call): Use the flag to prevent spurious elaboration checks.
677         * sinfo.ads, sinfo.adb:
678         New flag No_Elaboration_Check on function/procedure calls, to properly
679         suppress checks on calls in task bodies that are within a local suppress
680         pragma.
682         * exp_ch4.adb:
683         (Expand_Concatenate_Other): Use the proper integer type for the
684         expression for the upper bound, to avoid universal_integer computations
685         when possible.
687 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
689         * .cvsignore: Delete.
691 2003-11-21  Andreas Schwab  <schwab@suse.de>
693         * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
695 2003-11-21  Vasiliy Fofanov  <fofanov@act-europe.fr>
697         * 5wsystem.ads: Enable zero cost exception.
699 2003-11-21  Jerome Guitton  <guitton@act-europe.fr>
701         * 5ztiitho.adb: Remove an unreferenced variable.
703 2003-11-21  Thomas Quinot  <quinot@act-europe.fr>
705         * adaint.c: For FreeBSD, use mkstemp.
707 2003-11-21  Arnaud Charlet  <charlet@act-europe.fr>
709         * gnatlbr.adb: Now reference Gnat_Static_Version_String.
711 2003-11-21  Robert Dewar  <dewar@gnat.com>
713         * bld.adb: Remove useless USE of gnatvsn
715         * gnatchop.adb: Minor reformatting
716         Clean up version handling to be more consistent
718         * gnatxref.adb: Minor reformatting
720         * gprcmd.adb: Minor reformatting
721         Fix output of copyright to be more consistent with other tools
723 2003-11-21  Vincent Celier  <celier@gnat.com>
725         * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
727 2003-11-21  Sergey Rybin  <rybin@act-europe.fr>
729         * atree.adb (Initialize): Add initializations for global variables
730         used in New_Copy_Tree.
732         * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
733         Internal_Source_File as the actual).
734         Put the set of statements creating Any_Character before the set of
735         statements creating Any_Array to have Any_Character fully initialized
736         when it is used in creating Any_Array.
738         * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
739         not call Scan in case if the actual is Internal_Source_File
740         Add 2003 to copyright note.
742         * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
743         processing Internal_Source_File.
745         * types.ads: Add the constant Internal_Source_File representing the
746         source buffer for artificial source-code-like strings created within
747         the compiler (the definition of Source_File_Index is changed).
749 2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>
751         * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
752         56system.ads: New file, FreeBSD version.
754 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
756         * Make-lang.in (ada.extraclean): Delete.
758 2003-11-19  Arnaud Charlet  <charlet@act-europe.fr>
760         * gnatmem.adb: Clean up verbose output.
762         * gprcmd.adb: Change copyright to FSF.
764 2003-11-19  Vincent Celier  <celier@gnat.com>
766         * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
767         and Version (ignored).
769         * symbols.ads: (Policy): New type
770         (Initialize): New parameter Reference, Symbol_Policy and
771         Library_Version.
772         Remove parameter Force.
773         Minor reformatting.
775         * snames.ads, snames.adbadb: New standard names
776         Library_Reference_Symbol_File and Library_Symbol_Policy
778         * mlib-prj.adb:
779         (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
780         project.
782         * mlib-tgt.adb:
783         (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
785         * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
787         * prj.adb: (Project_Empty): New component Symbol_Data
789         * prj.ads: (Policy, Symbol_Record): New types
790         (Project_Data): New component Symbol_Data
792         * prj-attr.adb:
793         New attributes Library_Symbol_File, Library_Symbol_Policy and
794         Library_Reference_Symbol_File.
796         * prj-nmsc.adb:
797         (Ada_Check): When project is a Stand-Alone library project, process
798         attribute Library_Symbol_File, Library_Symbol_Policy and
799         Library_Reference_Symbol_File.
801         * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
802         5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
803         5sml-tgt.adb (Build_Dynamic_Library): New parameter
804         Symbol_Data (ignored).
806         * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
807         (Build_Dynamic_Library): New parameter Symbol_Data. New internal
808         functions Option_File_Name and Version_String. Set new options of
809         gnatsym related to symbol file, symbol policy and reference symbol
810         file.
812         * 5vsymbol.adb:
813         Extensive modifications to take into account the reference symbol file,
814         the symbol policy, the library version and to put in the symbol file the
815         minor and major IDs.
817         * bld.adb (Process_Declarative_Items): Put second argument of
818         gprcmd to_absolute between single quotes, to avoid problems with
819         Windows.
821         * bld-io.adb: Update Copyright notice.
822         (Flush): Remove last character of a line, if it is a back slash, to
823         avoid make problems.
825         * gnatsym.adb:
826         Implement new scheme with reference symbol file and symbol policy.
828         * g-os_lib.ads: (Is_Directory): Clarify comment
830 2003-11-19  Robert Dewar  <dewar@gnat.com>
832         * atree.adb: Move New_Copy_Tree global variables to head of package
834         * errout.adb: Minor reformatting
836 2003-11-19  Javier Miranda  <miranda@gnat.com>
838         * sem_ch4.adb: (Diagnose_Call): Improve error message.
839         Add reference to Ada0Y (AI-50217)
841         * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
842         sem_util.adb: Add reference to AI-50217
844         * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
846         * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
848         * sem_aggr.adb: Complete documentation of AI-287 changes
850         * par-ch4.adb: Document previous changes.
852         * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
853         sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
854         Ada0Y (AI-50217)
856         * exp_aggr.adb: Add references to AI-287 in previous changes
858 2003-11-19  Ed Schonberg  <schonberg@gnat.com>
860         * exp_ch6.adb:
861         (Add_Call_By_Copy_Node): Do not original node of rewritten expression
862         in the rewriting is the result of an inlined call.
864         * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
865         parameter is a type conversion, use original node to construct the
866         post-call assignment, because expression may have been rewritten, e.g.
867         if it is a packed array.
869         * sem_attr.adb:
870         (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
871         body, just as it is in an instance.
872         Categorization routines
874         * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
875         Instantiate_Object): Set proper sloc reference for message on missing
876         actual.
878 2003-11-19  Thomas Quinot  <quinot@act-europe.fr>
880         * Makefile.in: Add FreeBSD libgnat pairs.
882         * usage.adb: Fix typo in usage message.
884 2003-11-19  Jerome Guitton  <guitton@act-europe.fr>
886         * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
887         s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
888         pragma Thread_Body.
889         Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
891         * s-thread.adb: This file is now a dummy implementation of
892         System.Thread.
894 2003-11-19  Sergey Rybin  <rybin@act-europe.fr>
896         * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
898 2003-11-19  Emmanuel Briot  <briot@act-europe.fr>
900         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
901         instanciation references in the parent type description.
903 2003-11-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
905         * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
907         * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
908         TYPE_PRECISION directly from esize.
910 2003-11-18  Thomas Quinot  <quinot@act-europe.fr>
912         * cstreams.c:
913         Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
915         * init.c: Initialization routines for FreeBSD
917         * link.c: Link info for FreeBSD
919         * sysdep.c: Add the case of FreeBSD
921 2003-11-17  Jerome Guitton  <guitton@act-europe.fr>
923         * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
924         already called in System.Threads.
926         * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
927         environment task, as it has been moved to System.Threads.Initialization.
929 2003-11-17  Arnaud Charlet  <charlet@act-europe.fr>
931         * adaint.c (__gnatlib_install_locks): Only reference
932         __gnat_install_locks on VMS, since other platforms can avoid using
933         --enable-threads=gnat
935 2003-11-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
937         * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
939         * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
940         TYPE_PACKED_ARRAY_TYPE_P.
941         (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
943         Part of PR ada/12806
944         * utils.c (float_type_for_precision): Renamed from float_type_for_size.
945         Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
947 2003-11-17  Vincent Celier  <celier@gnat.com>
949         * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
950         to False.
951         Do not set exit status to Failure when Warning is True.
952         (Gnatchop): Make errors "no compilation units found" and
953         "no source files written" warnings only.
955         * make.adb (Gnatmake): When using a project file, set
956         Look_In_Primary_Dir to False.
957         (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
958         and Local_Configuration_Pragmas in the project where they are declared
959         not an extending project which might have inherited them.
961         * osint.adb (Locate_File): If Name is already an absolute path, do not
962         look for a directory.
964         * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
965         -gnats (Check_Syntax) is used, issue only a warning, not an error.
967         * prj.adb (Register_Default_Naming_Scheme): Add new component Project
968         in objects of type Variable_Value.
970         * prj.ads: (Variable_Value): New component Project
972         * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
973         is in a project extended by Project.
975         * prj-proc.adb (Add_Attributes): New parameter Project. Set component
976         Project of Variable_Values to this new parameter value.
977         (Expression): Set component Project of Variable_Values.
978         (Process_Declarative_Items): Call Add_Attributes with parameter Project.
979         Set the component Project in array elements.
981 2003-11-17  Sergey Rybin  <rybin@act-europe.fr>
983         * errout.adb: (Initialize): Add initialization for error nodes.
985         * sem_ch12.adb (Initialize): Add missing initializations for
986         Exchanged_Views and Hidden_Entities.
988 2003-11-17  Ed Schonberg  <schonberg@gnat.com>
990         * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
991         already instantiated tree for use in subsequent inlining.
992         (Analyze_Associations, Instantiate_Formal_Subprogram,
993         Instantiate_Object): improve error message for mismatch in
994         instantiations.
996         * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
997         instantiations of subprograms declared in instances.
999 2003-11-17  Javier Miranda  <miranda@gnat.com>
1001         * sem_ch4.adb (Analyze_Allocator): Previous modification must be
1002         executed only under the Extensions_Allowed flag.
1004 2003-11-17  Robert Dewar  <dewar@gnat.com>
1006         * a-exexda.adb (Address_Image): Fix documentation to indicate leading
1007         zeroes suppressed.
1008         (Address_Image): Fix bug of returning 0x instead of 0x0
1009         Minor reformatting (function specs).
1011         * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
1012         (missed case of 33-63)
1014         * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
1016         * s-thread.adb: Add comments for pragma Restriction
1018         * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
1019         sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
1021 2003-11-17  Ed Falis  <falis@gnat.com>
1023         * s-thread.adb: Added No_Tasking restriction for this implementation.
1025 2003-11-17  Emmanuel Briot  <briot@act-europe.fr>
1027         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1028         instanciation references in the parent type description.
1030 2003-11-17  GNAT Script  <nobody@gnat.com>
1032         * Make-lang.in: Makefile automatically updated
1034 2003-11-16  Jason Merrill  <jason@redhat.com>
1036         * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
1037         and TAGS files that include them for each front end.
1039 2003-11-14  Andreas Jaeger  <aj@suse.de>
1041         * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
1042         is the canonical version.
1043         * misc.c (gnat_handle_option): Likewise.
1045         * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
1047         * 5nsystem.ads: New file for x86_64-linux-gnu.
1049 2003-11-14  Arnaud Charlet  <charlet@act-europe.fr>
1051         * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
1053         * comperr.adb: Fix logic in previous change.
1055 2003-11-13  Vincent Celier  <celier@gnat.com>
1057         * 5bml-tgt.adb (Build_Dynamic_Library): Use
1058         Osint.Include_Dir_Default_Prefix instead of
1059         Sdefault.Include_Dir_Default_Name.
1061         * gnatlbr.adb: Update Copyright notice
1062         (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1063         Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1064         instead of Sdefault.Object_Dir_Default_Name
1066         * gnatlink.adb:
1067         (Process_Binder_File): Never suppress the option following -Xlinker
1069         * mdll-utl.adb:
1070         (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1071         Sdefault.Object_Dir_Default_Name.
1073         * osint.ads, osint.adb:
1074         (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1075         Minor reformatting.
1077         * vms_conv.ads: Minor reformating
1078         Remove GNAT STANDARD and GNAT PSTA
1080         * vms_conv.adb:
1081         Allow GNAT MAKE to have several files on the command line.
1082         (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1083         Sdefault.Object_Dir_Default_Name.
1084         Minor Reformating
1085         Remove data for GNAT STANDARD
1087         * vms_data.ads:
1088         Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1089         Remove data for GNAT STANDARD
1090         Remove options and documentation for -gnatwb/-gnatwB: these warning
1091         options no longer exist.
1093 2003-11-13  Ed Falis  <falis@gnat.com>
1095         * 5zthrini.adb: (Init_RTS): Made visible
1097         * 5zthrini.adb:
1098         (Register): Removed unnecessary call to taskVarGet that checked whether
1099          an ATSD was already set as a task var for the argument thread.
1101         * s-thread.adb:
1102         Updated comment to reflect that this is a VxWorks version
1103         Added context clause for System.Threads.Initialization
1104         Added call to System.Threads.Initialization.Init_RTS
1106 2003-11-13  Jerome Guitton  <guitton@act-europe.fr>
1108         * 5zthrini.adb:
1109         (Init_RTS): New procedure, for the initialization of the run-time lib.
1111         * s-thread.adb:
1112         Remove dependancy on System.Init, so that this file can be used in the
1113         AE653 sequential run-time lib.
1115 2003-11-13  Robert Dewar  <dewar@gnat.com>
1117         * bindgen.adb: Minor reformatting
1119 2003-11-13  Ed Schonberg  <schonberg@gnat.com>
1121         * checks.adb:
1122         (Apply_Discriminant_Check): Do no apply check if target type is derived
1123         from source type with no applicable constraint.
1125         * lib-writ.adb:
1126         (Ensure_System_Dependency): Do not apply the style checks that may have
1127         been specified for the main unit.
1129         * sem_ch8.adb:
1130         (Find_Selected_Component): Further improvement in error message, with
1131         RM reference.
1133         * sem_res.adb:
1134         (Resolve): Handle properly the case of an illegal overloaded protected
1135         procedure.
1137 2003-11-13  Javier Miranda  <miranda@gnat.com>
1139         * exp_aggr.adb:
1140         (Has_Default_Init_Comps): New function to check the presence of
1141         default initialization in an aggregate.
1142         (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1143         extension aggregate of a limited record. In addition, a new formal
1144         was added to do not initialize the record controller (if any) during
1145         this recursive expansion of ancestors.
1146         (Init_Controller): Add support for limited record components.
1147         (Expand_Record_Aggregate): In case of default initialized components
1148         convert the aggregate into a set of assignments.
1150         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1151         describing the new syntax.
1152         Nothing else needed to be done because this subprogram delegates part of
1153         its work to P_Precord_Or_Array_Component_Association.
1154         (P_Record_Or_Array_Component_Association): Give support to the new
1155         syntax for default initialization of components.
1157         * sem_aggr.adb:
1158         (Resolve_Aggregate): Relax the strictness of the frontend in case of
1159         limited aggregates.
1160         (Resolve_Record_Aggregate): Give support to default initialized
1161         components.
1162         (Get_Value): In case of default initialized components, duplicate
1163         the corresponding default expression (from the record type
1164         declaration). In case of default initialization in the *others*
1165         choice, do not check that all components have the same type.
1166         (Resolve_Extension_Aggregate): Give support to limited extension
1167         aggregates.
1169         * sem_ch3.adb:
1170         (Check_Initialization): Relax the strictness of the front-end in case
1171         of aggregate and extension aggregates. This test is now done in
1172         Get_Value in a per-component manner.
1174         * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1175         expression corresponds to a limited aggregate. This test is now done
1176         in Get_Value.
1178         * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1179         Box_Present flag.
1181         * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1182         present in an N_Component_Association node
1184 2003-11-13  Thomas Quinot  <quinot@act-europe.fr>
1186         * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
1187         type-conformant entry only if they are homographs.
1189 2003-11-13  GNAT Script  <nobody@gnat.com>
1191         * Make-lang.in: Makefile automatically updated
1193 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1195         * adadecode.c: Use <> form of include for ctype.h.
1196         * sysdep.c [IN_RTS]: Use <> form of include for time.h.
1198 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1200         * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
1201         Works around PR middle-end/6552.
1203 2003-11-10  Ed Falis  <falis@gnat.com>
1205         * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
1207         * 5zinit.adb: (Install_Handler): Moved back to spec
1208         (Install_Signal_Handlers): Deleted
1210         * 5zthrini.adb: Added context clause for System.Storage_Elements
1211         (Register): Only handles creation of taskVar; initialization moved to
1212         Thread_Body_Enter.
1213         (Reset_TSD): Deleted; replaced by Thread_Body_Enter
1214         Added declaration of environment task secondary stack and
1215         initialization.
1217         * s-thread.adb: Implement bodies for thread body processing
1219         * s-thread.ads:
1220         Added comment identifying supported targets for pragma Thread_Body.
1222 2003-11-10  Pascal Obry  <obry@gnat.com>
1224         * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
1225         GNAT_MAX_PATH_LEN.
1227         * s-fileio.adb:
1228         (Open): Properly check for string length before copying into the buffer.
1229         Raises Name_Error if buffer is too small. Note that this was a potential
1230         buffer overflow.
1232 2003-11-10  Romain Berrendonner  <berrendo@act-europe.fr>
1234         * bindgen.adb, comperr.adb: Code clean ups.
1235         * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
1237 2003-11-10  Sergey Rybin  <rybin@act-europe.fr>
1239         * gnat1drv.adb: Add call to Sem_Elim.Initialize.
1241 2003-11-10  Vincent Celier  <celier@gnat.com>
1243         * gprcmd.adb:
1244         (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
1245         installation.
1247         * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
1249         * prj.adb: (Project_Empty): Add new boolean component Virtual
1251         * prj.ads: (Virtual_Prefix): New constant string
1252         (Project_Data): New boolean component Virtual
1254         * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
1255         a library project is extended by a virtual extending project.
1257         * prj-part.adb:
1258         Modifications throughout to implement extending-all project, including:
1259         (Virtual_Hash, Processed_Hash): New hash tables
1260         (Create_Virtual_Extending_Project): New procedure
1261         (Look_For_Virtual_Projects_For): New procedure
1263         * prj-proc.adb:
1264         (Process): After checking the projects, if main project is an
1265         extending-all project, set the object directory of all virtual extending
1266         project to the object directory of the main project.
1267         Adjust error message when a virtual extending project has the same
1268         object directory as an project being extended.
1269         (Recursive_Process): If name starts with the virtual prefix, set Virtual
1270         to True in the project data.
1272         * prj-tree.adb:
1273         (Default_Project_Node): Add new boolean component Extending_All
1274         (Is_Extending_All): New function
1275         (Set_Is_Extending_All): New procedure
1277         * prj-tree.ads: (Is_Extending_All): New function
1278         (Set_Is_Extending_All): New procedure
1279         (Project_Node_Record): New boolean component Extending_All
1281         * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
1283         * vms_data.ads:
1284         Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
1286         * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
1287         "gprcmd prefix" to define it.
1289 2003-11-10  Thomas Quinot  <quinot@act-europe.fr>
1291         * einfo.ads: Fix a typo and remove an extraneous word in comments.
1293         * lib-load.adb:
1294         (Create_Dummy_Package_Unit): Set the scope of the entity for the
1295         created dummy package to Standard_Standard, not to itself, to
1296         defend other parts of the front-end against encoutering a cycle in
1297         the scope chain.
1299         * sem_ch10.adb:
1300         (Analyze_With_Clause): When setting the entities for the successive
1301         N_Expanded_Names that constitute the name of a child unit, do not
1302         attempt to go further than Standard_Standard in the chain of scopes.
1303         This case arises from the placeholder units created by
1304         Create_Dummy_Package_Unit in the case of a with_clause for a
1305         nonexistent child unit.
1307 2003-11-10  Ed Schonberg  <schonberg@gnat.com>
1309         * exp_ch6.adb:
1310         (Expand_Thread_Body): Place subprogram on scope stack, so that new
1311         declarations are given the proper scope.
1313         * sem_ch13.adb:
1314         (Check_Expr_Constants): Reject an expression that contains a constant
1315         created during expansion, and that appears after the object to which
1316         the address clause applies.
1318         * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
1319         Analyze_Iteration_Scheme, to rewrite a loop parameter specification
1320         that uses 'Range of a function call with controlled components, so
1321         that the function result can be finalized before starting the loop.
1323         * sem_ch8.adb:
1324         (Find_Selected_Component): Improve error message when prefix is
1325         an implicit dereference of an incomplete type.
1327 2003-11-10  Robert Dewar  <dewar@gnat.com>
1329         * opt.ads: New Print_Standard flag for -gnatS switch
1331         * sem_ch13.adb: Remove some additional checks for unaligned arrays
1333         * cstand.adb (Create_Standard): Print out package standard if -gnatS
1334         switch set
1336         * debug.adb: Update doc for -gnatds to discuss relationship with new
1337         -gnatS flag
1339         * sinfo.adb: Add new field Entity_Or_Associated_Node
1341         * sinfo.ads: Add new field Entity_Or_Associated_Node
1342         Update documentation for Associated_Node and Entity fields to clarify
1343         relationship and usage.
1345         * sprint.adb:
1346         (Write_Id): Properly process Associated_Node field in generic template
1348         * switch-c.adb:
1349         Recognize new -gnatS switch for printing package Standard
1350         This replaces gnatpsta
1352         * usage.adb:
1353         Add line for  new -gnatS switch for printing package Standard
1354         This replaces gnatpsta
1356 2003-11-10  Andreas Jaeger  <aj@suse.de>
1358         * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
1359         integer.
1361 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1363         * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
1364         by gnat1.
1366 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1368         * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
1369         no longer needed.
1371         * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
1373         * sysdep.c: Add handling of cygwin.
1375 2003-11-10  GNAT Script  <nobody@gnat.com>
1377         * Make-lang.in: Makefile automatically updated
1379 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1381         PR 12950
1382         * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
1383         functions. Used to handle dynamic prefix relocation, via set_std_prefix.
1384         Replace GNAT_ROOT by GCC_ROOT.
1386         * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
1388 2003-11-06  Zack Weinberg  <zack@codesourcery.com>
1390         * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
1391         and update for changed meaning of GET_MODE_BITSIZE.
1393 2003-11-04  Doug Rupp  <rupp@gnat.com>
1395         * sysdep.c: Problem discovered during IA64 VMS port.
1396         [VMS] #include <unixio.h> to get proper prototypes.
1398         * adaint.c:
1399         Issues discovered/problems fixed during IA64 VMS port.
1400         [VMS] #define _POSIX_EXIT for proper semantics.
1401         [VMS] #include <unixio.h> for proper prototypes.
1402         [VMS] (fork): #define IA64 version.
1403         (__gnat_os_exit): Remove unnecessary VMS specific code.
1405 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1407         Part of PR ada/12806
1408         * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
1409         tree, not integer.
1411         * decl.c:
1412         (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
1413         not integer.
1415         * targtyps.c, decl.c, misc.c,
1416         gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
1417         routines to work around change in FP sizing semantics in GCC.
1419         * utils.c:
1420         (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
1422         * gigi.h: (enumerate_modes): New function.
1424         * Make-lang.in: (ada/misc.o): Add real.h.
1426         * misc.c: (enumerate_modes): New function.
1428 2003-11-04  Robert Dewar  <dewar@gnat.com>
1430         * 3vtrasym.adb: Minor reformatting
1431         Use terminology encoded/decoded name, rather than C++ specific notion
1432         of mangling (this is the terminology used throughout GNAT).
1434         * einfo.h: Regenerated
1436         * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
1438         * exp_ch6.adb:
1439         (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
1441         * par-prag.adb: Add dummy entry for Thread_Body pragma
1443         * rtsfind.ads:
1444         Add entries for System.Threads entities for thread body processing
1446         * sem_attr.adb:
1447         (Analyze_Pragma, Access attributes): Check these are not applied to a
1448         thread body, since this is not permitted
1450         * sem_prag.adb: Add processing for Thread_Body pragma.
1451         Minor comment fix.
1453         * sem_res.adb:
1454         (Resolve_Call): Check for incorrect attempt to call a thread body
1455          procedure with a direct call.
1457         * snames.ads, snames.adb: Add entry for Thread_Body pragma
1458         Add names associated with thread body expansion
1460         * snames.h: Add entry for Thread_Body pragma
1462         * s-thread.adb: Add entries for thread body processing
1463         These are dummy bodies so far
1465         * s-thread.ads: Add documentation on thread body handling.
1466         Add entries for thread body processing.
1468 2003-11-04  Javier Miranda  <miranda@gnat.com>
1470         * sem_ch10.adb:
1471         (Build_Limited_Views): Return after posting an error in case of limited
1472         with_clause on subprograms, generics, instances or generic renamings
1473         (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
1474         on subprograms, generics, instances or generic renamings
1476 2003-11-04  Arnaud Charlet  <charlet@act-europe.fr>
1478         * raise.c (setup_to_install): Correct mistake in last revision; two
1479         arguments out of order.
1481         * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
1482         gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
1483         notice, missed in previous change.
1484         Remove trailing blanks and other style errors introduced in previous
1485         change.
1487 2003-11-04  Olivier Hainque  <hainque@act-europe.fr>
1489         * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
1490         rid of the wrapper for a LJM type, ensuring we don't do that if the
1491         field is addressable.  This avoids potential low level type view
1492         mismatches later on, for instance in a by-reference argument passing
1493         process.
1495 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1497         * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
1498         aligned at byte boundary.
1500 2003-11-04  Joel Brobecker  <brobecker@gnat.com>
1502         * decl.c (components_to_record): Do not delete the empty variants from
1503         the end of the union type.
1505 2003-11-04  Ed Schonberg  <schonberg@gnat.com>
1507         * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
1508         operation for a derived type, an explicit declaration may use a local
1509         subtype of Boolean.
1511 2003-11-04  Vincent Celier  <celier@gnat.com>
1513         * make.adb (Gnatmake): Allow main sources on the command line with a
1514         library project when it is only for compilation (no binding or
1515         linking).
1517 2003-11-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1519         * Makefile.in: Remove many duplicate variables.
1521 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
1523         * Make-lang.in (dvi): Move targets to $(docobjdir).
1524         (gnat_ug_vms.dvi): Simplify rule and adjust target.
1525         (gnat_ug_wnt.dvi): Likewise.
1526         (gnat_ug_unx.dvi): Likewise.
1527         (gnat_ug_vxw.dvi): Likewise.
1528         (gnat_rm.dvi): Likewise.
1529         (gnat-style.dvi): Likewise.
1531 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
1533         * gigi.h: Missed commit from update for C90.
1535 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
1537         * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
1539 2003-10-31  Andreas Schwab  <schwab@suse.de>
1541         * raise.c (get_action_description_for): Fix typo in last change.
1543 2003-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
1545         PR ada/12761
1546         * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
1547         T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
1549 2003-10-30  Kelley Cook  <kcook@gcc.gnu.org>
1551         * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
1552         ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
1553         gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
1554         sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
1555         trans.c, utils.c, utils2.c: Convert function prototypes to C90.
1557 2003-10-30  Vasiliy Fofanov  <fofanov@act-europe.fr>
1559         * 3vtrasym.adb:
1560         Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
1561         numbers when symbol name is too long.
1563 2003-10-30  Ed Falis  <falis@gnat.com>
1565         * g-signal.ads, g-signal.adb: New files
1567         * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
1569         * Makefile.rtl: Introduce GNAT.Signals
1571 2003-10-30  Robert Dewar  <dewar@gnat.com>
1573         * freeze.adb: Minor reformatting
1575         * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
1577         * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
1578         par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
1579         New handling of Id_Check parameter to improve recognition of keywords
1580         used as identifiers.
1581         Update copyright notice to include 2003
1583 2003-10-29  Robert Dewar  <dewar@gnat.com>
1585         * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
1586         sem_ch10.adb: Minor reformatting
1588         * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
1589         (Expand_Assign_Record): Test right hand side for bit unaligned as well
1591 2003-10-29  Vasiliy Fofanov  <fofanov@act-europe.fr>
1593         * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
1594         Support for TBK$SYMBOLIZE-based symbolic traceback.
1596 2003-10-29  Jose Ruiz  <ruiz@act-europe.fr>
1598         * exp_disp.adb:
1599         Revert previous change, that did not work well when pragma No_Run_Time
1600         was used in conjunction with a run-time other than ZFP.
1602 2003-10-29  Vincent Celier  <celier@gnat.com>
1604         * make.adb:
1605         (Gnatmake): When there are no Ada mains in attribute Main, disable the
1606          bind and link steps only is switch -z is not used.
1608 2003-10-29  Arnaud Charlet  <charlet@act-europe.fr>
1610         * Makefile.generic: Remove duplicated setting of CC.
1612         * Makefile.prolog: Set CC to gcc by default, to override make's
1613         default (cc).
1615         * einfo.h: Regenerated.
1617 2003-10-29  Ed Schonberg  <schonberg@gnat.com>
1619         * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
1620         current body, after compiling subunit.
1622         * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
1623         when in deleted code, because gigi needs properly ordered freeze
1624         actions to annotate types.
1626         * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
1627         prevent the premature freezing of record type that contains
1628         subcomponents with a private type that does not yet have a completion.
1630 2003-10-29  Javier Miranda  <miranda@gnat.com>
1632         * sem_ch12.adb:
1633         (Analyze_Package_Instantiation): Check that instances can not be used in
1634         limited with_clauses.
1636         * sem_ch8.adb:
1637         (Analyze_Package_Renaming): Check that limited withed packages cannot
1638         be renamed. Improve text on error messages related to limited
1639         with_clauses.
1641         * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
1643         * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
1644         Update copyright notice.
1646         * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
1647         (Install_Limited_Context_Clauses): New subprogram that isolates all the
1648         checks required for limited context_clauses and installs the limited
1649         view.
1650         (Install_Limited_Withed_Unit): Complete its documentation.
1651         (Analyze_Context): Check that limited with_clauses are only allowed in
1652         package specs.
1653         (Install_Context): Call Install_Limited_Context_Clauses after the
1654         parents have been installed.
1655         (Install_Limited_Withed_Unit): Add documentation. Mark the installed
1656         package as 'From_With_Type'; this mark indicates that the limited view
1657         is installed. Used to check bad usages of limited with_clauses.
1658         (Build_Limited_Views): Do not add shadow entities to the scope's list
1659         of entities. Do not add real entities to the Non_Limited_Views chain.
1660         Improve error notification.
1661         (Remove_Context_Clauses): Remove context clauses in two phases:
1662         limited views first and regular views later (to maintain the
1663         stack model).
1664         (Remove_Limited_With_Clause): If the package is analyzed then reinstall
1665         its visible entities.
1667 2003-10-29  Thomas Quinot  <quinot@act-europe.fr>
1669         * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
1670         with any type that Is_Fixed_Point_Type.
1672         * sinfo.ads: Fix documentation for Associated_Node attribute.
1674 2003-10-29  Sergey Rybin  <rybin@act-europe.fr>
1676         * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
1677         both '-gnatc' and '-gnatt' are specified.
1679         * atree.adb (Initialize): Add initialization for Node_Count (set to
1680         zero).
1682 2003-10-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1684         * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
1685         do not consider as Pure.
1687         Part of implementation of function-at-a-time:
1689         * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
1690         (tree_transform): Add new argument to build_component_ref.
1691         (tree_transform, case N_Assignment_Statement): Make and return an
1692         EXPR_STMT.
1693         (tree_transform): If result IS_STMT, set flags and return it.
1694         (gnat_expand_stmt, set_lineno_from_sloc): New functions.
1696         * utils2.c (build_simple_component_ref, build_component_ref): Add new
1697         arg, NO_FOLD_P.
1698         (build_binary_op, case EQ_EXPR): Pass additional arg to it.
1699         (build_allocator): Likewise.
1701         * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
1702         Add new arg to build_component_ref.
1703         (maybe_unconstrained_array, unchecked_convert): Likewise.
1705         * ada-tree.def (EXPR_STMT): New code.
1707         * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
1709         * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
1710         build_component_ref calls.
1712         * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
1714         * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
1715         (build_component_ref): Add new argument, NO_FOLD_P.
1717 2003-10-27  Arnaud Charlet  <charlet@act-europe.fr>
1719         * Makefile.generic: Add missing substitution on object_deps handling.
1721         PR ada/5909
1722         * Make-lang.in (check-ada): Enable ACATS test suite.
1724 2003-10-27  Robert Dewar  <dewar@gnat.com>
1726         * exp_ch3.adb:
1727         (Freeze_Array_Type): We do not need an initialization routine for types
1728         derived from String or Wide_String. They should be treated the same
1729         as String and Wide_String themselves. This caused problems with the
1730         use of Initialize_Scalars.
1732         * exp_ch5.adb:
1733         (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
1734         composites. This allows use of component clauses that are not byte
1735         aligned.
1737         * sem_prag.adb:
1738         (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
1739         is an attempt to pack an array of atomic objects.
1741         * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
1743 2003-10-27  Pascal Obry  <obry@gnat.com>
1745         * g-dirope.adb:
1746         (Basename): Check for drive letters in a pathname only on DOS based OS.
1748 2003-10-27  Vincent Celier  <celier@gnat.com>
1750         * make.adb:
1751         (Gnatmake): When unable to change dir to the object dir, display the
1752         content of the parent dir of the obj dir, to try to understand why this
1753         happens.
1755 2003-10-27  GNAT Script  <nobody@gnat.com>
1757         * Make-lang.in: Makefile automatically updated
1759 2003-10-27  Ed Schonberg  <schonberg@gnat.com>
1761         * sem_ch12.adb:
1762         (Inline_Instance_Body): Indicate that the save/restore of use_clauses
1763         should not be done in Save/Restore_Scope_Stack, because it is performed
1764         locally.
1766         * sem_ch8.adb:
1767         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
1768         whether use clauses should be removed/restored.
1770         * sem_ch8.ads:
1771         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
1772         whether use clauses should be removed/restored.
1774 2003-10-26  Andreas Jaeger  <aj@suse.de>
1776         * Makefile.in: Remove duplicated lines.
1778 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
1780         * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
1781         minimize the differences with ACT tree.
1783         * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
1784         gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
1785         Gnatvsn.Gnat_Static_Version_String to reduce differences between
1786         ACT and FSF trees.
1788 2003-10-24  Pascal Obry  <obry@gnat.com>
1790         PR ada/12014
1791         * adadecode.c (ostrcpy): New function.
1792         (__gnat_decode): Use ostrcpy of strcpy.
1793         (has_prefix): Set first parameter a const.
1794         (has_suffix): Set first parameter a const.
1795         Update copyright notice. Fix source name in header.
1796         Removes a trailing space.
1798 2003-10-24  Jose Ruiz  <ruiz@act-europe.fr>
1800         * exp_disp.adb:
1801         Remove the test against being in No_Run_Time_Mode before generating a
1802         call to Register_Tag. It is redundant with the test against the
1803         availability of the function Register_Tag.
1805 2003-10-24  Vincent Celier  <celier@gnat.com>
1807         * g-catiio.adb: (Month_Name): Correct spelling of February
1809         * make.adb: (Mains): New package
1810         (Initialize): Call Mains.Delete
1811         (Gnatmake): Check that each main on the command line is a source of a
1812         project file and, if there are several mains, each of them is a source
1813         of the same project file.
1814         (Gnatmake): When a foreign language is specified in attribute Languages,
1815         no main is specified on the command line and attribute Mains is not
1816         empty, only build the Ada main. If there is no Ada main, just compile
1817         the Ada sources and their closure.
1818         (Gnatmake): If a main is specified on the command line with directory
1819         information, check that the source exists and, if it does, that the path
1820         is the actual path of a source of a project.
1822         * prj-env.adb:
1823         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
1824         Full_Path is True, return the full path instead of the simple file name.
1825         (Project_Of): New function
1827         * prj-env.ads:
1828         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
1829         defaulted to False.
1830         (Project_Of): New function
1832 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
1834         * Makefile.generic:
1835         Ensure objects of main project are always checked and rebuilt if needed.
1836         Set CC to gcc by default.
1837         Prepare new handling of link by creating a global archive (not activated
1838         yet).
1840         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
1841         stringt.h: Update copyright notice. Remove trailing blanks.
1842         Fix source name in header.
1844 2003-10-24  Robert Dewar  <dewar@gnat.com>
1846         * sem_ch12.adb: Minor reformatting
1848         * sem_ch3.adb:
1849         Minor reformatting (including new function return style throughout)
1851         * sem_ch3.ads:
1852         Minor reformatting (including new function return style throughout)
1854 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
1856         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
1857         stringt.h: Update copyright notice. Remove trailing blanks.
1858         Fix source name in header.
1860 2003-10-24  GNAT Script  <nobody@gnat.com>
1862         * Make-lang.in: Makefile automatically updated
1864 2003-10-23  Nathanael Nerode  <neroden@gcc.gnu.org>
1866         * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
1867         stringt.h: Convert to ISO C90 declarations and definitions.
1869 2003-10-23  Thomas Quinot  <quinot@act-europe.fr>
1871         PR ada/11978
1872         * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
1873         External_Tag attribute definition clauses.
1875 2003-10-23  Ed Schonberg  <schonberg@gnat.com>
1877         PR ada/7613
1878         * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
1879         child unit, generate a fully qualified name to avoid spurious errors
1880         when the context contains renamings of different child units with
1881         the same simple name.
1883         * exp_dbug.ads: Add documentation on name qualification for renamings
1884         of child units.
1886 2003-10-23  Robert Dewar  <dewar@gnat.com>
1888         * g-regpat.ads, g-regpat.adb: Minor reformatting
1890 2003-10-23  Jose Ruiz  <ruiz@act-europe.fr>
1892         * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
1894 2003-10-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1896         * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
1897         Machine call.
1899         * urealp.h: (Machine): Update to proper definition.
1901 2003-10-23  Arnaud Charlet  <charlet@act-europe.fr>
1903         * init.c, adaint.c: Minor reformatting.
1905 2003-10-23  Danny Smith  <dannysmith@users.sourceforge.net>
1907         * adaint.c (w32_epoch_offset): Define static const at file level.
1908         (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
1909         rather than t_create, t_access in call to GetFileTime. Use union
1910         to convert between FILETIME and  unsigned long long.
1911         (__gnat_file_time_name): Test for invalid file handle.
1912         (__gnat_set_filetime_name): Support win32 targets using
1913         w32api SetFileTime.
1915 2003-10-22  Danny Smith  <dannysmith@users.sourceforge.net>
1917         * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
1919         * ctrl_c.c (__gnat_int_handler): Remove declaration.
1921         * decl.c (creat_concat_name):  Const-ify prefix.
1923         * adaint.c: Include ctype.h if __MINGW32__.
1924         (__gnat_readlink): Mark arguments as possibly unused.
1925         (__gnat_symlink): Likewise.
1926         (__gnat_is_symbolic_link): Likewise.
1927         (__gnat_portable_spawn): Likewise.  Cast last arg of spawnvp to match
1928         declaration
1929         (__gnat_file_time_name): Don't declare struct stat statbuf when
1930         not needed.
1931         (__gnat_is_absolute_path): Add parenthesis around condition of
1932         'if' statement to avoid warning.
1933         (__gnat_plist_init): Specify void as parameter.
1934         (plist_enter): Likewise.
1935         (plist_leave): Likewise.
1936         (remove_handle): Make static. Initialize prev.
1938 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
1940         PR ada/10110
1941         * Makefile.in: Disable build of gnatpsta.
1942         * cstreams.c (__gnat_full_name): Minor improvements and clean up
1943         of previous change.
1945 2003-10-22  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1947         * tracebak.c (MAX): Avoid redefinition warning.
1949         * init.c [sgi] (__gnat_error_handler): Remove i, unused.
1950         Change msg to const char *.
1951         (__gnat_install_handler): Remove ss, unused.
1952         [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
1953         to const char *.
1954         * cstreams.c (__gnat_full_name): Declare p only when used.
1955         (__gnat_full_name) [sgi] Return buffer.
1957 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
1959         * mingw32.h: New file.
1960         * gnat_wrapper.adb: New file.
1962 2003-10-22  Jerome Roussel  <roussel@act-europe.fr>
1964         * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
1965         string match a pre compiled regular expression (the corresponding
1966         version of the function working on a raw regular expression)
1967         Fix typos in various comments
1968         Update copyright notice in spec
1970 2003-10-21  Gary Dismukes  <dismukes@gnat.com>
1972         * exp_ch3.adb:
1973         (Component_Needs_Simple_Initialization): Return False when the type is a
1974         packed bit array. Revise spec comments to document this case.
1976         * exp_prag.adb:
1977         (Expand_Pragma_Import): Set any expression on the imported object to
1978         empty to avoid initializing imported objects (in particular this
1979         covers the case of zero-initialization of bit arrays).
1980         Update copyright notice.
1982 2003-10-21  Ed Schonberg  <schonberg@gnat.com>
1984         * sem_ch12.adb:
1985         (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
1986         a subunit is missing.
1987         (Instantiate_Subprogram_Body): If body of function is missing, set type
1988         of return expression explicitly in dummy body, to prevent cascaded
1989         errors when a subunit is missing.
1990         Fixes PR 5677.
1992         * sem_ch3.adb:
1993         (Access_Subprogram_Declaration): Verify that return type is valid.
1994         Fixes PR 8693.
1996         * sem_elab.adb:
1997         (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
1998         generic.
1999         Fixes PR 12318.
2001         * sem_util.adb:
2002         (Corresponding_Discriminant): If the scope of the discriminant is a
2003         private type without discriminant, use its full view.
2004         Fixes PR 8247.
2006 2003-10-21  Arnaud Charlet  <charlet@act-europe.fr>
2008         * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
2009         3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
2010         3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
2011         55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
2012         56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
2013         59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
2014         5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2015         5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
2016         5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
2017         5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
2018         5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
2019         5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
2020         5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
2021         5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
2022         7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
2023         a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
2024         a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
2025         a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
2026         bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
2027         erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
2028         err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
2029         g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
2030         g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
2031         g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
2032         g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
2033         g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
2034         g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
2035         gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
2036         g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
2037         g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
2038         i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
2039         prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
2040         prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
2041         s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
2042         s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
2043         s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
2044         s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
2045         s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
2046         s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
2047         s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
2048         s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
2049         socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
2050         s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
2051         s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
2052         s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
2053         styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
2054         s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
2055         tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2056         vms_conv.ads, vms_conv.adb, vms_data.ads,
2057         vxaddr2line.adb: Files added. Merge with ACT tree.
2059         * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2060         5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2061         5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2062         5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2063         g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2064         s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2065         s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2066         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2067         s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2068         s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2070         * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2071         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2072         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2073         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2074         4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2075         4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2076         4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2077         4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2078         51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2079         53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2080         5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2081         5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2082         5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2083         5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2084         5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2085         5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2086         5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2087         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2088         5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2089         5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2090         5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2091         5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2092         5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2093         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2094         5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2095         5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2096         5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2097         5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2098         5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2099         5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2100         5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2101         5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2102         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2103         5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2104         6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2105         7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2106         7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2107         a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2108         a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2109         a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2110         a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2111         a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2112         ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2113         a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2114         a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2115         a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2116         a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2117         a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2118         a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2119         a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2120         a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2121         a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2122         a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2123         a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2124         a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2125         atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2126         a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2127         a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2128         bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2129         checks.adb, checks.ads, cio.c, comperr.adb,
2130         comperr.ads, csets.adb, cstand.adb, cstreams.c,
2131         debug_a.adb, debug_a.ads, debug.adb, decl.c,
2132         einfo.adb, einfo.ads, errout.adb, errout.ads,
2133         eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2134         expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2135         exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2136         exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2137         exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2138         exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2139         exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2140         exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2141         exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2142         fe.h, fmap.adb, fmap.ads, fname.adb,
2143         fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2144         freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2145         g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2146         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2147         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2148         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2149         g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2150         g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2151         g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2152         g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2153         g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2154         g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2155         g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2156         g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2157         gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2158         gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2159         gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2160         gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2161         gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2162         g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2163         g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2164         g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2165         g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2166         g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2167         g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2168         g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2169         g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2170         i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2171         i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2172         inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2173         itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2174         layout.adb, lib.adb, lib.ads, lib-list.adb,
2175         lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2176         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2177         link.c, live.adb, make.adb, make.ads,
2178         Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2179         mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2180         mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2181         misc.c, mkdir.c, mlib.adb, mlib.ads,
2182         mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2183         mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
2184         namet.adb, namet.ads, namet.h, nlists.ads,
2185         nlists.h, nmake.adt, opt.adb, opt.ads,
2186         osint.adb, osint.ads, osint-b.adb, osint-c.adb,
2187         par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
2188         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2189         par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
2190         par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
2191         prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
2192         prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
2193         prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
2194         prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
2195         prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
2196         prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
2197         prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
2198         prj-util.adb, prj-util.ads, raise.c, raise.h,
2199         repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
2200         rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
2201         s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
2202         s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
2203         scans.ads, scn.adb, scn.ads, s-crc32.adb,
2204         s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
2205         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
2206         sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
2207         sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
2208         sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
2209         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2210         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2211         sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
2212         sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
2213         sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
2214         sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
2215         sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
2216         s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
2217         s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
2218         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2219         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
2220         s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
2221         s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
2222         s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
2223         sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
2224         sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
2225         sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
2226         s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
2227         s-memory.adb, s-memory.ads, snames.adb, snames.ads,
2228         snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
2229         s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
2230         s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
2231         s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
2232         s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
2233         s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
2234         s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
2235         s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
2236         s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
2237         s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
2238         s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
2239         s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
2240         s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
2241         s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
2242         s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
2243         s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
2244         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
2245         stringt.adb, stringt.ads, stringt.h, style.ads,
2246         stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
2247         s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
2248         s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
2249         switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
2250         s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
2251         table.adb, table.ads, targparm.adb, targparm.ads,
2252         targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
2253         trans.c, tree_io.adb, treepr.adb, treeprs.adt,
2254         ttypes.ads, types.ads, types.h, uintp.adb,
2255         uintp.ads, uintp.h, uname.adb, urealp.adb,
2256         urealp.ads, urealp.h, usage.adb, utils2.c,
2257         utils.c, validsw.adb, validsw.ads, widechar.adb,
2258         xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
2259         xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
2260         einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
2261         gnatvsn.ads: Merge with ACT tree.
2263         * gnatvsn.adb: Rewritten in a simpler and more efficient way.
2265 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
2267         * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
2268         (gnat_ug_vmx.info): Likewise.
2269         (gnat_ug_vxw.info): Likewise.
2270         (gnat_ug_wnt.info): Likewise.
2271         (gnat_rm.info): Likewise.
2272         (gnat-style.info): Likewise.
2274         * Make-lang.in (ada.install-info): Remove target.
2275         (info): New target.
2276         (install-info): Likewise.
2277         (gnat_ug_unx.info): Simplify rule.
2278         (gnat_ug_vmx.info): Likewise.
2279         (gnat_ug_vxw.info): Likewise.
2280         (gnat_ug_wnt.info): Likewise.
2281         (gnat_rm.info): Likewise.
2282         (gnat-style.info): Likewise.
2284 2003-10-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2286         * Make-lang.in: Replace uses of $(target_alias) with
2287         $(target_noncanonical).
2288         * ada/Makefile.in: Remove unused mention of $(target_alias).
2290 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
2292         * Make-lang.in (ada.info): Replace with ...
2293         (info): ... this.
2294         (ada.dvi): Replace with ...
2295         (dvi): ... this.
2297 2003-09-29  Zack Weinberg  <zack@codesourcery.com>
2299         * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
2300         initialize dconstp5 and dconstmp5.
2302 2003-09-28  Richard Henderson  <rth@redhat.com>
2304         * trans.c (tree_transform): Update call to expand_asm_operands.
2306 2003-09-21  Richard Henderson  <rth@redhat.com>
2308         * trans.c, utils.c: Revert.
2310 2003-09-21  Richard Henderson  <rth@redhat.com>
2312         * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
2313         change to const.
2315 2003-09-04  Michael Matz  <matz@suse.de>
2317         * misc.c: Include "target.h".
2318         * Make-lang.in (misc.o): Add dependency on target.h.
2320 2003-09-03  DJ Delorie  <dj@redhat.com>
2322         * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
2323         hook.
2325 2003-08-30  Zack Weinberg  <zack@codesourcery.com>
2327         * Makefile.in: Update substitutions to match changes to
2328         configure.  Use include directives instead of @-insertions
2329         to read in host and target fragments.  Add a rule to
2330         regenerate ada/Makefile.
2332 2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
2334         * lang-options.h: Remove.
2335         * lang.opt: Add help text.
2337 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
2339         * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
2340         calls.
2342 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
2344         * misc.c (gnat_handle_option): Don't handle filenames.
2346 2003-07-04  H.J. Lu  <hongjiu.lu@intel.com>
2348         * Make-lang.in: Replace PWD with PWD_COMMAND.
2349         * Makefile.adalib: Likewise.
2350         * Makefile.in: Likewise.
2352 2003-07-04  Matt Kraai  <kraai@alumni.cmu.edu>
2354         * misc.c (gnat_argv): Revert last change.
2355         (gnat_handle_option, gnat_init_options): Copy arguments.
2357 2003-07-03  Neil Booth  <neil@daikokuya.co.uk>
2359         * misc.c (gnat_argv): Make const.
2361 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
2363         * misc.c (save_argc, save_argv): Keep non-static!
2365 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
2367         * misc.c (save_argc, save_argv): Make static.
2368         (gnat_init_options): New prototype.
2369         (gnat_init_options): Update.
2371 2003-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
2373         * gnat_ug.texi: Remove unlikely characters from @vars.
2374         * gnat_ug_vms.texi: Regenerate.
2376 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
2378         * misc.c (record_code_position): Adjust emit_note call.
2380 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
2382         * misc.c (gnat_handle_option): Don't check for missing arguments.
2384 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
2386         * utils.c (end_subprog_body): Adjust expand_function_end call.
2388 2003-06-16  Matt Kraai  <kraai@alumni.cmu.edu>
2390         * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
2391         Bind_Main_Program.
2393 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2395         * lang.opt: Declare Ada.
2396         * misc.c (gnat_init_options): Update.
2398 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
2400         * utils.c (begin_subprog_body): Adjust init_function_start call.
2402 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
2404         * Make-lang.in: Update to use options.c and options.h.
2405         * misc.c: Include options.h not aoptions.h.
2406         (gnat_handle_option): Abort on unrecognized switch.
2407         (gnat_init_options): Request Ada switches.
2409 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
2411         * lang.opt: Add -Wall.
2412         * misc.c (gnat_handle_option): Handle it.
2414 2003-06-12  Neil Booth  <neil@daikokuya.co.uk>
2416         * misc.c (gnat_handle_option): Fix warnings.
2418 2003-06-11  Matt Kraai  <kraai@alumni.cmu.edu>
2420         * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
2422 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
2424         * Make-lang.in: Update to handle command-line options.
2425         * lang.opt: New file.
2426         * misc.c: Include aoptions.h.
2427         (cl_options_count, cl_options): Remove.
2428         (gnat_handle_option): New.
2429         (gnat_decode_option): Remove.
2430         (LANG_HOOKS_DECODE_OPTION): Remove.
2431         (LANG_HOOKS_HANDLE_OPTION): Override.
2433 2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
2435         * init.c, misc.c, trans.c, utils.c: Remove dead code.
2437 2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2439         * Makefile.in: Replace "host_canonical" with "host" for autoconf
2440         substitution.
2442 2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
2444         * Make-lang.in: Update.
2445         * misc.c: Include opts.h. Define cl_options_count and cl_options.
2447 2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
2449         * misc.c (gnat_init_options): Update.
2451 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2453         * Make-lang.in (ada/b_gnatb.o-warn): Remove.
2454         * bindgen.adb (Gen_Main_C): Mark ensure_reference with
2455         __attribute__ ((__unused__)).
2457 2003-06-05  Jan Hubicka  <jh@suse.cz>
2459         * Make-lang.in:  Add support for stageprofile and stagefeedback
2461 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2463         * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
2464         (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
2466 2003-06-04  Matt Kraai  <kraai@alumni.cmu.edu>
2468         * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
2469         Remove non-VMS directive.
2470         (Switches for gnatlbr, Optimization Levels): Remove non-VMS
2471         alternatives.
2472         (Examples of gnatls Usage): Remove VMS alternative.
2474 2003-06-04  Olivier Hainque  <hainque@act-europe.fr>
2476         PR ada/9953
2477         * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
2478         and turn ZCX_By_Default back to False since the underlying support
2479         is not quite there yet.
2481 2003-06-01  Andreas Jaeger  <aj@suse.de>
2483         * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
2484         and ROUND_TYPE_SIZE_UNIT.
2486 2003-05-22   Geert Bosch  <bosch@gnat.com>
2488         * gnat_rm.texi : Remove reference to Ada Core Technologies.
2490 2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
2492         * trans.c (tree_transform): Use location_t and input_location
2493         directly.
2494         (build_unit_elab): Likewise.
2495         * utils.c (create_label_decl): Likewise.
2497 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
2499         * trans.c (tree_transform, build_unit_elab,
2500         set_lineno): Rename lineno to input_line.
2501         * utils.c (pushdecl, create_label_decl, begin_subprog_body,
2502         end_subprog_body): Likewise.
2503         * utils2.c (build_call_raise): Likewise.
2505 2003-05-01  Laurent Guerby  <guerby@acm.org>
2507         PR ada/10546
2508         * 5iosinte.ads: Increase pthread_cond_t size to match recent
2509         LinuxThread and NPTL version, merge from ACT.
2511 2003-04-28  Zack Weinberg  <zack@codesourcery.com>
2513         * utils.c (convert): No need to clear TREE_CST_RTL.
2515 2003-04-23   Geert Bosch  <bosch@gnat.com>
2517         * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
2518         1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2519         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2520         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2521         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2522         4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
2523         4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
2524         4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
2525         4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2526         4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
2527         4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
2528         4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
2529         52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
2530         5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
2531         5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
2532         5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
2533         5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
2534         5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
2535         5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
2536         5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
2537         5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
2538         5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
2539         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2540         5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
2541         5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
2542         5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
2543         5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
2544         5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
2545         5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
2546         5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
2547         5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
2548         5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
2549         5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
2550         5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
2551         5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
2552         5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
2553         5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
2554         5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
2555         5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
2556         5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
2557         5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
2558         5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
2559         5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
2560         5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
2561         6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
2562         7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
2563         7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
2564         9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
2565         a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
2566         a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
2567         a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
2568         a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
2569         a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
2570         a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
2571         a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
2572         a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
2573         a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
2574         a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
2575         a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
2576         a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
2577         a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
2578         a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
2579         a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
2580         a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
2581         a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
2582         a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
2583         a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
2584         a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
2585         a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
2586         a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
2587         a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
2588         a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
2589         a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
2590         a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
2591         a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
2592         a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
2593         a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
2594         a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
2595         a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
2596         a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
2597         a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
2598         a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
2599         a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
2600         a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
2601         a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
2602         a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
2603         a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
2604         a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
2605         a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
2606         a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
2607         a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
2608         a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
2609         a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
2610         a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
2611         a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
2612         a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
2613         a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
2614         a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
2615         a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
2616         a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
2617         a-wttest.ads, ada-tree.h, ada.ads, ada.h,
2618         adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
2619         ali.adb, ali.ads, alloc.ads, argv.c,
2620         atree.adb, atree.ads, atree.h, aux-io.c,
2621         back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
2622         binde.adb, binde.ads, binderr.adb, binderr.ads,
2623         bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
2624         butil.adb, butil.ads, cal.c, calendar.ads,
2625         casing.adb, casing.ads, ceinfo.adb, checks.adb,
2626         checks.ads, cio.c, comperr.adb, comperr.ads,
2627         config-lang.in, csets.adb, csets.ads, csinfo.adb,
2628         cstand.adb, cstand.ads, cuintp.c, debug.adb,
2629         debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
2630         dec-io.ads, dec.ads, deftarg.c, directio.ads,
2631         einfo.adb, einfo.ads, elists.adb, elists.ads,
2632         elists.h, errno.c, errout.adb, errout.ads,
2633         eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
2634         exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
2635         exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
2636         exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
2637         exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
2638         exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
2639         exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
2640         exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
2641         exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
2642         exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
2643         exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
2644         exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
2645         exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
2646         exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
2647         exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
2648         fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
2649         fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
2650         freeze.adb, freeze.ads, frontend.adb, frontend.ads,
2651         g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
2652         g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
2653         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2654         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2655         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2656         g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
2657         g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
2658         g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
2659         g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
2660         g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
2661         g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
2662         g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
2663         g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
2664         g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
2665         g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
2666         g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
2667         g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
2668         g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
2669         g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
2670         g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
2671         g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
2672         g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
2673         get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
2674         gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
2675         gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
2676         gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
2677         gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
2678         gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
2679         gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
2680         gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
2681         hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
2682         i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
2683         i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
2684         i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
2685         i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
2686         i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
2687         i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
2688         inline.adb, inline.ads, interfac.ads, ioexcept.ads,
2689         itypes.adb, itypes.ads, krunch.adb, krunch.ads,
2690         layout.adb, layout.ads, lib-list.adb, lib-load.adb,
2691         lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
2692         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2693         lib.adb, lib.ads, live.adb, live.ads,
2694         machcode.ads, make.adb, make.ads, makeusg.adb,
2695         makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
2696         mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
2697         memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
2698         mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
2699         mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
2700         mlib.ads, namet.adb, namet.ads, nlists.adb,
2701         nlists.ads, opt.adb, opt.ads, osint-b.adb,
2702         osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
2703         osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
2704         osint.ads, output.adb, output.ads, par-ch10.adb,
2705         par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
2706         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2707         par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
2708         par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
2709         par-tchk.adb, par-util.adb, par.adb, par.ads,
2710         prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
2711         prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
2712         prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
2713         prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
2714         prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
2715         prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
2716         prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
2717         prj.adb, prj.ads, repinfo.adb, repinfo.ads,
2718         restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
2719         rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
2720         s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
2721         s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
2722         s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
2723         s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
2724         s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
2725         s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
2726         s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
2727         s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2728         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
2729         s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
2730         s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
2731         s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
2732         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2733         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
2734         s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
2735         s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
2736         s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
2737         s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
2738         s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
2739         s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
2740         s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
2741         s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
2742         s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
2743         s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
2744         s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
2745         s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
2746         s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
2747         s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
2748         s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
2749         s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
2750         s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
2751         s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
2752         s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
2753         s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
2754         s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
2755         s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
2756         s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
2757         s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
2758         s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
2759         s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
2760         s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
2761         s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
2762         s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
2763         s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
2764         s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
2765         s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
2766         s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
2767         s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
2768         s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
2769         s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
2770         s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
2771         s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
2772         s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
2773         s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
2774         s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
2775         s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
2776         s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
2777         s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
2778         s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
2779         s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
2780         s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
2781         s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
2782         s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
2783         s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
2784         s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
2785         s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
2786         s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
2787         s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
2788         s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
2789         s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
2790         s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
2791         s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
2792         s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
2793         s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
2794         s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
2795         s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
2796         s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
2797         s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
2798         s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
2799         s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
2800         s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
2801         s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
2802         s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
2803         s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
2804         s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
2805         s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
2806         s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
2807         s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
2808         s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
2809         s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
2810         s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
2811         s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
2812         s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
2813         scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
2814         sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
2815         sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
2816         sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
2817         sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
2818         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
2819         sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
2820         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2821         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2822         sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
2823         sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
2824         sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
2825         sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
2826         sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
2827         sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
2828         sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
2829         sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
2830         sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
2831         sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
2832         sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
2833         sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
2834         snames.ads, sprint.adb, sprint.ads, stand.adb,
2835         stand.ads, stringt.adb, stringt.ads, style.adb,
2836         style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
2837         switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
2838         switch-m.ads, switch.adb, switch.ads, system.ads,
2839         table.adb, table.ads, targparm.adb, targparm.ads,
2840         tbuild.adb, tbuild.ads, text_io.ads, trans.c,
2841         tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
2842         tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
2843         ttypef.ads, ttypes.ads, types.adb, types.ads,
2844         uintp.adb, uintp.ads, uname.adb, uname.ads,
2845         unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
2846         usage.adb, usage.ads, validsw.adb, validsw.ads,
2847         widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
2848         xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
2849         xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
2850         formatting and other trivial changes from ACT.
2852 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
2854         * gigi.h, utils2.c (build_constructor):
2855         Rename gnat_build_constructor. Use build_constructor.
2856         * decl.c (gnat_to_gnu_entity)
2857         * trans.c (tree_transform, pos_to_constructor, extract_values)
2858         * ada/utils.c (build_template, convert_to_fat_pointer, convert)
2859         (unchecked_convert)
2860         * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
2861         (fill_vms_descriptor):
2862         Update to match.
2864 2003-04-06  Zack Weinberg  <zack@codesourcery.com>
2866         * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
2867         * misc.c (gnat_tree_size): New function.
2868         (LANG_HOOKS_TREE_SIZE): Override.
2870 2003-04-03  Jason Merrill  <jason@redhat.com>
2872         * misc.c (gnat_adjust_rli): #if 0.
2874 2003-03-31   Geert Bosch  <bosch@gnat.com>
2876         PR ada/10020
2877         * link.c : Fix misspelled "const" keyword
2879 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
2881         PR c++/7086
2882         * utils2.c: Adjust calls to put_var_into_stack.
2884 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
2886         * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
2888 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
2890         * misc.c (gnat_init): Update for new prototype.
2892 2003-03-05  Olivier Hainque  <hainque@gnat.com>
2894         ada/9961
2895         * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
2896         warning, and fix return type for the IN_RTS && !SJLJ case.
2898 2003-03-04  Tom Tromey  <tromey@redhat.com>
2900         * Make-lang.in (ada.tags): New target.
2902 2003-03-04  Olivier Hainque  <hainque@act-europe.fr>
2904         ada/9911
2905         * a-except.adb (Unwind_RaiseException): Import a GNAT specific
2906         wrapper, which name remains constant whatever underlying GCC
2907         scheme.
2909         * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
2910         the stable interface needed for a-except.
2912 2003-03-02  Andreas Jaeger  <aj@suse.de>
2914         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2915         gnat_ug_wnt.texi: Regenerate.
2917 2003-03-02  Laurent Guerby  <guerby@acm.org>
2919         * Makefile.in (install-gnatlib): Match previous change there
2920         so it works.
2922 2003-02-28  Andreas Schwab  <schwab@suse.de>
2924         * Make-lang.in (install-gnatlib): Change to ada directory before
2925         running make instead of using ada/Makefile directly.
2927 2003-02-18  Ben Elliston  <bje@redhat.com>
2929         Part of PR ada/9406
2930         * gnat_ug.texi (Binder output file): Grammar fix.
2932 2003-02-18  Ben Elliston  <bje@redhat.com>
2934         PR other/7350
2935         * 5qtaprop.adb (Sleep): Fix typo in comment.
2937 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
2939         * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
2940         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2941         gnat_ug_wnt.texi: Regenerate.
2943 2003-02-03  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2945         * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
2946         be created if necessary.
2947         (ada.install-common): Let $(DESTDIR)$(bindir) be created
2948         if necessary.  Remove erroneous and redundant gnatchop
2949         installation commands.  Test for gnatdll before attempting
2950         to install it.
2951         (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
2952         and gnatdll from all plausible locations.
2954 2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
2956         * utils2.c (build_unary_op): Don't check flag_volatile.
2957         * gnat_ug.texi: Remove -fvolatile from example.
2958         * gnat_ug_vxw.texi: Likewise.
2960 2003-01-29  Laurent Guerby  <guerby@acm.org>
2962         PR ada/8344
2963         * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
2964         * Makefile.in: match previous change.
2965         * Make-lang.in: match previous change.
2967 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
2969         * 5rosinte.ads: Add SIGXCPU.
2970         * 5rtpopsp.adb: New file.
2971         * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
2972         * Makefile.in: Recognize more RTEMS targets and add the RTEMS
2973         specific file 5rtpopsp.adb.
2974         * adaint.h: Add include of <stdio.h> when target is RTEMS.  This
2975         is likely needed for all newlib targets.
2976         * init.c: Add RTEMS specific version of __gnat_initialize().
2978 2003-01-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2980         * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
2982 2003-01-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2984         * init.c (__gnat_error_handler): Make msg const.
2986         * gmem.c (convert_addresses): Move declaration ...
2987         * adaint.h: ... here.
2988         * adaint.c (convert_addresses): Adapt addrs type to match
2989         prototype.
2991         * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
2993 2003-01-24  Andreas Schwab  <schwab@suse.de>
2995         * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
2996         size_t to avoid warning.
2998 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
3000         * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
3002 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
3004         * gnat_rm.texi: Remove RCS version number.
3006         * ada-tree.h (union lang_tree_node): Add chain_next option.
3008 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
3010         * Make-lang.in (ada.install-info, ada.install-common,
3011         ada.uninstall): Prepend $(DESTDIR) to the destination
3012         directory in all (un)installation commands.
3013         * Makefile.in (install-gnatlib, install-rts): Ditto.
3017 Copyright (C) 2003 Free Software Foundation, Inc.
3019 Copying and distribution of this file, with or without modification,
3020 are permitted in any medium without royalty provided the copyright
3021 notice and this notice are preserved.