OSDN Git Service

2004-01-15 Olivier Hainque <hainque@act-europe.fr>
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
1 2004-01-15  Olivier Hainque  <hainque@act-europe.fr>
2
3         * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
4         also when not defining if a Size clause applies. That information is
5         not to be ignored.
6
7 2004-01-15  Arnaud Charlet  <charlet@act-europe.fr>
8
9         * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
10         symbolic links for the shared gnat run time when needed.
11
12 2004-01-15  Vasiliy Fofanov  <fofanov@act-europe.fr>
13
14         * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
15         for writing, and terminate with an error message if not.
16
17 2004-01-15  Ed Schonberg  <schonberg@gnat.com>
18
19         * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
20         warning on an access to subprogram in an instance, when the target
21         type is declared in the same generic unit.
22         (Eval_Attribute): If 'access is known to fail accessibility check,
23         rewrite as a raise statement.
24
25 2004-01-15  GNAT Script  <nobody@gnat.com>
26
27         * Make-lang.in: Makefile automatically updated
28
29 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
30
31         * Make-lang.in (ada.srcextra): Dummy entry.
32
33 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
34
35         * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
36
37 2004-01-13  Ed Schonberg  <schonberg@gnat.com>
38
39         * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
40         components that are initialized with aggregates.
41
42 2004-01-13  Vincent Celier  <celier@gnat.com>
43
44         * gnatlink.adb (Process_Binder_File): To find directory of shared
45         libgcc, if "gcc-lib" is not a subdirectory, look for the last
46         subdirectory "lib" in the path of the shared libgnat or libgnarl.
47
48         * make.adb (Gnatmake): If GCC version is at least 3, link with
49         -shared-libgcc, when there is at least one shared library project.
50
51         * opt.ads (GCC_Version): New integer constant.
52
53         * adaint.c (get_gcc_version): New function.
54
55 2004-01-13  Robert Dewar  <dewar@gnat.com>
56
57         * sem_dist.adb, sem_res.adb, sem_util.adb,
58         sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
59         exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
60
61 2004-01-13  Thomas Quinot  <quinot@act-europe.fr>
62
63         * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
64         g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
65         declarations.
66
67 2004-01-12  Arnaud Charlet  <charlet@act-europe.fr>
68
69         * misc.c: Remove trailing spaces.
70         Update copyright notice missed in previous change.
71
72         PR ada/13572
73         * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
74         prefix/share/make
75
76         * Makefile.generic: Update copyright.
77         Add license notice.
78
79         * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
80         of prefix/share/make.
81
82         * Makefile.prolog: Update copyright.
83         Add license notice.
84
85 2004-01-12  Laurent Pautet  <pautet@act-europe.fr>
86
87         * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
88         3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
89         g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
90         instead of String.
91
92         * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
93         signature.
94
95 2004-01-12  Javier Miranda  <miranda@gnat.com>
96
97         * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
98         exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
99         sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
100         sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
101         Component_Definition node.
102
103 2004-01-12  Ed Falis  <falis@gnat.com>
104
105         * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
106
107 2004-01-12  Thomas Quinot  <quinot@act-europe.fr>
108
109         * link.c: Change default libgnat kind to STATIC for FreeBSD.
110
111 2004-01-12  Bernard Banner  <banner@gnat.com>
112
113         * Makefile.in: map 86numaux to a-numaux for x86_64
114
115 2004-01-12  Ed Schonberg  <schonberg@gnat.com>
116
117         * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
118         generated to rename a generic actual, go to the actual itself, the
119         subtype is not a user-visible entity.
120
121         * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
122         part is a private subtype, reset the visibility of its full view, if
123         any, to be consistent.
124
125         PR ada/13417
126         * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
127         to use a generic package G as a formal package for another generic
128         declared within G.
129
130 2004-01-12  Robert Dewar  <dewar@gnat.com>
131
132         * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
133
134         * usage.adb: Remove mention of obsolete -gnatwb switch
135         Noticed during code reading
136
137 2004-01-12  Jerome Guitton  <guitton@act-europe.fr>
138
139         * 1ssecsta.adb: Minor changes for -gnatwa warnings
140
141 2004-01-12  GNAT Script  <nobody@gnat.com>
142
143         * Make-lang.in: Makefile automatically updated
144
145 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
146
147         * misc.c (gnat_expand_expr): Add alt_rtl parameter.
148
149 2004-01-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
150
151         * link.c [sgi] (shared_libgnat_default): Change to STATIC.
152
153 2004-01-05  Kelley Cook  <kcook@gcc.gnu.org>
154
155         * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18. 
156         Update comment and copyright date.
157         * stamp-xgnatug: Delete.
158
159 2004-01-05  Robert Dewar  <dewar@gnat.com>
160
161         * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
162         be modified by the binder generated main program if the -D switch is
163         used.
164
165         * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
166         imported functions (since now we expect this to be done for imported
167         functions)
168
169         * 5vtaprop.adb: Add several ??? for sections requiring more comments
170         Minor reformatting throughout
171
172         * 5zinit.adb: Minor reformatting
173         Add 2004 to copyright date
174         Minor changes to avoid -gnatwa warnings
175         Correct some instances of using OR instead of OR ELSE (noted while
176         doing reformatting)
177
178         * sprint.adb: Minor updates to avoid -gnatwa warnings
179
180         * s-secsta.ads, s-secsta.adb: 
181         (SS_Get_Max): New function to obtain high water mark for ss stack
182         Default_Secondary_Stack is not a constant since it may be modified by
183         the binder generated main program if the -D switch is used.
184
185         * switch-b.adb: New -Dnnn switch for binder
186
187         * switch-c.adb: 
188         Make -gnatg imply all warnings currently in -gnatwa
189
190         * vms_conv.adb: Minor reformatting
191         Add 2004 to copyright notice
192         Add 2004 to printed copyright notice
193
194         * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
195         3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
196         5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
197         5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
198         5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
199         5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
200         5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
201         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
202         5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
203         5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
204         6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
205         vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
206         xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
207         sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
208         checks.adb, clean.adb, cstand.adb, einfo.ads,
209         einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
210         exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
211         prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
212         sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
213         g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
214         lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
215         Minor reformatting and code clean ups.
216         Minor changes to prevent -gnatwa warnings
217
218         * ali.adb: Minor reformatting and cleanup of code
219         Acquire new SS indication of secondary stack use from ali files
220
221         * a-numaux.ads: Add Pure_Function pragmas for all imported functions
222         (since now we expect this to be done for imported functions)
223
224         * bindgen.adb: Generate call to modify default secondary stack size if
225         -Dnnn switch given
226
227         * bindusg.adb: Add line for new -D switch
228
229         * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
230         replacement name for Type_May_Have_Non_Bit_Aligned_Components!
231         Add circuitry for both records and arrays to avoid gigi
232         processing if the type involved has non-bit-aligned components
233
234         * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
235         N_String_Literal node always references an E_String_Literal_Subtype
236         entity. This may not be true in the future.
237         (Possible_Bit_Aligned_Component): Move processing of
238         Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
239
240         * exp_ch6.adb (Expand_Thread_Body): Pick up
241         Default_Secondary_Stack_Size as variable so that we get value modified
242         by possible -Dnnn binder parameter.
243
244         * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
245         (Type_May_Have_Bit_Aligned_Components): New function.
246
247         * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
248         (Type_May_Have_Bit_Aligned_Components): New function.
249
250         * fe.h: (Set_Identifier_Casing): Fix prototype.
251         Add declaration for Sem_Elim.Eliminate_Error_Msg.
252         Minor reformatting.
253
254         * freeze.adb (Freeze_Entity): Add RM reference to error message about
255         importing constant atomic/volatile objects.
256         (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
257         unless explicit Pure_Function pragma given, to avoid insidious bug of
258         call to non-pure imported function getting eliminated.
259
260         * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
261         gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
262         gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
263         Add 2004 to printed copyright notice
264
265         * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
266         stack used.
267
268         * Makefile.rtl: Add entry for g-sestin.o
269         g-sestin.ads: New file.
270
271         * mdll.adb: Minor changes to avoid -gnatwa warnings
272
273         * mlib-tgt.adb: Minor reformatting
274
275         * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
276         New switch Sec_Stack_Used (GNAT, GNATBIND)
277         Make Default_Secondary_Stack_Size a variable instead of a constant,
278         so that it can be modified by the new -Dnnn bind switch.
279
280         * rtsfind.adb (Load_Fail): Give full error message in configurable
281         run-time mode if all_errors mode is set. This was not done in the case
282         of a file not found, which was an oversight.
283         Note if secondary stack unit is used by compiler.
284
285         * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
286         ineffective elaborate all pragmas on non-visible packages (this
287         happened when a renamed subprogram was called). Now the elaborate all
288         always goes on the package containing the renaming rather than the one
289         containing the renamed subprogram.
290
291         * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
292         (Process_Eliminate_Pragma): Add parameter to capture pragma location.
293
294         * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
295         has an Etype that references an E_String_Literal.
296         (Eval_String_Literal): Avoid assumption that N_String_Literal node
297         always references an E_String_Literal_Subtype entity. This may not
298         be true in the future.
299
300         * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
301         pragma location.
302
303         * sem_res.adb (Resolve): Specialize msg for function name used in proc
304         call.
305
306 2004-01-05  Ed Falis  <falis@gnat.com>
307
308         * g-debuti.adb: Replaced direct boolean operator with short-circuit
309         form.
310
311 2004-01-05  Vincent Celier  <celier@gnat.com>
312
313         * bld.adb: Minor comment updates
314         (Process_Declarative_Items): Correct incorrect name (Index_Name instead
315         of Item_Name).
316
317         * make.adb (Gnatmake): Special process for files to compile/check when
318         -B is specified. Fail when there are only foreign mains in attribute
319         Main of the project file and -B is not specified. Do not skip bind/link
320         steps when -B is specified.
321
322         * makeusg.adb: Document new switch -B
323
324         * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
325
326         * switch-m.adb: (Scan_Make_Switches): Process -B switch
327
328         * vms_data.ads: Add new GNAT PRETTY qualifier
329         /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
330
331 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
332
333         * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
334         case.
335
336         * misc.c (gnat_printable_name): If VERBOSITY is 2, call
337         Set_Identifier_Casing.
338
339         * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
340         has size that overflows.
341
342 2004-01-05  Gary Dismukes  <dismukes@gnat.com>
343
344         * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
345         -gnatwa warning on static condition.
346
347 2004-01-05  Doug Rupp  <rupp@gnat.com>
348
349         * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
350
351 2004-01-05  Arnaud Charlet  <charlet@act-europe.fr>
352
353         * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
354         all attributes, including read-only attribute.
355
356 2004-01-05  Pascal Obry  <obry@gnat.com>
357
358         * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
359         library naming scheme.
360
361         * mlib-prj.adb (Build_Library): Generate different names for the static
362         or dynamic version of the GNAT runtime. This is needed to support the
363         new shared library naming scheme.
364         (Process_Binder_File): Add detection of shared library in binder file
365         based on the new naming scheme.
366
367         * gnatlink.adb (Process_Binder_File): Properly detect the new naming
368         scheme for the shared runtime libraries.
369
370         * Makefile.in:
371         (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
372         scheme.
373         (install-gnatlib): Do not create symlinks for shared libraries.
374         (gnatlib-shared-default): Idem.
375         (gnatlib-shared-dual-win32): New target. Not used for now as the
376         auto-import feature does not support arrays/records.
377         (gnatlib-shared-win32): Do not create copy for the shared libraries.
378         (gnatlib-shared-vms): Fix shared runtime libraries names.
379
380         * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
381         dependent runtime shared library name.
382
383 2004-01-05  Vasiliy Fofanov  <fofanov@act-europe.fr>
384
385         * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
386         than the object.
387
388 2004-01-05  Ed Schonberg  <schonberg@gnat.com>
389
390         * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
391         protected objects when allocator has a subtype indication, not a
392         qualified expression. Note that qualified expressions may have to be
393         checked when limited aggregates are implemented.
394
395         * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
396         pure, emit warning.
397         (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
398         subprogram is imported, remove warning.
399
400 2004-01-05  Geert Bosch  <bosch@gnat.com>
401
402         * s-poosiz.adb: Update copyright notice.
403         (Allocate): Use Task_Lock to protect against concurrent access.
404         (Deallocate): Likewise.
405
406 2004-01-05  Joel Brobecker  <brobecker@gnat.com>
407
408         * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
409         comment.
410
411 2003-12-23  Kelley Cook  <kcook@gcc.gnu.org>
412
413         * gnat_ug.texi: Force a CVS commit by updating copyright.
414         * gnat_ug_vxw.texi: Regenerate.
415         * gnat_ug_wnt.texi: Regenerate.
416         * gnat_ug_vms.texi: Regenerate.
417         * gnat_ug_unx.texi: Regenerate.
418
419 2003-12-20  Kazu Hirata  <kazu@cs.umass.edu>
420
421         * trans.c: Remove uses of "register" specifier in
422         declarations of local variables.
423
424 2003-12-18  Kelley Cook  <kcook@gcc.gnu.org>
425
426         * stamp-xgnatug: New stamp file.
427         * Make-lang.in (stamp-xgnatug):  New stamp file and comment.
428         (ada/doctools/xgnatug): Add $(build_exeext).
429         (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
430         ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
431
432 2003-12-17  Ed Falis  <falis@gnat.com>
433
434         * a-elchha.adb (Tailored_Exception_Information): made Info constant to
435         eliminate warning.
436
437         * a-exextr.adb: Add context clause for
438         Ada.Exceptions.Last_Chance_Handler.
439
440 2003-12-17  Sergey Rybin  <rybin@act-europe.fr>
441
442         * cstand.adb (Create_Standard): Change the way how the declaration of
443         the Duration type is created (making it the same way as it is for all
444         the other standard types).
445
446 2003-12-17  Robert Dewar  <dewar@gnat.com>
447
448         * s-crtl.ads: Fix header format
449         Change Pure to Preelaborate
450
451 2003-12-17  Ed Schonberg  <schonberg@gnat.com>
452
453         * checks.adb (Selected_Length_Checks): Generate an Itype reference for
454         the expression type only if it is declared in the current unit.
455
456         * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
457         are universal and already analyzed, as can occur in constrained
458         subcomponents that depend on discriminants, when one constraint is a
459         subtype mark.
460
461         * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
462         type Any_Fixed is legal as the argument of a conversion, if only one
463         fixed-point type is in context.
464
465 2003-12-17  GNAT Script  <nobody@gnat.com>
466
467         * Make-lang.in: Makefile automatically updated
468
469 2003-12-15  Robert Dewar  <dewar@gnat.com>
470
471         * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
472         sec stack size.
473
474 2003-12-15  Vincent Celier  <celier@gnat.com>
475
476         * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
477         (Gnatchop): Do not set failure status when reporting the number of
478         warnings.
479
480 2003-12-15  Doug Rupp  <rupp@gnat.com>
481
482         * s-ctrl.ads: New file.
483
484         * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
485
486         * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
487         (GNATBIND_OBJS): Add ada/s-crtl.o.
488
489         * Makefile.in [VMS]: Clean up ifeq rules.
490
491         * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
492         a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
493         g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
494         s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
495         s-tasdeb.adb: Update copyright.
496         Import System.CRTL.
497         Make minor modifications to use System.CRTL declared functions instead
498         of importing locally.
499
500 2003-12-15  GNAT Script  <nobody@gnat.com>
501
502         * Make-lang.in: Makefile automatically updated
503
504 2003-12-11  Ed Falis  <falis@gnat.com>
505
506         * 5zinit.adb: Clean up.
507
508         * 5zintman.adb (Notify_Exception): replaced case statement with a call
509         to __gnat_map_signal, imported from init.c to support
510         signal -> exception mappings that depend on the vxWorks version.
511
512         * init.c: 
513         Created and exported __gnat_map_signal to support signal -> exception
514         mapping that is dependent on the VxWorks version.
515         Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
516
517 2003-12-11  Vasiliy Fofanv  <fofanov@act-europe.fr>
518
519         * 5wosinte.ads: Link with -mthreads switch.
520
521 2003-12-11  Arnaud Charlet  <charlet@act-europe.fr>
522
523         * init.c (__gnat_install_handler [NetBSD]): Set
524         __gnat_handler_installed, as done on all other platforms.
525         Remove duplicated code.
526
527 2003-12-11  Jerome Guitton  <guitton@act-europe.fr>
528
529         * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
530
531 2003-12-11  Thomas Quinot  <quinot@act-europe.fr>
532
533         * sinfo.ads: Fix inconsistent example code in comment.
534
535 2003-12-11  Robert Dewar  <dewar@gnat.com>
536
537         * a-tiinau.adb: Add a couple of comments
538
539         * sem_ch3.adb: Minor reformatting
540
541         * sem_prag.adb: 
542         Fix bad prototype of Same_Base_Type in body (code reading cleanup)
543         Minor reformatting throughout
544
545 2003-12-11  Ed Schonberg  <schonberg@gnat.com>
546
547         * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
548         bounds of a loop, create a separate block in order to generate proper
549         cleanup actions to prevent memory leaks.
550
551         * sem_res.adb (Resolve_Call): After a call to
552         Establish_Transient_Scope, the call may be rewritten and relocated, in
553         which case no further processing is needed.
554
555         * sem_util.adb: (Wrong_Type): Refine previous fix.
556          Fixes ACATS regressions.
557
558         PR ada/13353
559
560         * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
561         be inlined.
562
563 2003-12-08  Jerome Guitton  <guitton@act-europe.fr>
564
565         * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
566         i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
567         obsolete files.
568
569         * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
570         (rts-zfp): Ditto.
571
572 2003-12-08  Robert Dewar  <dewar@gnat.com>
573
574         * 7sintman.adb: Minor reformatting
575
576         * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
577         standard linker options to get standard libraries linked. We now plan
578         to provide dummy versions of these libraries to match the appropriate
579         configurable run-time (e.g. if a library is not needed at all, provide
580         a dummy empty library).
581
582         * targparm.ads: Configurable_Run_Time mode no longer affects linker
583         options (-L parameters and standard libraries). What we plan to do is
584         to provide dummy libraries where the libraries are not required.
585
586         * gnatbind.adb: Minor comment improvement
587
588 2003-12-08  Javier Miranda  <miranda@gnat.com>
589
590         * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
591         aggregate in the parent. Otherwise constants with limited aggregates
592         are not supported. Add new formal to pass the component type (Ctype).
593         It is required to call the corresponding IP subprogram in case of
594         default initialized components.
595         (Gen_Assign): In case of default-initialized component, generate a
596         call to the IP subprogram associated with the component.
597         (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
598         of aggregate with default initialized components.
599         (Has_Default_Init_Comps): Improve implementation to recursively check
600         all the present expressions.
601
602         * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
603         to indicate that the initialization call corresponds to a
604         default-initialized component of an aggregate.
605         In case of default initialized aggregate with tasks this parameter is
606         used to generate a null string (this is just a workaround that must be
607         improved later). In case of discriminants, this parameter is used to
608         generate a selected component node that gives access to the discriminant
609         value.
610
611         * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
612         subprogram, based on Build_Task_Allocate_Block, but adapted to expand
613         allocated aggregates with default-initialized components.
614
615         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
616         the box notation is used in positional aggregates.
617
618 2003-12-08  Samuel Tardieu  <tardieu@act-europe.fr>
619
620         * lib.ads: Fix typo in comment
621
622 2003-12-08  Vincent Celier  <celier@gnat.com>
623
624         * prj.adb (Project_Empty): New component Unkept_Comments
625         (Scan): Remove procedure; moved to Prj.Err.
626
627         * prj.ads (Project_Data): New Boolean component Unkept_Comments
628         (Scan): Remove procedure; moved to Prj.Err.
629
630         * prj-dect.adb: Manage comments for the different declarations.
631
632         * prj-part.adb (With_Record): New component Node
633         (Parse): New Boolean parameter Store_Comments, defaulted to False.
634         Set the scanner to return ends of line and comments as tokens, if
635         Store_Comments is True.
636         (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
637         comments are associated with these nodes. Store the node IDs in the
638         With_Records.
639         (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
640         With_Records.
641         (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
642         the N_Project node. Call Tree.Save and Tree.Reset before scanning the
643         current project. Call Tree.Restore afterwards. Set the various nodes
644         for comment storage (Next_End, End_Of_Line, Previous_Line,
645         Previous_End).
646
647         * prj-part.ads (Parse): New Boolean parameter Store_Comments,
648         defaulted to False.
649
650         * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
651         to False. When Truncated is True, truncate the string, never go to the
652         next line.
653         (Write_End_Of_Line_Comment): New procedure
654         (Print): Process comments for nodes N_With_Clause,
655         N_Package_Declaration, N_String_Type_Declaration,
656         N_Attribute_Declaration, N_Typed_Variable_Declaration,
657         N_Variable_Declaration, N_Case_Construction, N_Case_Item.
658         Process nodes N_Comment.
659
660         * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
661         without comments and there are some comments, set the flag
662         Unkept_Comments to True.
663         (Scan): If there are comments, set the flag Unkept_Comments to True and
664         clear the comments.
665         (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
666         (Next_End_Nodes: New table
667         (Comment_Zones_Of): New function
668         (Scan): New procedure; moved from Prj. Accumulate comments in the
669         Comments table and set end of line comments, comments after, after end
670         and before end.
671         (Add_Comments): New procedure
672         (Save, Restore, Seset_State): New procedures
673         (There_Are_Unkept_Comments): New function
674         (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
675         (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
676         procedures.
677         (First_Comment_After, First_Comment_After_End): New functions
678         (First_Comment_Before, First_Comment_Before_End): New functions
679         (Next_Comment): New function
680         (End_Of_Line_Comment, Follows_Empty_Line,
681         Is_Followed_By_Empty_Line): New functions
682         (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
683         (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
684         (Set_Next_Comment): New procedure
685         (Default_Project_Node): Associate comment before if the node can store
686         comments.
687
688         * scans.ads (Token_Type): New enumeration value Tok_Comment
689         (Comment_Id): New global variable
690
691         * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
692         defaulted to False.
693         (Scan): Store position of start of comment. If comments are tokens, set
694         Comment_Id and set Token to Tok_Comment when scanning a comment.
695         (Set_Comment_As_Token): New procedure
696
697         * sinput-p.adb: Update Copyright notice
698         (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
699         that no longer exists.
700
701 2003-12-08  Javier Miranda  <miranda@gnat.com>
702
703         * sem_aggr.adb: Add dependence on Exp_Tss package
704         Correct typo in comment
705         (Resolve_Aggregate): In case of array aggregates set the estimated
706         type of the aggregate before calling resolve. This is needed to know
707         the name of the corresponding IP in case of limited array aggregates.
708         (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
709         in case of default initialized array components.
710
711         * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
712         types. Required to give support to limited aggregates in generic
713         formals.
714
715 2003-12-08  Ed Schonberg  <schonberg@gnat.com>
716
717         * sem_ch3.adb (Check_Initialization): For legality purposes, an
718         inlined body functions like an instantiation.
719         (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
720         until bounds are analyzed, to diagnose premature use of type.
721
722         * sem_util.adb (Wrong_Type): Improve error message when the type of
723         the expression is used prematurely.
724
725 2003-12-08  GNAT Script  <nobody@gnat.com>
726
727         * Make-lang.in: Makefile automatically updated
728
729 2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>
730
731         * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
732         they are automatically generated by Make-lang.in and cause nothing but
733         maintenance troubles.
734
735 2003-12-05  Thomas Quinot  <quinot@act-europe.fr>
736
737         * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
738         version of this unit).
739
740 2003-12-05  Olivier Hainque  <hainque@act-europe.fr>
741
742         * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
743         5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
744         5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
745         the body of System.Interrupt_Management common to several targets.
746         Update copyright notice when appropriate.
747
748         * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
749         constant.
750
751         * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
752         to ensure that the kernel fills in the interrupted context structure
753         before calling a signal handler, which is necessary to be able to
754         unwind past it. Update the copyright notice.
755
756 2003-12-05  Jerome Guitton  <guitton@act-europe.fr>
757
758         * a-elchha.ads: New file.
759
760         * a-elchha.adb: New default last chance handler. Contents taken from
761         Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
762
763         * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
764         is moved to a-elchha.adb to provide a target-independent default last
765         chance handler.
766
767         * Makefile.rtl: Add a-elchha.o
768
769         * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
770
771 2003-12-05  Ed Schonberg  <schonberg@gnat.com>
772
773         * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
774         declared in an instance, do not inline the call if the instance is not
775         frozen yet, to prevent order of elaboration problems.
776
777         * sem_prag.adb: Add comments for previous fix.
778
779 2003-12-05  Samuel Tardieu  <tardieu@act-europe.fr>
780
781         * g-table.adb: Use the right variable in Set_Item.
782         Update copyright notice.
783
784 2003-12-05  Arnaud Charlet  <charlet@act-europe.fr>
785
786         * Makefile.in: Remove unused rules.
787
788 2003-12-05  Vincent Celier  <celier@gnat.com>
789
790         * switch-c.adb (Scan_Front_End_Switches): Remove processing of
791         -nostdlib. Not needed here after all.
792
793 2003-12-03  Thomas Quinot  <quinot@act-europe.fr>
794
795         PR ada/11724
796
797         * adaint.h, adaint.c, g-os_lib.ads: 
798         Do not assume that the offset argument to lseek(2) is a 32 bit integer,
799         on some platforms (including FreeBSD), it is a 64 bit value.
800         Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
801
802 2003-12-03  Arnaud Charlet  <charlet@act-europe.fr>
803
804         * gnatvsn.ads (Library_Version): Now contain only the relevant
805         version info.
806         (Verbose_Library_Version): New constant.
807
808         * g-spipat.adb, g-awk.adb, g-debpoo.adb,
809         g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
810         s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
811
812         * gnatlbr.adb: Clean up: replace Library_Version by
813         Verbose_Library_Version.
814
815         * make.adb, lib-writ.adb, exp_attr.adb: 
816         Clean up: replace Library_Version by Verbose_Library_Version.
817
818         * 5lintman.adb: Removed.
819
820         * Makefile.in: 
821         Update and simplify computation of LIBRARY_VERSION.
822         Fix computation of GSMATCH_VERSION.
823         5lintman.adb is no longer used: replaced by 7sintman.adb.
824
825 2003-12-03  Robert Dewar  <dewar@gnat.com>
826
827         * exp_ch5.adb: 
828         (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
829         name. Modified to consider small non-bit-packed arrays as troublesome
830         and in need of component-by-component assigment expansion.
831
832 2003-12-03  Vincent Celier  <celier@gnat.com>
833
834         * lang-specs.h: Process nostdlib as nostdinc
835
836         * back_end.adb: Update Copyright notice
837         (Scan_Compiler_Arguments): Process -nostdlib directly.
838
839 2003-12-03  Jose Ruiz  <ruiz@act-europe.fr>
840
841         * Makefile.in: 
842         When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
843         redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
844         included in HIE_NONE_TARGET_PAIRS.
845
846 2003-12-03  Ed Schonberg  <schonberg@gnat.com>
847
848         * sem_attr.adb: 
849         (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
850         is legal in an instance, because legality is cheched in the template.
851
852         * sem_prag.adb: 
853         (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
854         appplied to an unchecked conversion of a formal parameter.
855
856         * sem_warn.adb: 
857         (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
858         variables.
859
860 2003-12-03  Olivier Hainque  <hainque@act-europe.fr>
861
862         * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
863         routines. The second one is new functionality to deal with backtracing
864         through signal handlers.
865         (unwind): Split into the two separate subroutines above.
866         Update the documentation, and deal properly with sizeof (REG) different
867         from sizeof (void*).
868
869 2003-12-01  Nicolas Setton  <setton@act-europe.fr>
870
871         * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
872         so that the debugger can reliably access the value of the parameter,
873         and therefore is able to display the exception name when an exception
874         breakpoint is reached.
875
876 2003-12-01  Thomas Quinot  <quinot@act-europe.fr>
877
878         * fmap.adb: Fix typo in warning message.
879
880         * g-socket.ads, g-socket.adb: Make Free a visible instance of
881         Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
882
883 2003-12-01  Vincent Celier  <celier@gnat.com>
884
885         * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
886         ther is no Afile.
887         (Build_Library): Get the switches only if Default_Switches is declared
888         in package Binder.
889
890 2003-12-01  Ed Schonberg  <schonberg@gnat.com>
891
892         * exp_ch6.adb (Expand_Actuals): When applying validity checks to
893         actuals that are indexed components, reanalyze actual to ensure that
894         packed array references are properly expanded.
895
896         * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
897         attempted assignment to a discriminant.
898
899 2003-12-01  Robert Dewar  <dewar@gnat.com>
900
901         * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
902         reformatting.
903
904         * switch-c.adb: Minor reformatting of comments
905
906 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
907
908         * Makefile.in: Clean ups.
909
910 2003-12-01  GNAT Script  <nobody@gnat.com>
911
912         * Make-lang.in: Makefile automatically updated
913
914 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
915
916         * 5wsystem.ads: Disable zero cost exception, not ready yet.
917
918 2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
919
920         * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
921         to force serialization.
922
923 2003-11-26  Thomas Quinot  <quinot@act-europe.fr>
924
925         * g-socket.ads, g-socket.adb: 
926         Clarify documentation of function Stream. Introduce a Free procedure
927         to release the returned Stream once it becomes unused.
928
929         * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
930
931 2003-11-26  Arnaud Charlet  <charlet@act-europe.fr>
932
933         (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
934         since NT 4 cannot handle timeout values that are too large,
935         e.g. DWORD'Last - 1.
936
937 2003-11-26  Ed Schonberg  <schonberg@gnat.com>
938
939         * exp_ch4.adb: 
940         (Expand_N_Slice): Recognize all cases of slices that appear as actuals
941         in procedure calls and whose expansion must be deferred.
942
943         * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
944         is in exp_ch4.
945
946         * sem_ch3.adb: 
947         (Build_Derived_Array_Type): Create operator for unconstrained type
948         if ancestor is unconstrained.
949
950 2003-11-26  Vincent Celier  <celier@gnat.com>
951
952         * make.adb (Project_Object_Directory): New global variable
953         (Change_To_Object_Directory): New procedure
954         (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
955         of Change_Dir directly. Do not change working directory to object
956         directory of main project after each compilation.
957         (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
958         directly.
959         Change to object directory of main project before binding step.
960         (Initialize): Initialize Project_Object_Directory to No_Project
961
962         * mlib-prj.adb: 
963         (Build_Library): Take into account Builder'Default_Switches ("Ada") when
964         binding a Stand-Alone Library.
965
966         * output.adb: Update Copyright notice
967         (Write_Char): Output buffer when full
968
969 2003-11-26  Robert Dewar  <dewar@gnat.com>
970
971         * sem_ch13.adb: (Check_Size): Reset size if size is too small
972
973         * sem_ch13.ads: 
974         (Check_Size): Fix documentation to include bit-packed array case
975
976         * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
977
978         * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
979
980         * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
981
982 2003-11-24  Arnaud Charlet <charlet@act-europe.fr>
983
984         PR ada/13142
985         * utils.c (init_gigi_decls): Change name of built-in setjmp to
986         __builtin_setjmp, since this is apparently needed by recent
987         non Ada changes.
988
989 2003-11-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
990
991         * adadecode.c: Only include ctype.h if not IN_GCC.
992         (__gnat_decode): Use ISDIGIT from safe-ctype.h.
993
994 2003-11-24  Jose Ruiz  <ruiz@act-europe.fr>
995
996         * Makefile.in: 
997         Use 5zintman.ads for VxWorks targets. This file avoid confusion between
998         signals and interrupts.
999
1000         * 5zintman.ads: New File.
1001
1002         * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
1003         add exception signals to the set of unmasked signals.
1004
1005         * 5ztaprop.adb: 
1006         Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
1007         between signals and interrupts.
1008         Add to Unblocked_Signal_Mask the set of signals that are in
1009         Keep_Unmasked.
1010
1011         * 7sinmaop.adb: 
1012         Adding a check to see whether the Interrupt_ID we want to unmask is in
1013         the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
1014         reason is that the index type of the Keep_Unmasked array is not always
1015         Interrupt_ID; it may be a subtype of Interrupt_ID.
1016
1017 2003-11-24  Gary Dismukes  <dismukes@gnat.com>
1018
1019         * exp_util.adb: 
1020         (Remove_Side_Effects): Condition constantness of object created for a
1021          an unchecked type conversion on the constantness of the expression
1022          to ensure the correct value for 'Constrained when passing components
1023          of view-converted class-wide objects.
1024
1025 2003-11-24  Robert Dewar  <dewar@gnat.com>
1026
1027         * par-load.adb (Load): Improve handling of misspelled and missing units
1028         Removes several cases of compilation abandoned messages
1029
1030         * lib.adb: (Remove_Unit): New procedure
1031
1032         * lib.ads: (Remove_Unit): New procedure
1033
1034         * lib-load.adb: Minor reformatting
1035
1036 2003-11-24  Vincent Celier  <celier@gnat.com>
1037
1038         * make.adb: 
1039         (Gnatmake, Initialize): Call Usage instead of Makeusg directly
1040         (Marking_Label): Label to mark processed source files. Incremented for
1041         each executable.
1042         (Gnatmake): Increase Marking_Labet for each executable
1043         (Is_Marked): Compare against marking label
1044         (Mark): Mark with marking label
1045
1046 2003-11-24  Jerome Guitton  <guitton@act-europe.fr>
1047
1048         * s-thread.ads: 
1049         Move the declaration of the TSD for System.Threads to System.Soft_Links.
1050         Add some comments.
1051
1052         * Makefile.in: Added target pair for s-thread.adb for cert runtime.
1053         (rts-cert): build a single relocatable object for the run-time lib.
1054         Fix perms.
1055
1056 2003-11-24  Vasiliy Fofanov  <fofanov@act-europe.fr>
1057
1058         * Make-lang.in: 
1059         Use gnatls rather than gcc to obtain the location of GNAT RTL for
1060         crosstools build.
1061
1062 2003-11-24  Sergey Rybin  <rybin@act-europe.fr>
1063
1064         * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
1065         can not use it as before (that is, as a variable) when dumping it into
1066         the tree file. Add a local variable to store the result of this
1067         function and to be used as the string to be written into the tree.
1068
1069         * scn.adb (Initialize_Scanner): Add comments explaining the recent
1070         changes.
1071
1072         * sinput.adb (Source_First, Source_Last): In case of
1073         Internal_Source_File, replace returning attributes of
1074         Internal_Source_Ptr (which is wrong) with returning attributes of
1075         Internal_Source.
1076
1077 2003-11-24  Ed Schonberg  <schonberg@gnat.com>
1078
1079         * sem_ch3.adb: 
1080         (New_Concatenation_Op): Proper name for New_Binary_Operator, only
1081         used for implicit concatenation operators.
1082         Code cleanup.
1083
1084         * sem_elab.adb: 
1085         (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
1086         task bodies that are in the scope of a Suppress pragma.
1087         (Check_A Call): Use the flag to prevent spurious elaboration checks.
1088
1089         * sinfo.ads, sinfo.adb: 
1090         New flag No_Elaboration_Check on function/procedure calls, to properly
1091         suppress checks on calls in task bodies that are within a local suppress
1092         pragma.
1093
1094         * exp_ch4.adb: 
1095         (Expand_Concatenate_Other): Use the proper integer type for the
1096         expression for the upper bound, to avoid universal_integer computations
1097         when possible.
1098
1099 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
1100
1101         * .cvsignore: Delete.
1102
1103 2003-11-21  Andreas Schwab  <schwab@suse.de>
1104
1105         * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
1106
1107 2003-11-21  Vasiliy Fofanov  <fofanov@act-europe.fr>
1108
1109         * 5wsystem.ads: Enable zero cost exception.
1110
1111 2003-11-21  Jerome Guitton  <guitton@act-europe.fr>
1112
1113         * 5ztiitho.adb: Remove an unreferenced variable.
1114
1115 2003-11-21  Thomas Quinot  <quinot@act-europe.fr>
1116
1117         * adaint.c: For FreeBSD, use mkstemp.
1118
1119 2003-11-21  Arnaud Charlet  <charlet@act-europe.fr>
1120
1121         * gnatlbr.adb: Now reference Gnat_Static_Version_String.
1122
1123 2003-11-21  Robert Dewar  <dewar@gnat.com>
1124
1125         * bld.adb: Remove useless USE of gnatvsn
1126
1127         * gnatchop.adb: Minor reformatting
1128         Clean up version handling to be more consistent
1129
1130         * gnatxref.adb: Minor reformatting
1131
1132         * gprcmd.adb: Minor reformatting
1133         Fix output of copyright to be more consistent with other tools
1134
1135 2003-11-21  Vincent Celier  <celier@gnat.com>
1136
1137         * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
1138
1139 2003-11-21  Sergey Rybin  <rybin@act-europe.fr>
1140
1141         * atree.adb (Initialize): Add initializations for global variables
1142         used in New_Copy_Tree.
1143
1144         * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
1145         Internal_Source_File as the actual).
1146         Put the set of statements creating Any_Character before the set of
1147         statements creating Any_Array to have Any_Character fully initialized
1148         when it is used in creating Any_Array.
1149
1150         * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
1151         not call Scan in case if the actual is Internal_Source_File
1152         Add 2003 to copyright note.
1153
1154         * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
1155         processing Internal_Source_File.
1156
1157         * types.ads: Add the constant Internal_Source_File representing the
1158         source buffer for artificial source-code-like strings created within
1159         the compiler (the definition of Source_File_Index is changed).
1160
1161 2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>
1162
1163         * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
1164         56system.ads: New file, FreeBSD version.
1165
1166 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
1167
1168         * Make-lang.in (ada.extraclean): Delete.
1169
1170 2003-11-19  Arnaud Charlet  <charlet@act-europe.fr>
1171
1172         * gnatmem.adb: Clean up verbose output.
1173
1174         * gprcmd.adb: Change copyright to FSF.
1175
1176 2003-11-19  Vincent Celier  <celier@gnat.com>
1177
1178         * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
1179         and Version (ignored).
1180
1181         * symbols.ads: (Policy): New type
1182         (Initialize): New parameter Reference, Symbol_Policy and
1183         Library_Version.
1184         Remove parameter Force.
1185         Minor reformatting.
1186
1187         * snames.ads, snames.adbadb: New standard names
1188         Library_Reference_Symbol_File and Library_Symbol_Policy
1189
1190         * mlib-prj.adb: 
1191         (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
1192         project.
1193
1194         * mlib-tgt.adb: 
1195         (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
1196
1197         * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
1198
1199         * prj.adb: (Project_Empty): New component Symbol_Data
1200
1201         * prj.ads: (Policy, Symbol_Record): New types
1202         (Project_Data): New component Symbol_Data
1203
1204         * prj-attr.adb: 
1205         New attributes Library_Symbol_File, Library_Symbol_Policy and
1206         Library_Reference_Symbol_File.
1207
1208         * prj-nmsc.adb: 
1209         (Ada_Check): When project is a Stand-Alone library project, process
1210         attribute Library_Symbol_File, Library_Symbol_Policy and
1211         Library_Reference_Symbol_File.
1212
1213         * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1214         5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
1215         5sml-tgt.adb (Build_Dynamic_Library): New parameter
1216         Symbol_Data (ignored).
1217
1218         * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
1219         (Build_Dynamic_Library): New parameter Symbol_Data. New internal
1220         functions Option_File_Name and Version_String. Set new options of
1221         gnatsym related to symbol file, symbol policy and reference symbol
1222         file.
1223
1224         * 5vsymbol.adb: 
1225         Extensive modifications to take into account the reference symbol file,
1226         the symbol policy, the library version and to put in the symbol file the
1227         minor and major IDs.
1228
1229         * bld.adb (Process_Declarative_Items): Put second argument of
1230         gprcmd to_absolute between single quotes, to avoid problems with
1231         Windows.
1232
1233         * bld-io.adb: Update Copyright notice.
1234         (Flush): Remove last character of a line, if it is a back slash, to
1235         avoid make problems.
1236
1237         * gnatsym.adb: 
1238         Implement new scheme with reference symbol file and symbol policy.
1239
1240         * g-os_lib.ads: (Is_Directory): Clarify comment
1241
1242 2003-11-19  Robert Dewar  <dewar@gnat.com>
1243
1244         * atree.adb: Move New_Copy_Tree global variables to head of package
1245
1246         * errout.adb: Minor reformatting
1247
1248 2003-11-19  Javier Miranda  <miranda@gnat.com>
1249
1250         * sem_ch4.adb: (Diagnose_Call): Improve error message.
1251         Add reference to Ada0Y (AI-50217)
1252
1253         * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
1254         sem_util.adb: Add reference to AI-50217
1255
1256         * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
1257
1258         * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
1259
1260         * sem_aggr.adb: Complete documentation of AI-287 changes
1261
1262         * par-ch4.adb: Document previous changes.
1263
1264         * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
1265         sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
1266         Ada0Y (AI-50217)
1267
1268         * exp_aggr.adb: Add references to AI-287 in previous changes
1269
1270 2003-11-19  Ed Schonberg  <schonberg@gnat.com>
1271
1272         * exp_ch6.adb: 
1273         (Add_Call_By_Copy_Node): Do not original node of rewritten expression
1274         in the rewriting is the result of an inlined call.
1275
1276         * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
1277         parameter is a type conversion, use original node to construct the
1278         post-call assignment, because expression may have been rewritten, e.g.
1279         if it is a packed array.
1280
1281         * sem_attr.adb: 
1282         (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
1283         body, just as it is in an instance.
1284         Categorization routines
1285
1286         * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
1287         Instantiate_Object): Set proper sloc reference for message on missing
1288         actual.
1289
1290 2003-11-19  Thomas Quinot  <quinot@act-europe.fr>
1291
1292         * Makefile.in: Add FreeBSD libgnat pairs.
1293
1294         * usage.adb: Fix typo in usage message.
1295
1296 2003-11-19  Jerome Guitton  <guitton@act-europe.fr>
1297
1298         * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
1299         s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
1300         pragma Thread_Body.
1301         Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
1302
1303         * s-thread.adb: This file is now a dummy implementation of
1304         System.Thread.
1305
1306 2003-11-19  Sergey Rybin  <rybin@act-europe.fr>
1307
1308         * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
1309
1310 2003-11-19  Emmanuel Briot  <briot@act-europe.fr>
1311
1312         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1313         instanciation references in the parent type description.
1314
1315 2003-11-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1316
1317         * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
1318
1319         * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
1320         TYPE_PRECISION directly from esize.
1321
1322 2003-11-18  Thomas Quinot  <quinot@act-europe.fr>
1323
1324         * cstreams.c: 
1325         Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
1326
1327         * init.c: Initialization routines for FreeBSD
1328
1329         * link.c: Link info for FreeBSD
1330
1331         * sysdep.c: Add the case of FreeBSD
1332
1333 2003-11-17  Jerome Guitton  <guitton@act-europe.fr>
1334
1335         * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
1336         already called in System.Threads.
1337
1338         * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
1339         environment task, as it has been moved to System.Threads.Initialization.
1340
1341 2003-11-17  Arnaud Charlet  <charlet@act-europe.fr>
1342
1343         * adaint.c (__gnatlib_install_locks): Only reference
1344         __gnat_install_locks on VMS, since other platforms can avoid using
1345         --enable-threads=gnat
1346
1347 2003-11-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1348
1349         * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
1350
1351         * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
1352         TYPE_PACKED_ARRAY_TYPE_P.
1353         (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
1354
1355         Part of PR ada/12806
1356         * utils.c (float_type_for_precision): Renamed from float_type_for_size.
1357         Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
1358
1359 2003-11-17  Vincent Celier  <celier@gnat.com>
1360
1361         * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
1362         to False.
1363         Do not set exit status to Failure when Warning is True.
1364         (Gnatchop): Make errors "no compilation units found" and
1365         "no source files written" warnings only.
1366
1367         * make.adb (Gnatmake): When using a project file, set
1368         Look_In_Primary_Dir to False.
1369         (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
1370         and Local_Configuration_Pragmas in the project where they are declared
1371         not an extending project which might have inherited them.
1372
1373         * osint.adb (Locate_File): If Name is already an absolute path, do not
1374         look for a directory.
1375
1376         * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
1377         -gnats (Check_Syntax) is used, issue only a warning, not an error.
1378
1379         * prj.adb (Register_Default_Naming_Scheme): Add new component Project
1380         in objects of type Variable_Value.
1381
1382         * prj.ads: (Variable_Value): New component Project
1383
1384         * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
1385         is in a project extended by Project.
1386
1387         * prj-proc.adb (Add_Attributes): New parameter Project. Set component
1388         Project of Variable_Values to this new parameter value.
1389         (Expression): Set component Project of Variable_Values.
1390         (Process_Declarative_Items): Call Add_Attributes with parameter Project.
1391         Set the component Project in array elements.
1392
1393 2003-11-17  Sergey Rybin  <rybin@act-europe.fr>
1394
1395         * errout.adb: (Initialize): Add initialization for error nodes.
1396
1397         * sem_ch12.adb (Initialize): Add missing initializations for
1398         Exchanged_Views and Hidden_Entities.
1399
1400 2003-11-17  Ed Schonberg  <schonberg@gnat.com>
1401
1402         * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
1403         already instantiated tree for use in subsequent inlining.
1404         (Analyze_Associations, Instantiate_Formal_Subprogram,
1405         Instantiate_Object): improve error message for mismatch in
1406         instantiations.
1407
1408         * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
1409         instantiations of subprograms declared in instances.
1410
1411 2003-11-17  Javier Miranda  <miranda@gnat.com>
1412
1413         * sem_ch4.adb (Analyze_Allocator): Previous modification must be
1414         executed only under the Extensions_Allowed flag.
1415
1416 2003-11-17  Robert Dewar  <dewar@gnat.com>
1417
1418         * a-exexda.adb (Address_Image): Fix documentation to indicate leading
1419         zeroes suppressed.
1420         (Address_Image): Fix bug of returning 0x instead of 0x0
1421         Minor reformatting (function specs).
1422
1423         * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
1424         (missed case of 33-63)
1425
1426         * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
1427
1428         * s-thread.adb: Add comments for pragma Restriction
1429
1430         * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
1431         sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
1432
1433 2003-11-17  Ed Falis  <falis@gnat.com>
1434
1435         * s-thread.adb: Added No_Tasking restriction for this implementation.
1436
1437 2003-11-17  Emmanuel Briot  <briot@act-europe.fr>
1438
1439         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1440         instanciation references in the parent type description.
1441
1442 2003-11-17  GNAT Script  <nobody@gnat.com>
1443
1444         * Make-lang.in: Makefile automatically updated
1445
1446 2003-11-16  Jason Merrill  <jason@redhat.com>
1447
1448         * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
1449         and TAGS files that include them for each front end.
1450
1451 2003-11-14  Andreas Jaeger  <aj@suse.de>
1452
1453         * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
1454         is the canonical version. 
1455         * misc.c (gnat_handle_option): Likewise.
1456
1457         * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
1458
1459         * 5nsystem.ads: New file for x86_64-linux-gnu.
1460
1461 2003-11-14  Arnaud Charlet  <charlet@act-europe.fr>
1462
1463         * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
1464
1465         * comperr.adb: Fix logic in previous change.
1466
1467 2003-11-13  Vincent Celier  <celier@gnat.com>
1468
1469         * 5bml-tgt.adb (Build_Dynamic_Library): Use
1470         Osint.Include_Dir_Default_Prefix instead of
1471         Sdefault.Include_Dir_Default_Name.
1472
1473         * gnatlbr.adb: Update Copyright notice
1474         (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1475         Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1476         instead of Sdefault.Object_Dir_Default_Name
1477
1478         * gnatlink.adb:
1479         (Process_Binder_File): Never suppress the option following -Xlinker
1480
1481         * mdll-utl.adb:
1482         (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1483         Sdefault.Object_Dir_Default_Name.
1484
1485         * osint.ads, osint.adb:
1486         (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1487         Minor reformatting.
1488
1489         * vms_conv.ads: Minor reformating
1490         Remove GNAT STANDARD and GNAT PSTA
1491
1492         * vms_conv.adb:
1493         Allow GNAT MAKE to have several files on the command line.
1494         (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1495         Sdefault.Object_Dir_Default_Name.
1496         Minor Reformating
1497         Remove data for GNAT STANDARD
1498
1499         * vms_data.ads:
1500         Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1501         Remove data for GNAT STANDARD
1502         Remove options and documentation for -gnatwb/-gnatwB: these warning
1503         options no longer exist.
1504
1505 2003-11-13  Ed Falis  <falis@gnat.com>
1506
1507         * 5zthrini.adb: (Init_RTS): Made visible
1508
1509         * 5zthrini.adb:
1510         (Register): Removed unnecessary call to taskVarGet that checked whether
1511          an ATSD was already set as a task var for the argument thread.
1512
1513         * s-thread.adb:
1514         Updated comment to reflect that this is a VxWorks version
1515         Added context clause for System.Threads.Initialization
1516         Added call to System.Threads.Initialization.Init_RTS
1517
1518 2003-11-13  Jerome Guitton  <guitton@act-europe.fr>
1519
1520         * 5zthrini.adb:
1521         (Init_RTS): New procedure, for the initialization of the run-time lib.
1522
1523         * s-thread.adb:
1524         Remove dependancy on System.Init, so that this file can be used in the
1525         AE653 sequential run-time lib.
1526
1527 2003-11-13  Robert Dewar  <dewar@gnat.com>
1528
1529         * bindgen.adb: Minor reformatting
1530
1531 2003-11-13  Ed Schonberg  <schonberg@gnat.com>
1532
1533         * checks.adb:
1534         (Apply_Discriminant_Check): Do no apply check if target type is derived
1535         from source type with no applicable constraint.
1536
1537         * lib-writ.adb:
1538         (Ensure_System_Dependency): Do not apply the style checks that may have
1539         been specified for the main unit.
1540
1541         * sem_ch8.adb:
1542         (Find_Selected_Component): Further improvement in error message, with
1543         RM reference.
1544
1545         * sem_res.adb:
1546         (Resolve): Handle properly the case of an illegal overloaded protected
1547         procedure.
1548
1549 2003-11-13  Javier Miranda  <miranda@gnat.com>
1550
1551         * exp_aggr.adb:
1552         (Has_Default_Init_Comps): New function to check the presence of
1553         default initialization in an aggregate.
1554         (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1555         extension aggregate of a limited record. In addition, a new formal
1556         was added to do not initialize the record controller (if any) during
1557         this recursive expansion of ancestors.
1558         (Init_Controller): Add support for limited record components.
1559         (Expand_Record_Aggregate): In case of default initialized components
1560         convert the aggregate into a set of assignments.
1561
1562         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1563         describing the new syntax.
1564         Nothing else needed to be done because this subprogram delegates part of
1565         its work to P_Precord_Or_Array_Component_Association.
1566         (P_Record_Or_Array_Component_Association): Give support to the new
1567         syntax for default initialization of components.
1568
1569         * sem_aggr.adb:
1570         (Resolve_Aggregate): Relax the strictness of the frontend in case of
1571         limited aggregates.
1572         (Resolve_Record_Aggregate): Give support to default initialized
1573         components.
1574         (Get_Value): In case of default initialized components, duplicate
1575         the corresponding default expression (from the record type
1576         declaration). In case of default initialization in the *others*
1577         choice, do not check that all components have the same type.
1578         (Resolve_Extension_Aggregate): Give support to limited extension
1579         aggregates.
1580
1581         * sem_ch3.adb:
1582         (Check_Initialization): Relax the strictness of the front-end in case
1583         of aggregate and extension aggregates. This test is now done in
1584         Get_Value in a per-component manner.
1585
1586         * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1587         expression corresponds to a limited aggregate. This test is now done
1588         in Get_Value.
1589
1590         * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1591         Box_Present flag.
1592
1593         * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1594         present in an N_Component_Association node
1595
1596 2003-11-13  Thomas Quinot  <quinot@act-europe.fr>
1597
1598         * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
1599         type-conformant entry only if they are homographs.
1600
1601 2003-11-13  GNAT Script  <nobody@gnat.com>
1602
1603         * Make-lang.in: Makefile automatically updated
1604
1605 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1606
1607         * adadecode.c: Use <> form of include for ctype.h.
1608         * sysdep.c [IN_RTS]: Use <> form of include for time.h.
1609
1610 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1611
1612         * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
1613         Works around PR middle-end/6552.
1614
1615 2003-11-10  Ed Falis  <falis@gnat.com>
1616
1617         * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
1618
1619         * 5zinit.adb: (Install_Handler): Moved back to spec
1620         (Install_Signal_Handlers): Deleted
1621
1622         * 5zthrini.adb: Added context clause for System.Storage_Elements
1623         (Register): Only handles creation of taskVar; initialization moved to
1624         Thread_Body_Enter.
1625         (Reset_TSD): Deleted; replaced by Thread_Body_Enter
1626         Added declaration of environment task secondary stack and
1627         initialization.
1628
1629         * s-thread.adb: Implement bodies for thread body processing
1630
1631         * s-thread.ads:
1632         Added comment identifying supported targets for pragma Thread_Body.
1633
1634 2003-11-10  Pascal Obry  <obry@gnat.com>
1635
1636         * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
1637         GNAT_MAX_PATH_LEN.
1638
1639         * s-fileio.adb:
1640         (Open): Properly check for string length before copying into the buffer.
1641         Raises Name_Error if buffer is too small. Note that this was a potential
1642         buffer overflow.
1643
1644 2003-11-10  Romain Berrendonner  <berrendo@act-europe.fr>
1645
1646         * bindgen.adb, comperr.adb: Code clean ups.
1647         * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
1648
1649 2003-11-10  Sergey Rybin  <rybin@act-europe.fr>
1650
1651         * gnat1drv.adb: Add call to Sem_Elim.Initialize.
1652
1653 2003-11-10  Vincent Celier  <celier@gnat.com>
1654
1655         * gprcmd.adb:
1656         (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
1657         installation.
1658
1659         * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
1660
1661         * prj.adb: (Project_Empty): Add new boolean component Virtual
1662
1663         * prj.ads: (Virtual_Prefix): New constant string
1664         (Project_Data): New boolean component Virtual
1665
1666         * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
1667         a library project is extended by a virtual extending project.
1668
1669         * prj-part.adb:
1670         Modifications throughout to implement extending-all project, including:
1671         (Virtual_Hash, Processed_Hash): New hash tables
1672         (Create_Virtual_Extending_Project): New procedure
1673         (Look_For_Virtual_Projects_For): New procedure
1674
1675         * prj-proc.adb:
1676         (Process): After checking the projects, if main project is an
1677         extending-all project, set the object directory of all virtual extending
1678         project to the object directory of the main project.
1679         Adjust error message when a virtual extending project has the same
1680         object directory as an project being extended.
1681         (Recursive_Process): If name starts with the virtual prefix, set Virtual
1682         to True in the project data.
1683
1684         * prj-tree.adb:
1685         (Default_Project_Node): Add new boolean component Extending_All
1686         (Is_Extending_All): New function
1687         (Set_Is_Extending_All): New procedure
1688
1689         * prj-tree.ads: (Is_Extending_All): New function
1690         (Set_Is_Extending_All): New procedure
1691         (Project_Node_Record): New boolean component Extending_All
1692
1693         * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
1694
1695         * vms_data.ads:
1696         Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
1697
1698         * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
1699         "gprcmd prefix" to define it.
1700
1701 2003-11-10  Thomas Quinot  <quinot@act-europe.fr>
1702
1703         * einfo.ads: Fix a typo and remove an extraneous word in comments.
1704
1705         * lib-load.adb:
1706         (Create_Dummy_Package_Unit): Set the scope of the entity for the
1707         created dummy package to Standard_Standard, not to itself, to
1708         defend other parts of the front-end against encoutering a cycle in
1709         the scope chain.
1710
1711         * sem_ch10.adb:
1712         (Analyze_With_Clause): When setting the entities for the successive
1713         N_Expanded_Names that constitute the name of a child unit, do not
1714         attempt to go further than Standard_Standard in the chain of scopes.
1715         This case arises from the placeholder units created by
1716         Create_Dummy_Package_Unit in the case of a with_clause for a
1717         nonexistent child unit.
1718
1719 2003-11-10  Ed Schonberg  <schonberg@gnat.com>
1720
1721         * exp_ch6.adb:
1722         (Expand_Thread_Body): Place subprogram on scope stack, so that new
1723         declarations are given the proper scope.
1724
1725         * sem_ch13.adb:
1726         (Check_Expr_Constants): Reject an expression that contains a constant
1727         created during expansion, and that appears after the object to which
1728         the address clause applies.
1729
1730         * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
1731         Analyze_Iteration_Scheme, to rewrite a loop parameter specification
1732         that uses 'Range of a function call with controlled components, so
1733         that the function result can be finalized before starting the loop.
1734
1735         * sem_ch8.adb:
1736         (Find_Selected_Component): Improve error message when prefix is
1737         an implicit dereference of an incomplete type.
1738
1739 2003-11-10  Robert Dewar  <dewar@gnat.com>
1740
1741         * opt.ads: New Print_Standard flag for -gnatS switch
1742
1743         * sem_ch13.adb: Remove some additional checks for unaligned arrays
1744
1745         * cstand.adb (Create_Standard): Print out package standard if -gnatS
1746         switch set
1747
1748         * debug.adb: Update doc for -gnatds to discuss relationship with new
1749         -gnatS flag
1750
1751         * sinfo.adb: Add new field Entity_Or_Associated_Node
1752
1753         * sinfo.ads: Add new field Entity_Or_Associated_Node
1754         Update documentation for Associated_Node and Entity fields to clarify
1755         relationship and usage.
1756
1757         * sprint.adb:
1758         (Write_Id): Properly process Associated_Node field in generic template
1759
1760         * switch-c.adb:
1761         Recognize new -gnatS switch for printing package Standard
1762         This replaces gnatpsta
1763
1764         * usage.adb:
1765         Add line for  new -gnatS switch for printing package Standard
1766         This replaces gnatpsta
1767
1768 2003-11-10  Andreas Jaeger  <aj@suse.de>
1769
1770         * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
1771         integer.
1772
1773 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1774
1775         * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
1776         by gnat1.
1777
1778 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1779
1780         * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
1781         no longer needed.
1782
1783         * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
1784
1785         * sysdep.c: Add handling of cygwin.
1786
1787 2003-11-10  GNAT Script  <nobody@gnat.com>
1788
1789         * Make-lang.in: Makefile automatically updated
1790
1791 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1792
1793         PR 12950
1794         * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
1795         functions. Used to handle dynamic prefix relocation, via set_std_prefix.
1796         Replace GNAT_ROOT by GCC_ROOT.
1797
1798         * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
1799
1800 2003-11-06  Zack Weinberg  <zack@codesourcery.com>
1801
1802         * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
1803         and update for changed meaning of GET_MODE_BITSIZE.
1804
1805 2003-11-04  Doug Rupp  <rupp@gnat.com>
1806
1807         * sysdep.c: Problem discovered during IA64 VMS port.
1808         [VMS] #include <unixio.h> to get proper prototypes.
1809
1810         * adaint.c:
1811         Issues discovered/problems fixed during IA64 VMS port.
1812         [VMS] #define _POSIX_EXIT for proper semantics.
1813         [VMS] #include <unixio.h> for proper prototypes.
1814         [VMS] (fork): #define IA64 version.
1815         (__gnat_os_exit): Remove unnecessary VMS specific code.
1816
1817 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1818
1819         Part of PR ada/12806
1820
1821         * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
1822         tree, not integer.
1823
1824         * decl.c:
1825         (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
1826         not integer.
1827
1828         * targtyps.c, decl.c, misc.c,
1829         gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
1830         routines to work around change in FP sizing semantics in GCC.
1831
1832         * utils.c:
1833         (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
1834
1835         * gigi.h: (enumerate_modes): New function.
1836
1837         * Make-lang.in: (ada/misc.o): Add real.h.
1838
1839         * misc.c: (enumerate_modes): New function.
1840
1841 2003-11-04  Robert Dewar  <dewar@gnat.com>
1842
1843         * 3vtrasym.adb: Minor reformatting
1844         Use terminology encoded/decoded name, rather than C++ specific notion
1845         of mangling (this is the terminology used throughout GNAT).
1846
1847         * einfo.h: Regenerated
1848
1849         * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
1850
1851         * exp_ch6.adb:
1852         (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
1853
1854         * par-prag.adb: Add dummy entry for Thread_Body pragma
1855
1856         * rtsfind.ads:
1857         Add entries for System.Threads entities for thread body processing
1858
1859         * sem_attr.adb:
1860         (Analyze_Pragma, Access attributes): Check these are not applied to a
1861         thread body, since this is not permitted
1862
1863         * sem_prag.adb: Add processing for Thread_Body pragma.
1864         Minor comment fix.
1865
1866         * sem_res.adb:
1867         (Resolve_Call): Check for incorrect attempt to call a thread body
1868          procedure with a direct call.
1869
1870         * snames.ads, snames.adb: Add entry for Thread_Body pragma
1871         Add names associated with thread body expansion
1872
1873         * snames.h: Add entry for Thread_Body pragma
1874
1875         * s-thread.adb: Add entries for thread body processing
1876         These are dummy bodies so far
1877
1878         * s-thread.ads: Add documentation on thread body handling.
1879         Add entries for thread body processing.
1880
1881 2003-11-04  Javier Miranda  <miranda@gnat.com>
1882
1883         * sem_ch10.adb:
1884         (Build_Limited_Views): Return after posting an error in case of limited
1885         with_clause on subprograms, generics, instances or generic renamings
1886         (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
1887         on subprograms, generics, instances or generic renamings
1888
1889 2003-11-04  Arnaud Charlet  <charlet@act-europe.fr>
1890
1891         * raise.c (setup_to_install): Correct mistake in last revision; two
1892         arguments out of order.
1893
1894         * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
1895         gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
1896         notice, missed in previous change.
1897         Remove trailing blanks and other style errors introduced in previous
1898         change.
1899
1900 2003-11-04  Olivier Hainque  <hainque@act-europe.fr>
1901
1902         * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
1903         rid of the wrapper for a LJM type, ensuring we don't do that if the
1904         field is addressable.  This avoids potential low level type view
1905         mismatches later on, for instance in a by-reference argument passing
1906         process.
1907
1908 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1909
1910         * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
1911         aligned at byte boundary.
1912
1913 2003-11-04  Joel Brobecker  <brobecker@gnat.com>
1914
1915         * decl.c (components_to_record): Do not delete the empty variants from
1916         the end of the union type.
1917
1918 2003-11-04  Ed Schonberg  <schonberg@gnat.com>
1919
1920         * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
1921         operation for a derived type, an explicit declaration may use a local
1922         subtype of Boolean.
1923
1924 2003-11-04  Vincent Celier  <celier@gnat.com>
1925
1926         * make.adb (Gnatmake): Allow main sources on the command line with a
1927         library project when it is only for compilation (no binding or
1928         linking).
1929
1930 2003-11-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1931
1932         * Makefile.in: Remove many duplicate variables.
1933
1934 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
1935
1936         * Make-lang.in (dvi): Move targets to $(docobjdir).
1937         (gnat_ug_vms.dvi): Simplify rule and adjust target.
1938         (gnat_ug_wnt.dvi): Likewise.
1939         (gnat_ug_unx.dvi): Likewise.
1940         (gnat_ug_vxw.dvi): Likewise.
1941         (gnat_rm.dvi): Likewise.
1942         (gnat-style.dvi): Likewise.
1943
1944 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
1945
1946         * gigi.h: Missed commit from update for C90.
1947
1948 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
1949
1950         * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
1951
1952 2003-10-31  Andreas Schwab  <schwab@suse.de>
1953
1954         * raise.c (get_action_description_for): Fix typo in last change.
1955
1956 2003-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
1957
1958         PR ada/12761
1959         * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
1960         T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
1961
1962 2003-10-30  Kelley Cook  <kcook@gcc.gnu.org>
1963
1964         * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
1965         ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
1966         gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
1967         sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
1968         trans.c, utils.c, utils2.c: Convert function prototypes to C90.
1969
1970 2003-10-30  Vasiliy Fofanov  <fofanov@act-europe.fr>
1971
1972         * 3vtrasym.adb:
1973         Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
1974         numbers when symbol name is too long.
1975
1976 2003-10-30  Ed Falis  <falis@gnat.com>
1977
1978         * g-signal.ads, g-signal.adb: New files
1979
1980         * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
1981
1982         * Makefile.rtl: Introduce GNAT.Signals
1983
1984 2003-10-30  Robert Dewar  <dewar@gnat.com>
1985
1986         * freeze.adb: Minor reformatting
1987
1988         * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
1989
1990         * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
1991         par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
1992         New handling of Id_Check parameter to improve recognition of keywords
1993         used as identifiers.
1994         Update copyright notice to include 2003
1995
1996 2003-10-29  Robert Dewar  <dewar@gnat.com>
1997
1998         * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
1999         sem_ch10.adb: Minor reformatting
2000
2001         * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
2002         (Expand_Assign_Record): Test right hand side for bit unaligned as well
2003
2004 2003-10-29  Vasiliy Fofanov  <fofanov@act-europe.fr>
2005
2006         * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
2007         Support for TBK$SYMBOLIZE-based symbolic traceback.
2008
2009 2003-10-29  Jose Ruiz  <ruiz@act-europe.fr>
2010
2011         * exp_disp.adb:
2012         Revert previous change, that did not work well when pragma No_Run_Time
2013         was used in conjunction with a run-time other than ZFP.
2014
2015 2003-10-29  Vincent Celier  <celier@gnat.com>
2016
2017         * make.adb:
2018         (Gnatmake): When there are no Ada mains in attribute Main, disable the
2019          bind and link steps only is switch -z is not used.
2020
2021 2003-10-29  Arnaud Charlet  <charlet@act-europe.fr>
2022
2023         * Makefile.generic: Remove duplicated setting of CC.
2024
2025         * Makefile.prolog: Set CC to gcc by default, to override make's
2026         default (cc).
2027
2028         * einfo.h: Regenerated.
2029
2030 2003-10-29  Ed Schonberg  <schonberg@gnat.com>
2031
2032         * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
2033         current body, after compiling subunit.
2034
2035         * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
2036         when in deleted code, because gigi needs properly ordered freeze
2037         actions to annotate types.
2038
2039         * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
2040         prevent the premature freezing of record type that contains
2041         subcomponents with a private type that does not yet have a completion.
2042
2043 2003-10-29  Javier Miranda  <miranda@gnat.com>
2044
2045         * sem_ch12.adb:
2046         (Analyze_Package_Instantiation): Check that instances can not be used in
2047         limited with_clauses.
2048
2049         * sem_ch8.adb:
2050         (Analyze_Package_Renaming): Check that limited withed packages cannot
2051         be renamed. Improve text on error messages related to limited
2052         with_clauses.
2053
2054         * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
2055
2056         * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
2057         Update copyright notice.
2058
2059         * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
2060         (Install_Limited_Context_Clauses): New subprogram that isolates all the
2061         checks required for limited context_clauses and installs the limited
2062         view.
2063         (Install_Limited_Withed_Unit): Complete its documentation.
2064         (Analyze_Context): Check that limited with_clauses are only allowed in
2065         package specs.
2066         (Install_Context): Call Install_Limited_Context_Clauses after the
2067         parents have been installed.
2068         (Install_Limited_Withed_Unit): Add documentation. Mark the installed
2069         package as 'From_With_Type'; this mark indicates that the limited view
2070         is installed. Used to check bad usages of limited with_clauses.
2071         (Build_Limited_Views): Do not add shadow entities to the scope's list
2072         of entities. Do not add real entities to the Non_Limited_Views chain.
2073         Improve error notification.
2074         (Remove_Context_Clauses): Remove context clauses in two phases:
2075         limited views first and regular views later (to maintain the
2076         stack model).
2077         (Remove_Limited_With_Clause): If the package is analyzed then reinstall
2078         its visible entities.
2079
2080 2003-10-29  Thomas Quinot  <quinot@act-europe.fr>
2081
2082         * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
2083         with any type that Is_Fixed_Point_Type.
2084
2085         * sinfo.ads: Fix documentation for Associated_Node attribute.
2086
2087 2003-10-29  Sergey Rybin  <rybin@act-europe.fr>
2088
2089         * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
2090         both '-gnatc' and '-gnatt' are specified.
2091
2092         * atree.adb (Initialize): Add initialization for Node_Count (set to
2093         zero).
2094
2095 2003-10-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2096
2097         * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
2098         do not consider as Pure.
2099
2100         Part of implementation of function-at-a-time:
2101
2102         * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
2103         (tree_transform): Add new argument to build_component_ref.
2104         (tree_transform, case N_Assignment_Statement): Make and return an
2105         EXPR_STMT.
2106         (tree_transform): If result IS_STMT, set flags and return it.
2107         (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2108
2109         * utils2.c (build_simple_component_ref, build_component_ref): Add new
2110         arg, NO_FOLD_P.
2111         (build_binary_op, case EQ_EXPR): Pass additional arg to it.
2112         (build_allocator): Likewise.
2113
2114         * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
2115         Add new arg to build_component_ref.
2116         (maybe_unconstrained_array, unchecked_convert): Likewise.
2117
2118         * ada-tree.def (EXPR_STMT): New code.
2119
2120         * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
2121
2122         * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
2123         build_component_ref calls.
2124
2125         * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
2126
2127         * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2128         (build_component_ref): Add new argument, NO_FOLD_P.
2129
2130 2003-10-27  Arnaud Charlet  <charlet@act-europe.fr>
2131
2132         * Makefile.generic: Add missing substitution on object_deps handling.
2133
2134         PR ada/5909:
2135         * Make-lang.in (check-ada): Enable ACATS test suite.
2136
2137 2003-10-27  Robert Dewar  <dewar@gnat.com>
2138
2139         * exp_ch3.adb:
2140         (Freeze_Array_Type): We do not need an initialization routine for types
2141         derived from String or Wide_String. They should be treated the same
2142         as String and Wide_String themselves. This caused problems with the
2143         use of Initialize_Scalars.
2144
2145         * exp_ch5.adb:
2146         (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
2147         composites. This allows use of component clauses that are not byte
2148         aligned.
2149
2150         * sem_prag.adb:
2151         (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
2152         is an attempt to pack an array of atomic objects.
2153
2154         * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
2155
2156 2003-10-27  Pascal Obry  <obry@gnat.com>
2157
2158         * g-dirope.adb:
2159         (Basename): Check for drive letters in a pathname only on DOS based OS.
2160
2161 2003-10-27  Vincent Celier  <celier@gnat.com>
2162
2163         * make.adb:
2164         (Gnatmake): When unable to change dir to the object dir, display the
2165         content of the parent dir of the obj dir, to try to understand why this
2166         happens.
2167
2168 2003-10-27  GNAT Script  <nobody@gnat.com>
2169
2170         * Make-lang.in: Makefile automatically updated
2171
2172 2003-10-27  Ed Schonberg  <schonberg@gnat.com>
2173
2174         * sem_ch12.adb:
2175         (Inline_Instance_Body): Indicate that the save/restore of use_clauses
2176         should not be done in Save/Restore_Scope_Stack, because it is performed
2177         locally.
2178
2179         * sem_ch8.adb:
2180         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2181         whether use clauses should be removed/restored.
2182
2183         * sem_ch8.ads:
2184         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2185         whether use clauses should be removed/restored.
2186
2187 2003-10-26  Andreas Jaeger  <aj@suse.de>
2188
2189         * Makefile.in: Remove duplicated lines.
2190
2191 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
2192
2193         * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
2194         minimize the differences with ACT tree.
2195
2196         * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
2197         gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
2198         Gnatvsn.Gnat_Static_Version_String to reduce differences between
2199         ACT and FSF trees.
2200
2201 2003-10-24  Pascal Obry  <obry@gnat.com>
2202
2203         * adadecode.c (ostrcpy): New function.
2204         (__gnat_decode): Use ostrcpy of strcpy.
2205         (has_prefix): Set first parameter a const.
2206         (has_suffix): Set first parameter a const.
2207         Update copyright notice. Fix source name in header.
2208         Removes a trailing space.
2209         PR ada/12014.
2210
2211 2003-10-24  Jose Ruiz  <ruiz@act-europe.fr>
2212
2213         * exp_disp.adb:
2214         Remove the test against being in No_Run_Time_Mode before generating a
2215         call to Register_Tag. It is redundant with the test against the
2216         availability of the function Register_Tag.
2217
2218 2003-10-24  Vincent Celier  <celier@gnat.com>
2219
2220         * g-catiio.adb: (Month_Name): Correct spelling of February
2221
2222         * make.adb: (Mains): New package
2223         (Initialize): Call Mains.Delete
2224         (Gnatmake): Check that each main on the command line is a source of a
2225         project file and, if there are several mains, each of them is a source
2226         of the same project file.
2227         (Gnatmake): When a foreign language is specified in attribute Languages,
2228         no main is specified on the command line and attribute Mains is not
2229         empty, only build the Ada main. If there is no Ada main, just compile
2230         the Ada sources and their closure.
2231         (Gnatmake): If a main is specified on the command line with directory
2232         information, check that the source exists and, if it does, that the path
2233         is the actual path of a source of a project.
2234
2235         * prj-env.adb:
2236         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
2237         Full_Path is True, return the full path instead of the simple file name.
2238         (Project_Of): New function
2239
2240         * prj-env.ads:
2241         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
2242         defaulted to False.
2243         (Project_Of): New function
2244
2245 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
2246
2247         * Makefile.generic:
2248         Ensure objects of main project are always checked and rebuilt if needed.
2249         Set CC to gcc by default.
2250         Prepare new handling of link by creating a global archive (not activated
2251         yet).
2252
2253         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2254         stringt.h: Update copyright notice. Remove trailing blanks.
2255         Fix source name in header.
2256
2257 2003-10-24  Robert Dewar  <dewar@gnat.com>
2258
2259         * sem_ch12.adb: Minor reformatting
2260
2261         * sem_ch3.adb:
2262         Minor reformatting (including new function return style throughout)
2263
2264         * sem_ch3.ads:
2265         Minor reformatting (including new function return style throughout)
2266
2267 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
2268
2269         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2270         stringt.h: Update copyright notice. Remove trailing blanks.
2271         Fix source name in header.
2272
2273 2003-10-24  GNAT Script  <nobody@gnat.com>
2274
2275         * Make-lang.in: Makefile automatically updated
2276
2277 2003-10-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2278
2279         * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
2280         stringt.h: Convert to ISO C90 declarations and definitions.
2281
2282 2003-10-23  Thomas Quinot  <quinot@act-europe.fr>
2283
2284         PR ada/11978:
2285         * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
2286         External_Tag attribute definition clauses.
2287
2288 2003-10-23  Ed Schonberg  <schonberg@gnat.com>
2289
2290         PR ada/7613:
2291         * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
2292         child unit, generate a fully qualified name to avoid spurious errors
2293         when the context contains renamings of different child units with
2294         the same simple name.
2295
2296         * exp_dbug.ads: Add documentation on name qualification for renamings
2297         of child units.
2298
2299 2003-10-23  Robert Dewar  <dewar@gnat.com>
2300
2301         * g-regpat.ads, g-regpat.adb: Minor reformatting
2302
2303 2003-10-23  Jose Ruiz  <ruiz@act-europe.fr>
2304
2305         * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
2306
2307 2003-10-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2308
2309         * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
2310         Machine call.
2311
2312         * urealp.h: (Machine): Update to proper definition.
2313
2314 2003-10-23  Arnaud Charlet  <charlet@act-europe.fr>
2315
2316         * init.c, adaint.c: Minor reformatting.
2317
2318 2003-10-23  Danny Smith  <dannysmith@users.sourceforge.net>
2319
2320         * adaint.c (w32_epoch_offset): Define static const at file level.
2321         (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
2322         rather than t_create, t_access in call to GetFileTime. Use union
2323         to convert between FILETIME and  unsigned long long.
2324         (__gnat_file_time_name): Test for invalid file handle.
2325         (__gnat_set_filetime_name): Support win32 targets using
2326         w32api SetFileTime.
2327
2328 2003-10-22  Danny Smith  <dannysmith@users.sourceforge.net>
2329
2330         * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
2331
2332         * ctrl_c.c (__gnat_int_handler): Remove declaration.
2333
2334         * decl.c (creat_concat_name):  Const-ify prefix.
2335
2336         * adaint.c: Include ctype.h if __MINGW32__.
2337         (__gnat_readlink): Mark arguments as possibly unused.
2338         (__gnat_symlink): Likewise.
2339         (__gnat_is_symbolic_link): Likewise.
2340         (__gnat_portable_spawn): Likewise.  Cast last arg of spawnvp to match
2341         declaration
2342         (__gnat_file_time_name): Don't declare struct stat statbuf when
2343         not needed.
2344         (__gnat_is_absolute_path): Add parenthesis around condition of
2345         'if' statement to avoid warning.
2346         (__gnat_plist_init): Specify void as parameter.
2347         (plist_enter): Likewise.
2348         (plist_leave): Likewise.
2349         (remove_handle): Make static. Initialize prev.
2350
2351 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
2352
2353         * Makefile.in: Disable build of gnatpsta. PR ada/10110.
2354         * cstreams.c (__gnat_full_name): Minor improvements and clean up
2355         of previous change.
2356
2357 2003-10-22  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2358
2359         * tracebak.c (MAX): Avoid redefinition warning.
2360
2361         * init.c [sgi] (__gnat_error_handler): Remove i, unused.
2362         Change msg to const char *.
2363         (__gnat_install_handler): Remove ss, unused.
2364         [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
2365         to const char *.
2366         * cstreams.c (__gnat_full_name): Declare p only when used.
2367         (__gnat_full_name) [sgi] Return buffer.
2368
2369 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
2370
2371         * mingw32.h: New file.
2372         * gnat_wrapper.adb: New file.
2373
2374 2003-10-22  Jerome Roussel  <roussel@act-europe.fr>
2375
2376         * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
2377         string match a pre compiled regular expression (the corresponding
2378         version of the function working on a raw regular expression)
2379         Fix typos in various comments
2380         Update copyright notice in spec
2381
2382 2003-10-21  Gary Dismukes  <dismukes@gnat.com>
2383
2384         * exp_ch3.adb:
2385         (Component_Needs_Simple_Initialization): Return False when the type is a
2386         packed bit array. Revise spec comments to document this case.
2387
2388         * exp_prag.adb:
2389         (Expand_Pragma_Import): Set any expression on the imported object to
2390         empty to avoid initializing imported objects (in particular this
2391         covers the case of zero-initialization of bit arrays).
2392         Update copyright notice.
2393
2394 2003-10-21  Ed Schonberg  <schonberg@gnat.com>
2395
2396         * sem_ch12.adb:
2397         (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
2398         a subunit is missing.
2399         (Instantiate_Subprogram_Body): If body of function is missing, set type
2400         of return expression explicitly in dummy body, to prevent cascaded
2401         errors when a subunit is missing.
2402         Fixes PR 5677.
2403
2404         * sem_ch3.adb:
2405         (Access_Subprogram_Declaration): Verify that return type is valid.
2406         Fixes PR 8693.
2407
2408         * sem_elab.adb:
2409         (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
2410         generic.
2411         Fixes PR 12318.
2412
2413         * sem_util.adb:
2414         (Corresponding_Discriminant): If the scope of the discriminant is a
2415         private type without discriminant, use its full view.
2416         Fixes PR 8247.
2417
2418 2003-10-21  Arnaud Charlet  <charlet@act-europe.fr>
2419
2420         * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
2421         3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
2422         3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
2423         55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
2424         56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
2425         59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
2426         5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2427         5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
2428         5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
2429         5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
2430         5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
2431         5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
2432         5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
2433         5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
2434         7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
2435         a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
2436         a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
2437         a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
2438         bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
2439         erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
2440         err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
2441         g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
2442         g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
2443         g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
2444         g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
2445         g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
2446         g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
2447         gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
2448         g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
2449         g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
2450         i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
2451         prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
2452         prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
2453         s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
2454         s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
2455         s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
2456         s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
2457         s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
2458         s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
2459         s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
2460         s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
2461         socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
2462         s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
2463         s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
2464         s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
2465         styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
2466         s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
2467         tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2468         vms_conv.ads, vms_conv.adb, vms_data.ads,
2469         vxaddr2line.adb: Files added. Merge with ACT tree.
2470
2471         * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2472         5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2473         5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2474         5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2475         g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2476         s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2477         s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2478         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2479         s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2480         s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2481
2482         * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2483         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2484         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2485         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2486         4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2487         4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2488         4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2489         4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2490         51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2491         53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2492         5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2493         5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2494         5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2495         5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2496         5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2497         5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2498         5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2499         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2500         5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2501         5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2502         5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2503         5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2504         5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2505         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2506         5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2507         5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2508         5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2509         5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2510         5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2511         5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2512         5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2513         5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2514         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2515         5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2516         6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2517         7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2518         7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2519         a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2520         a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2521         a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2522         a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2523         a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2524         ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2525         a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2526         a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2527         a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2528         a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2529         a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2530         a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2531         a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2532         a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2533         a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2534         a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2535         a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2536         a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2537         atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2538         a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2539         a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2540         bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2541         checks.adb, checks.ads, cio.c, comperr.adb,
2542         comperr.ads, csets.adb, cstand.adb, cstreams.c,
2543         debug_a.adb, debug_a.ads, debug.adb, decl.c,
2544         einfo.adb, einfo.ads, errout.adb, errout.ads,
2545         eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2546         expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2547         exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2548         exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2549         exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2550         exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2551         exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2552         exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2553         exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2554         fe.h, fmap.adb, fmap.ads, fname.adb,
2555         fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2556         freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2557         g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2558         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2559         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2560         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2561         g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2562         g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2563         g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2564         g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2565         g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2566         g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2567         g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2568         g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2569         gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2570         gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2571         gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2572         gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2573         gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2574         g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2575         g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2576         g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2577         g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2578         g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2579         g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2580         g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2581         g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2582         i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2583         i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2584         inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2585         itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2586         layout.adb, lib.adb, lib.ads, lib-list.adb,
2587         lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2588         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2589         link.c, live.adb, make.adb, make.ads,
2590         Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2591         mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2592         mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2593         misc.c, mkdir.c, mlib.adb, mlib.ads,
2594         mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2595         mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
2596         namet.adb, namet.ads, namet.h, nlists.ads,
2597         nlists.h, nmake.adt, opt.adb, opt.ads,
2598         osint.adb, osint.ads, osint-b.adb, osint-c.adb,
2599         par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
2600         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2601         par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
2602         par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
2603         prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
2604         prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
2605         prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
2606         prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
2607         prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
2608         prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
2609         prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
2610         prj-util.adb, prj-util.ads, raise.c, raise.h,
2611         repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
2612         rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
2613         s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
2614         s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
2615         scans.ads, scn.adb, scn.ads, s-crc32.adb,
2616         s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
2617         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
2618         sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
2619         sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
2620         sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
2621         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2622         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2623         sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
2624         sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
2625         sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
2626         sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
2627         sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
2628         s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
2629         s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
2630         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2631         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
2632         s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
2633         s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
2634         s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
2635         sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
2636         sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
2637         sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
2638         s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
2639         s-memory.adb, s-memory.ads, snames.adb, snames.ads,
2640         snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
2641         s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
2642         s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
2643         s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
2644         s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
2645         s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
2646         s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
2647         s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
2648         s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
2649         s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
2650         s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
2651         s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
2652         s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
2653         s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
2654         s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
2655         s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
2656         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
2657         stringt.adb, stringt.ads, stringt.h, style.ads,
2658         stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
2659         s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
2660         s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
2661         switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
2662         s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
2663         table.adb, table.ads, targparm.adb, targparm.ads,
2664         targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
2665         trans.c, tree_io.adb, treepr.adb, treeprs.adt,
2666         ttypes.ads, types.ads, types.h, uintp.adb,
2667         uintp.ads, uintp.h, uname.adb, urealp.adb,
2668         urealp.ads, urealp.h, usage.adb, utils2.c,
2669         utils.c, validsw.adb, validsw.ads, widechar.adb,
2670         xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
2671         xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
2672         einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
2673         gnatvsn.ads: Merge with ACT tree.
2674
2675         * gnatvsn.adb: Rewritten in a simpler and more efficient way.
2676
2677 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
2678
2679         * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
2680         (gnat_ug_vmx.info): Likewise.
2681         (gnat_ug_vxw.info): Likewise.
2682         (gnat_ug_wnt.info): Likewise.
2683         (gnat_rm.info): Likewise.
2684         (gnat-style.info): Likewise.
2685
2686         * Make-lang.in (ada.install-info): Remove target.
2687         (info): New target.
2688         (install-info): Likewise.
2689         (gnat_ug_unx.info): Simplify rule.
2690         (gnat_ug_vmx.info): Likewise.
2691         (gnat_ug_vxw.info): Likewise.
2692         (gnat_ug_wnt.info): Likewise.
2693         (gnat_rm.info): Likewise.
2694         (gnat-style.info): Likewise.
2695
2696 2003-10-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2697
2698         * Make-lang.in: Replace uses of $(target_alias) with
2699         $(target_noncanonical).
2700         * ada/Makefile.in: Remove unused mention of $(target_alias).
2701
2702 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
2703
2704         * Make-lang.in (ada.info): Replace with ...
2705         (info): ... this.
2706         (ada.dvi): Replace with ...
2707         (dvi): ... this.
2708
2709 2003-09-29  Zack Weinberg  <zack@codesourcery.com>
2710
2711         * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
2712         initialize dconstp5 and dconstmp5.
2713
2714 2003-09-28  Richard Henderson  <rth@redhat.com>
2715
2716         * trans.c (tree_transform): Update call to expand_asm_operands.
2717
2718 2003-09-21  Richard Henderson  <rth@redhat.com>
2719
2720         * trans.c, utils.c: Revert.
2721
2722 2003-09-21  Richard Henderson  <rth@redhat.com>
2723
2724         * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
2725         change to const.
2726
2727 2003-09-04  Michael Matz  <matz@suse.de>
2728
2729         * misc.c: Include "target.h".
2730         * Make-lang.in (misc.o): Add dependency on target.h.
2731
2732 2003-09-03  DJ Delorie  <dj@redhat.com>
2733
2734         * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
2735         hook.
2736
2737 2003-08-30  Zack Weinberg  <zack@codesourcery.com>
2738
2739         * Makefile.in: Update substitutions to match changes to
2740         configure.  Use include directives instead of @-insertions
2741         to read in host and target fragments.  Add a rule to
2742         regenerate ada/Makefile.
2743
2744 2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
2745
2746         * lang-options.h: Remove.
2747         * lang.opt: Add help text.
2748
2749 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
2750
2751         * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
2752         calls.
2753
2754 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
2755
2756         * misc.c (gnat_handle_option): Don't handle filenames.
2757
2758 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
2759
2760         * Make-lang.in: Replace PWD with PWD_COMMAND.
2761         * Makefile.adalib: Likewise.
2762         * Makefile.in: Likewise.
2763
2764 2003-07-04  Matt Kraai  <kraai@alumni.cmu.edu>
2765
2766         * misc.c (gnat_argv): Revert last change.
2767         (gnat_handle_option, gnat_init_options): Copy arguments.
2768
2769 2003-07-03  Neil Booth  <neil@daikokuya.co.uk>
2770
2771         * misc.c (gnat_argv): Make const.
2772
2773 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
2774
2775         * misc.c (save_argc, save_argv): Keep non-static!
2776
2777 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
2778
2779         * misc.c (save_argc, save_argv): Make static.
2780         (gnat_init_options): New prototype.
2781         (gnat_init_options): Update.
2782
2783 2003-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
2784
2785         * gnat_ug.texi: Remove unlikely characters from @vars.
2786         * gnat_ug_vms.texi: Regenerate.
2787
2788 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
2789
2790         * misc.c (record_code_position): Adjust emit_note call.
2791
2792 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
2793
2794         * misc.c (gnat_handle_option): Don't check for missing arguments.
2795
2796 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
2797
2798         * utils.c (end_subprog_body): Adjust expand_function_end call.
2799
2800 2003-06-16  Matt Kraai  <kraai@alumni.cmu.edu>
2801
2802         * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
2803         Bind_Main_Program.
2804
2805 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2806
2807         * lang.opt: Declare Ada.
2808         * misc.c (gnat_init_options): Update.
2809
2810 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
2811
2812         * utils.c (begin_subprog_body): Adjust init_function_start call.
2813
2814 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
2815
2816         * Make-lang.in: Update to use options.c and options.h.
2817         * misc.c: Include options.h not aoptions.h.
2818         (gnat_handle_option): Abort on unrecognized switch.
2819         (gnat_init_options): Request Ada switches.
2820
2821 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
2822
2823         * lang.opt: Add -Wall.
2824         * misc.c (gnat_handle_option): Handle it.
2825
2826 2003-06-12  Neil Booth  <neil@daikokuya.co.uk>
2827
2828         * misc.c (gnat_handle_option): Fix warnings.
2829
2830 2003-06-11  Matt Kraai  <kraai@alumni.cmu.edu>
2831
2832         * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
2833
2834 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
2835
2836         * Make-lang.in: Update to handle command-line options.
2837         * lang.opt: New file.
2838         * misc.c: Include aoptions.h.
2839         (cl_options_count, cl_options): Remove.
2840         (gnat_handle_option): New.
2841         (gnat_decode_option): Remove.
2842         (LANG_HOOKS_DECODE_OPTION): Remove.
2843         (LANG_HOOKS_HANDLE_OPTION): Override.
2844
2845 2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
2846
2847         * init.c, misc.c, trans.c, utils.c: Remove dead code.
2848
2849 2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2850
2851         * Makefile.in: Replace "host_canonical" with "host" for autoconf
2852         substitution.
2853
2854 2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
2855
2856         * Make-lang.in: Update.
2857         * misc.c: Include opts.h. Define cl_options_count and cl_options.
2858
2859 2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
2860
2861         * misc.c (gnat_init_options): Update.
2862
2863 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2864
2865         * Make-lang.in (ada/b_gnatb.o-warn): Remove.
2866         * bindgen.adb (Gen_Main_C): Mark ensure_reference with
2867         __attribute__ ((__unused__)).
2868
2869 2003-06-05  Jan Hubicka  <jh@suse.cz>
2870
2871         * Make-lang.in:  Add support for stageprofile and stagefeedback
2872
2873 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2874
2875         * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
2876         (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
2877
2878 2003-06-04  Matt Kraai  <kraai@alumni.cmu.edu>
2879
2880         * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
2881         Remove non-VMS directive.
2882         (Switches for gnatlbr, Optimization Levels): Remove non-VMS
2883         alternatives.
2884         (Examples of gnatls Usage): Remove VMS alternative.
2885
2886 2003-06-04  Olivier Hainque  <hainque@act-europe.fr>
2887
2888         PR ada/9953:
2889         * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
2890         and turn ZCX_By_Default back to False since the underlying support
2891         is not quite there yet.
2892
2893 2003-06-01  Andreas Jaeger  <aj@suse.de>
2894
2895         * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
2896         and ROUND_TYPE_SIZE_UNIT.
2897
2898 2003-05-22   Geert Bosch <bosch@gnat.com>
2899
2900         * gnat_rm.texi : Remove reference to Ada Core Technologies.
2901
2902 2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
2903
2904         * trans.c (tree_transform): Use location_t and input_location
2905         directly.
2906         (build_unit_elab): Likewise.
2907         * utils.c (create_label_decl): Likewise.
2908
2909 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
2910
2911         * trans.c (tree_transform, build_unit_elab,
2912         set_lineno): Rename lineno to input_line.
2913         * utils.c (pushdecl, create_label_decl, begin_subprog_body,
2914         end_subprog_body): Likewise.
2915         * utils2.c (build_call_raise): Likewise.
2916
2917 2003-05-01  Laurent Guerby <guerby@acm.org>
2918
2919         PR ada/10546
2920         * 5iosinte.ads: Increase pthread_cond_t size to match recent
2921         LinuxThread and NPTL version, merge from ACT.
2922
2923 2003-04-28  Zack Weinberg  <zack@codesourcery.com>
2924
2925         * utils.c (convert): No need to clear TREE_CST_RTL.
2926
2927 2003-04-23   Geert Bosch <bosch@gnat.com>
2928
2929         * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
2930         1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2931         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2932         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2933         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2934         4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
2935         4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
2936         4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
2937         4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2938         4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
2939         4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
2940         4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
2941         52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
2942         5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
2943         5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
2944         5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
2945         5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
2946         5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
2947         5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
2948         5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
2949         5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
2950         5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
2951         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2952         5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
2953         5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
2954         5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
2955         5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
2956         5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
2957         5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
2958         5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
2959         5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
2960         5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
2961         5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
2962         5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
2963         5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
2964         5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
2965         5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
2966         5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
2967         5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
2968         5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
2969         5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
2970         5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
2971         5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
2972         5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
2973         6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
2974         7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
2975         7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
2976         9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
2977         a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
2978         a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
2979         a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
2980         a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
2981         a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
2982         a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
2983         a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
2984         a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
2985         a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
2986         a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
2987         a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
2988         a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
2989         a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
2990         a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
2991         a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
2992         a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
2993         a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
2994         a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
2995         a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
2996         a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
2997         a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
2998         a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
2999         a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
3000         a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
3001         a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
3002         a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
3003         a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
3004         a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
3005         a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
3006         a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
3007         a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
3008         a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
3009         a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
3010         a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
3011         a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
3012         a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
3013         a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
3014         a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
3015         a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
3016         a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
3017         a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
3018         a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
3019         a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
3020         a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
3021         a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
3022         a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
3023         a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
3024         a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
3025         a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
3026         a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
3027         a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
3028         a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
3029         a-wttest.ads, ada-tree.h, ada.ads, ada.h,
3030         adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
3031         ali.adb, ali.ads, alloc.ads, argv.c,
3032         atree.adb, atree.ads, atree.h, aux-io.c,
3033         back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
3034         binde.adb, binde.ads, binderr.adb, binderr.ads,
3035         bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
3036         butil.adb, butil.ads, cal.c, calendar.ads,
3037         casing.adb, casing.ads, ceinfo.adb, checks.adb,
3038         checks.ads, cio.c, comperr.adb, comperr.ads,
3039         config-lang.in, csets.adb, csets.ads, csinfo.adb,
3040         cstand.adb, cstand.ads, cuintp.c, debug.adb,
3041         debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
3042         dec-io.ads, dec.ads, deftarg.c, directio.ads,
3043         einfo.adb, einfo.ads, elists.adb, elists.ads,
3044         elists.h, errno.c, errout.adb, errout.ads,
3045         eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
3046         exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
3047         exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
3048         exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
3049         exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
3050         exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
3051         exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
3052         exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
3053         exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
3054         exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
3055         exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
3056         exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
3057         exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
3058         exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
3059         exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
3060         fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
3061         fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
3062         freeze.adb, freeze.ads, frontend.adb, frontend.ads,
3063         g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
3064         g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
3065         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
3066         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
3067         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
3068         g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
3069         g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
3070         g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
3071         g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
3072         g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
3073         g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
3074         g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
3075         g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
3076         g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
3077         g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
3078         g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
3079         g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
3080         g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
3081         g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
3082         g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
3083         g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
3084         g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
3085         get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
3086         gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
3087         gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
3088         gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
3089         gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
3090         gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
3091         gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
3092         gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
3093         hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
3094         i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
3095         i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
3096         i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
3097         i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
3098         i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
3099         i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
3100         inline.adb, inline.ads, interfac.ads, ioexcept.ads,
3101         itypes.adb, itypes.ads, krunch.adb, krunch.ads,
3102         layout.adb, layout.ads, lib-list.adb, lib-load.adb,
3103         lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
3104         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
3105         lib.adb, lib.ads, live.adb, live.ads,
3106         machcode.ads, make.adb, make.ads, makeusg.adb,
3107         makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
3108         mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
3109         memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
3110         mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
3111         mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
3112         mlib.ads, namet.adb, namet.ads, nlists.adb,
3113         nlists.ads, opt.adb, opt.ads, osint-b.adb,
3114         osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
3115         osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
3116         osint.ads, output.adb, output.ads, par-ch10.adb,
3117         par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
3118         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
3119         par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
3120         par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
3121         par-tchk.adb, par-util.adb, par.adb, par.ads,
3122         prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
3123         prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
3124         prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
3125         prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
3126         prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
3127         prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
3128         prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
3129         prj.adb, prj.ads, repinfo.adb, repinfo.ads,
3130         restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
3131         rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
3132         s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
3133         s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
3134         s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
3135         s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
3136         s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
3137         s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
3138         s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
3139         s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
3140         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
3141         s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
3142         s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
3143         s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
3144         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
3145         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
3146         s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
3147         s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
3148         s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
3149         s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
3150         s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
3151         s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
3152         s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
3153         s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
3154         s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
3155         s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
3156         s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
3157         s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
3158         s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
3159         s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
3160         s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
3161         s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
3162         s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
3163         s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
3164         s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
3165         s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
3166         s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
3167         s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
3168         s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
3169         s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
3170         s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
3171         s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
3172         s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
3173         s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
3174         s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
3175         s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
3176         s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
3177         s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
3178         s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
3179         s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
3180         s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
3181         s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
3182         s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
3183         s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
3184         s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
3185         s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
3186         s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
3187         s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
3188         s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
3189         s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
3190         s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
3191         s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
3192         s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
3193         s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
3194         s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
3195         s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
3196         s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
3197         s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
3198         s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
3199         s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
3200         s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
3201         s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
3202         s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
3203         s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
3204         s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
3205         s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3206         s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
3207         s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
3208         s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
3209         s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
3210         s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
3211         s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
3212         s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
3213         s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
3214         s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
3215         s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
3216         s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
3217         s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
3218         s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
3219         s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
3220         s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
3221         s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
3222         s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
3223         s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
3224         s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
3225         scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
3226         sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
3227         sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
3228         sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
3229         sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
3230         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
3231         sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
3232         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
3233         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
3234         sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
3235         sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
3236         sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
3237         sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
3238         sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
3239         sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
3240         sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
3241         sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
3242         sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
3243         sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
3244         sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
3245         sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
3246         snames.ads, sprint.adb, sprint.ads, stand.adb,
3247         stand.ads, stringt.adb, stringt.ads, style.adb,
3248         style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
3249         switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
3250         switch-m.ads, switch.adb, switch.ads, system.ads,
3251         table.adb, table.ads, targparm.adb, targparm.ads,
3252         tbuild.adb, tbuild.ads, text_io.ads, trans.c,
3253         tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
3254         tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
3255         ttypef.ads, ttypes.ads, types.adb, types.ads,
3256         uintp.adb, uintp.ads, uname.adb, uname.ads,
3257         unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
3258         usage.adb, usage.ads, validsw.adb, validsw.ads,
3259         widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
3260         xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
3261         xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
3262         formatting and other trivial changes from ACT.
3263
3264 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
3265
3266         * gigi.h, utils2.c (build_constructor):
3267         Rename gnat_build_constructor. Use build_constructor.
3268         * decl.c (gnat_to_gnu_entity)
3269         * trans.c (tree_transform, pos_to_constructor, extract_values)
3270         * ada/utils.c (build_template, convert_to_fat_pointer, convert)
3271         (unchecked_convert)
3272         * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
3273         (fill_vms_descriptor):
3274         Update to match.
3275
3276 2003-04-06  Zack Weinberg  <zack@codesourcery.com>
3277
3278         * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
3279         * misc.c (gnat_tree_size): New function.
3280         (LANG_HOOKS_TREE_SIZE): Override.
3281
3282 2003-04-03  Jason Merrill  <jason@redhat.com>
3283
3284         * misc.c (gnat_adjust_rli): #if 0.
3285
3286 2003-03-31   Geert Bosch <bosch@gnat.com>
3287
3288         PR ada/10020
3289         * link.c : Fix misspelled "const" keyword
3290
3291 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
3292
3293         PR c++/7086
3294         * utils2.c: Adjust calls to put_var_into_stack.
3295
3296 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
3297
3298         * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
3299
3300 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
3301
3302         * misc.c (gnat_init): Update for new prototype.
3303
3304 2003-03-05  Olivier Hainque  <hainque@gnat.com>
3305
3306         ada/9961
3307         * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
3308         warning, and fix return type for the IN_RTS && !SJLJ case.
3309
3310 2003-03-04  Tom Tromey  <tromey@redhat.com>
3311
3312         * Make-lang.in (ada.tags): New target.
3313
3314 2003-03-04  Olivier Hainque  <hainque@act-europe.fr>
3315
3316         ada/9911
3317         * a-except.adb (Unwind_RaiseException): Import a GNAT specific
3318         wrapper, which name remains constant whatever underlying GCC
3319         scheme.
3320
3321         * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
3322         the stable interface needed for a-except.
3323
3324 2003-03-02  Andreas Jaeger  <aj@suse.de>
3325
3326         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3327         gnat_ug_wnt.texi: Regenerate.
3328
3329 2003-03-02  Laurent Guerby <guerby@acm.org>
3330
3331         * Makefile.in (install-gnatlib): Match previous change there
3332         so it works.
3333
3334 2003-02-28  Andreas Schwab  <schwab@suse.de>
3335
3336         * Make-lang.in (install-gnatlib): Change to ada directory before
3337         running make instead of using ada/Makefile directly.
3338
3339 2003-02-18  Ben Elliston  <bje@redhat.com>
3340
3341         Part of fix for PR ada/9406
3342         * gnat_ug.texi (Binder output file): Grammar fix.
3343
3344 2003-02-18  Ben Elliston  <bje@redhat.com>
3345
3346         PR other/7350
3347         * 5qtaprop.adb (Sleep): Fix typo in comment.
3348
3349 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
3350
3351         * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
3352         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3353         gnat_ug_wnt.texi: Regenerate.
3354
3355 2003-02-03  Christian Cornelssen <ccorn@cs.tu-berlin.de>
3356
3357         * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
3358         be created if necessary.
3359         (ada.install-common): Let $(DESTDIR)$(bindir) be created
3360         if necessary.  Remove erroneous and redundant gnatchop
3361         installation commands.  Test for gnatdll before attempting
3362         to install it.
3363         (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
3364         and gnatdll from all plausible locations.
3365
3366 2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
3367
3368         * utils2.c (build_unary_op): Don't check flag_volatile.
3369         * gnat_ug.texi: Remove -fvolatile from example.
3370         * gnat_ug_vxw.texi: Likewise.
3371
3372 2003-01-29  Laurent Guerby <guerby@acm.org>
3373
3374         PR ada/8344
3375         * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
3376         * Makefile.in: match previous change.
3377         * Make-lang.in: match previous change.
3378
3379 2003-01-29      Joel Sherrill <joel@OARcorp.com>
3380
3381         * 5rosinte.ads: Add SIGXCPU.
3382         * 5rtpopsp.adb: New file.
3383         * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
3384         * Makefile.in: Recognize more RTEMS targets and add the RTEMS
3385         specific file 5rtpopsp.adb.
3386         * adaint.h: Add include of <stdio.h> when target is RTEMS.  This
3387         is likely needed for all newlib targets.
3388         * init.c: Add RTEMS specific version of __gnat_initialize().
3389
3390 2003-01-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3391
3392         * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
3393
3394 2003-01-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3395
3396         * init.c (__gnat_error_handler): Make msg const.
3397
3398         * gmem.c (convert_addresses): Move declaration ...
3399         * adaint.h: ... here.
3400         * adaint.c (convert_addresses): Adapt addrs type to match
3401         prototype.
3402
3403         * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
3404
3405 2003-01-24  Andreas Schwab  <schwab@suse.de>
3406
3407         * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
3408         size_t to avoid warning.
3409
3410 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
3411
3412         * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
3413
3414 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
3415
3416         * gnat_rm.texi: Remove RCS version number.
3417
3418         * ada-tree.h (union lang_tree_node): Add chain_next option.
3419
3420 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
3421
3422         * Make-lang.in (ada.install-info, ada.install-common,
3423         ada.uninstall): Prepend $(DESTDIR) to the destination
3424         directory in all (un)installation commands.
3425         * Makefile.in (install-gnatlib, install-rts): Ditto.
3426
3427 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
3428
3429         * gnat_rm.texi, gnat_ug.texi: Use @copying.
3430         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3431         gnat_ug_wnt.texi: Regenerate.
3432
3433 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
3434
3435         * gnat_rm.texi: Include gcc-common.texi.  Use GCC version number
3436         only.
3437         * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
3438         $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
3439         $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
3440         ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
3441         ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
3442         $(srcdir)/doc/include/gcc-common.texi.
3443
3444 2002-12-15   Geert Bosch <bosch@gnat.com>
3445
3446         * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
3447
3448 2002-12-14   Geert Bosch <bosch@gnat.com>
3449
3450         * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
3451         case of a body created for a Renaming_As_Body, on which
3452         conformance checks are not performed. Fixes PR ada/5690.
3453
3454 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
3455
3456         * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
3457         utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
3458         not already included.
3459         * Make-lang.in: Update dependencies.
3460
3461 2002-11-18  Nathanael Nerode  <neroden@gcc.gnu.org>
3462         * adaint.c (__gnat_tmp_name): Better, but good enough for now,
3463         solution to buffer overflow bug on GNU/Linux.
3464
3465 2002-11-14  Nathanael Nerode  <neroden@gcc.gnu.org>
3466         Closes PR ada/5856 and PR ada/6919 !
3467         * bindgen.adb: Remove all references to Public_Version.
3468         * comperr.adb: Remove all references to Public_Version and
3469         GNATPRO_Version; correct bug reporting instructions.
3470         * comperr.ads: Change to match bug box.
3471         * gnatvsn.ads: Remove all references to Public version and
3472         GNATPRO version.
3473
3474 2002-11-13  Nathanael Nerode  <neroden@gcc.gnu.org>
3475         PR ada/6919
3476         * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
3477         GNU/Linux.
3478
3479         PR ada/6558
3480         * config-lang.in: Remove diff_excludes.
3481
3482 2002-11-05  Graham Stott  <graham.stott@btinternet.com>
3483         PR ada/8358
3484         * trans.c (gnu_pending_elaboration_lists): New GC root.
3485         (build_unit_elab): Use..
3486
3487 2002-10-30   Geert Bosch <bosch@gnat.com>
3488         PR ada/6558
3489         * misc.c : Include optabs.h
3490
3491         * Make-lang.in (misc.o): Add dependency on optabs.h
3492
3493 2002-10-29   Geert Bosch <bosch@gnat.com>
3494         PR ada/6558
3495         * Make-lang.in (gnatbind): Depend on CONFIG_H
3496
3497 2002-10-29  Geert bosch  <bosch@gnat.com>
3498         PR ada/6558
3499         * misc.c: Unrevert misc.c (1.13)
3500
3501 2002-10-28  Nathanael Nerode  <neroden@gcc.gnu.org>
3502
3503         * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
3504         maintainership comments.
3505
3506 2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
3507         PR ada/5904
3508         * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
3509         5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
3510         5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
3511         7staprop.adb: Correct statements in comments about
3512         maintainership of GNAT.
3513
3514         PR ada/5904
3515         * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
3516         gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
3517         osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
3518         osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
3519         s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
3520         s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
3521         sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
3522         switch-c.ads switch-m.adb switch-m.ads: Correct statements in
3523         comments about maintainership of GNAT.
3524
3525         PR ada/6919 (forward port of patch for PR ada/5904)
3526         * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
3527         4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
3528         4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
3529         4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
3530         4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
3531         4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
3532         4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
3533         52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
3534         5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
3535         5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
3536         5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
3537         5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
3538         5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
3539         5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
3540         5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
3541         5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
3542         5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
3543         5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
3544         5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
3545         5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
3546         5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
3547         5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
3548         5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
3549         5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
3550         5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
3551         5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
3552         5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
3553         5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
3554         7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
3555         a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
3556         a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
3557         a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
3558         a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
3559         a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
3560         a-except.adb a-except.ads a-excpol.adb a-exctra.adb
3561         a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
3562         a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
3563         a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
3564         a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
3565         a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
3566         a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
3567         a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
3568         a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
3569         a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
3570         a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
3571         a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
3572         a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
3573         a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
3574         a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
3575         a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
3576         a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
3577         a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
3578         a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
3579         a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
3580         a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
3581         a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
3582         a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
3583         a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
3584         a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
3585         a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
3586         a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
3587         a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
3588         a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
3589         a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
3590         a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
3591         a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
3592         a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
3593         a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
3594         adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
3595         alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
3596         back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
3597         binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
3598         bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
3599         ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
3600         csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
3601         cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
3602         debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
3603         einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
3604         errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
3605         exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
3606         exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
3607         exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
3608         exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
3609         exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
3610         exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
3611         exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
3612         exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
3613         exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
3614         exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
3615         exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
3616         exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
3617         exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
3618         final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
3619         fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
3620         freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
3621         g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
3622         g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
3623         gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
3624         gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
3625         gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
3626         gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
3627         gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
3628         gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
3629         i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
3630         i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
3631         i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
3632         i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
3633         impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
3634         itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
3635         lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
3636         lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
3637         lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
3638         lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
3639         makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
3640         namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
3641         nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
3642         osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
3643         par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
3644         par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
3645         par-endh.adb par-labl.adb par-load.adb par-prag.adb
3646         par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
3647         prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
3648         prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
3649         prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
3650         prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
3651         prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
3652         prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
3653         repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
3654         rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
3655         s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
3656         s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
3657         s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
3658         s-direio.adb s-direio.ads s-except.ads s-exctab.adb
3659         s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
3660         s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
3661         s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
3662         s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
3663         s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
3664         s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
3665         s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
3666         s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
3667         s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
3668         s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
3669         s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
3670         s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
3671         s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
3672         s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
3673         s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
3674         s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
3675         s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
3676         s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
3677         s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
3678         s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
3679         s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
3680         s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
3681         s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
3682         s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
3683         s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
3684         s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
3685         s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
3686         s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
3687         s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
3688         s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
3689         s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
3690         s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
3691         s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
3692         s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
3693         s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
3694         s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
3695         s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
3696         s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
3697         s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
3698         s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
3699         s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
3700         s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
3701         s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
3702         s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
3703         s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
3704         s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
3705         s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
3706         s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
3707         s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
3708         s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
3709         s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
3710         s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
3711         s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
3712         s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
3713         s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
3714         s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
3715         s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
3716         s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
3717         s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
3718         s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
3719         s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
3720         s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
3721         s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
3722         s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
3723         s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
3724         s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
3725         s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
3726         s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
3727         s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
3728         s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
3729         s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
3730         s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
3731         s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
3732         s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
3733         s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
3734         s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
3735         s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
3736         s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
3737         scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
3738         sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
3739         sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
3740         sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
3741         sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
3742         sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
3743         sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
3744         sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
3745         sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
3746         sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
3747         sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
3748         sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
3749         sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
3750         sem_type.adb sem_type.ads sem_util.adb sem_util.ads
3751         sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
3752         sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
3753         sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
3754         sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
3755         snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
3756         stringt.ads stringt.h style.adb style.ads stylesw.adb
3757         stylesw.ads switch.adb switch.ads sysdep.c system.ads
3758         table.adb table.ads targparm.adb targparm.ads targtyps.c
3759         tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
3760         tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
3761         treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
3762         types.adb types.ads types.h uintp.adb uintp.ads uintp.h
3763         uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
3764         usage.ads utils.c utils2.c validsw.adb validsw.ads
3765         widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
3766         xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
3767         xtreeprs.adb: Correct statements in comments about maintainership
3768         of GNAT.
3769
3770 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
3771
3772         * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
3773         * Makefile.in (TOOLS_LIBS): Add ../../version.o.
3774         * gnatvsn.ads: Gnat_Version_String is now a function.
3775         * gnatvsn.adb: New file.  When asked for Gnat_Version_String,
3776         copy the C version_string into a String and return it.
3777         * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
3778         gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
3779         Remove pragma Ident (Gnat_Version_String).  If this was the
3780         sole use of package Gnatvsn, remove the with statement too.
3781         * gnat1drv.adb: Tweak -gnatv output.
3782
3783 2002-09-17  Richard Henderson  <rth@redhat.com>
3784
3785         * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
3786         * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
3787         * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
3788         (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
3789         * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
3790         and real_2expN instead of a loop.
3791         * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
3792         (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
3793
3794 2002-08-25  Andre Leis <a.leis@gmx.net>
3795             David Billinghurst (David.Billinghurst@riotinto.com>
3796
3797         * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
3798
3799 2002-08-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3800
3801         * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
3802         Remove $(CONFIG_H) dependency.
3803
3804 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
3805
3806         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
3807
3808 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3809
3810         * adadecode.c (ada_demangle): Use xstrdup in lieu of
3811         xmalloc/strcpy.
3812         * misc.c (gnat_decode_option): Likewise.
3813
3814 2002-07-15  Florian Weimer  <fw@deneb.enyo.de>
3815
3816         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
3817         function approach did not work well because of a side effect (the
3818         function call could reallocate the table which was being indexed
3819         using its result). Fixes ada/4851. [RESURRECTED]
3820
3821 2002-07-01  Roger Sayle  <roger@eyesopen.com>
3822
3823         * ada/utils.c (builtin_function): Accept an additional parameter.
3824
3825 2002-06-28  Andreas Jaeger  <aj@suse.de>
3826
3827         PR ada/7144
3828         * Makefile.in: Fix typo in comment, patch by Adrian Knoth
3829         <adi@thur.de>.
3830
3831 2002-06-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3832
3833         * Makefile.in (SHELL): Set to @SHELL@.
3834
3835 2002-06-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3836
3837         * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
3838         array size calculation.
3839
3840 2002-06-04  Andreas Jaeger  <aj@suse.de>
3841
3842         * Make-lang.in (gnatbind): Readd rule that has been lost in last
3843         patch.
3844
3845 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
3846
3847         Merge from pch-branch:
3848
3849         * config-lang.in (gtfiles): Add ada-tree.h.
3850         * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
3851         (SET_TYPE_MODULUS): New.
3852         (SET_TYPE_INDEX): New.
3853         (SET_TYPE_DIGITS_VALUE): New.
3854         (SET_TYPE_RM_SIZE): New.
3855         (SET_TYPE_UNCONSTRAINED_ARRAY): New.
3856         (SET_TYPE_ADA_SIZE): New.
3857         (SET_TYPE_ACTUAL_BOUNDS): New.
3858         (SET_DECL_CONST_CORRESPONDING_VAR): New.
3859         (SET_DECL_ORIGINAL_FIELD): New.
3860         (TREE_LOOP_ID): Correct typo.
3861         * decl.c: Use new macros.
3862         * utils.c: Include debug.h, use new macros.
3863         * utils2.c: Use new macros.
3864
3865         * ada-tree.h: Update all macros for new tree description.
3866         (struct tree_loop_id): New.
3867         (union lang_tree_node): New.
3868         (struct lang_decl): New.
3869         (struct lang_type): New.
3870         * misc.c (gnat_mark_tree): Delete.
3871         (LANG_HOOKS_MARK_TREE): Delete.
3872         * trans.c (tree_transform): No longer any need to cast
3873         for TREE_LOOP_ID.
3874
3875         * utils.c (struct language_function): New dummy structure.
3876
3877         * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
3878         (misc.o): Likewise.
3879         (utils.o): Likewise; also gtype-ada.h.
3880         * Make-lang.in (gnat1): Add dependency on s-gtype.
3881         (gnatbind): Add dependency on $(CONFIG_H).
3882         * utils.c: Correct last #include.
3883         (stuct e_stack): Remove unnecessary 'static'.
3884         (mark_e_stack): Remove unused prototype.
3885
3886         * scn-nlit.adb: Remove whitespace after version number to
3887         keep lines under 80 chars.
3888         * snames.adb: Likewise.
3889         * treepr.ads: Likewise.
3890
3891         * Makefile.in (decl.o): Include gt-ada-<filename>.h.
3892         (misc.o): Likewise.
3893         (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
3894         * config-lang.in (gtfiles): New.
3895         * decl.c: Use gengtype for roots.
3896         * gigi.h: Use gengtype for roots.
3897         * trans.c: Use gengtype for roots.
3898         * utils.c: Use gengtype for roots, marking.  Include gtype-ada.h.
3899
3900 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
3901
3902         * misc.c (gnat_init): Adjust setting of internal_error_function.
3903
3904 2002-06-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3905
3906         * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
3907         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3908         gnat_ug_wnt.texi: Regenerate.
3909
3910 2002-05-31  Florian Weimer  <fw@deneb.enyo.de>
3911
3912         * 5ntaprop.adb (with System.OS_Primitives): Remove.
3913
3914         * cstreams.c (max_path_len): Move from here ...
3915         * adaint.c (__gnat_max_path_len): ... to here.
3916         * adaint.c (__gnat_max_path_len): Declare.
3917         * g-dirope.adb (Max_Path): Adjust.
3918         * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
3919         * i-cstrea.ads (max_path_len): Adjust.
3920         * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
3921         * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
3922
3923         * Makefile.in, Make-lang.in: Documentation is now built in
3924         Make-lang.in.  Store Info and generated Texinfo files in the
3925         source directory.
3926         * gnat_ug.texi: Remove CVS keywords, correct version number.
3927         Set file name correctly.
3928
3929         * gnat_ug_*.texi: Add.
3930         * .cvsignore: Ignore generated Texinfo files.
3931
3932 2002-05-30  Zack Weinberg  <zack@codesourcery.com>
3933
3934         * ada.h: Add MI guard macro.
3935         (SUBTYPE): Define constants with an anonymous enum, not static
3936         const variables.
3937         (IN): Cast constants to appropriate type before use.
3938
3939 2002-05-26  Joseph S. Myers  <jsm28@cam.ac.uk>
3940
3941         * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
3942         (experimental)".
3943
3944 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3945
3946         * Make-lang.in (CP, ECHO): Copy from Makefile.in.
3947         (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
3948         (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
3949         (ALL_ADA_CFLAGS): Likewise.
3950         (ADA_INCLUDES): Likewise.
3951         Adapt for new working dir.
3952         (GNATBIND): Use Makefile.in version.
3953         (.SUFFIXES): Copy from Makefile.in.
3954         (ada-warn): Define.
3955         (.adb.o, .ads.o): Copy from Makefile.in.
3956         Added $(OUTPUT_OPTION).
3957         (GNAT1_C_OBJS): Moved from Makefile.in.
3958         Prefix with ada subdir.
3959         (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
3960         (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
3961         Adapt for new working dir.
3962         (EXTRA_GNATBIND_OBJS): Likewise.
3963         (ADA_BACKEND): Moved from Makefile.in.
3964         Renamed to avoid conflict with global BACKEND.
3965         Use that one.
3966         (TARGET_ADA_SRCS): Moved from Makefile.in.
3967         (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
3968         Use ADA_BACKEND.
3969         (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
3970         (ada_extra_files): Moved from Makefile.in.
3971         Prefix with ada subdir.
3972         (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
3973         (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
3974         (ada/nmake.ads): Likewise.
3975         (update-sources): Moved from Makefile.in.
3976         Prefix with ada subdir.
3977         (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
3978         (ADA_TREE_H): Likewise.
3979         (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
3980         (ada/memtrack.o): Likewise.
3981         (ada/adadecode.o): Likewise.
3982         Update dependencies.
3983         (ada/adaint.o): New.
3984         (ada/argv.o): Moved from Makefile.in.
3985         Prefix with ada subdir.
3986         Update dependencies.
3987         (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
3988         (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
3989         (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
3990         Prefix with ada subdir.
3991         (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
3992         (GNAT DEPENDENCIES): Regenerate.
3993         * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
3994         toplevel Makefile.in.
3995         (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
3996         (TARGET_ADA_SRCS): Removed.
3997         (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
3998         (GNATBIND_OBJS): Likewise.
3999         (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
4000         (BACKEND): Removed.
4001         (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
4002         (TREE_H): Likewise.
4003         (ada_extra_files): Likewise.
4004         (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
4005         (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
4006         (update-sources): Likewise.
4007         (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
4008         (ADA_TREE_H): Likewise.
4009         (adadecoce.o): Likewise.
4010         (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
4011         (GNAT DEPENDENCIES): Likewise.
4012
4013 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4014
4015         * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
4016         * Makefile.in: Likewise.
4017
4018 2002-05-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4019
4020         * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
4021         Restore $(CONFIG_H) and prefix.o dependencies.
4022         (ada.stage[1-4]): Depend on stage?-start.
4023
4024         * Makefile.in (b_gnatb.c): Depend on interfac.o.
4025
4026 2002-05-02  Jim Wilson  <wilson@redhat.com>
4027
4028         * utils.c (finish_record_type): Change record_size to record_type.
4029
4030 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4031
4032         * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
4033         (ALL_ADA_CFLAGS): Define.  Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
4034         ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
4035
4036 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
4037
4038         * misc.c (gnat_parse_file): Update.
4039
4040 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
4041
4042         * misc.c (gnat_init): Don't set lang_attribute_common.
4043
4044 2002-04-21  Joseph S. Myers  <jsm28@cam.ac.uk>
4045
4046         * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
4047
4048 2002-04-21  Florian Weimer  <fw@deneb.enyo.de>
4049
4050         * gnat_ug.texi: New file.
4051
4052         * gnat_rm.texi: Do not include texiplus.texi.  Include fdl.texi
4053         instead of gfdl.texi
4054
4055         * xgnatug.adb, ug_words: New files.
4056
4057         * Makefile.in (doc, dvi): New targets.  Build gnat_ug_*,
4058         gnat_rm and gnat-style manuals.
4059
4060 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
4061
4062         * gigi.h (incomplete_type_error): Remove.
4063         * utils.c (incomplete_type_error): Remove.
4064
4065 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
4066
4067         * trans.c (tree_transform): Add has_scope argument to
4068         expand_start_stmt_expr.
4069
4070 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4071
4072         * gigi.h (truthvalue_conversion): Rename.
4073         * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4074         * trans.c (tree_transform): Update.
4075         * utils2.c (truthvalue_conversion): Rename, update.
4076         (build_binary_op, build_unary_op): Update.
4077
4078 2002-04-04  Laurent Guerby  <guerby@acm.org>
4079
4080         * make.adb: Implement -margs, remove restriction about file name placement.
4081         * makeusg.adb: Documentation update.
4082         * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
4083         * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
4084
4085 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4086
4087         * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
4088         (builtin_function): Similarly.
4089
4090 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
4091
4092         * decl.c (gnat_to_gnu_entity): Update.
4093         * gigi.h (mark_addressable): Rename.
4094         * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
4095         * trans.c (tree_transform): Update.
4096         * utils.c (create_var_decl): Update.
4097         * util2.c (build_binary_op, build_unary_op,
4098         fill_vms_descriptor): Update.
4099         (mark_addressable): Rename, update.
4100
4101 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
4102
4103         * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
4104         Rename.
4105         * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
4106         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
4107         * trans.c (tree_transform, convert_with_check): Update.
4108         * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
4109         Rename.
4110
4111 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
4112
4113         * gigi.h (finish_incomplete_decl): Rename.
4114         * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
4115         * utils.c (gnat_init_decl_processing): Don't set hook.
4116         (finish_incomplete_decl): Rename.
4117
4118 2002-03-29  Andreas Schwab  <schwab@suse.de>
4119
4120         * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
4121         directory.
4122
4123 2001-03-28  Robert Dewar <dewar@gnat.com>
4124
4125         * checks.ads:
4126         (Remove_Checks): New procedure
4127
4128         * checks.adb:
4129         (Remove_Checks): New procedure
4130
4131         * exp_util.adb:
4132         Use new Duplicate_Subexpr functions
4133         (Duplicate_Subexpr_No_Checks): New procedure
4134         (Duplicate_Subexpr_No_Checks_Orig): New procedure
4135         (Duplicate_Subexpr): Restore original form (checks duplicated)
4136         (Duplicate_Subexpr): Call Remove_Checks
4137
4138         * exp_util.ads:
4139         (Duplicate_Subexpr_No_Checks): New procedure
4140         (Duplicate_Subexpr_No_Checks_Orig): New procedure
4141         Add 2002 to copyright notice
4142
4143         * sem_util.adb: Use new Duplicate_Subexpr functions
4144
4145         * sem_eval.adb:
4146         (Eval_Indexed_Component): This is the place to call
4147         Constant_Array_Ref and to replace the value. We simply merge
4148         the code of this function in here, since it is now no longer
4149         used elsewhere. This fixes the problem of the back end not
4150         realizing we were clever enough to see that this was
4151         constant.
4152         (Expr_Val): Remove call to Constant_Array_Ref
4153         (Expr_Rep_Val): Remove call to Constant_Array_Ref
4154         Minor reformatting
4155         (Constant_Array_Ref): Deal with string literals (patch
4156         suggested by Zack Weinberg on the gcc list)
4157
4158 2001-03-28  Ed Schonberg <schonber@gnat.com>
4159
4160         * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
4161         Duplicate_Subexpr_Move_Checks.
4162
4163         * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
4164         Duplicate_Subexpr_Move_Checks.
4165
4166         * sem_eval.adb: (Constant_Array_Ref): Verify that constant
4167         value of array exists before retrieving it (it may a private
4168         protected component in a function).
4169
4170 2002-03-28   Geert Bosch <bosch@gnat.com>
4171
4172         * prj-pp.adb : New file.
4173
4174         * prj-pp.ads : New file.
4175
4176 2002-03-28  Andreas Jaeger  <aj@suse.de>
4177
4178         * Makefile.in (stamp-sdefault): Fix path for Makefile.
4179
4180 2002-03-28  Neil Booth  <neil@daikokuya.demon.co.uk>
4181
4182         * misc.c (gnat_expand_expr): Move prototype.
4183
4184 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
4185
4186         * misc.c (insert_default_attributes): Remove.
4187
4188 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
4189
4190         * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
4191         (gnat_init): Don't set hook.
4192         (gnat_expand_expr): Fix prototype.
4193
4194 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
4195
4196         * misc.c (ggc_p): Remove.
4197
4198 2002-03-27  Geert Bosch  <bosch@gnat.com>
4199
4200         * prj-makr.ads, prj-makr.adb : New files.
4201
4202 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
4203
4204         * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
4205         (lang_mark_tree): Make static, rename.
4206
4207 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
4208
4209         * misc.c (maybe_build_cleanup): Remove.
4210
4211 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
4212
4213         * gigi.h (yyparse): Remove.
4214
4215 2002-03-23  Florian Weimer  <fw@deneb.enyo.de>
4216
4217         * gnat_rm.texi: Sync with ACT version.
4218           (From Ben Brosgol <brosgol@gnat.com>)
4219
4220 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
4221
4222         * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
4223         (gnat_init): Remove old hook.
4224
4225 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
4226
4227         * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
4228         (yyparse): Rename gnat_parse_file.
4229
4230 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
4231
4232         Delete all lines containing "$Revision:".
4233         * xeinfo.adb: Don't look for revision numbers.
4234         * xnmake.adb: Likewise.
4235         * xsinfo.adb: Likewise.
4236         * xsnames.adb: Likewise.
4237         * xtreeprs.adb: Likewise.
4238
4239 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4240
4241         * misc.c (gnat_tree_code_type, gnat_tree_code_length,
4242         gnat_tree_code_name): Delete.
4243         (tree_code_type, tree_code_length, tree_code_name): Define.
4244         (gnat_init): Don't try to copy into the various tree_code
4245         arrays.
4246
4247 2002-03-11  Richard Henderson  <rth@redhat.com>
4248
4249         * Makefile.in (.NOTPARALLEL): Add fake tag.
4250
4251 2002-03-07  Geert Bosch  <bosch@gnat.com>
4252
4253         * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
4254         s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
4255         switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
4256         switch-m.adb, switch-m.ads : New files.
4257
4258 2002-03-07  Geert Bosch  <bosch@gnat.com>
4259
4260         * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4261         4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4262         4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4263         4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
4264         5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
4265         5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
4266         5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
4267         5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
4268         5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
4269         5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
4270         5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
4271         5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
4272         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
4273         5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
4274         5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
4275         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
4276         5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
4277         5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
4278         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
4279         5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
4280         7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
4281         Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
4282         a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
4283         a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
4284         a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
4285         a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
4286         a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
4287         a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
4288         a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
4289         adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
4290         atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
4291         bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
4292         csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
4293         einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
4294         eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4295         exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
4296         exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
4297         exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
4298         exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
4299         exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
4300         expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
4301         freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
4302         g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
4303         g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
4304         g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
4305         g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
4306         g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
4307         g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
4308         gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
4309         gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
4310         gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
4311         i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
4312         impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
4313         lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
4314         lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
4315         memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
4316         mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
4317         nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
4318         output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
4319         par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
4320         prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
4321         prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
4322         prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
4323         rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
4324         s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
4325         s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
4326         s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
4327         s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
4328         s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
4329         s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
4330         s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
4331         s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
4332         s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
4333         s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
4334         s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
4335         s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
4336         s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
4337         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
4338         s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
4339         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
4340         sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
4341         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
4342         sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
4343         sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
4344         sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
4345         sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
4346         sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
4347         sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
4348         sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
4349         snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
4350         stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
4351         table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
4352         tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
4353         treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
4354         types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
4355         utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
4356         xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
4357
4358         * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
4359         g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
4360         mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
4361         osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
4362
4363         * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
4364         5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
4365
4366         * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
4367         to mdll-fil.ad[bs] and mdll-util.ad[bs]
4368
4369         * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
4370         from mdllfile.ad[bs] and mdlltool.ad[bs]
4371
4372 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4373
4374         * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
4375         lieu of explicit sizeof/sizeof.
4376
4377 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
4378
4379         * misc.c (copy_lang_decl): Remove.
4380
4381 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
4382
4383         * misc.c: Delete traditional-mode-related code copied from the
4384         C front end but not used, or used only to permit the compiler
4385         to link.
4386
4387 2002-02-07  Richard Henderson  <rth@redhat.com>
4388
4389         * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
4390         * adaint.h (__gnat_to_gm_time): Update prototype.
4391
4392 2002-01-30  Richard Henderson  <rth@redhat.com>
4393
4394         * trans.c (tree_transform) [N_Loop_Statement]: Use
4395         expand_exit_loop_top_cond.
4396
4397 2001-12-23  Richard Henderson  <rth@redhat.com>
4398
4399         * utils.c (end_subprog_body): Push GC context around
4400         rest_of_compilation for nested functions.
4401
4402 2001-12-23  Richard Henderson  <rth@redhat.com>
4403
4404         * 5nosinte.ads: Get definition of "int" from Interfaces.C.
4405
4406 2001-12-23  Florian Weimer  <fw@deneb.enyo.de>
4407
4408         * gnat-style.texi (Declarations and Types): Remove ancient style
4409         rule which was mandated by code generation issues.
4410
4411         * gnat-style.texi (header): Add @dircategory, @direntry.
4412         (title page): Remove date.
4413         (general) Add @./@: where approriate, and two spaces after the
4414         full stop at the end of a sentence.  Use @samp markup when
4415         referring concrete lexical entities (keywords, attribute names
4416         etc.), and @syntax for ARM grammar elements. Use @r for English
4417         text in comments.  Use @emph for emphasis.  Change "if-statements"
4418         etc. to "if statements" (without @samp). Break long lines.  Make
4419         casing of section names consistent.
4420         (Identifiers): Use @samp markup for variable names.
4421         (Comments): Use @samp markup for comment characters. Line-end
4422         comments may follow any Ada code, not just statements.  Fix
4423         misspelling of "Integer" as "integer".
4424         (Loop statements): Do not use variable name "I", use "J".
4425         (Subprogram Declarations): Document alignment.
4426         (Subprogram Bodies, Block statements): Document empty line before
4427         "begin".
4428
4429 2001-12-22  Florian Weimer  <fw@deneb.enyo.de>
4430
4431         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
4432         function approach did not work well because of a side effect (the
4433         function call could reallocate the table which was being indexed
4434         using its result). Fixes ada/4851.
4435
4436 2001-12-19  Robert Dewar <dewar@gnat.com>
4437
4438         * bindgen.adb: Minor reformatting
4439
4440         * cstand.adb: Minor reformatting
4441
4442         * fmap.adb: Minor reformatting
4443         Change name from Add for Add_To_File_Map (Add is much too generic)
4444         Change Path_Name_Of to Mapped_Path_Name
4445         Change File_Name_Of to Mapped_File_Name
4446         Fix copyright dates in header
4447
4448         * fmap.ads:
4449         Change name from Add for Add_To_File_Map (Add is much too generic)
4450         Change Path_Name_Of to Mapped_Path_Name
4451         Change File_Name_Of to Mapped_File_Name
4452         Fix copyright dates in header
4453
4454         * fname-uf.adb: Minor reformatting.  New names of stuff in Fmap.
4455         Add use clause for Fmap.
4456
4457         * make.adb: Minor reformatting
4458
4459         * osint.adb: Minor reformatting.  Change of names in Fmap.
4460         Add use clause for Fmap.
4461
4462         * prj-env.adb: Minor reformatting
4463
4464         * prj-env.ads: Minor reformatting
4465
4466         * switch.adb: Minor reformatting.  Do proper raise of Bad_Switch if
4467         error found (there were odd exceptions to this general rule in
4468         -gnatec/-gnatem processing)
4469
4470 2001-12-19  Olivier Hainque <hainque@gnat.com>
4471
4472         * raise.c (__gnat_eh_personality): Exception handling personality
4473         routine for Ada.  Still in rough state, inspired from the C++ version
4474         and still containing a bunch of debugging artifacts.
4475         (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
4476         inspired from the C++ library.
4477
4478         * raise.c (eh_personality): Add comments. Part of work for the GCC 3
4479         exception handling integration.
4480
4481 2001-12-19  Arnaud Charlet <charlet@gnat.com>
4482
4483         * Makefile.in: Remove use of 5smastop.adb which is obsolete.
4484         (HIE_SOURCES): Add s-secsta.ad{s,b}.
4485         (HIE_OBJS): Add s-fat*.o
4486         (RAVEN_SOURCES): Remove files that are no longer required. Add
4487         interrupt handling files.
4488         (RAVEN_MOD): Removed, no longer needed.
4489
4490 2001-12-19  Robert Dewar <dewar@gnat.com>
4491
4492         * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
4493         Add 2001 to copyright date
4494
4495         * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
4496         need to force universal inlining for these cases.
4497
4498 2001-12-19  Arnaud Charlet <charlet@gnat.com>
4499
4500         * s-taprob.adb: Minor clean ups so that this unit can be used in
4501         Ravenscar HI.
4502
4503         * exp_ch7.adb: Allow use of secondary stack in HI mode.
4504         Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
4505
4506 2001-12-19  Vincent Celier <celier@gnat.com>
4507
4508         * prj-tree.ads (Project_Node_Record): Add comments for components
4509         Pkg_Id and Case_Insensitive.
4510
4511 2001-12-19  Pascal Obry <obry@gnat.com>
4512
4513         * g-socket.adb: Minor reformatting. Found while reading code.
4514
4515 2001-12-19  Robert Dewar <dewar@gnat.com>
4516
4517         * prj-tree.ads: Minor reformatting
4518
4519 2001-12-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4520
4521         * config-lang.in (diff_excludes): Remove.
4522
4523 2001-12-17  Ed Schonberg <schonber@gnat.com>
4524
4525         * sem_res.adb (Resolve_Selected_Component): do not generate a
4526         discriminant check if the selected component is a component of
4527         the argument of an initialization procedure.
4528
4529         * trans.c (tree_transform, case of arithmetic operators): If result
4530         type is private, the gnu_type is the base type of the full view,
4531         given that the full view itself may be a subtype.
4532
4533 2001-12-17  Robert Dewar <dewar@gnat.com>
4534
4535         * sem_res.adb: Minor reformatting
4536
4537         * trans.c (tree_transform, case N_Real_Literal): Add missing third
4538         parameter in call to Machine (unknown horrible effects from this
4539         omission).
4540
4541         * urealp.h: Add definition of Round_Even for call to Machine
4542         Add third parameter for Machine
4543
4544 2001-12-17  Ed Schonberg <schonber@gnat.com>
4545
4546         * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
4547         predefined units in No_Run_Time mode.
4548
4549 2001-12-17  Richard Kenner <kenner@gnat.com>
4550
4551         * misc.c (insn-codes.h): Now include.
4552
4553 2001-12-17  Olivier Hainque <hainque@gnat.com>
4554
4555         * a-except.adb: Preparation work for future integration of the GCC 3
4556         exception handling mechanism
4557         (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
4558         to factorize previous code sequences and make them externally callable,
4559         e.g. for the Ada personality routine when the GCC 3 mechanism is used.
4560         (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
4561         Use the new notification routines.
4562
4563 2001-12-17  Emmanuel Briot <briot@gnat.com>
4564
4565         * prj-tree.ads (First_Choice_Of): Document the when others case
4566
4567 2001-12-17  Arnaud Charlet <charlet@gnat.com>
4568
4569         * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
4570         HI-E mode, in order to support Ravenscar profile properly.
4571
4572         * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
4573         mode on 32 bits targets.
4574
4575 2001-12-17  Vincent Celier <celier@gnat.com>
4576
4577         * fmap.adb: Initial version.
4578
4579         * fmap.ads: Initial version.
4580
4581         * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
4582         If search is successfully done, add to mapping.
4583
4584         * frontend.adb: Initialize the mapping if a -gnatem switch was used.
4585
4586         * make.adb:
4587         (Gnatmake): Add new local variable Mapping_File_Name.
4588          Create mapping file when using project file(s).
4589          Delete mapping file before exiting.
4590
4591         * opt.ads (Mapping_File_Name): New variable
4592
4593         * osint.adb (Find_File): Use path name found in mapping, if any.
4594
4595         * prj-env.adb (Create_Mapping_File): New procedure
4596
4597         * prj-env.ads (Create_Mapping_File): New procedure.
4598
4599         * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
4600         (Mapping_File)
4601
4602         * usage.adb: Add entry for new switch -gnatem.
4603
4604         * Makefile.in: Add dependencies for fmap.o.
4605
4606 2001-12-17  Ed Schonberg <schonber@gnat.com>
4607
4608         * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
4609         is a package instantiation rewritten as a package body.
4610         (Install_Withed_Unit): Undo previous change, now redundant.
4611
4612 2001-12-17  Gary Dismukes <dismukes@gnat.com>
4613
4614         * layout.adb:
4615         (Compute_Length): Move conversion to Unsigned to callers.
4616         (Get_Max_Size): Convert Len expression to Unsigned after calls to
4617         Compute_Length and Determine_Range.
4618         (Layout_Array_Type): Convert Len expression to Unsigned after calls to
4619         Compute_Length and Determine_Range.
4620         Above changes fix problem with length computation for supernull arrays
4621         where Max (Len, 0) wasn't getting applied due to the Unsigned
4622         conversion used by Compute_Length.
4623
4624 2001-12-17  Arnaud Charlet <charlet@gnat.com>
4625
4626         * rtsfind.ads:
4627         (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
4628          System.Secondary_Stack.
4629         (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
4630          in HI-E mode.
4631         Remove unused entity RE_Exception_Data.
4632
4633         * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
4634
4635         * rident.ads (No_Secondary_Stack): New restriction.
4636
4637 2001-12-17  Joel Brobecker <brobecke@gnat.com>
4638
4639         * gnat_rm.texi: Fix minor typos. Found while reading the section
4640         regarding "Bit_Order Clauses" that was sent to a customer.
4641         Very interesting documentation!
4642
4643 2001-12-17  Robert Dewar <dewar@gnat.com>
4644
4645         * sem_case.adb (Choice_Image): Avoid creating improper character
4646         literal names by using the routine Set_Character_Literal_Name. This
4647         fixes bombs in certain error message cases.
4648
4649 2001-12-17  Arnaud Charlet <charlet@gnat.com>
4650
4651         * a-reatim.adb: Minor reformatting.
4652
4653 2001-12-17  Ed Schonberg <schonber@gnat.com>
4654
4655         * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
4656         case where the formal is an extension of another formal in the current
4657         unit or in a parent generic unit.
4658
4659 2001-12-17  Arnaud Charlet <charlet@gnat.com>
4660
4661         * s-tposen.adb: Update comments.  Minor reformatting.
4662         Minor code clean up.
4663
4664         * s-tarest.adb: Update comments.  Minor code reorganization.
4665
4666 2001-12-17  Gary Dismukes <dismukes@gnat.com>
4667
4668         * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
4669         when Java_VM.
4670
4671 2001-12-17  Robert Dewar <dewar@gnat.com>
4672
4673         * exp_attr.adb: Minor reformatting
4674
4675 2001-12-17  Ed Schonberg <schonber@gnat.com>
4676
4677         * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
4678         derivations nested within a child unit: verify that the parent
4679         type is declared in an outer scope.
4680
4681 2001-12-17  Robert Dewar <dewar@gnat.com>
4682
4683         * sem_ch12.adb: Minor reformatting
4684
4685 2001-12-17  Ed Schonberg <schonber@gnat.com>
4686
4687         * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
4688         warning if current unit is a predefined one, from which bodies may
4689         have been deleted.
4690
4691 2001-12-17  Robert Dewar <dewar@gnat.com>
4692
4693         * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
4694         Fix header format. Add 2001 to copyright date.
4695
4696         * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
4697         which caused CE during compilation if checks were enabled.
4698
4699 2001-12-17  Vincent Celier <celier@gnat.com>
4700
4701         * make.adb:
4702         (Switches_Of): New function
4703         (Test_If_Relative_Path): New procedure
4704         (Add_Switches): Use new function Switches_Of
4705         (Collect_Arguments_And_Compile): Use new function Switches_Of.
4706         When using a project file, test if there are any relative
4707         search path. Fail if there are any.
4708         (Gnatmake): Only add switches for the primary directory when not using
4709         a project file. When using a project file, change directory to the
4710         object directory of the main project file. When using a project file,
4711         test if there are any relative search path. Fail if there are any.
4712         When using a project file, fail if specified executable is relative
4713         path with directory information, and prepend executable, if not
4714         specified as an absolute path, with the exec directory.  Make sure
4715         that only one -o switch is transmitted to the linker.
4716
4717         * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
4718
4719         * prj-nmsc.adb:
4720         (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
4721         when using a non standard naming scheme.
4722         (Check_Ada_Naming_Scheme): Make sure that error messages
4723         do not raise exceptions.
4724         (Is_Illegal_Append): Return True if there is no dot in the suffix.
4725         (Language_Independent_Check): Check the exec directory.
4726
4727         * prj.adb (Project_Empty): Add new component Exec_Directory
4728
4729         * prj.ads:
4730         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
4731         (Project_Data): Add component Exec_Directory
4732
4733         * snames.adb: Updated to match snames.ads revision 1.215
4734
4735         * snames.ads: Added Exec_Dir
4736
4737 2001-12-17  Robert Dewar <dewar@gnat.com>
4738
4739         * make.adb: Minor reformatting
4740
4741         * prj-nmsc.adb: Minor reformatting
4742
4743         * snames.adb: Updated to match snames.ads
4744
4745         * snames.ads: Alphebetize entries for project file
4746
4747 2001-12-17  Ed Schonberg <schonber@gnat.com>
4748
4749         * trans.c (process_freeze_entity): Do nothing if the entity is a
4750         subprogram that was already elaborated.
4751
4752 2001-12-17  Richard Kenner <kenner@gnat.com>
4753
4754         * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
4755         and Esize if object is referenced via pointer.
4756
4757 2001-12-17  Ed Schonberg <schonber@gnat.com>
4758
4759         * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
4760         is discrete before analyzing choices.
4761
4762 2001-12-17  Joel Brobecker <brobecke@gnat.com>
4763
4764         * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
4765         containing the name of the Ada Main Program. This string is mainly
4766         intended for the debugger.
4767         (Gen_Output_File_C): Do the equivalent change when generating a C file.
4768
4769 2001-12-17  Robert Dewar <dewar@gnat.com>
4770
4771         * ali.adb: Set new Dummy_Entry field in dependency entry
4772
4773         * ali.ads: Add Dummy_Entry field to source dependency table
4774
4775         * bcheck.adb (Check_Consistency): Ignore dummy D lines
4776
4777         * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
4778
4779         * lib-writ.ads: Document dummy D lines for missing files.
4780
4781         * types.ads: (Dummy_Time_Stamp): New value for non-existant files
4782
4783 2001-12-17  Robert Dewar <dewar@gnat.com>
4784
4785         * ali.adb: Type reference does not reset current file.
4786
4787         * ali.adb: Recognize and scan renaming reference
4788
4789         * ali.ads: Add spec for storing renaming references.
4790
4791         * lib-xref.ads: Add documentation for handling of renaming references
4792
4793         * lib-xref.adb: Implement output of renaming reference.
4794
4795         * checks.adb:
4796         (Determine_Range): Document local variables
4797         (Determine_Range): Make sure Hbound is initialized. It looks as though
4798          there could be a real problem here with an uninitialized reference
4799          to Hbound, but no actual example of failure has been found.
4800
4801 2001-12-17  Laurent Pautet <pautet@gnat.com>
4802
4803         * g-socket.ads:
4804         Fix comment of Shutdown_Socket and Close_Socket. These functions
4805         should not fail silently because if they are called twice, this
4806         probably means that there is a race condition in the user program.
4807         Anyway, this behaviour is consistent with the rest of this unit.
4808         When an error occurs, an exception is raised with the error message
4809         as exception message.
4810
4811 2001-12-17  Robert Dewar <dewar@gnat.com>
4812
4813         * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
4814         that it happens before modification of Sloc values for -gnatD.
4815
4816         * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
4817         so that it happens before modification of Sloc values for -gnatD.
4818
4819         * switch.adb: Minor reformatting
4820
4821 2001-12-15  Richard Henderson  <rth@redhat.com>
4822
4823         * sem_ch7.adb: Wrap comment.
4824
4825 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
4826
4827         * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
4828         5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
4829         5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
4830         5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
4831         5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
4832         7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
4833         a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
4834         a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
4835         cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
4836         exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
4837         exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
4838         g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
4839         gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
4840         make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
4841         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
4842         repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
4843         s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
4844         s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
4845         s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
4846         s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
4847         sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
4848         sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
4849         sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
4850         sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
4851         spelling errors.
4852
4853 2001-12-14  Vincent Celier <celier@gnat.com>
4854
4855         * osint.adb(Create_Debug_File): When an object file is specified,
4856         put the .dg file in the same directory as the object file.
4857
4858 2001-12-14  Robert Dewar <dewar@gnat.com>
4859
4860         * osint.adb: Minor reformatting
4861
4862         * lib-xref.adb (Output_Instantiation): New procedure to generate
4863         instantiation references.
4864
4865         * lib-xref.ads: Add documentation of handling of generic references.
4866
4867         * ali.adb (Read_Instantiation_Ref): New procedure to read
4868         instantiation references
4869
4870         * ali.ads: Add spec for storing instantiation references
4871
4872         * bindusg.adb: Minor reformatting
4873
4874         * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4875
4876         * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4877
4878         * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4879
4880         * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4881
4882         * csets.ads:
4883         Fix header format
4884         Add 2001 to copyright date
4885         Add entry for Latin-5 (Cyrillic ISO-8859-5)
4886
4887 2001-12-14  Matt Gingell <gingell@gnat.com>
4888
4889         * adaint.c: mktemp is a macro on Lynx and can not be used as an
4890         expression.
4891
4892 2001-12-14  Richard Kenner <kenner@gnat.com>
4893
4894         * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
4895         if operand is CONSTRUCTOR.
4896
4897 2001-12-14  Ed Schonberg <schonber@gnat.com>
4898
4899         * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
4900         before emiting check on right-hand side, so that exception information
4901         is correct.
4902
4903 2001-12-14  Richard Kenner <kenner@gnat.com>
4904
4905         * utils.c (create_var_decl): Throw away initializing expression
4906         if just annotating types and non-constant.
4907
4908 2001-12-14  Vincent Celier <celier@gnat.com>
4909
4910         * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
4911         Default_Ada_...
4912
4913         * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4914         Remove functions.
4915         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
4916
4917         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4918         Remove functions.
4919         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
4920
4921 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
4922
4923         * ChangeLog: Remove piece of diff output.
4924
4925 2001-12-14  Geert Bosch <bosch@gnat.com>
4926
4927         * config-lang.in: Update copyright notice
4928
4929         * layout.adb: Remove commented out code.
4930
4931         * mdllfile.ads: Update copyright notice. Fix header format.
4932
4933         * sem_case.ads: Likewise.
4934
4935         * sem_ch3.adb: Minor reformatting.
4936
4937 2001-12-12  Geert Bosch <bosch@gnat.com>
4938
4939         * freeze.ads: Update copyright date.
4940
4941         * g-comlin.ads: Minor reformatting.
4942
4943         * gnat-style.texi: Fix typo.
4944
4945 2001-12-12  Geert Bosch <bosch@gnat.com>
4946
4947         *  einfo.h: Regenerate.
4948
4949 2001-12-12  Ed Schonberg <schonber@gnat.com>
4950
4951         * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
4952         on known node types, rather than untyped fields. Further cleanups.
4953
4954 2001-12-12  Robert Dewar <dewar@gnat.com>
4955
4956         * sem_ch12.adb:
4957         (Save_Entity_Descendant): Minor comment update.
4958         (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
4959          of an N_Attribute_Reference node. As per note below, this does not
4960         eliminate need for Associated_Node in attribute ref nodes.
4961         (Associated_Node): Documentation explicitly mentions attribute
4962         reference nodes, since this field is used in such nodes.
4963
4964         * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
4965
4966 2001-12-12  Robert Dewar <dewar@gnat.com>
4967
4968         * s-stalib.adb: Add more comments on with statements being needed
4969
4970         * par-ch12.adb: Minor reformatting
4971
4972         * prj-dect.ads: Fix copyright header
4973
4974         * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
4975         inputs fit in 32 bits, but the result still overflows.
4976
4977         * s-fatgen.ads: Minor comment improvement
4978
4979 2001-12-12  Ed Schonberg <schonber@gnat.com>
4980
4981         * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
4982         formal derived type, look for an inherited component from the full
4983         view of the parent, if any.
4984
4985 2001-12-12  Robert Dewar <dewar@gnat.com>
4986
4987         * checks.ads (Apply_Alignment_Check): New procedure.
4988
4989         * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
4990         ensure that the alignment of objects with address clauses is
4991         appropriate, and raise PE if not.
4992
4993         * exp_util.ads (Must_Be_Aligned): Removed, replaced by
4994         Exp_Pakd.Known_Aligned_Enough
4995
4996         * mdllfile.ads: Minor reformatting
4997
4998         * mlib-fil.ads: Minor reformatting
4999
5000 2001-12-12  Ed Schonberg <schonber@gnat.com>
5001
5002         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
5003         fix to any component reference if enclosing record has non-standard
5004         representation.
5005
5006 2001-12-12  Vincent Celier <celier@gnat.com>
5007
5008         * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
5009         Iteration
5010
5011 2001-12-12  Ed Schonberg <schonber@gnat.com>
5012
5013         * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
5014         sem_attr.
5015
5016 2001-12-12  Robert Dewar <dewar@gnat.com>
5017
5018         * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
5019
5020 2001-12-12  Emmanuel Briot <briot@gnat.com>
5021
5022         * g-regexp.adb: Remove all debug code, since it isn't required anymore,
5023         and it adds dependencies to system.io.
5024
5025 2001-12-12  Pascal Obry <obry@gnat.com>
5026
5027         * g-dirope.adb (Expand_Path.Var): Correctly detect end of
5028         variable name.
5029
5030 2001-12-11  Ed Schonberg <schonber@gnat.com>
5031
5032         * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
5033         that is the parent of other generics, the instance body replaces the
5034         instance node.  Retrieve the instance of the spec, which is the one
5035         that is visible in clients and within the body.
5036
5037 2001-12-11  Vincent Celier <celier@gnat.com>
5038
5039         * gnatmain.adb: Initial version.
5040
5041         * gnatmain.ads: Initial version.
5042
5043         * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
5044
5045         * snames.adb: Updated to match snames.ads.
5046
5047         * snames.ads: Added Gnatstub.
5048
5049 2001-12-11  Vincent Celier <celier@gnat.com>
5050
5051         * prj-attr.adb (Initialization_Data): Change name from
5052         Initialisation_Data.
5053
5054 2001-12-11  Emmanuel Briot <briot@gnat.com>
5055
5056         * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
5057         + and * applied to backslashed expressions like \r.
5058
5059 2001-12-11  Vasiliy Fofanov <fofanov@gnat.com>
5060
5061         * g-os_lib.ads: String_List type added, Argument_List type is now
5062         subtype of String_List.
5063
5064 2001-12-11  Robert Dewar <dewar@gnat.com>
5065
5066         * g-os_lib.ads: Change copyright to FSF
5067         Add comments for String_List type
5068
5069 2001-12-11  Vincent Celier <celier@gnat.com>
5070
5071         * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
5072         string to the buffer).
5073
5074 2001-12-11  Ed Schonberg <schonber@gnat.com>
5075
5076         * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
5077         sem_attr.
5078
5079         * sem_attr.adb: Simplify previous fix for Address.
5080         (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
5081         to avoid anomalies where the bound of the type appears to raise
5082         constraint error.
5083
5084 2001-12-11  Robert Dewar <dewar@gnat.com>
5085
5086         * lib-xref.adb (Output_Refs): Make sure pointers are always properly
5087         handled.
5088
5089 2001-12-11  Ed Schonberg <schonber@gnat.com>
5090
5091         * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
5092         renamed unit before checking for recursive instantiations.
5093
5094 2001-12-11  Emmanuel Briot <briot@gnat.com>
5095
5096         * prj.ads: Add comments for some of the fields.
5097
5098 2001-12-11  Robert Dewar <dewar@gnat.com>
5099
5100         * lib-xref.adb (Output_Refs): Don't output type references outside
5101         the main unit if they are not otherwise referenced.
5102
5103 2001-12-11  Ed Schonberg <schonber@gnat.com>
5104
5105         * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
5106         code and diagnose additional illegal uses
5107
5108         * sem_util.adb (Is_Object_Reference): An indexed component is an
5109         object only if the prefix is.
5110
5111 2001-12-11  Vincent Celier <celier@gnat.com>
5112
5113         * g-diopit.adb: Initial version.
5114
5115         * g-diopit.ads: Initial version.
5116
5117         * g-dirope.adb:
5118         (Expand_Path): Avoid use of Unbounded_String
5119         (Find, Wildcard_Iterator): Moved to child package Iteration
5120
5121         * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
5122
5123 2001-12-11  Robert Dewar <dewar@gnat.com>
5124
5125         * sem_attr.adb: Minor reformatting
5126
5127 2001-12-11  Ed Schonberg <schonber@gnat.com>
5128
5129         * sem_ch3.adb: Clarify some ???.
5130
5131 2001-12-11  Robert Dewar <dewar@gnat.com>
5132
5133         * exp_util.adb (Must_Be_Aligned): Removed, replaced by
5134         Exp_Pakd.Known_Aligned_Enough
5135
5136         * sem_ch13.adb (Check_Address_Alignment): Removed, extended
5137         version is moved to Exp_Ch13.
5138
5139 2001-12-11  Robert Dewar <dewar@gnat.com>
5140
5141         * einfo.ads: Minor reformatting
5142
5143         * exp_ch5.adb: Add comment for previous.change
5144
5145         * ali.adb: New interface for extended typeref stuff.
5146
5147         * ali.ads: New interface for typeref stuff.
5148
5149         * checks.adb (Apply_Alignment_Check): New procedure.
5150
5151         * debug.adb: Add -gnatdM for modified ALI output
5152
5153         * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
5154
5155         * lib-xref.adb: Extend generation of <..> notation to cover
5156         subtype/object types. Note that this is a complete rewrite,
5157         getting rid of the very nasty quadratic algorithm previously
5158         used for derived type output.
5159
5160         * lib-xref.ads: Extend description of <..> notation to cover
5161         subtype/object types. Uses {..} for these other cases.
5162         Also use (..) for pointer types.
5163
5164         * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
5165
5166         * exp_pakd.adb: Minor reformatting.  Note that prevous RH should say:
5167         (Known_Aligned_Enough): Replaces Must_Be_Aligned.
5168
5169 2001-12-11  Vincent Celier <celier@gnat.com>
5170
5171         * gnatcmd.adb:
5172         Changed /COMPILE_ONLY to /ACTIONS=COMPILE
5173         Changed /BIND_ONLY to /ACTIONS=BIND
5174         Changed /LINK_ONLY to /ACTIONS=LINK
5175
5176 2001-12-11  Ed Schonberg  <schonber@gnat.com>
5177
5178         * sem_ch8.adb (Find_Selected_Component): improved search for a
5179         candidate package in case of error.
5180
5181         * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
5182         chain back on scope stack before reinstalling use clauses.
5183
5184         * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
5185         is enabled, do not kill the code for the condition, to preserve
5186         warning.
5187
5188 2001-12-11  Robert Dewar <dewar@gnat.com>
5189
5190         * checks.adb (Insert_Valid_Check): Apply validity check to expression
5191         of conversion, not to result of conversion.
5192
5193 2001-12-11  Ed Schonberg <schonber@gnat.com>
5194
5195         * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
5196         before freezing parent. If the declarations are mutually recursive,
5197         an access to the current record type may be frozen before the
5198         derivation is complete.
5199
5200 2001-12-05  Vincent Celier <celier@gnat.com>
5201
5202         * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
5203         -c /COMPILE_ONLY, -l /LINK_ONLY
5204
5205         * opt.ads:
5206         (Bind_Only): New Flag
5207         (Link_Only): New flag
5208
5209         * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
5210         and -l (Link_Only)
5211
5212         * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
5213
5214         * make.adb:
5215         (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
5216         (Gnatmake): Set the step flags. Only perform a step if the
5217         corresponding step flag is True.
5218         (Scan_Make_Arg): Reset the bind and link step flags when -u
5219         or -gnatc has been specified.
5220
5221 2001-12-05  Ed Schonberg <schonber@gnat.com>
5222
5223         * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
5224         get bounds from right operand.
5225
5226         * sem_eval.adb: Minor reformatting
5227
5228         * exp_util.adb (Make_Literal_Range): use bound of literal rather
5229         than Index'First, its lower bound may be different from 1.
5230
5231         * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
5232         and C48009J
5233
5234 2001-12-05  Vincent Celier <celier@gnat.com>
5235
5236         * prj-nmsc.adb Minor reformatting
5237
5238         * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
5239         set and libraries are not supported.
5240
5241 2001-12-05  Ed Schonberg <schonber@gnat.com>
5242
5243         * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
5244         private view explicitly, so the back-end can treat as a global
5245         when appropriate.
5246
5247 2001-12-05  Ed Schonberg <schonber@gnat.com>
5248
5249         * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
5250          unit, always replace instance node with new body, for ASIS use.
5251
5252 2001-12-05  Vincent Celier <celier@gnat.com>
5253
5254         * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
5255         libraries are not supported and both attributes Library_Name and
5256         Library_Dir are specified.
5257
5258         * prj-proc.adb (Expression): Set location of Result to location of
5259         first term.
5260
5261         * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
5262         (prj-nmsc is now importing MLib.Tgt)
5263
5264         * prj-proc.adb: Put the change indicated above that was forgotten.
5265
5266 2001-12-05  Robert Dewar <dewar@gnat.com>
5267
5268         * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
5269
5270 2001-12-05  Ed Schonberg <schonber@gnat.com>
5271
5272         * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
5273         constraint, introduce explicit subtype declaration and derive from it.
5274
5275         * sem_ch3.adb: Minor reformatting
5276
5277 2001-12-05  Robert Dewar <dewar@gnat.com>
5278
5279         * checks.adb (Determine_Range): Increase cache size for checks.
5280         Minor reformatting
5281
5282         * exp_ch6.adb: Minor reformatting
5283         (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
5284         a parameter whose root type is System.Address, since treating such
5285         subprograms as pure in the code generator is almost surely a mistake
5286         that will lead to unexpected results.
5287
5288         * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
5289         change handling of conversions.
5290
5291         * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
5292
5293 2001-12-05  Ed Schonberg <schonber@gnat.com>
5294
5295         * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
5296         aggregate with static wrong size, attach generated Raise node to
5297         declaration.
5298
5299 2001-12-05  Robert Dewar <dewar@gnat.com>
5300
5301         * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
5302         Fixes compilation abandoned bomb in B24009B.
5303
5304 2001-12-05  Ed Schonberg <schonber@gnat.com>
5305
5306         * sem_ch12.adb:
5307         Document use of Associated_Node on Selected_Components.
5308         (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
5309         to clarify use of untyped descendant fields.
5310
5311 2001-12-05  Robert Dewar <dewar@gnat.com>
5312
5313         * prj-dect.ads: Add ??? comment
5314         Add 2001 to copyright notice (was not done in after all)
5315
5316         * prj-part.adb: Minor reformatting. Reword one awkward error message.
5317
5318         * prj.ads: Minor reformatting throughout, and add some ??? comments
5319
5320         * snames.ads: Minor reformatting
5321
5322 2001-12-05  Geert Bosch <bosch@gnat.com>
5323
5324         * snames.adb: Autoupdate
5325
5326 2001-12-05  Vincent Celier <celier@gnat.com>
5327
5328         * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
5329
5330         * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
5331
5332         * prj-env.adb: Minor comment changes (modifying -> extends).
5333
5334         * prj-nmsc.adb: Minor comment changes (modifying -> extends).
5335
5336         * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
5337         Tok_Extends.
5338
5339         * prj.adb (Initialize): Change Modifying to Extends.
5340
5341         * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
5342
5343         * prj.ads: Minor comment change (Modifying -> extending).
5344
5345         * snames.ads: Change modifying to extends.
5346
5347 2001-12-05  Robert Dewar <dewar@gnat.com>
5348
5349         * sem_warn.adb: Remove stuff for conditionals, we are not going to
5350         do this after all.
5351
5352         * sem_warn.ads: Remove stuff for conditionals, we are not going to
5353         do this after all.  Add 2001 to copyright notice
5354
5355 2001-12-04  Geert Bosch <bosch@gnat.com>
5356
5357         *  einfo.h, sinfo.h, treeprs.ads: Regenerate.
5358
5359 2001-12-04  Robert Dewar <dewar@gnat.com>
5360
5361         * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
5362         location if we already have errors. Stops some cases of cascaded
5363         errors.
5364
5365         * errout.adb: Improve comment.
5366
5367 2001-12-04  Robert Dewar <dewar@gnat.com>
5368
5369         * sem_ch12.adb:
5370         (Analyze_Formal_Type_Definition): Defend against Error.
5371         (Analyze_Formal_Subprogram): Defend against Error.
5372
5373         * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
5374         remove following semicolon if present. Removes cascaded error.
5375
5376 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
5377
5378         * bindgen.adb:
5379         (Gen_Exception_Table_Ada): Write "begin" and then return if Num
5380          exceptions equals 0.
5381         (Gen_Exception_Table_C): Return if Num exceptions equals 0.
5382         Fixes PIWG E tests (which have to be run with -gnatL).
5383
5384 2001-12-04  Robert Dewar <dewar@gnat.com>
5385
5386         * einfo.ads: Minor reformatting
5387
5388 2001-12-04  Ed Schonberg <schonber@gnat.com>
5389
5390         * einfo.ads: Block_Node points to the identifier of the block, not to
5391         the block node itself, to preserve the link when the block is
5392         rewritten, e.g. within an if-statement with a static condition.
5393
5394         * inline.adb (Cleanup_Scopes): recover block statement from block
5395         entity using new meaning of Block_Node.
5396
5397         * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
5398         identifier of block node, rather than to node itself.
5399
5400 2001-12-04  Gary Dismukes <dismukes@gnat.com>
5401
5402         * layout.adb:
5403         (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
5404         (Discrimify): Go back to setting the Etypes of the selected component
5405         because the Vname component does not exist at this point and will
5406         fail name resolution. Also set Analyzed.
5407         Remove with and use of Sem_Res.
5408
5409 2001-12-04  Arnaud Charlet <charlet@gnat.com>
5410
5411         * Makefile.in: (HIE_SOURCES): add s-fat*.
5412
5413 2001-12-04  Robert Dewar <dewar@gnat.com>
5414
5415         * sem_attr.adb:
5416         (Compile_Time_Known_Attribute): New procedure.
5417         (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
5418          proper range check.
5419
5420 2001-12-04  Ed Schonberg <schonber@gnat.com>
5421
5422         * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
5423         processing discriminants to diagnose illegal default values.
5424
5425 2001-12-04  Ed Schonberg <schonber@gnat.com>
5426
5427         * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
5428         access discriminant within a type extension that constrains its
5429         parent discriminants.
5430
5431 2001-12-04  Ed Schonberg <schonber@gnat.com>
5432
5433         * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
5434         is malformed, use instance of Any_Id to allow analysis to proceed.
5435
5436         * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
5437         type definition is illegal.
5438         (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
5439         misplaced.
5440
5441 2001-12-04  Ed Schonberg <schonber@gnat.com>
5442
5443         * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
5444         constants.
5445
5446 2001-12-04  Robert Dewar <dewar@gnat.com>
5447
5448         * errout.adb: Minor reformatting
5449
5450 2001-12-04  Robert Dewar <dewar@gnat.com>
5451
5452         * exp_util.adb: Minor reformatting from last change
5453
5454         * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
5455         which is a rewriting of an expression, traverse the original
5456         expression to remove warnings that may have been posted on it.
5457
5458 2001-12-04  Ed Schonberg <schonber@gnat.com>
5459
5460         * exp_util.adb (Must_Be_Aligned): Return false for a component of a
5461         record that has other packed components.
5462
5463 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
5464
5465         * adaint.c: Minor cleanups.
5466
5467 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
5468
5469         * adaint.c: Do not use utime.h on vxworks.
5470
5471 2001-12-04  Arnaud Charlet <charlet@gnat.com>
5472
5473         * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
5474         more confusion than it solves.
5475
5476 2001-12-04  Geert bosch <bosch@gnat.com>
5477
5478         * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
5479
5480 2001-12-04  Geert Bosch  <bosch@gnat.com>
5481
5482         * Makefile.in (update-sources): New target.
5483         For use by gcc_release script.
5484
5485 2001-12-04  Ed Schonberg <schonber@gnat.com>
5486
5487         * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
5488         a configuration pragma, it is now legal wherever a pragma can appear.
5489
5490 2001-12-04  Zack Weinberg  <zack@codesourcery.com>
5491
5492         * Makefile.in: Don't set ALL.  Delete @cross_defines@,
5493         @cross_overrides@, @build_overrides@ stanzas.  INTERNAL_CFLAGS
5494         is now @CROSS@ -DIN_GCC; update comment.
5495
5496 2001-12-04  Robert Dewar <dewar@gnat.com>
5497
5498         * einfo.adb (Has_Pragma_Pure_Function): New flag.
5499         Fix problem that stopped ceinfo from working
5500
5501         * einfo.ads (Has_Pragma_Pure_Function): New flag.
5502
5503         * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
5504
5505 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
5506
5507         * gnatchop.adb:
5508         (File_Time_Stamp): New procedure.
5509         (Preserve_Mode): New boolean.
5510         (Write_Unit): Pass time stamp.
5511         Implement -p switch (preserve time stamps).
5512
5513         * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
5514
5515         * gnatchop.adb: Do usage info for -p switch
5516
5517         * adaint.h (__gnat_set_file_time_name): New function
5518
5519         * adaint.c (__gnat_set_file_time_name): Implement
5520
5521         * adaint.h: Fix typo
5522
5523 2001-12-03  Robert Dewar <dewar@gnat.com>
5524
5525         * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
5526         have Associated_Node.
5527
5528 2001-12-03  Robert Dewar <dewar@gnat.com>
5529
5530         * prj-proc.adb: Minor reformatting
5531
5532         * make.adb: Minor reformatting
5533
5534 2001-12-03  Geert Bosch <bosch@gnat.com>
5535
5536         * make.adb: Minor reformatting.
5537
5538 2001-12-03 Robert Dewar  <dewar@gnat.com>
5539
5540         * sem_ch12.adb: Minor reformatting
5541
5542 2001-12-03  Ed Schonberg <schonber@gnat.com>
5543
5544         * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
5545         push Standard on the stack before analyzing the instance body,
5546         in order to have a clean visibility environment.
5547
5548         * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
5549
5550 2001-12-03  Ed Schonberg <schonber@gnat.com>
5551
5552         * sem_ch12.adb (Instantiate_Package_Body): Protect against double
5553         instantiation of a body that contains an inlined body.
5554
5555 2001-12-03  Ed Schonberg <schonber@gnat.com>
5556
5557         * sem_ch12.adb:
5558         (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
5559         to prevent freezing within formal packages.
5560         (Freeze_Subprogram_Body): If body comes from another instance that
5561         appeared before its own body, place freeze node at end of current
5562         declarative part, to prevent a back-end crash.
5563         (Inline_Instance_Body): Handle properly a package instance within
5564         a subprogram instance that is a child unit.
5565
5566 2001-12-01  Graham Stott  <grahams@redhat.com>
5567
5568         * Makefile.in (misc.o): Add missing $(srcdir) prefix
5569         and add optabs.h dependency.
5570
5571         * misc.c: Include optabs.h
5572         (gnat_tree_code_type): Make static and const.
5573         (gnat_tree_code_length): Likewise.
5574         (gnat_tree_code_name): Likewise.
5575         (update_setjmp_buf): Obtain operands mode from insn_data.
5576
5577 2001-11-29  Richard Henderson  <rth@redhat.com>
5578
5579         * init.c: Remove obsolete dwarf2 frame.h section.
5580
5581 2001-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
5582
5583         * Make-lang.in (ada.generated-manpages): New dummy target.
5584
5585 2001-11-29  Ed Schonberg <schonber@gnat.com>
5586
5587         * g-os_lib.adb (Add_To_Command): use explicit loop to move string
5588         into Command, an array conversion is illegal here. Uncovered by
5589         ACATS B460005.
5590
5591 2001/11/28  Geert Bosch <bosch@gnat.com>
5592
5593         * init.c: Minor whitespace changes.
5594
5595 2001-11-28  Doug Rupp <rupp@gnat.com>
5596
5597         * init.c: (__gnat_install_handler,VMS): Increase size of alternate
5598         signal stack.
5599
5600 2001-11-28  Zack Weinberg  <zack@codesourcery.com>
5601
5602         * misc.c (gnat_expand_constant): Move declaration above
5603         definition of lang_hooks.
5604         (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
5605         (gnat_init): lang_expand_constant no longer exists.
5606
5607         (internal_error_function): Remove #ifdef HAVE_VPRINTF.  We
5608         always have vprintf.
5609         (gnat_init): Always call set_internal_error_function.
5610
5611 2001-11-27  Andreas Jaeger  <aj@suse.de>
5612
5613         * Makefile.in (stamp-tool_src_dir): Use symbolic link.
5614
5615 2001-11-27  Laurent Guerby  <guerby@acm.org>
5616
5617         * Makefile.in: Regenerate Ada dependencies.
5618
5619 2001-11-26  Richard Henderson  <rth@redhat.com>
5620
5621         * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
5622         gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
5623         gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
5624
5625 2001-11-25  Laurent Guerby  <guerby@acm.org>
5626
5627         * sysdep.c (rts_get_*): Fix style.
5628
5629 2001-11-19  Laurent Guerby  <guerby@acm.org>
5630
5631         * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
5632         since it is of no apparent use and cause warnings.
5633
5634 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
5635
5636         * misc.c (gnat_decode_option, gnat_init_options): Make definitions
5637         static too.
5638         (gnat_init): Don't return NULL.
5639         (finish_parse): Remove.
5640
5641 2001-11-17  Laurent Guerby  <guerby@acm.org>
5642
5643         * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
5644         * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
5645         * io-aux.c: Provide K&R prototypes to all functions, reformat code.
5646         * lang-spec.h: Add missing struct field to silence warnings.
5647         * sysdep.c (rts_get_*): Provide K&R prototype.
5648         * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
5649         * traceback.c (Unlock_Task, Lock_Task): Likewise.
5650         * tracebak.c (__gnat_backtrace): Remove unused variable.
5651         * utils.c (end_subprog_body): Move to K&R style.
5652
5653 Thu Nov 15 18:16:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5654
5655         * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
5656
5657 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5658
5659         * misc.c (gnat_init): Change prototype.  Include the
5660         functionality of the old init_parse and init_decl_processing.
5661         (gnat_init_decl_processing): New prototype.
5662         (init_parse): Remove.
5663         * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
5664
5665 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
5666
5667         * misc.c (gnat_print_decl, gnat_print_type): Renamed.
5668         (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
5669         (print_lang_statistics, lang_print_xnode, print_lang_identifier,
5670         set_yydebug): Remove.
5671
5672 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
5673
5674         * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
5675         (struct lang_hooks): Constify.
5676         (language_string, lang_identify): Remove.
5677         * utils.c (init_decl_processing): Update.
5678
5679 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
5680
5681         * misc.c: Include langhooks-def.h.
5682         * Makefile.in: Update.
5683
5684 2001-10-30  Robert Dewar <dewar@gnat.com>
5685
5686         * style.adb:
5687         (Check_Identifier): Rewrite circuit to be compatible with use of letters
5688         in the upper half of ASCII.
5689         (Check_Identifier): Minor reformatting
5690
5691 2001-10-30  Geert Bosch <bosch@gnat.com>
5692
5693         * (Associated_Node, Set_Associated_Node): Do not check for
5694         Freeze_Entity.
5695
5696 2001-10-30  Robert Dewar <dewar@gnat.com>
5697
5698         * a-reatim.ads: Minor reformatting
5699
5700 2001-10-30  Robert Dewar <dewar@gnat.com>
5701
5702         * gnatdll.adb: Minor reformatting throughout. Many ??? added for
5703         undocumented declarations.
5704
5705 2001-10-30  Pascal Obry <obry@gnat.com>
5706
5707         * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5708         to the binder and linker.
5709         Minor style fix.
5710
5711         * mdll.ads: Fix layout.  Update copyright notice.
5712
5713         * mdll.adb: Fix layout.  Update copyright notice.
5714
5715 2001-10-30  Robert Dewar <dewar@gnat.com>
5716
5717         * usage.adb: Minor fix to output for -gnaty.
5718
5719 2001-10-30  Ed Schonberg <schonber@gnat.com>
5720
5721         * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
5722         to accommodate all its possible values.
5723
5724         * a-reatim.adb (Split): Special-case handling of Time_Span_First
5725         and of small absolute values of T.
5726
5727 2001-10-30  Richard Kenner <kenner@gnat.com>
5728
5729         * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
5730         set_mem_attributes since not needed and wrong if RESULT if a REG;
5731         fixes ACATS failures.
5732
5733 2001-10-30  Geert Bosch <bosch@gnat.com>
5734
5735         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
5736         s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
5737
5738 2001-10-30  Robert Dewar <dewar@gnat.com>
5739
5740         * bindusg.adb: Undocument -f switch.
5741
5742         * gnatcmd.adb: Remove /FULL_ELABORATION.
5743
5744         * opt.ads (Force_RM_Elaboration_Order): Document that this is
5745         obsolescent.
5746
5747         * gnatbind.adb: Output new warning for use of obsolescent -f switch.
5748
5749         * gnatbind.adb: Minor update of warning msg.
5750
5751 2001-10-30  Vincent Celier <celier@gnat.com>
5752
5753         * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
5754         for project file switches (-P (/PROJECT_FILE=),
5755          -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
5756         or MEDIUM or HIGH)
5757
5758 2001-10-30  Geert Bosch <bosch@gnat.com>
5759
5760         * decl.c: Minor whitespace fixes.
5761
5762 2001-10-30  Richard Kenner <kenner@gnat.com>
5763
5764         * utils2.c (build_allocator): Test for SIZE overflow in array case too
5765
5766 2001-10-30  Geert Bosch <bosch@gnat.com>
5767
5768         * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
5769         Found due to GCC 3.0 warning of using uninitialized value.
5770
5771         * layout.adb:
5772         (Get_Max_Size): Use variant record for tracking value/expression.
5773          Makes logic clearer and prevents warnings for uninitialized variables.
5774         (Layout_Array_Type): Use variant record for tracking value/expression.
5775          Makes logic clearer and prevents warnings for uninitialized variables.
5776
5777 2001-10-30  Robert Dewar <dewar@gnat.com>
5778
5779         * lib.adb: Minor reformatting
5780
5781         * s-taprop.ads: Minor reformatting
5782
5783 2001-10-29  Laurent Guerby  <guerby@acm.org>
5784
5785         * init.c:
5786         (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
5787         const.
5788         (_gnat_error_handler): Make MSG const.
5789
5790 2001-10-29  Richard Kenner <kenner@gnat.com>
5791
5792         * sysdep.c: Fix localtime_r problem on LynxOS.
5793         Also remove #elif to avoid warnings.
5794
5795         * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
5796         used by this.
5797
5798         * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
5799
5800 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5801
5802         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
5803         exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
5804         g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
5805         g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
5806         layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
5807         s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
5808         sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
5809         sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
5810         sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
5811         types.ads, urealp.adb: Fix spelling errors.
5812
5813 2001-10-27  Laurent Guerby <guerby@acm.org>
5814
5815         * trans.c (gigi): Fix non determinism leading to bootstrap
5816         comparison failures for debugging information.
5817
5818 2001-10-26  Florian Weimer  <fw@deneb.enyo.de>
5819
5820         * gnat_rm.texi: Use @./@: where appropriate.
5821
5822 2001-10-26  Robert Dewar <dewar@gnat.com>
5823
5824         * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
5825
5826 2001-10-26  Richard Kenner <kenner@gnat.com>
5827
5828         * gmem.c (__gnat_gmem_read_next): Properly check for EOF
5829
5830 2001-10-26  Richard Kenner <kenner@gnat.com>
5831
5832         * decl.c (validate_size): Modify message for bad size to avoid
5833         implication that compiler is modifying the size.
5834
5835 2001-10-26  Robert Dewar <dewar@gnat.com>
5836
5837         * prj-util.adb: Minor reformatting. Fix bad header format.
5838
5839 2001-10-26  Robert Dewar <dewar@gnat.com>
5840
5841         * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
5842
5843         * sinfo.ads: Clarify use of Associated_Node (documentation only).
5844
5845         * sem_ch12.adb: Change Node4 to Associated_Node. Change
5846         Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
5847         much more narrowly in places where needed. These are cleanups.
5848
5849 2001-10-26  Joel Brobecker <brobecke@gnat.com>
5850
5851         * 5zosinte.ads (null_pthread): new constant.
5852
5853         * 5ztaprop.adb:
5854         (Initialize_TCB): Initialize thread ID to null, to be able to verify
5855          later that this field has been set.
5856         (Finalize_TCB): ditto.
5857         (Suspend_Task): Verify that the thread ID is not null before using it.
5858         (Resume_Task): ditto.
5859
5860         * s-tasdeb.adb:
5861         (Resume_All_Tasks): Lock the tasks list before using it.
5862         (Suspend_All_Tasks): ditto.
5863
5864 2001-10-26  Richard Kenner <kenner@gnat.com>
5865
5866         * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
5867         Make constant variant of designated type for Is_Access_Constant.
5868         Call update_pointer_to with main variant.
5869
5870         * trans.c (process_freeze_entity, process_type):
5871         Call update_pointer_to on main variant.
5872
5873         * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
5874         If main variant, update all other variants.
5875
5876         * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
5877         TREE_STATIC.
5878
5879 2001-10-26  Robert Dewar <dewar@gnat.com>
5880
5881         * prj-util.adb: Minor reformatting
5882
5883 2001-10-26  Robert Dewar <dewar@gnat.com>
5884
5885         * prj-util.adb: Minor reformatting
5886
5887 2001-10-26  Robert Dewar <dewar@gnat.com>
5888
5889         * prj-attr.adb: Minor reformatting throughout
5890
5891 2001-10-26  Robert Dewar <dewar@gnat.com>
5892
5893         * prj-attr.ads: Minor reformatting
5894         Add ??? comment (this whole spec has almost no comments)
5895
5896 2001-10-26  Vincent Celier <celier@gnat.com>
5897
5898         * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
5899         ("//") that precede the drive letter on Interix.
5900
5901 2001-10-26  Geert Bosch <bosch@gnat.com>
5902
5903         * gnat_rm.texi: Add GNAT Reference Manual.
5904
5905 2001-10-25  Robert Dewar <dewar@gnat.com>
5906
5907         * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
5908         is Error. Similar change for other renaming cases.
5909
5910 2001-10-25  Robert Dewar <dewar@gnat.com>
5911
5912         * s-atacco.ads: Add pragma Inline_Always for functions.
5913         Fix header format. Add copyright 2001
5914
5915 2001-10-25  Ed Schonberg <schonber@gnat.com>
5916
5917         * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
5918         return Error rather than Empty so that analysis can proceed.
5919
5920 2001-10-25  Ed Schonberg <schonber@gnat.com>
5921
5922         * sem_util.adb (Enter_Name): better handling of cascaded error
5923         messages when a unit appears in its own context.
5924
5925 2001-10-25  Ed Schonberg <schonber@gnat.com>
5926
5927         * sem_util.adb (Defining_Entity): in case of error, attach created
5928         entity to specification, so that semantic analysis can proceed.
5929
5930 2001-10-25  Robert Dewar <dewar@gnat.com>
5931
5932         * sem_util.adb
5933         (Defining_Entity): Deal with Error.
5934         (Process_End_Label): Deal with bad end label for.
5935
5936 2001-10-25  Ed Schonberg <schonber@gnat.com>
5937
5938         * sem_elab.adb (Check_A_Call): refine message when call is in an
5939         instance but callee is not declared in the generic unit.
5940
5941 2001-10-25  Ed Schonberg <schonber@gnat.com>
5942
5943         * sem_elab.adb (Check_A_Call): check for renaming before finding the
5944         enclosing unit, which may already be different from the calling unit.
5945
5946 2001-10-25  Geert Bosch <bosch@gnat.com>
5947
5948         * 4gintnam.ads: fix header format.
5949
5950 2001-10-25  Ed Schonberg <schonber@gnat.com>
5951
5952         * sem_res.adb (Resolve_Call): if the call is actually an indexing
5953         operation on the result of a parameterless call, perform elaboration
5954         check after the node has been properly rewritten.
5955
5956         * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
5957         inlined within the generic tree, the defining identifier is not a
5958         compilation_unit.
5959
5960 2001-10-25  Ed Schonberg <schonber@gnat.com>
5961
5962         * sem_res.adb (Resolve): special-case resolution of Null in an
5963          instance or an inlined body to avoid view conflicts.
5964
5965         * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
5966          compatibility by retrieving the access type of the generic copy.
5967
5968 2001-10-25  Robert Dewar <dewar@gnat.com>
5969
5970         * sem_ch3.adb:
5971         (Analyze_Number_Declaration): Handle error expression.
5972         (Signed_Integer_Type_Declaration): Handle error bound.
5973         (Analyze_Subtype_Indication): Handle error range.
5974
5975         * sem_util.adb (Get_Index_Bounds): Check for Error.
5976
5977 2001-10-25  Robert Dewar <dewar@gnat.com>
5978
5979         * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
5980         in no run time mode.
5981
5982 2001-10-25  Pascal Obry <obry@gnat.com>
5983
5984         * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
5985         mode case for ALLOC case.
5986
5987         * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
5988         all platforms. Improvement of last change.
5989
5990 2001-10-25  Robert Dewar <dewar@gnat.com>
5991
5992         * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
5993
5994 2001-10-25  Geert Bosch  <bosch@gnat.com>
5995
5996         * osint.adb (Is_Relative): Remove duplicate.
5997
5998 2001-10-25  Pascal Obry <obry@gnat.com>
5999
6000         * osint.adb (Read_Default_Search_Dirs): correctly detect relative
6001         pathnames in UNIX and DOS style with drive letter.
6002         (Is_Relative): new routine.
6003
6004         * osint.adb: Minor reformatting
6005
6006         * osint.adb (Is_Relative): implementation using
6007         GNAT.OS_Lib.Is_Absolute_Path. Better fix.
6008
6009 2001-10-25  Pascal Obry <obry@gnat.com>
6010
6011         * g-dirope.adb (Basename): correctly compute offset between the
6012         original Path and the translated one.
6013
6014         * g-dirope.adb: (Base_Name): add some comments.
6015
6016 2001-10-25  Robert Dewar <dewar@gnat.com>
6017
6018         * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
6019         in HIE mode, avoids compilation abandoned message
6020
6021         * exp_imgv.adb: Correct typo in previous change
6022
6023         * exp_imgv.adb: Correct typo in previous change (not my day!)
6024
6025 2001-10-25  Robert Dewar <dewar@gnat.com>
6026
6027         * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
6028
6029 2001-10-25  Pascal Obry <obry@gnat.com>
6030
6031         * g-awk.ads: Move all pragma inlines next to the routine
6032          declarations. This is more uniform with other GNAT spec.
6033
6034 2001-10-22  Geert Bosch  <bosch@gnat.com>
6035
6036         * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
6037
6038 2001-10-19  Geert Bosch  <bosch@gnat.com>
6039
6040         * Makefile.in (tools, gnattools): Remove gnatmem.
6041
6042 2001-10-17  Richard Henderson  <rth@redhat.com>
6043
6044         * Makefile.in (misc.o): Depend on langhooks.h.
6045         * misc.c: Include it.
6046         (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
6047         (LANG_HOOKS_DECODE_OPTION): New.
6048         (lang_hooks): Use LANG_HOOKS_INITIALIZER.
6049
6050 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
6051
6052         * trans.c (tree_transform): Adjust to recent change in
6053         expand_asm_operands to implement named asm operands.
6054
6055 2001-10-11  Ed Schonberg  <schonber@gnat.com>
6056
6057         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
6058         renaming of discriminant for mutable record type.
6059
6060 2001-10-11  Robert Dewar  <dewar@gnat.com>
6061
6062         * validsw.adb: Properly save -gnatVn status.
6063
6064 2001-10-11  Robert Dewar <dewar@gnat.com>
6065
6066         * usage.adb: Add lines for V switch.
6067
6068         * gnatcmd.adb (COMPILE): Revise translations for -gnatV
6069         (/VALIDITY_CHECKING).
6070
6071 2001-10-11  Ed Schonberg <schonber@gnat.com>
6072
6073         * sem_type.adb (Add_One_Interp): an operator for a type declared in
6074         an extension of System is known to be visible.
6075
6076 2001-10-11  Ed Schonberg <schonber@gnat.com>
6077
6078         * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
6079         properly. Fixes regression on ACATS C34005G.
6080
6081 2001-10-11  Robert Dewar <dewar@gnat.com>
6082
6083         * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
6084         loop in generic instance, since this is likely not very useful.
6085
6086 2001-10-11  Robert Dewar <dewar@gnat.com>
6087
6088         * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
6089         the error message for high integrity mode.
6090
6091         * rtsfind.adb (RTE): Give message if we try to find an entity that
6092         is not available in high integrity mode.
6093
6094         * rtsfind.ads:
6095         (OK_To_Use_In_HIE_Mode): New array.
6096         (RTE): May return Empty in high integrity mode.
6097
6098         * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
6099         OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
6100
6101         * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
6102         unit if not inlined always and in no runtime mode. Fixes problem
6103         caused by new Rtsfind changes.
6104
6105         * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
6106         body is deleted.
6107
6108         * rtsfind.adb (RTE): Make sure we do not try to load unit after
6109         giving message for entity not available in high integrity mode.
6110
6111 2001-10-11  Pascal Obry <obry@gnat.com>
6112
6113         * impunit.adb: Add GNAT.CRC32.
6114
6115 2001-10-11  Ed Schonberg <schonber@gnat.com>
6116
6117         * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
6118         properly the case where one universal operand in a non-static
6119         exponentiation of a real literal.
6120
6121 2001-10-11  Ed Schonberg <schonber@gnat.com>
6122
6123         * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
6124         clause, return the gobal finalization list, for lack of anthing else.
6125
6126 2001-10-11  Ed Schonberg <schonber@gnat.com>
6127
6128         * exp_ch7.adb (Make_Transient_Block): if statement is within
6129         exception handler, always use new transient scope to place Clean
6130         procedure.
6131
6132 2001-10-11  Pascal Obry <obry@gnat.com>
6133
6134         * Makefile.in:
6135         (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6136         (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6137         (GNATLS_RTL_OBJS): add g-crc32.o
6138         (GNATMAKE_RTL_OBJS): add g-crc32.o
6139
6140         * ali-util.adb:
6141         (CRC_Match): new function.
6142         (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
6143         instead of the previous simple checksum algorithm.
6144         (Time_Stamp_Mismatch): use CRC_Match for comparison.
6145         (Set_Source_Table): idem.
6146
6147         * ali-util.ads:
6148         (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
6149         instead of simple checksum.
6150         (CRC_Match): new function.
6151         (CRC_Error): new constant.
6152
6153         * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
6154         a CRC now and not a simple checksum. A CRC uses lower-case hex
6155         letters, fixes ambiguity in parsing.
6156
6157         * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
6158         is what this variable will store.
6159
6160         * bcheck.adb: Change reference to chechsum in comments by CRC.
6161         (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
6162         rename All_Checksum_Match to All_CRC_Match. Change due to API
6163         renaming since now GNAT does not use a simple checksum but a
6164         CRC using GNAT.CRC32.
6165
6166         * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
6167         now and not anymore a simple checksum.
6168
6169         * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
6170         places.
6171
6172         * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
6173
6174         * scans.adb:
6175         (Restore_Scan_State): rename Checksum to CRC.
6176         (Save_Scan_State): idem.
6177
6178         * scans.ads:
6179         With GNAT.CRC32.
6180         (Checksum): rename to CRC.
6181         (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
6182
6183         * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
6184         GNAT.CRC32).  Update copyright notice.
6185
6186         * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
6187         GNAT.CRC32).  Update copyright notice.
6188
6189         * scn.adb:
6190         (Accumulate_Checksum): removed.
6191         (Update): new procedure. Add a wide-character into the CRC.
6192
6193         * sinput-l.adb:
6194         (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
6195         (Load_File): fix initialization of S (change Source_Checksum to
6196         Source_CRC)
6197
6198         * sinput-p.adb (Load_Project_File): rename Source_Checksum to
6199         Source_CRC in S initialization.
6200
6201         * sinput.adb (Source_Checksum): renamed to Source_CRC.
6202
6203         * sinput.ads (Source_Checksum): renamed to Source_CRC.
6204         Update comments for the CRC.
6205
6206         * types.adb (Hex): Use lowercase for the letter part.
6207
6208         * types.ads (Get_Hex_String): Returns the hexadecimal representation
6209         for a word. This is currently used only for CRC. In previous version,
6210         the checksum was using a representation with all letter being
6211         upper-case. With the new implementation (using CRC) we do not remove
6212         the 32th bit of the CRC, so we can have an upper-case starting letter
6213         in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
6214         It is ambigous since the CRC was optional and could be followed by
6215         options like EB, EE. So now this routines uses lower-case letter for
6216         the hexadecimal representation. Strange enough only lower case letters
6217         where checked in Scan_ALI (even if this was not a possible case).
6218
6219         * gnatvsn.ads (Library_Version): changed to 3.15a.
6220
6221         * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
6222         for the compiler.
6223
6224         * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
6225         for the compiler.
6226
6227         * ali-util.adb: Redo previous change to avoid using word CRC everywhere
6228         Add 2001 to copyright notice
6229         (Accumulate_Checksum): Modify to use System.CRC32.
6230
6231         * ali-util.ads: Redo changes of previous revision to continue to use
6232         the word Checksum. Add 2001 to copyright notice.
6233
6234         * ali.adb: Undo some of previous changes, not needed.
6235         Keep the change for lower case letters in the checksum.
6236
6237         * ali.ads: Undo previous change not needed.
6238
6239         * bcheck.adb: Undo most of previous change, not needed.
6240         But do use Checksums_Match for checksum comparison.
6241
6242         * gnatls.adb: Undo most of previous change, not needed.
6243         But do use Checksums_Match for comparing checksums.
6244
6245         * lib-load.adb: Undo previous change, not needed.
6246
6247         * lib-writ.adb: Undo previous change, not needed.
6248
6249         * lib-writ.ads: Document that checksums use lower case,
6250         not upper case letters.
6251
6252         * scans.adb: Undo previous change, not needed
6253
6254         * scans.ads: Undo previous change, not needed.
6255
6256         * scn-nlit.adb: Undo previous changes, not needed.
6257
6258         * scn-slit.adb: Undo previous change, not needed.  Fix header format.
6259
6260         * scn.adb:
6261         (Accumulate_Checksum): Use System.CRC32.
6262         (Initialize_Checksum): New procedure.
6263         Remove other changes of previous revision.
6264
6265         * sinput-p.adb: Undo previous change, not needed.
6266
6267         * sinput.adb: Undo previous change, not needed.
6268
6269         * sinput-l.adb: Undo previous change, not needed.
6270
6271         * sinput.ads: Undo previous change, not needed.  Keep only comment
6272         on new checksum algorithm
6273
6274         * Makefile.in: Add s-crc32 as needed, remove g-crc32.
6275         Also remove a-tags and a-stream from GNAT sources.
6276
6277         * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
6278
6279         * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
6280
6281 2001-10-11  Geert Bosch  <bosch@gnat.com>
6282
6283         * einfo.h: Regenerate.
6284
6285         * nmake.ads: Regenerate.
6286
6287         * nmake.adb: Regenerate.
6288
6289         * sinfo.h: Regenerate.
6290
6291         * treeprs.adb: Regenerate.
6292
6293 2001-10-10  Geert Bosch  <bosch@gnat.com>
6294
6295         * gnat-style.texi: New file describing coding guidelines for Ada.
6296
6297 2001-10-10  Ed Schonberg <schonber@gnat.com>
6298
6299         * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
6300         is Flag174.
6301
6302 2001-10-10  Geert Bosch  <bosch@gnat.com>
6303
6304         * snames.ads: Add new names for project facility.
6305
6306         * snames.adb: Update to reflect snames.ads changes.
6307
6308         * snames.h: Update to reflect snames.ads changes.
6309
6310 2001-10-10  Vincent Celier <celier@gnat.com>
6311
6312         * make.adb:
6313         (Add_Switches): reflect the changes for the switches attributes
6314         Default_Switches indexed by the programming language,
6315         Switches indexed by the file name.
6316         (Collect_Arguments_And_Compile): Idem.
6317         Reflect the attribute name changes.
6318
6319         * prj-attr.adb:
6320         (Initialisation_Data): Change the names of some packages and
6321         attributes.
6322         (Initialize): process case insensitive associative arrays.
6323
6324         * prj-attr.ads:
6325         (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
6326
6327         * prj-dect.adb:
6328         (Parse_Attribute_Declaration): For case insensitive associative
6329          arrays, set the index string to lower case.
6330
6331         * prj-env.adb:
6332         Reflect the changes of the project attributes.
6333
6334         * prj-nmsc.adb:
6335         Replace Check_Naming_Scheme by Ada_Check and
6336         Language_Independent_Check.
6337
6338         * prj-nmsc.ads:
6339         Replaced Check_Naming_Scheme by 2 procedures:
6340         Ada_Check and Language_Independent_Check.
6341
6342         * prj-proc.adb:
6343         (Process_Declarative_Items): For case-insensitive associative
6344         arrays, set the index string to lower case.
6345         (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
6346         Prj.Nmsc.Check_Naming_Scheme.
6347
6348         * prj-tree.adb:
6349         (Case_Insensitive): New function
6350         (Set_Case_Insensitive): New procedure
6351
6352         * prj-tree.ads:
6353         (Case_Insensitive): New function
6354         (Set_Case_Insensitive): New procedure
6355         (Project_Node_Record): New flag Case_Insensitive.
6356
6357         * prj-util.adb:
6358         (Value_Of): new function to get the string value of a single
6359         string variable or attribute.
6360
6361         * prj-util.ads:
6362         (Value_Of): new function to get the string value of a single
6363         string variable or attribute.
6364
6365         * prj.adb:
6366         (Ada_Default_Spec_Suffix): New function
6367         (Ada_Default_Impl_Suffix): New function
6368         Change definitions of several constants to reflect
6369         new components of record types.
6370
6371         * prj.ads:
6372         (Naming_Data): Change several components to reflect new
6373         elements of naming schemes.
6374         (Project_Data): New flags Sources_Present and
6375         Language_Independent_Checked.
6376         (Ada_Default_Spec_Suffix): New function.
6377         (Ada_Default_Impl_Suffix): New function.
6378
6379         * snames.ads:
6380         Modification of predefined names for project manager: added
6381         Implementation, Specification_Exceptions, Implementation_Exceptions,
6382         Specification_Suffix, Implementation_Suffix, Separate_Suffix,
6383         Default_Switches, _Languages, Builder, Cross_Reference,
6384         Finder. Removed Body_Part, Specification_Append, Body_Append,
6385         Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
6386         Gnatlink.
6387
6388         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6389         Add comments.
6390
6391         * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
6392         not that it is Nil_Variable_Value.
6393
6394         * prj.ads: Add ??? for uncommented declarations
6395
6396 2001-10-10  Ed Schonberg <schonber@gnat.com>
6397
6398         * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
6399         constant, do not indicate possible modification, so that gigi can
6400         treat it as a bona fide constant.
6401
6402 2001-10-10  Robert Dewar <dewar@gnat.com>
6403
6404         * sem_prag.adb: Add processing for pragma External.
6405
6406         * snames.ads: Add entry for pragma External.
6407
6408         * par-prag.adb: Add pragma External.
6409
6410         * snames.adb: Updated to match snames.ads.
6411
6412 2001-10-10  Ed Schonberg <schonber@gnat.com>
6413
6414         * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
6415         a dynamic task if the allocator appears in an indexed assignment
6416         or selected component assignment.
6417
6418         * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
6419         For a dynamic task in an assignment statement, use target of
6420         assignment to generate meaningful name.
6421
6422 2001-10-10  Ed Schonberg <schonber@gnat.com>
6423
6424         * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
6425         a generic package.
6426
6427         * einfo.ads: Body_Entity is also defined for generic package.
6428         Documentation change only
6429
6430         * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
6431         others_choice for a discriminated component initialization,
6432         convert discriminant references into the corresponding discriminals.
6433
6434         * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
6435         only if original type is private and expression has to be wrapped
6436         in a conversion.
6437
6438         * checks.adb:
6439         (Apply_Constraint_Check): Do not perform length check
6440         if expression is an aggregate with only an others_choice.
6441         (Length_N_Cond): two references to the same in_parameter
6442         (typically the discriminal in an init_proc) denote the same value.
6443         Two useful optimization uncovered by bugfixes above.
6444
6445 2001-10-10  Robert Dewar <dewar@gnat.com>
6446
6447         * xeinfo.adb: Change int to char in translation of enumeration types.
6448         This fixes a problem in the C representation of component alignment.
6449         Add 2001 to copyright notice
6450
6451 2001-10-10  Richard Kenner <kenner@gnat.com>
6452
6453         * decl.c: (validate_size): Do check size of object of integral type
6454         if it is a packed array type.
6455
6456 2001-10-10  Richard Kenner <kenner@gnat.com>
6457
6458         * decl.c: (gnat_to_gnu_entity, case object): Also materialize
6459         VAR_DECL for constant if not Is_Public but -O0.
6460
6461 2001-10-10  Richard Kenner  <kenner@gnat.com>
6462
6463         * misc.c (struct lang_hooks): Add new initializer to match GCC change.
6464
6465 2001-10-10  Geert Bosch  <bosch@gnat.com>
6466
6467         * xnmake.adb (XNmake): Fix handling of -s/-b options.  No longer
6468         use '/' as switch character, allowing for absolute file names.
6469
6470 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
6471
6472         * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
6473         FSF address.
6474
6475 2001-10-08  Geert Bosch  <bosch@gnat.com>
6476
6477         * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
6478         Automatically build utilities when files need to be regenerated.
6479
6480 2001-10-08  Geert Bosch  <bosch@gnat.com>
6481
6482         * xsnames.adb: New utility for updating snames.ads and snames.adb
6483
6484 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
6485
6486         * Make-lang.in (ADAFLAGS): Add -W -Wall.
6487         (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
6488         (gnat1): Also depend on attribs.o.
6489         (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
6490         * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
6491         (ADAC): Set to @ADAC@ in stage1, $(CC) later.
6492         (ADAFLAGS): Add -W -Wall.
6493         (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
6494         take out CFLAGS.
6495
6496         (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
6497         s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
6498         s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
6499         Use $(ADAC), not $(CC), as compilation command.
6500
6501         (gnattools): Depend directly on tools to build, don't use
6502         recursive make.
6503         (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
6504
6505         * einfo.h, sinfo.h: New files (autogenerated).
6506
6507 2001-10-08  Richard Henderson  <rth@redhat.com>
6508
6509         * comperr.adb (Abort_In_Progress): New.
6510         (Compiler_Abort): Use it to prevent recursion.
6511
6512 2001-10-08  Robert Dewar <dewar@gnat.com>
6513
6514         * atree.adb: Set Error_Posted in Error node, helps error recovery.
6515
6516         * par-endh.adb (Output_End_Expected): We should also not test
6517         Error_Posted on the Error node, since now it is always set.
6518
6519         * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
6520         to help error recovery. Part of general work on 9407-004.
6521
6522         * par.adb: Add ??? for misuse of error
6523
6524         * sem_res.adb:
6525         (Resolve): Defend against Error, fixes 9407-003.
6526         (Resolve_Discrete_Subtype_Indication): Defend against Error.
6527
6528         * sinfo.ads (N_Error): Now has Etype field (which will be set
6529         to Any_Type to help error recovery).
6530
6531 2001-10-08  Richard Kenner (kenner@gnat.com)
6532
6533         * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
6534         Consistently set MEM attributes from expression; fixes
6535         bootstrap failure on x86.
6536
6537 2001-10-08  Geert Bosch  (bosch@gnat.com)
6538
6539         * 5oosinte.adb: Add 2001 to copyright notice.
6540
6541 2001-10-08  Geert Bosch  (bosch@gnat.com)
6542
6543         * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
6544
6545         * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
6546
6547 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
6548
6549         * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
6550
6551 2001-10-05  Geert Bosch  (bosch@gnat.com)
6552
6553         * adaint.h: Small formatting fix.
6554
6555 2001-10-04  Geert Bosch  <bosch@gnat.com>
6556
6557         * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
6558         Arg is int, not FILE *, in dummy version of functions.
6559
6560         * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
6561         Arg is int, not FILE *.
6562
6563 2001-10-04  Geert Bosch  <bosch@gnat.com>
6564
6565         * 3lsoccon.ads: Added file, missed with initial check ins.
6566
6567         * 4lintnam.ads: Fix header format.
6568         Change Linux to GNU/Linux.
6569
6570         * 5iosinte.adb: Change Linux to GNU/Linux.
6571
6572         * 5iosinte.ads: Change Linux to GNU/Linux.
6573
6574         * 5itaprop.adb: Change Linux to GNU/Linux.
6575
6576         * 5itaspri.ads: Change Linux to GNU/Linux.
6577         Update copyright notice.
6578
6579         * 5lintman.adb: Change Linux to GNU/Linux.
6580
6581         * 5lml-tgt.adb: Change Linux to GNU/Linux.
6582
6583         * 5losinte.ads: Change Linux to GNU/Linux.
6584
6585         * 5lsystem.ads: Change Linux to GNU/Linux.
6586
6587         * 5qosinte.adb: Change Linux to GNU/Linux.
6588
6589         * 5qosinte.ads: Change Linux to GNU/Linux.
6590
6591         * 5qparame.ads: Change Linux to GNU/Linux.
6592
6593         * 5qtaprop.adb: Change Linux to GNU/Linux.
6594
6595         * 5qtaspri.ads: Change Linux to GNU/Linux.
6596         Add 2001 to copyright notice.
6597
6598         * 5vintman.ads: Change Linux to GNU/Linux.
6599         Fix header format.  Add 2001 to copyright notice.
6600
6601         * g-soccon.ads: Change Linux to GNU/Linux.
6602
6603         * g-trasym.ads: Change Linux to GNU/Linux.
6604         Add 2001 to copyright notice.
6605
6606         * memtrack.adb: Change Linux to GNU/Linux.
6607
6608         * s-intman.ads: Change Linux to GNU/Linux.
6609         Add 2001 to copyright notice.  Fix header format.
6610
6611         * s-stache.adb: Change Linux to GNU/Linux.
6612
6613         * adaint.c: Change Linux to GNU/Linux.
6614
6615         * cio.c: Change Linux to GNU/Linux.
6616
6617         * cstreams.c: Change Linux to GNU/Linux.
6618
6619         * init.c: Change Linux to GNU/Linux.
6620
6621         * gmem.c: Change Linux to GNU/Linux.
6622
6623         * tracebak.c: Change Linux to GNU/Linux.
6624
6625
6626 2001-10-02  Geert Bosch  <bosch@gnat.com>
6627
6628         * misc.c (insert_default_attributes): Add dummy version.