1 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
3 * Make-lang.in (utils.o): Depend on target.h.
4 * utils.c: Include target.h.
5 (process_attributes): Use targetm.have_named_sections instead
6 of ASM_OUTPUT_SECTION_NAME.
8 2004-01-16 Andreas Jaeger <aj@suse.de>
10 * Makefile.in: Add $(DESTDIR).
12 2004-01-15 Olivier Hainque <hainque@act-europe.fr>
14 * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
15 also when not defining if a Size clause applies. That information is
18 2004-01-15 Arnaud Charlet <charlet@act-europe.fr>
20 * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
21 symbolic links for the shared gnat run time when needed.
23 2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr>
25 * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
26 for writing, and terminate with an error message if not.
28 2004-01-15 Ed Schonberg <schonberg@gnat.com>
30 * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
31 warning on an access to subprogram in an instance, when the target
32 type is declared in the same generic unit.
33 (Eval_Attribute): If 'access is known to fail accessibility check,
34 rewrite as a raise statement.
36 2004-01-15 GNAT Script <nobody@gnat.com>
38 * Make-lang.in: Makefile automatically updated
40 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
42 * Make-lang.in (ada.srcextra): Dummy entry.
44 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
46 * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
48 2004-01-13 Ed Schonberg <schonberg@gnat.com>
50 * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
51 components that are initialized with aggregates.
53 2004-01-13 Vincent Celier <celier@gnat.com>
55 * gnatlink.adb (Process_Binder_File): To find directory of shared
56 libgcc, if "gcc-lib" is not a subdirectory, look for the last
57 subdirectory "lib" in the path of the shared libgnat or libgnarl.
59 * make.adb (Gnatmake): If GCC version is at least 3, link with
60 -shared-libgcc, when there is at least one shared library project.
62 * opt.ads (GCC_Version): New integer constant.
64 * adaint.c (get_gcc_version): New function.
66 2004-01-13 Robert Dewar <dewar@gnat.com>
68 * sem_dist.adb, sem_res.adb, sem_util.adb,
69 sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
70 exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
72 2004-01-13 Thomas Quinot <quinot@act-europe.fr>
74 * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
75 g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
78 2004-01-12 Arnaud Charlet <charlet@act-europe.fr>
80 * misc.c: Remove trailing spaces.
81 Update copyright notice missed in previous change.
84 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
87 * Makefile.generic: Update copyright.
90 * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
93 * Makefile.prolog: Update copyright.
96 2004-01-12 Laurent Pautet <pautet@act-europe.fr>
98 * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
99 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
100 g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
103 * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
106 2004-01-12 Javier Miranda <miranda@gnat.com>
108 * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
109 exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
110 sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
111 sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
112 Component_Definition node.
114 2004-01-12 Ed Falis <falis@gnat.com>
116 * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
118 2004-01-12 Thomas Quinot <quinot@act-europe.fr>
120 * link.c: Change default libgnat kind to STATIC for FreeBSD.
122 2004-01-12 Bernard Banner <banner@gnat.com>
124 * Makefile.in: map 86numaux to a-numaux for x86_64
126 2004-01-12 Ed Schonberg <schonberg@gnat.com>
128 * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
129 generated to rename a generic actual, go to the actual itself, the
130 subtype is not a user-visible entity.
132 * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
133 part is a private subtype, reset the visibility of its full view, if
134 any, to be consistent.
137 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
138 to use a generic package G as a formal package for another generic
141 2004-01-12 Robert Dewar <dewar@gnat.com>
143 * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
145 * usage.adb: Remove mention of obsolete -gnatwb switch
146 Noticed during code reading
148 2004-01-12 Jerome Guitton <guitton@act-europe.fr>
150 * 1ssecsta.adb: Minor changes for -gnatwa warnings
152 2004-01-12 GNAT Script <nobody@gnat.com>
154 * Make-lang.in: Makefile automatically updated
156 2004-01-09 Mark Mitchell <mark@codesourcery.com>
158 * misc.c (gnat_expand_expr): Add alt_rtl parameter.
160 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
162 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
164 2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
166 * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
167 Update comment and copyright date.
168 * stamp-xgnatug: Delete.
170 2004-01-05 Robert Dewar <dewar@gnat.com>
172 * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
173 be modified by the binder generated main program if the -D switch is
176 * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
177 imported functions (since now we expect this to be done for imported
180 * 5vtaprop.adb: Add several ??? for sections requiring more comments
181 Minor reformatting throughout
183 * 5zinit.adb: Minor reformatting
184 Add 2004 to copyright date
185 Minor changes to avoid -gnatwa warnings
186 Correct some instances of using OR instead of OR ELSE (noted while
189 * sprint.adb: Minor updates to avoid -gnatwa warnings
191 * s-secsta.ads, s-secsta.adb:
192 (SS_Get_Max): New function to obtain high water mark for ss stack
193 Default_Secondary_Stack is not a constant since it may be modified by
194 the binder generated main program if the -D switch is used.
196 * switch-b.adb: New -Dnnn switch for binder
199 Make -gnatg imply all warnings currently in -gnatwa
201 * vms_conv.adb: Minor reformatting
202 Add 2004 to copyright notice
203 Add 2004 to printed copyright notice
205 * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
206 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
207 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
208 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
209 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
210 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
211 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
212 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
213 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
214 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
215 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
216 vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
217 xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
218 sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
219 checks.adb, clean.adb, cstand.adb, einfo.ads,
220 einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
221 exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
222 prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
223 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
224 g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
225 lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
226 Minor reformatting and code clean ups.
227 Minor changes to prevent -gnatwa warnings
229 * ali.adb: Minor reformatting and cleanup of code
230 Acquire new SS indication of secondary stack use from ali files
232 * a-numaux.ads: Add Pure_Function pragmas for all imported functions
233 (since now we expect this to be done for imported functions)
235 * bindgen.adb: Generate call to modify default secondary stack size if
238 * bindusg.adb: Add line for new -D switch
240 * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
241 replacement name for Type_May_Have_Non_Bit_Aligned_Components!
242 Add circuitry for both records and arrays to avoid gigi
243 processing if the type involved has non-bit-aligned components
245 * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
246 N_String_Literal node always references an E_String_Literal_Subtype
247 entity. This may not be true in the future.
248 (Possible_Bit_Aligned_Component): Move processing of
249 Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
251 * exp_ch6.adb (Expand_Thread_Body): Pick up
252 Default_Secondary_Stack_Size as variable so that we get value modified
253 by possible -Dnnn binder parameter.
255 * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
256 (Type_May_Have_Bit_Aligned_Components): New function.
258 * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
259 (Type_May_Have_Bit_Aligned_Components): New function.
261 * fe.h: (Set_Identifier_Casing): Fix prototype.
262 Add declaration for Sem_Elim.Eliminate_Error_Msg.
265 * freeze.adb (Freeze_Entity): Add RM reference to error message about
266 importing constant atomic/volatile objects.
267 (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
268 unless explicit Pure_Function pragma given, to avoid insidious bug of
269 call to non-pure imported function getting eliminated.
271 * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
272 gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
273 gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
274 Add 2004 to printed copyright notice
276 * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
279 * Makefile.rtl: Add entry for g-sestin.o
280 g-sestin.ads: New file.
282 * mdll.adb: Minor changes to avoid -gnatwa warnings
284 * mlib-tgt.adb: Minor reformatting
286 * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
287 New switch Sec_Stack_Used (GNAT, GNATBIND)
288 Make Default_Secondary_Stack_Size a variable instead of a constant,
289 so that it can be modified by the new -Dnnn bind switch.
291 * rtsfind.adb (Load_Fail): Give full error message in configurable
292 run-time mode if all_errors mode is set. This was not done in the case
293 of a file not found, which was an oversight.
294 Note if secondary stack unit is used by compiler.
296 * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
297 ineffective elaborate all pragmas on non-visible packages (this
298 happened when a renamed subprogram was called). Now the elaborate all
299 always goes on the package containing the renaming rather than the one
300 containing the renamed subprogram.
302 * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
303 (Process_Eliminate_Pragma): Add parameter to capture pragma location.
305 * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
306 has an Etype that references an E_String_Literal.
307 (Eval_String_Literal): Avoid assumption that N_String_Literal node
308 always references an E_String_Literal_Subtype entity. This may not
309 be true in the future.
311 * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
314 * sem_res.adb (Resolve): Specialize msg for function name used in proc
317 2004-01-05 Ed Falis <falis@gnat.com>
319 * g-debuti.adb: Replaced direct boolean operator with short-circuit
322 2004-01-05 Vincent Celier <celier@gnat.com>
324 * bld.adb: Minor comment updates
325 (Process_Declarative_Items): Correct incorrect name (Index_Name instead
328 * make.adb (Gnatmake): Special process for files to compile/check when
329 -B is specified. Fail when there are only foreign mains in attribute
330 Main of the project file and -B is not specified. Do not skip bind/link
331 steps when -B is specified.
333 * makeusg.adb: Document new switch -B
335 * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
337 * switch-m.adb: (Scan_Make_Switches): Process -B switch
339 * vms_data.ads: Add new GNAT PRETTY qualifier
340 /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
342 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
344 * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
347 * misc.c (gnat_printable_name): If VERBOSITY is 2, call
348 Set_Identifier_Casing.
350 * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
351 has size that overflows.
353 2004-01-05 Gary Dismukes <dismukes@gnat.com>
355 * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
356 -gnatwa warning on static condition.
358 2004-01-05 Doug Rupp <rupp@gnat.com>
360 * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
362 2004-01-05 Arnaud Charlet <charlet@act-europe.fr>
364 * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
365 all attributes, including read-only attribute.
367 2004-01-05 Pascal Obry <obry@gnat.com>
369 * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
370 library naming scheme.
372 * mlib-prj.adb (Build_Library): Generate different names for the static
373 or dynamic version of the GNAT runtime. This is needed to support the
374 new shared library naming scheme.
375 (Process_Binder_File): Add detection of shared library in binder file
376 based on the new naming scheme.
378 * gnatlink.adb (Process_Binder_File): Properly detect the new naming
379 scheme for the shared runtime libraries.
382 (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
384 (install-gnatlib): Do not create symlinks for shared libraries.
385 (gnatlib-shared-default): Idem.
386 (gnatlib-shared-dual-win32): New target. Not used for now as the
387 auto-import feature does not support arrays/records.
388 (gnatlib-shared-win32): Do not create copy for the shared libraries.
389 (gnatlib-shared-vms): Fix shared runtime libraries names.
391 * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
392 dependent runtime shared library name.
394 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
396 * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
399 2004-01-05 Ed Schonberg <schonberg@gnat.com>
401 * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
402 protected objects when allocator has a subtype indication, not a
403 qualified expression. Note that qualified expressions may have to be
404 checked when limited aggregates are implemented.
406 * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
408 (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
409 subprogram is imported, remove warning.
411 2004-01-05 Geert Bosch <bosch@gnat.com>
413 * s-poosiz.adb: Update copyright notice.
414 (Allocate): Use Task_Lock to protect against concurrent access.
415 (Deallocate): Likewise.
417 2004-01-05 Joel Brobecker <brobecker@gnat.com>
419 * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
422 2003-12-23 Kelley Cook <kcook@gcc.gnu.org>
424 * gnat_ug.texi: Force a CVS commit by updating copyright.
425 * gnat_ug_vxw.texi: Regenerate.
426 * gnat_ug_wnt.texi: Regenerate.
427 * gnat_ug_vms.texi: Regenerate.
428 * gnat_ug_unx.texi: Regenerate.
430 2003-12-20 Kazu Hirata <kazu@cs.umass.edu>
432 * trans.c: Remove uses of "register" specifier in
433 declarations of local variables.
435 2003-12-18 Kelley Cook <kcook@gcc.gnu.org>
437 * stamp-xgnatug: New stamp file.
438 * Make-lang.in (stamp-xgnatug): New stamp file and comment.
439 (ada/doctools/xgnatug): Add $(build_exeext).
440 (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
441 ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
443 2003-12-17 Ed Falis <falis@gnat.com>
445 * a-elchha.adb (Tailored_Exception_Information): made Info constant to
448 * a-exextr.adb: Add context clause for
449 Ada.Exceptions.Last_Chance_Handler.
451 2003-12-17 Sergey Rybin <rybin@act-europe.fr>
453 * cstand.adb (Create_Standard): Change the way how the declaration of
454 the Duration type is created (making it the same way as it is for all
455 the other standard types).
457 2003-12-17 Robert Dewar <dewar@gnat.com>
459 * s-crtl.ads: Fix header format
460 Change Pure to Preelaborate
462 2003-12-17 Ed Schonberg <schonberg@gnat.com>
464 * checks.adb (Selected_Length_Checks): Generate an Itype reference for
465 the expression type only if it is declared in the current unit.
467 * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
468 are universal and already analyzed, as can occur in constrained
469 subcomponents that depend on discriminants, when one constraint is a
472 * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
473 type Any_Fixed is legal as the argument of a conversion, if only one
474 fixed-point type is in context.
476 2003-12-17 GNAT Script <nobody@gnat.com>
478 * Make-lang.in: Makefile automatically updated
480 2003-12-15 Robert Dewar <dewar@gnat.com>
482 * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
485 2003-12-15 Vincent Celier <celier@gnat.com>
487 * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
488 (Gnatchop): Do not set failure status when reporting the number of
491 2003-12-15 Doug Rupp <rupp@gnat.com>
493 * s-ctrl.ads: New file.
495 * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
497 * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
498 (GNATBIND_OBJS): Add ada/s-crtl.o.
500 * Makefile.in [VMS]: Clean up ifeq rules.
502 * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
503 a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
504 g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
505 s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
506 s-tasdeb.adb: Update copyright.
508 Make minor modifications to use System.CRTL declared functions instead
509 of importing locally.
511 2003-12-15 GNAT Script <nobody@gnat.com>
513 * Make-lang.in: Makefile automatically updated
515 2003-12-11 Ed Falis <falis@gnat.com>
517 * 5zinit.adb: Clean up.
519 * 5zintman.adb (Notify_Exception): replaced case statement with a call
520 to __gnat_map_signal, imported from init.c to support
521 signal -> exception mappings that depend on the vxWorks version.
524 Created and exported __gnat_map_signal to support signal -> exception
525 mapping that is dependent on the VxWorks version.
526 Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
528 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr>
530 * 5wosinte.ads: Link with -mthreads switch.
532 2003-12-11 Arnaud Charlet <charlet@act-europe.fr>
534 * init.c (__gnat_install_handler [NetBSD]): Set
535 __gnat_handler_installed, as done on all other platforms.
536 Remove duplicated code.
538 2003-12-11 Jerome Guitton <guitton@act-europe.fr>
540 * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
542 2003-12-11 Thomas Quinot <quinot@act-europe.fr>
544 * sinfo.ads: Fix inconsistent example code in comment.
546 2003-12-11 Robert Dewar <dewar@gnat.com>
548 * a-tiinau.adb: Add a couple of comments
550 * sem_ch3.adb: Minor reformatting
553 Fix bad prototype of Same_Base_Type in body (code reading cleanup)
554 Minor reformatting throughout
556 2003-12-11 Ed Schonberg <schonberg@gnat.com>
558 * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
559 bounds of a loop, create a separate block in order to generate proper
560 cleanup actions to prevent memory leaks.
562 * sem_res.adb (Resolve_Call): After a call to
563 Establish_Transient_Scope, the call may be rewritten and relocated, in
564 which case no further processing is needed.
566 * sem_util.adb: (Wrong_Type): Refine previous fix.
567 Fixes ACATS regressions.
571 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
574 2003-12-08 Jerome Guitton <guitton@act-europe.fr>
576 * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
577 i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
580 * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
583 2003-12-08 Robert Dewar <dewar@gnat.com>
585 * 7sintman.adb: Minor reformatting
587 * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
588 standard linker options to get standard libraries linked. We now plan
589 to provide dummy versions of these libraries to match the appropriate
590 configurable run-time (e.g. if a library is not needed at all, provide
591 a dummy empty library).
593 * targparm.ads: Configurable_Run_Time mode no longer affects linker
594 options (-L parameters and standard libraries). What we plan to do is
595 to provide dummy libraries where the libraries are not required.
597 * gnatbind.adb: Minor comment improvement
599 2003-12-08 Javier Miranda <miranda@gnat.com>
601 * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
602 aggregate in the parent. Otherwise constants with limited aggregates
603 are not supported. Add new formal to pass the component type (Ctype).
604 It is required to call the corresponding IP subprogram in case of
605 default initialized components.
606 (Gen_Assign): In case of default-initialized component, generate a
607 call to the IP subprogram associated with the component.
608 (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
609 of aggregate with default initialized components.
610 (Has_Default_Init_Comps): Improve implementation to recursively check
611 all the present expressions.
613 * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
614 to indicate that the initialization call corresponds to a
615 default-initialized component of an aggregate.
616 In case of default initialized aggregate with tasks this parameter is
617 used to generate a null string (this is just a workaround that must be
618 improved later). In case of discriminants, this parameter is used to
619 generate a selected component node that gives access to the discriminant
622 * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
623 subprogram, based on Build_Task_Allocate_Block, but adapted to expand
624 allocated aggregates with default-initialized components.
626 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
627 the box notation is used in positional aggregates.
629 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr>
631 * lib.ads: Fix typo in comment
633 2003-12-08 Vincent Celier <celier@gnat.com>
635 * prj.adb (Project_Empty): New component Unkept_Comments
636 (Scan): Remove procedure; moved to Prj.Err.
638 * prj.ads (Project_Data): New Boolean component Unkept_Comments
639 (Scan): Remove procedure; moved to Prj.Err.
641 * prj-dect.adb: Manage comments for the different declarations.
643 * prj-part.adb (With_Record): New component Node
644 (Parse): New Boolean parameter Store_Comments, defaulted to False.
645 Set the scanner to return ends of line and comments as tokens, if
646 Store_Comments is True.
647 (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
648 comments are associated with these nodes. Store the node IDs in the
650 (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
652 (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
653 the N_Project node. Call Tree.Save and Tree.Reset before scanning the
654 current project. Call Tree.Restore afterwards. Set the various nodes
655 for comment storage (Next_End, End_Of_Line, Previous_Line,
658 * prj-part.ads (Parse): New Boolean parameter Store_Comments,
661 * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
662 to False. When Truncated is True, truncate the string, never go to the
664 (Write_End_Of_Line_Comment): New procedure
665 (Print): Process comments for nodes N_With_Clause,
666 N_Package_Declaration, N_String_Type_Declaration,
667 N_Attribute_Declaration, N_Typed_Variable_Declaration,
668 N_Variable_Declaration, N_Case_Construction, N_Case_Item.
669 Process nodes N_Comment.
671 * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
672 without comments and there are some comments, set the flag
673 Unkept_Comments to True.
674 (Scan): If there are comments, set the flag Unkept_Comments to True and
676 (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
677 (Next_End_Nodes: New table
678 (Comment_Zones_Of): New function
679 (Scan): New procedure; moved from Prj. Accumulate comments in the
680 Comments table and set end of line comments, comments after, after end
682 (Add_Comments): New procedure
683 (Save, Restore, Seset_State): New procedures
684 (There_Are_Unkept_Comments): New function
685 (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
686 (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
688 (First_Comment_After, First_Comment_After_End): New functions
689 (First_Comment_Before, First_Comment_Before_End): New functions
690 (Next_Comment): New function
691 (End_Of_Line_Comment, Follows_Empty_Line,
692 Is_Followed_By_Empty_Line): New functions
693 (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
694 (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
695 (Set_Next_Comment): New procedure
696 (Default_Project_Node): Associate comment before if the node can store
699 * scans.ads (Token_Type): New enumeration value Tok_Comment
700 (Comment_Id): New global variable
702 * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
704 (Scan): Store position of start of comment. If comments are tokens, set
705 Comment_Id and set Token to Tok_Comment when scanning a comment.
706 (Set_Comment_As_Token): New procedure
708 * sinput-p.adb: Update Copyright notice
709 (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
710 that no longer exists.
712 2003-12-08 Javier Miranda <miranda@gnat.com>
714 * sem_aggr.adb: Add dependence on Exp_Tss package
715 Correct typo in comment
716 (Resolve_Aggregate): In case of array aggregates set the estimated
717 type of the aggregate before calling resolve. This is needed to know
718 the name of the corresponding IP in case of limited array aggregates.
719 (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
720 in case of default initialized array components.
722 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
723 types. Required to give support to limited aggregates in generic
726 2003-12-08 Ed Schonberg <schonberg@gnat.com>
728 * sem_ch3.adb (Check_Initialization): For legality purposes, an
729 inlined body functions like an instantiation.
730 (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
731 until bounds are analyzed, to diagnose premature use of type.
733 * sem_util.adb (Wrong_Type): Improve error message when the type of
734 the expression is used prematurely.
736 2003-12-08 GNAT Script <nobody@gnat.com>
738 * Make-lang.in: Makefile automatically updated
740 2003-12-08 Arnaud Charlet <charlet@act-europe.fr>
742 * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
743 they are automatically generated by Make-lang.in and cause nothing but
744 maintenance troubles.
746 2003-12-05 Thomas Quinot <quinot@act-europe.fr>
748 * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
749 version of this unit).
751 2003-12-05 Olivier Hainque <hainque@act-europe.fr>
753 * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
754 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
755 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
756 the body of System.Interrupt_Management common to several targets.
757 Update copyright notice when appropriate.
759 * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
762 * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
763 to ensure that the kernel fills in the interrupted context structure
764 before calling a signal handler, which is necessary to be able to
765 unwind past it. Update the copyright notice.
767 2003-12-05 Jerome Guitton <guitton@act-europe.fr>
769 * a-elchha.ads: New file.
771 * a-elchha.adb: New default last chance handler. Contents taken from
772 Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
774 * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
775 is moved to a-elchha.adb to provide a target-independent default last
778 * Makefile.rtl: Add a-elchha.o
780 * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
782 2003-12-05 Ed Schonberg <schonberg@gnat.com>
784 * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
785 declared in an instance, do not inline the call if the instance is not
786 frozen yet, to prevent order of elaboration problems.
788 * sem_prag.adb: Add comments for previous fix.
790 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr>
792 * g-table.adb: Use the right variable in Set_Item.
793 Update copyright notice.
795 2003-12-05 Arnaud Charlet <charlet@act-europe.fr>
797 * Makefile.in: Remove unused rules.
799 2003-12-05 Vincent Celier <celier@gnat.com>
801 * switch-c.adb (Scan_Front_End_Switches): Remove processing of
802 -nostdlib. Not needed here after all.
804 2003-12-03 Thomas Quinot <quinot@act-europe.fr>
808 * adaint.h, adaint.c, g-os_lib.ads:
809 Do not assume that the offset argument to lseek(2) is a 32 bit integer,
810 on some platforms (including FreeBSD), it is a 64 bit value.
811 Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
813 2003-12-03 Arnaud Charlet <charlet@act-europe.fr>
815 * gnatvsn.ads (Library_Version): Now contain only the relevant
817 (Verbose_Library_Version): New constant.
819 * g-spipat.adb, g-awk.adb, g-debpoo.adb,
820 g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
821 s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
823 * gnatlbr.adb: Clean up: replace Library_Version by
824 Verbose_Library_Version.
826 * make.adb, lib-writ.adb, exp_attr.adb:
827 Clean up: replace Library_Version by Verbose_Library_Version.
829 * 5lintman.adb: Removed.
832 Update and simplify computation of LIBRARY_VERSION.
833 Fix computation of GSMATCH_VERSION.
834 5lintman.adb is no longer used: replaced by 7sintman.adb.
836 2003-12-03 Robert Dewar <dewar@gnat.com>
839 (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
840 name. Modified to consider small non-bit-packed arrays as troublesome
841 and in need of component-by-component assigment expansion.
843 2003-12-03 Vincent Celier <celier@gnat.com>
845 * lang-specs.h: Process nostdlib as nostdinc
847 * back_end.adb: Update Copyright notice
848 (Scan_Compiler_Arguments): Process -nostdlib directly.
850 2003-12-03 Jose Ruiz <ruiz@act-europe.fr>
853 When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
854 redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
855 included in HIE_NONE_TARGET_PAIRS.
857 2003-12-03 Ed Schonberg <schonberg@gnat.com>
860 (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
861 is legal in an instance, because legality is cheched in the template.
864 (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
865 appplied to an unchecked conversion of a formal parameter.
868 (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
871 2003-12-03 Olivier Hainque <hainque@act-europe.fr>
873 * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
874 routines. The second one is new functionality to deal with backtracing
875 through signal handlers.
876 (unwind): Split into the two separate subroutines above.
877 Update the documentation, and deal properly with sizeof (REG) different
880 2003-12-01 Nicolas Setton <setton@act-europe.fr>
882 * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
883 so that the debugger can reliably access the value of the parameter,
884 and therefore is able to display the exception name when an exception
885 breakpoint is reached.
887 2003-12-01 Thomas Quinot <quinot@act-europe.fr>
889 * fmap.adb: Fix typo in warning message.
891 * g-socket.ads, g-socket.adb: Make Free a visible instance of
892 Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
894 2003-12-01 Vincent Celier <celier@gnat.com>
896 * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
898 (Build_Library): Get the switches only if Default_Switches is declared
901 2003-12-01 Ed Schonberg <schonberg@gnat.com>
903 * exp_ch6.adb (Expand_Actuals): When applying validity checks to
904 actuals that are indexed components, reanalyze actual to ensure that
905 packed array references are properly expanded.
907 * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
908 attempted assignment to a discriminant.
910 2003-12-01 Robert Dewar <dewar@gnat.com>
912 * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
915 * switch-c.adb: Minor reformatting of comments
917 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
919 * Makefile.in: Clean ups.
921 2003-12-01 GNAT Script <nobody@gnat.com>
923 * Make-lang.in: Makefile automatically updated
925 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
927 * 5wsystem.ads: Disable zero cost exception, not ready yet.
929 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
931 * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
932 to force serialization.
934 2003-11-26 Thomas Quinot <quinot@act-europe.fr>
936 * g-socket.ads, g-socket.adb:
937 Clarify documentation of function Stream. Introduce a Free procedure
938 to release the returned Stream once it becomes unused.
940 * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
942 2003-11-26 Arnaud Charlet <charlet@act-europe.fr>
944 (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
945 since NT 4 cannot handle timeout values that are too large,
948 2003-11-26 Ed Schonberg <schonberg@gnat.com>
951 (Expand_N_Slice): Recognize all cases of slices that appear as actuals
952 in procedure calls and whose expansion must be deferred.
954 * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
958 (Build_Derived_Array_Type): Create operator for unconstrained type
959 if ancestor is unconstrained.
961 2003-11-26 Vincent Celier <celier@gnat.com>
963 * make.adb (Project_Object_Directory): New global variable
964 (Change_To_Object_Directory): New procedure
965 (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
966 of Change_Dir directly. Do not change working directory to object
967 directory of main project after each compilation.
968 (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
970 Change to object directory of main project before binding step.
971 (Initialize): Initialize Project_Object_Directory to No_Project
974 (Build_Library): Take into account Builder'Default_Switches ("Ada") when
975 binding a Stand-Alone Library.
977 * output.adb: Update Copyright notice
978 (Write_Char): Output buffer when full
980 2003-11-26 Robert Dewar <dewar@gnat.com>
982 * sem_ch13.adb: (Check_Size): Reset size if size is too small
985 (Check_Size): Fix documentation to include bit-packed array case
987 * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
989 * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
991 * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
993 2003-11-24 Arnaud Charlet <charlet@act-europe.fr>
996 * utils.c (init_gigi_decls): Change name of built-in setjmp to
997 __builtin_setjmp, since this is apparently needed by recent
1000 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1002 * adadecode.c: Only include ctype.h if not IN_GCC.
1003 (__gnat_decode): Use ISDIGIT from safe-ctype.h.
1005 2003-11-24 Jose Ruiz <ruiz@act-europe.fr>
1008 Use 5zintman.ads for VxWorks targets. This file avoid confusion between
1009 signals and interrupts.
1011 * 5zintman.ads: New File.
1013 * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
1014 add exception signals to the set of unmasked signals.
1017 Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
1018 between signals and interrupts.
1019 Add to Unblocked_Signal_Mask the set of signals that are in
1023 Adding a check to see whether the Interrupt_ID we want to unmask is in
1024 the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
1025 reason is that the index type of the Keep_Unmasked array is not always
1026 Interrupt_ID; it may be a subtype of Interrupt_ID.
1028 2003-11-24 Gary Dismukes <dismukes@gnat.com>
1031 (Remove_Side_Effects): Condition constantness of object created for a
1032 an unchecked type conversion on the constantness of the expression
1033 to ensure the correct value for 'Constrained when passing components
1034 of view-converted class-wide objects.
1036 2003-11-24 Robert Dewar <dewar@gnat.com>
1038 * par-load.adb (Load): Improve handling of misspelled and missing units
1039 Removes several cases of compilation abandoned messages
1041 * lib.adb: (Remove_Unit): New procedure
1043 * lib.ads: (Remove_Unit): New procedure
1045 * lib-load.adb: Minor reformatting
1047 2003-11-24 Vincent Celier <celier@gnat.com>
1050 (Gnatmake, Initialize): Call Usage instead of Makeusg directly
1051 (Marking_Label): Label to mark processed source files. Incremented for
1053 (Gnatmake): Increase Marking_Labet for each executable
1054 (Is_Marked): Compare against marking label
1055 (Mark): Mark with marking label
1057 2003-11-24 Jerome Guitton <guitton@act-europe.fr>
1060 Move the declaration of the TSD for System.Threads to System.Soft_Links.
1063 * Makefile.in: Added target pair for s-thread.adb for cert runtime.
1064 (rts-cert): build a single relocatable object for the run-time lib.
1067 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr>
1070 Use gnatls rather than gcc to obtain the location of GNAT RTL for
1073 2003-11-24 Sergey Rybin <rybin@act-europe.fr>
1075 * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
1076 can not use it as before (that is, as a variable) when dumping it into
1077 the tree file. Add a local variable to store the result of this
1078 function and to be used as the string to be written into the tree.
1080 * scn.adb (Initialize_Scanner): Add comments explaining the recent
1083 * sinput.adb (Source_First, Source_Last): In case of
1084 Internal_Source_File, replace returning attributes of
1085 Internal_Source_Ptr (which is wrong) with returning attributes of
1088 2003-11-24 Ed Schonberg <schonberg@gnat.com>
1091 (New_Concatenation_Op): Proper name for New_Binary_Operator, only
1092 used for implicit concatenation operators.
1096 (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
1097 task bodies that are in the scope of a Suppress pragma.
1098 (Check_A Call): Use the flag to prevent spurious elaboration checks.
1100 * sinfo.ads, sinfo.adb:
1101 New flag No_Elaboration_Check on function/procedure calls, to properly
1102 suppress checks on calls in task bodies that are within a local suppress
1106 (Expand_Concatenate_Other): Use the proper integer type for the
1107 expression for the upper bound, to avoid universal_integer computations
1110 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
1112 * .cvsignore: Delete.
1114 2003-11-21 Andreas Schwab <schwab@suse.de>
1116 * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
1118 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr>
1120 * 5wsystem.ads: Enable zero cost exception.
1122 2003-11-21 Jerome Guitton <guitton@act-europe.fr>
1124 * 5ztiitho.adb: Remove an unreferenced variable.
1126 2003-11-21 Thomas Quinot <quinot@act-europe.fr>
1128 * adaint.c: For FreeBSD, use mkstemp.
1130 2003-11-21 Arnaud Charlet <charlet@act-europe.fr>
1132 * gnatlbr.adb: Now reference Gnat_Static_Version_String.
1134 2003-11-21 Robert Dewar <dewar@gnat.com>
1136 * bld.adb: Remove useless USE of gnatvsn
1138 * gnatchop.adb: Minor reformatting
1139 Clean up version handling to be more consistent
1141 * gnatxref.adb: Minor reformatting
1143 * gprcmd.adb: Minor reformatting
1144 Fix output of copyright to be more consistent with other tools
1146 2003-11-21 Vincent Celier <celier@gnat.com>
1148 * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
1150 2003-11-21 Sergey Rybin <rybin@act-europe.fr>
1152 * atree.adb (Initialize): Add initializations for global variables
1153 used in New_Copy_Tree.
1155 * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
1156 Internal_Source_File as the actual).
1157 Put the set of statements creating Any_Character before the set of
1158 statements creating Any_Array to have Any_Character fully initialized
1159 when it is used in creating Any_Array.
1161 * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
1162 not call Scan in case if the actual is Internal_Source_File
1163 Add 2003 to copyright note.
1165 * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
1166 processing Internal_Source_File.
1168 * types.ads: Add the constant Internal_Source_File representing the
1169 source buffer for artificial source-code-like strings created within
1170 the compiler (the definition of Source_File_Index is changed).
1172 2003-11-20 Arnaud Charlet <charlet@act-europe.fr>
1174 * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
1175 56system.ads: New file, FreeBSD version.
1177 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
1179 * Make-lang.in (ada.extraclean): Delete.
1181 2003-11-19 Arnaud Charlet <charlet@act-europe.fr>
1183 * gnatmem.adb: Clean up verbose output.
1185 * gprcmd.adb: Change copyright to FSF.
1187 2003-11-19 Vincent Celier <celier@gnat.com>
1189 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
1190 and Version (ignored).
1192 * symbols.ads: (Policy): New type
1193 (Initialize): New parameter Reference, Symbol_Policy and
1195 Remove parameter Force.
1198 * snames.ads, snames.adbadb: New standard names
1199 Library_Reference_Symbol_File and Library_Symbol_Policy
1202 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
1206 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
1208 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
1210 * prj.adb: (Project_Empty): New component Symbol_Data
1212 * prj.ads: (Policy, Symbol_Record): New types
1213 (Project_Data): New component Symbol_Data
1216 New attributes Library_Symbol_File, Library_Symbol_Policy and
1217 Library_Reference_Symbol_File.
1220 (Ada_Check): When project is a Stand-Alone library project, process
1221 attribute Library_Symbol_File, Library_Symbol_Policy and
1222 Library_Reference_Symbol_File.
1224 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1225 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
1226 5sml-tgt.adb (Build_Dynamic_Library): New parameter
1227 Symbol_Data (ignored).
1229 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
1230 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
1231 functions Option_File_Name and Version_String. Set new options of
1232 gnatsym related to symbol file, symbol policy and reference symbol
1236 Extensive modifications to take into account the reference symbol file,
1237 the symbol policy, the library version and to put in the symbol file the
1238 minor and major IDs.
1240 * bld.adb (Process_Declarative_Items): Put second argument of
1241 gprcmd to_absolute between single quotes, to avoid problems with
1244 * bld-io.adb: Update Copyright notice.
1245 (Flush): Remove last character of a line, if it is a back slash, to
1246 avoid make problems.
1249 Implement new scheme with reference symbol file and symbol policy.
1251 * g-os_lib.ads: (Is_Directory): Clarify comment
1253 2003-11-19 Robert Dewar <dewar@gnat.com>
1255 * atree.adb: Move New_Copy_Tree global variables to head of package
1257 * errout.adb: Minor reformatting
1259 2003-11-19 Javier Miranda <miranda@gnat.com>
1261 * sem_ch4.adb: (Diagnose_Call): Improve error message.
1262 Add reference to Ada0Y (AI-50217)
1264 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
1265 sem_util.adb: Add reference to AI-50217
1267 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
1269 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
1271 * sem_aggr.adb: Complete documentation of AI-287 changes
1273 * par-ch4.adb: Document previous changes.
1275 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
1276 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
1279 * exp_aggr.adb: Add references to AI-287 in previous changes
1281 2003-11-19 Ed Schonberg <schonberg@gnat.com>
1284 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
1285 in the rewriting is the result of an inlined call.
1287 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
1288 parameter is a type conversion, use original node to construct the
1289 post-call assignment, because expression may have been rewritten, e.g.
1290 if it is a packed array.
1293 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
1294 body, just as it is in an instance.
1295 Categorization routines
1297 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
1298 Instantiate_Object): Set proper sloc reference for message on missing
1301 2003-11-19 Thomas Quinot <quinot@act-europe.fr>
1303 * Makefile.in: Add FreeBSD libgnat pairs.
1305 * usage.adb: Fix typo in usage message.
1307 2003-11-19 Jerome Guitton <guitton@act-europe.fr>
1309 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
1310 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
1312 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
1314 * s-thread.adb: This file is now a dummy implementation of
1317 2003-11-19 Sergey Rybin <rybin@act-europe.fr>
1319 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
1321 2003-11-19 Emmanuel Briot <briot@act-europe.fr>
1323 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1324 instanciation references in the parent type description.
1326 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1328 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
1330 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
1331 TYPE_PRECISION directly from esize.
1333 2003-11-18 Thomas Quinot <quinot@act-europe.fr>
1336 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
1338 * init.c: Initialization routines for FreeBSD
1340 * link.c: Link info for FreeBSD
1342 * sysdep.c: Add the case of FreeBSD
1344 2003-11-17 Jerome Guitton <guitton@act-europe.fr>
1346 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
1347 already called in System.Threads.
1349 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
1350 environment task, as it has been moved to System.Threads.Initialization.
1352 2003-11-17 Arnaud Charlet <charlet@act-europe.fr>
1354 * adaint.c (__gnatlib_install_locks): Only reference
1355 __gnat_install_locks on VMS, since other platforms can avoid using
1356 --enable-threads=gnat
1358 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1360 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
1362 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
1363 TYPE_PACKED_ARRAY_TYPE_P.
1364 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
1366 Part of PR ada/12806
1367 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
1368 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
1370 2003-11-17 Vincent Celier <celier@gnat.com>
1372 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
1374 Do not set exit status to Failure when Warning is True.
1375 (Gnatchop): Make errors "no compilation units found" and
1376 "no source files written" warnings only.
1378 * make.adb (Gnatmake): When using a project file, set
1379 Look_In_Primary_Dir to False.
1380 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
1381 and Local_Configuration_Pragmas in the project where they are declared
1382 not an extending project which might have inherited them.
1384 * osint.adb (Locate_File): If Name is already an absolute path, do not
1385 look for a directory.
1387 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
1388 -gnats (Check_Syntax) is used, issue only a warning, not an error.
1390 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
1391 in objects of type Variable_Value.
1393 * prj.ads: (Variable_Value): New component Project
1395 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
1396 is in a project extended by Project.
1398 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
1399 Project of Variable_Values to this new parameter value.
1400 (Expression): Set component Project of Variable_Values.
1401 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
1402 Set the component Project in array elements.
1404 2003-11-17 Sergey Rybin <rybin@act-europe.fr>
1406 * errout.adb: (Initialize): Add initialization for error nodes.
1408 * sem_ch12.adb (Initialize): Add missing initializations for
1409 Exchanged_Views and Hidden_Entities.
1411 2003-11-17 Ed Schonberg <schonberg@gnat.com>
1413 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
1414 already instantiated tree for use in subsequent inlining.
1415 (Analyze_Associations, Instantiate_Formal_Subprogram,
1416 Instantiate_Object): improve error message for mismatch in
1419 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
1420 instantiations of subprograms declared in instances.
1422 2003-11-17 Javier Miranda <miranda@gnat.com>
1424 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
1425 executed only under the Extensions_Allowed flag.
1427 2003-11-17 Robert Dewar <dewar@gnat.com>
1429 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
1431 (Address_Image): Fix bug of returning 0x instead of 0x0
1432 Minor reformatting (function specs).
1434 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
1435 (missed case of 33-63)
1437 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
1439 * s-thread.adb: Add comments for pragma Restriction
1441 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
1442 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
1444 2003-11-17 Ed Falis <falis@gnat.com>
1446 * s-thread.adb: Added No_Tasking restriction for this implementation.
1448 2003-11-17 Emmanuel Briot <briot@act-europe.fr>
1450 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1451 instanciation references in the parent type description.
1453 2003-11-17 GNAT Script <nobody@gnat.com>
1455 * Make-lang.in: Makefile automatically updated
1457 2003-11-16 Jason Merrill <jason@redhat.com>
1459 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
1460 and TAGS files that include them for each front end.
1462 2003-11-14 Andreas Jaeger <aj@suse.de>
1464 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
1465 is the canonical version.
1466 * misc.c (gnat_handle_option): Likewise.
1468 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
1470 * 5nsystem.ads: New file for x86_64-linux-gnu.
1472 2003-11-14 Arnaud Charlet <charlet@act-europe.fr>
1474 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
1476 * comperr.adb: Fix logic in previous change.
1478 2003-11-13 Vincent Celier <celier@gnat.com>
1480 * 5bml-tgt.adb (Build_Dynamic_Library): Use
1481 Osint.Include_Dir_Default_Prefix instead of
1482 Sdefault.Include_Dir_Default_Name.
1484 * gnatlbr.adb: Update Copyright notice
1485 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1486 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1487 instead of Sdefault.Object_Dir_Default_Name
1490 (Process_Binder_File): Never suppress the option following -Xlinker
1493 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1494 Sdefault.Object_Dir_Default_Name.
1496 * osint.ads, osint.adb:
1497 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1500 * vms_conv.ads: Minor reformating
1501 Remove GNAT STANDARD and GNAT PSTA
1504 Allow GNAT MAKE to have several files on the command line.
1505 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1506 Sdefault.Object_Dir_Default_Name.
1508 Remove data for GNAT STANDARD
1511 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1512 Remove data for GNAT STANDARD
1513 Remove options and documentation for -gnatwb/-gnatwB: these warning
1514 options no longer exist.
1516 2003-11-13 Ed Falis <falis@gnat.com>
1518 * 5zthrini.adb: (Init_RTS): Made visible
1521 (Register): Removed unnecessary call to taskVarGet that checked whether
1522 an ATSD was already set as a task var for the argument thread.
1525 Updated comment to reflect that this is a VxWorks version
1526 Added context clause for System.Threads.Initialization
1527 Added call to System.Threads.Initialization.Init_RTS
1529 2003-11-13 Jerome Guitton <guitton@act-europe.fr>
1532 (Init_RTS): New procedure, for the initialization of the run-time lib.
1535 Remove dependancy on System.Init, so that this file can be used in the
1536 AE653 sequential run-time lib.
1538 2003-11-13 Robert Dewar <dewar@gnat.com>
1540 * bindgen.adb: Minor reformatting
1542 2003-11-13 Ed Schonberg <schonberg@gnat.com>
1545 (Apply_Discriminant_Check): Do no apply check if target type is derived
1546 from source type with no applicable constraint.
1549 (Ensure_System_Dependency): Do not apply the style checks that may have
1550 been specified for the main unit.
1553 (Find_Selected_Component): Further improvement in error message, with
1557 (Resolve): Handle properly the case of an illegal overloaded protected
1560 2003-11-13 Javier Miranda <miranda@gnat.com>
1563 (Has_Default_Init_Comps): New function to check the presence of
1564 default initialization in an aggregate.
1565 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1566 extension aggregate of a limited record. In addition, a new formal
1567 was added to do not initialize the record controller (if any) during
1568 this recursive expansion of ancestors.
1569 (Init_Controller): Add support for limited record components.
1570 (Expand_Record_Aggregate): In case of default initialized components
1571 convert the aggregate into a set of assignments.
1573 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1574 describing the new syntax.
1575 Nothing else needed to be done because this subprogram delegates part of
1576 its work to P_Precord_Or_Array_Component_Association.
1577 (P_Record_Or_Array_Component_Association): Give support to the new
1578 syntax for default initialization of components.
1581 (Resolve_Aggregate): Relax the strictness of the frontend in case of
1583 (Resolve_Record_Aggregate): Give support to default initialized
1585 (Get_Value): In case of default initialized components, duplicate
1586 the corresponding default expression (from the record type
1587 declaration). In case of default initialization in the *others*
1588 choice, do not check that all components have the same type.
1589 (Resolve_Extension_Aggregate): Give support to limited extension
1593 (Check_Initialization): Relax the strictness of the front-end in case
1594 of aggregate and extension aggregates. This test is now done in
1595 Get_Value in a per-component manner.
1597 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1598 expression corresponds to a limited aggregate. This test is now done
1601 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1604 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1605 present in an N_Component_Association node
1607 2003-11-13 Thomas Quinot <quinot@act-europe.fr>
1609 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
1610 type-conformant entry only if they are homographs.
1612 2003-11-13 GNAT Script <nobody@gnat.com>
1614 * Make-lang.in: Makefile automatically updated
1616 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1618 * adadecode.c: Use <> form of include for ctype.h.
1619 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
1621 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1623 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
1624 Works around PR middle-end/6552.
1626 2003-11-10 Ed Falis <falis@gnat.com>
1628 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
1630 * 5zinit.adb: (Install_Handler): Moved back to spec
1631 (Install_Signal_Handlers): Deleted
1633 * 5zthrini.adb: Added context clause for System.Storage_Elements
1634 (Register): Only handles creation of taskVar; initialization moved to
1636 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
1637 Added declaration of environment task secondary stack and
1640 * s-thread.adb: Implement bodies for thread body processing
1643 Added comment identifying supported targets for pragma Thread_Body.
1645 2003-11-10 Pascal Obry <obry@gnat.com>
1647 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
1651 (Open): Properly check for string length before copying into the buffer.
1652 Raises Name_Error if buffer is too small. Note that this was a potential
1655 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
1657 * bindgen.adb, comperr.adb: Code clean ups.
1658 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
1660 2003-11-10 Sergey Rybin <rybin@act-europe.fr>
1662 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
1664 2003-11-10 Vincent Celier <celier@gnat.com>
1667 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
1670 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
1672 * prj.adb: (Project_Empty): Add new boolean component Virtual
1674 * prj.ads: (Virtual_Prefix): New constant string
1675 (Project_Data): New boolean component Virtual
1677 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
1678 a library project is extended by a virtual extending project.
1681 Modifications throughout to implement extending-all project, including:
1682 (Virtual_Hash, Processed_Hash): New hash tables
1683 (Create_Virtual_Extending_Project): New procedure
1684 (Look_For_Virtual_Projects_For): New procedure
1687 (Process): After checking the projects, if main project is an
1688 extending-all project, set the object directory of all virtual extending
1689 project to the object directory of the main project.
1690 Adjust error message when a virtual extending project has the same
1691 object directory as an project being extended.
1692 (Recursive_Process): If name starts with the virtual prefix, set Virtual
1693 to True in the project data.
1696 (Default_Project_Node): Add new boolean component Extending_All
1697 (Is_Extending_All): New function
1698 (Set_Is_Extending_All): New procedure
1700 * prj-tree.ads: (Is_Extending_All): New function
1701 (Set_Is_Extending_All): New procedure
1702 (Project_Node_Record): New boolean component Extending_All
1704 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
1707 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
1709 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
1710 "gprcmd prefix" to define it.
1712 2003-11-10 Thomas Quinot <quinot@act-europe.fr>
1714 * einfo.ads: Fix a typo and remove an extraneous word in comments.
1717 (Create_Dummy_Package_Unit): Set the scope of the entity for the
1718 created dummy package to Standard_Standard, not to itself, to
1719 defend other parts of the front-end against encoutering a cycle in
1723 (Analyze_With_Clause): When setting the entities for the successive
1724 N_Expanded_Names that constitute the name of a child unit, do not
1725 attempt to go further than Standard_Standard in the chain of scopes.
1726 This case arises from the placeholder units created by
1727 Create_Dummy_Package_Unit in the case of a with_clause for a
1728 nonexistent child unit.
1730 2003-11-10 Ed Schonberg <schonberg@gnat.com>
1733 (Expand_Thread_Body): Place subprogram on scope stack, so that new
1734 declarations are given the proper scope.
1737 (Check_Expr_Constants): Reject an expression that contains a constant
1738 created during expansion, and that appears after the object to which
1739 the address clause applies.
1741 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
1742 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
1743 that uses 'Range of a function call with controlled components, so
1744 that the function result can be finalized before starting the loop.
1747 (Find_Selected_Component): Improve error message when prefix is
1748 an implicit dereference of an incomplete type.
1750 2003-11-10 Robert Dewar <dewar@gnat.com>
1752 * opt.ads: New Print_Standard flag for -gnatS switch
1754 * sem_ch13.adb: Remove some additional checks for unaligned arrays
1756 * cstand.adb (Create_Standard): Print out package standard if -gnatS
1759 * debug.adb: Update doc for -gnatds to discuss relationship with new
1762 * sinfo.adb: Add new field Entity_Or_Associated_Node
1764 * sinfo.ads: Add new field Entity_Or_Associated_Node
1765 Update documentation for Associated_Node and Entity fields to clarify
1766 relationship and usage.
1769 (Write_Id): Properly process Associated_Node field in generic template
1772 Recognize new -gnatS switch for printing package Standard
1773 This replaces gnatpsta
1776 Add line for new -gnatS switch for printing package Standard
1777 This replaces gnatpsta
1779 2003-11-10 Andreas Jaeger <aj@suse.de>
1781 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
1784 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1786 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
1789 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1791 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
1794 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
1796 * sysdep.c: Add handling of cygwin.
1798 2003-11-10 GNAT Script <nobody@gnat.com>
1800 * Make-lang.in: Makefile automatically updated
1802 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1805 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
1806 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
1807 Replace GNAT_ROOT by GCC_ROOT.
1809 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
1811 2003-11-06 Zack Weinberg <zack@codesourcery.com>
1813 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
1814 and update for changed meaning of GET_MODE_BITSIZE.
1816 2003-11-04 Doug Rupp <rupp@gnat.com>
1818 * sysdep.c: Problem discovered during IA64 VMS port.
1819 [VMS] #include <unixio.h> to get proper prototypes.
1822 Issues discovered/problems fixed during IA64 VMS port.
1823 [VMS] #define _POSIX_EXIT for proper semantics.
1824 [VMS] #include <unixio.h> for proper prototypes.
1825 [VMS] (fork): #define IA64 version.
1826 (__gnat_os_exit): Remove unnecessary VMS specific code.
1828 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1830 Part of PR ada/12806
1832 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
1836 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
1839 * targtyps.c, decl.c, misc.c,
1840 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
1841 routines to work around change in FP sizing semantics in GCC.
1844 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
1846 * gigi.h: (enumerate_modes): New function.
1848 * Make-lang.in: (ada/misc.o): Add real.h.
1850 * misc.c: (enumerate_modes): New function.
1852 2003-11-04 Robert Dewar <dewar@gnat.com>
1854 * 3vtrasym.adb: Minor reformatting
1855 Use terminology encoded/decoded name, rather than C++ specific notion
1856 of mangling (this is the terminology used throughout GNAT).
1858 * einfo.h: Regenerated
1860 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
1863 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
1865 * par-prag.adb: Add dummy entry for Thread_Body pragma
1868 Add entries for System.Threads entities for thread body processing
1871 (Analyze_Pragma, Access attributes): Check these are not applied to a
1872 thread body, since this is not permitted
1874 * sem_prag.adb: Add processing for Thread_Body pragma.
1878 (Resolve_Call): Check for incorrect attempt to call a thread body
1879 procedure with a direct call.
1881 * snames.ads, snames.adb: Add entry for Thread_Body pragma
1882 Add names associated with thread body expansion
1884 * snames.h: Add entry for Thread_Body pragma
1886 * s-thread.adb: Add entries for thread body processing
1887 These are dummy bodies so far
1889 * s-thread.ads: Add documentation on thread body handling.
1890 Add entries for thread body processing.
1892 2003-11-04 Javier Miranda <miranda@gnat.com>
1895 (Build_Limited_Views): Return after posting an error in case of limited
1896 with_clause on subprograms, generics, instances or generic renamings
1897 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
1898 on subprograms, generics, instances or generic renamings
1900 2003-11-04 Arnaud Charlet <charlet@act-europe.fr>
1902 * raise.c (setup_to_install): Correct mistake in last revision; two
1903 arguments out of order.
1905 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
1906 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
1907 notice, missed in previous change.
1908 Remove trailing blanks and other style errors introduced in previous
1911 2003-11-04 Olivier Hainque <hainque@act-europe.fr>
1913 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
1914 rid of the wrapper for a LJM type, ensuring we don't do that if the
1915 field is addressable. This avoids potential low level type view
1916 mismatches later on, for instance in a by-reference argument passing
1919 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1921 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
1922 aligned at byte boundary.
1924 2003-11-04 Joel Brobecker <brobecker@gnat.com>
1926 * decl.c (components_to_record): Do not delete the empty variants from
1927 the end of the union type.
1929 2003-11-04 Ed Schonberg <schonberg@gnat.com>
1931 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
1932 operation for a derived type, an explicit declaration may use a local
1935 2003-11-04 Vincent Celier <celier@gnat.com>
1937 * make.adb (Gnatmake): Allow main sources on the command line with a
1938 library project when it is only for compilation (no binding or
1941 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1943 * Makefile.in: Remove many duplicate variables.
1945 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
1947 * Make-lang.in (dvi): Move targets to $(docobjdir).
1948 (gnat_ug_vms.dvi): Simplify rule and adjust target.
1949 (gnat_ug_wnt.dvi): Likewise.
1950 (gnat_ug_unx.dvi): Likewise.
1951 (gnat_ug_vxw.dvi): Likewise.
1952 (gnat_rm.dvi): Likewise.
1953 (gnat-style.dvi): Likewise.
1955 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
1957 * gigi.h: Missed commit from update for C90.
1959 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
1961 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
1963 2003-10-31 Andreas Schwab <schwab@suse.de>
1965 * raise.c (get_action_description_for): Fix typo in last change.
1967 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
1970 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
1971 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
1973 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
1975 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
1976 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
1977 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
1978 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
1979 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
1981 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
1984 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
1985 numbers when symbol name is too long.
1987 2003-10-30 Ed Falis <falis@gnat.com>
1989 * g-signal.ads, g-signal.adb: New files
1991 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
1993 * Makefile.rtl: Introduce GNAT.Signals
1995 2003-10-30 Robert Dewar <dewar@gnat.com>
1997 * freeze.adb: Minor reformatting
1999 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
2001 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
2002 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
2003 New handling of Id_Check parameter to improve recognition of keywords
2004 used as identifiers.
2005 Update copyright notice to include 2003
2007 2003-10-29 Robert Dewar <dewar@gnat.com>
2009 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
2010 sem_ch10.adb: Minor reformatting
2012 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
2013 (Expand_Assign_Record): Test right hand side for bit unaligned as well
2015 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
2017 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
2018 Support for TBK$SYMBOLIZE-based symbolic traceback.
2020 2003-10-29 Jose Ruiz <ruiz@act-europe.fr>
2023 Revert previous change, that did not work well when pragma No_Run_Time
2024 was used in conjunction with a run-time other than ZFP.
2026 2003-10-29 Vincent Celier <celier@gnat.com>
2029 (Gnatmake): When there are no Ada mains in attribute Main, disable the
2030 bind and link steps only is switch -z is not used.
2032 2003-10-29 Arnaud Charlet <charlet@act-europe.fr>
2034 * Makefile.generic: Remove duplicated setting of CC.
2036 * Makefile.prolog: Set CC to gcc by default, to override make's
2039 * einfo.h: Regenerated.
2041 2003-10-29 Ed Schonberg <schonberg@gnat.com>
2043 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
2044 current body, after compiling subunit.
2046 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
2047 when in deleted code, because gigi needs properly ordered freeze
2048 actions to annotate types.
2050 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
2051 prevent the premature freezing of record type that contains
2052 subcomponents with a private type that does not yet have a completion.
2054 2003-10-29 Javier Miranda <miranda@gnat.com>
2057 (Analyze_Package_Instantiation): Check that instances can not be used in
2058 limited with_clauses.
2061 (Analyze_Package_Renaming): Check that limited withed packages cannot
2062 be renamed. Improve text on error messages related to limited
2065 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
2067 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
2068 Update copyright notice.
2070 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
2071 (Install_Limited_Context_Clauses): New subprogram that isolates all the
2072 checks required for limited context_clauses and installs the limited
2074 (Install_Limited_Withed_Unit): Complete its documentation.
2075 (Analyze_Context): Check that limited with_clauses are only allowed in
2077 (Install_Context): Call Install_Limited_Context_Clauses after the
2078 parents have been installed.
2079 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
2080 package as 'From_With_Type'; this mark indicates that the limited view
2081 is installed. Used to check bad usages of limited with_clauses.
2082 (Build_Limited_Views): Do not add shadow entities to the scope's list
2083 of entities. Do not add real entities to the Non_Limited_Views chain.
2084 Improve error notification.
2085 (Remove_Context_Clauses): Remove context clauses in two phases:
2086 limited views first and regular views later (to maintain the
2088 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
2089 its visible entities.
2091 2003-10-29 Thomas Quinot <quinot@act-europe.fr>
2093 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
2094 with any type that Is_Fixed_Point_Type.
2096 * sinfo.ads: Fix documentation for Associated_Node attribute.
2098 2003-10-29 Sergey Rybin <rybin@act-europe.fr>
2100 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
2101 both '-gnatc' and '-gnatt' are specified.
2103 * atree.adb (Initialize): Add initialization for Node_Count (set to
2106 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2108 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
2109 do not consider as Pure.
2111 Part of implementation of function-at-a-time:
2113 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
2114 (tree_transform): Add new argument to build_component_ref.
2115 (tree_transform, case N_Assignment_Statement): Make and return an
2117 (tree_transform): If result IS_STMT, set flags and return it.
2118 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2120 * utils2.c (build_simple_component_ref, build_component_ref): Add new
2122 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
2123 (build_allocator): Likewise.
2125 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
2126 Add new arg to build_component_ref.
2127 (maybe_unconstrained_array, unchecked_convert): Likewise.
2129 * ada-tree.def (EXPR_STMT): New code.
2131 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
2133 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
2134 build_component_ref calls.
2136 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
2138 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2139 (build_component_ref): Add new argument, NO_FOLD_P.
2141 2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
2143 * Makefile.generic: Add missing substitution on object_deps handling.
2146 * Make-lang.in (check-ada): Enable ACATS test suite.
2148 2003-10-27 Robert Dewar <dewar@gnat.com>
2151 (Freeze_Array_Type): We do not need an initialization routine for types
2152 derived from String or Wide_String. They should be treated the same
2153 as String and Wide_String themselves. This caused problems with the
2154 use of Initialize_Scalars.
2157 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
2158 composites. This allows use of component clauses that are not byte
2162 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
2163 is an attempt to pack an array of atomic objects.
2165 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
2167 2003-10-27 Pascal Obry <obry@gnat.com>
2170 (Basename): Check for drive letters in a pathname only on DOS based OS.
2172 2003-10-27 Vincent Celier <celier@gnat.com>
2175 (Gnatmake): When unable to change dir to the object dir, display the
2176 content of the parent dir of the obj dir, to try to understand why this
2179 2003-10-27 GNAT Script <nobody@gnat.com>
2181 * Make-lang.in: Makefile automatically updated
2183 2003-10-27 Ed Schonberg <schonberg@gnat.com>
2186 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
2187 should not be done in Save/Restore_Scope_Stack, because it is performed
2191 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2192 whether use clauses should be removed/restored.
2195 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2196 whether use clauses should be removed/restored.
2198 2003-10-26 Andreas Jaeger <aj@suse.de>
2200 * Makefile.in: Remove duplicated lines.
2202 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2204 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
2205 minimize the differences with ACT tree.
2207 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
2208 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
2209 Gnatvsn.Gnat_Static_Version_String to reduce differences between
2212 2003-10-24 Pascal Obry <obry@gnat.com>
2214 * adadecode.c (ostrcpy): New function.
2215 (__gnat_decode): Use ostrcpy of strcpy.
2216 (has_prefix): Set first parameter a const.
2217 (has_suffix): Set first parameter a const.
2218 Update copyright notice. Fix source name in header.
2219 Removes a trailing space.
2222 2003-10-24 Jose Ruiz <ruiz@act-europe.fr>
2225 Remove the test against being in No_Run_Time_Mode before generating a
2226 call to Register_Tag. It is redundant with the test against the
2227 availability of the function Register_Tag.
2229 2003-10-24 Vincent Celier <celier@gnat.com>
2231 * g-catiio.adb: (Month_Name): Correct spelling of February
2233 * make.adb: (Mains): New package
2234 (Initialize): Call Mains.Delete
2235 (Gnatmake): Check that each main on the command line is a source of a
2236 project file and, if there are several mains, each of them is a source
2237 of the same project file.
2238 (Gnatmake): When a foreign language is specified in attribute Languages,
2239 no main is specified on the command line and attribute Mains is not
2240 empty, only build the Ada main. If there is no Ada main, just compile
2241 the Ada sources and their closure.
2242 (Gnatmake): If a main is specified on the command line with directory
2243 information, check that the source exists and, if it does, that the path
2244 is the actual path of a source of a project.
2247 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
2248 Full_Path is True, return the full path instead of the simple file name.
2249 (Project_Of): New function
2252 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
2254 (Project_Of): New function
2256 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2259 Ensure objects of main project are always checked and rebuilt if needed.
2260 Set CC to gcc by default.
2261 Prepare new handling of link by creating a global archive (not activated
2264 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2265 stringt.h: Update copyright notice. Remove trailing blanks.
2266 Fix source name in header.
2268 2003-10-24 Robert Dewar <dewar@gnat.com>
2270 * sem_ch12.adb: Minor reformatting
2273 Minor reformatting (including new function return style throughout)
2276 Minor reformatting (including new function return style throughout)
2278 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2280 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2281 stringt.h: Update copyright notice. Remove trailing blanks.
2282 Fix source name in header.
2284 2003-10-24 GNAT Script <nobody@gnat.com>
2286 * Make-lang.in: Makefile automatically updated
2288 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
2290 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
2291 stringt.h: Convert to ISO C90 declarations and definitions.
2293 2003-10-23 Thomas Quinot <quinot@act-europe.fr>
2296 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
2297 External_Tag attribute definition clauses.
2299 2003-10-23 Ed Schonberg <schonberg@gnat.com>
2302 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
2303 child unit, generate a fully qualified name to avoid spurious errors
2304 when the context contains renamings of different child units with
2305 the same simple name.
2307 * exp_dbug.ads: Add documentation on name qualification for renamings
2310 2003-10-23 Robert Dewar <dewar@gnat.com>
2312 * g-regpat.ads, g-regpat.adb: Minor reformatting
2314 2003-10-23 Jose Ruiz <ruiz@act-europe.fr>
2316 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
2318 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2320 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
2323 * urealp.h: (Machine): Update to proper definition.
2325 2003-10-23 Arnaud Charlet <charlet@act-europe.fr>
2327 * init.c, adaint.c: Minor reformatting.
2329 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
2331 * adaint.c (w32_epoch_offset): Define static const at file level.
2332 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
2333 rather than t_create, t_access in call to GetFileTime. Use union
2334 to convert between FILETIME and unsigned long long.
2335 (__gnat_file_time_name): Test for invalid file handle.
2336 (__gnat_set_filetime_name): Support win32 targets using
2339 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
2341 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
2343 * ctrl_c.c (__gnat_int_handler): Remove declaration.
2345 * decl.c (creat_concat_name): Const-ify prefix.
2347 * adaint.c: Include ctype.h if __MINGW32__.
2348 (__gnat_readlink): Mark arguments as possibly unused.
2349 (__gnat_symlink): Likewise.
2350 (__gnat_is_symbolic_link): Likewise.
2351 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
2353 (__gnat_file_time_name): Don't declare struct stat statbuf when
2355 (__gnat_is_absolute_path): Add parenthesis around condition of
2356 'if' statement to avoid warning.
2357 (__gnat_plist_init): Specify void as parameter.
2358 (plist_enter): Likewise.
2359 (plist_leave): Likewise.
2360 (remove_handle): Make static. Initialize prev.
2362 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2364 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
2365 * cstreams.c (__gnat_full_name): Minor improvements and clean up
2368 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2370 * tracebak.c (MAX): Avoid redefinition warning.
2372 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
2373 Change msg to const char *.
2374 (__gnat_install_handler): Remove ss, unused.
2375 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
2377 * cstreams.c (__gnat_full_name): Declare p only when used.
2378 (__gnat_full_name) [sgi] Return buffer.
2380 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2382 * mingw32.h: New file.
2383 * gnat_wrapper.adb: New file.
2385 2003-10-22 Jerome Roussel <roussel@act-europe.fr>
2387 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
2388 string match a pre compiled regular expression (the corresponding
2389 version of the function working on a raw regular expression)
2390 Fix typos in various comments
2391 Update copyright notice in spec
2393 2003-10-21 Gary Dismukes <dismukes@gnat.com>
2396 (Component_Needs_Simple_Initialization): Return False when the type is a
2397 packed bit array. Revise spec comments to document this case.
2400 (Expand_Pragma_Import): Set any expression on the imported object to
2401 empty to avoid initializing imported objects (in particular this
2402 covers the case of zero-initialization of bit arrays).
2403 Update copyright notice.
2405 2003-10-21 Ed Schonberg <schonberg@gnat.com>
2408 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
2409 a subunit is missing.
2410 (Instantiate_Subprogram_Body): If body of function is missing, set type
2411 of return expression explicitly in dummy body, to prevent cascaded
2412 errors when a subunit is missing.
2416 (Access_Subprogram_Declaration): Verify that return type is valid.
2420 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
2425 (Corresponding_Discriminant): If the scope of the discriminant is a
2426 private type without discriminant, use its full view.
2429 2003-10-21 Arnaud Charlet <charlet@act-europe.fr>
2431 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
2432 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
2433 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
2434 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
2435 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
2436 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
2437 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2438 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
2439 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
2440 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
2441 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
2442 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
2443 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
2444 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
2445 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
2446 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
2447 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
2448 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
2449 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
2450 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
2451 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
2452 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
2453 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
2454 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
2455 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
2456 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
2457 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
2458 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
2459 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
2460 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
2461 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
2462 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
2463 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
2464 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
2465 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
2466 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
2467 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
2468 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
2469 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
2470 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
2471 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
2472 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
2473 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
2474 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
2475 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
2476 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
2477 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
2478 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2479 vms_conv.ads, vms_conv.adb, vms_data.ads,
2480 vxaddr2line.adb: Files added. Merge with ACT tree.
2482 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2483 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2484 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2485 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2486 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2487 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2488 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2489 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2490 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2491 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2493 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2494 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2495 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2496 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2497 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2498 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2499 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2500 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2501 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2502 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2503 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2504 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2505 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2506 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2507 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2508 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2509 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2510 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2511 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2512 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2513 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2514 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2515 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2516 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2517 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2518 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2519 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2520 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2521 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2522 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2523 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2524 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2525 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2526 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2527 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2528 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2529 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2530 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2531 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2532 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2533 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2534 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2535 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2536 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2537 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2538 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2539 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2540 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2541 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2542 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2543 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2544 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2545 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2546 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2547 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2548 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2549 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2550 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2551 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2552 checks.adb, checks.ads, cio.c, comperr.adb,
2553 comperr.ads, csets.adb, cstand.adb, cstreams.c,
2554 debug_a.adb, debug_a.ads, debug.adb, decl.c,
2555 einfo.adb, einfo.ads, errout.adb, errout.ads,
2556 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2557 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2558 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2559 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2560 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2561 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2562 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2563 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2564 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2565 fe.h, fmap.adb, fmap.ads, fname.adb,
2566 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2567 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2568 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2569 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2570 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2571 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2572 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2573 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2574 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2575 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2576 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2577 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2578 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2579 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2580 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2581 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2582 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2583 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2584 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2585 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2586 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2587 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2588 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2589 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2590 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2591 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2592 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2593 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2594 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2595 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2596 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2597 layout.adb, lib.adb, lib.ads, lib-list.adb,
2598 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2599 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2600 link.c, live.adb, make.adb, make.ads,
2601 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2602 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2603 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2604 misc.c, mkdir.c, mlib.adb, mlib.ads,
2605 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2606 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
2607 namet.adb, namet.ads, namet.h, nlists.ads,
2608 nlists.h, nmake.adt, opt.adb, opt.ads,
2609 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
2610 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
2611 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2612 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
2613 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
2614 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
2615 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
2616 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
2617 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
2618 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
2619 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
2620 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
2621 prj-util.adb, prj-util.ads, raise.c, raise.h,
2622 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
2623 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
2624 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
2625 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
2626 scans.ads, scn.adb, scn.ads, s-crc32.adb,
2627 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
2628 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
2629 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
2630 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
2631 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
2632 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2633 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2634 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
2635 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
2636 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
2637 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
2638 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
2639 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
2640 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
2641 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2642 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
2643 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
2644 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
2645 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
2646 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
2647 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
2648 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
2649 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
2650 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
2651 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
2652 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
2653 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
2654 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
2655 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
2656 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
2657 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
2658 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
2659 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
2660 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
2661 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
2662 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
2663 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
2664 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
2665 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
2666 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
2667 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
2668 stringt.adb, stringt.ads, stringt.h, style.ads,
2669 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
2670 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
2671 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
2672 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
2673 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
2674 table.adb, table.ads, targparm.adb, targparm.ads,
2675 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
2676 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
2677 ttypes.ads, types.ads, types.h, uintp.adb,
2678 uintp.ads, uintp.h, uname.adb, urealp.adb,
2679 urealp.ads, urealp.h, usage.adb, utils2.c,
2680 utils.c, validsw.adb, validsw.ads, widechar.adb,
2681 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
2682 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
2683 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
2684 gnatvsn.ads: Merge with ACT tree.
2686 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
2688 2003-10-20 Mark Mitchell <mark@codesourcery.com>
2690 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
2691 (gnat_ug_vmx.info): Likewise.
2692 (gnat_ug_vxw.info): Likewise.
2693 (gnat_ug_wnt.info): Likewise.
2694 (gnat_rm.info): Likewise.
2695 (gnat-style.info): Likewise.
2697 * Make-lang.in (ada.install-info): Remove target.
2699 (install-info): Likewise.
2700 (gnat_ug_unx.info): Simplify rule.
2701 (gnat_ug_vmx.info): Likewise.
2702 (gnat_ug_vxw.info): Likewise.
2703 (gnat_ug_wnt.info): Likewise.
2704 (gnat_rm.info): Likewise.
2705 (gnat-style.info): Likewise.
2707 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
2709 * Make-lang.in: Replace uses of $(target_alias) with
2710 $(target_noncanonical).
2711 * ada/Makefile.in: Remove unused mention of $(target_alias).
2713 2003-10-06 Mark Mitchell <mark@codesourcery.com>
2715 * Make-lang.in (ada.info): Replace with ...
2717 (ada.dvi): Replace with ...
2720 2003-09-29 Zack Weinberg <zack@codesourcery.com>
2722 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
2723 initialize dconstp5 and dconstmp5.
2725 2003-09-28 Richard Henderson <rth@redhat.com>
2727 * trans.c (tree_transform): Update call to expand_asm_operands.
2729 2003-09-21 Richard Henderson <rth@redhat.com>
2731 * trans.c, utils.c: Revert.
2733 2003-09-21 Richard Henderson <rth@redhat.com>
2735 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
2738 2003-09-04 Michael Matz <matz@suse.de>
2740 * misc.c: Include "target.h".
2741 * Make-lang.in (misc.o): Add dependency on target.h.
2743 2003-09-03 DJ Delorie <dj@redhat.com>
2745 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
2748 2003-08-30 Zack Weinberg <zack@codesourcery.com>
2750 * Makefile.in: Update substitutions to match changes to
2751 configure. Use include directives instead of @-insertions
2752 to read in host and target fragments. Add a rule to
2753 regenerate ada/Makefile.
2755 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
2757 * lang-options.h: Remove.
2758 * lang.opt: Add help text.
2760 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
2762 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
2765 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
2767 * misc.c (gnat_handle_option): Don't handle filenames.
2769 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2771 * Make-lang.in: Replace PWD with PWD_COMMAND.
2772 * Makefile.adalib: Likewise.
2773 * Makefile.in: Likewise.
2775 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
2777 * misc.c (gnat_argv): Revert last change.
2778 (gnat_handle_option, gnat_init_options): Copy arguments.
2780 2003-07-03 Neil Booth <neil@daikokuya.co.uk>
2782 * misc.c (gnat_argv): Make const.
2784 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2786 * misc.c (save_argc, save_argv): Keep non-static!
2788 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2790 * misc.c (save_argc, save_argv): Make static.
2791 (gnat_init_options): New prototype.
2792 (gnat_init_options): Update.
2794 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
2796 * gnat_ug.texi: Remove unlikely characters from @vars.
2797 * gnat_ug_vms.texi: Regenerate.
2799 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2801 * misc.c (record_code_position): Adjust emit_note call.
2803 2003-06-26 Neil Booth <neil@daikokuya.co.uk>
2805 * misc.c (gnat_handle_option): Don't check for missing arguments.
2807 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
2809 * utils.c (end_subprog_body): Adjust expand_function_end call.
2811 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
2813 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
2816 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
2818 * lang.opt: Declare Ada.
2819 * misc.c (gnat_init_options): Update.
2821 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
2823 * utils.c (begin_subprog_body): Adjust init_function_start call.
2825 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
2827 * Make-lang.in: Update to use options.c and options.h.
2828 * misc.c: Include options.h not aoptions.h.
2829 (gnat_handle_option): Abort on unrecognized switch.
2830 (gnat_init_options): Request Ada switches.
2832 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
2834 * lang.opt: Add -Wall.
2835 * misc.c (gnat_handle_option): Handle it.
2837 2003-06-12 Neil Booth <neil@daikokuya.co.uk>
2839 * misc.c (gnat_handle_option): Fix warnings.
2841 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
2843 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
2845 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
2847 * Make-lang.in: Update to handle command-line options.
2848 * lang.opt: New file.
2849 * misc.c: Include aoptions.h.
2850 (cl_options_count, cl_options): Remove.
2851 (gnat_handle_option): New.
2852 (gnat_decode_option): Remove.
2853 (LANG_HOOKS_DECODE_OPTION): Remove.
2854 (LANG_HOOKS_HANDLE_OPTION): Override.
2856 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
2858 * init.c, misc.c, trans.c, utils.c: Remove dead code.
2860 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
2862 * Makefile.in: Replace "host_canonical" with "host" for autoconf
2865 2003-06-08 Neil Booth <neil@daikokuya.co.uk>
2867 * Make-lang.in: Update.
2868 * misc.c: Include opts.h. Define cl_options_count and cl_options.
2870 2003-06-07 Neil Booth <neil@daikokuya.co.uk>
2872 * misc.c (gnat_init_options): Update.
2874 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2876 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
2877 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
2878 __attribute__ ((__unused__)).
2880 2003-06-05 Jan Hubicka <jh@suse.cz>
2882 * Make-lang.in: Add support for stageprofile and stagefeedback
2884 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2886 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
2887 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
2889 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
2891 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
2892 Remove non-VMS directive.
2893 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
2895 (Examples of gnatls Usage): Remove VMS alternative.
2897 2003-06-04 Olivier Hainque <hainque@act-europe.fr>
2900 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
2901 and turn ZCX_By_Default back to False since the underlying support
2902 is not quite there yet.
2904 2003-06-01 Andreas Jaeger <aj@suse.de>
2906 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
2907 and ROUND_TYPE_SIZE_UNIT.
2909 2003-05-22 Geert Bosch <bosch@gnat.com>
2911 * gnat_rm.texi : Remove reference to Ada Core Technologies.
2913 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
2915 * trans.c (tree_transform): Use location_t and input_location
2917 (build_unit_elab): Likewise.
2918 * utils.c (create_label_decl): Likewise.
2920 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
2922 * trans.c (tree_transform, build_unit_elab,
2923 set_lineno): Rename lineno to input_line.
2924 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
2925 end_subprog_body): Likewise.
2926 * utils2.c (build_call_raise): Likewise.
2928 2003-05-01 Laurent Guerby <guerby@acm.org>
2931 * 5iosinte.ads: Increase pthread_cond_t size to match recent
2932 LinuxThread and NPTL version, merge from ACT.
2934 2003-04-28 Zack Weinberg <zack@codesourcery.com>
2936 * utils.c (convert): No need to clear TREE_CST_RTL.
2938 2003-04-23 Geert Bosch <bosch@gnat.com>
2940 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
2941 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2942 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2943 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2944 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2945 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
2946 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
2947 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
2948 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2949 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
2950 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
2951 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
2952 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
2953 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
2954 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
2955 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
2956 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
2957 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
2958 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
2959 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
2960 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
2961 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
2962 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2963 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
2964 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
2965 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
2966 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
2967 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
2968 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
2969 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
2970 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
2971 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
2972 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
2973 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
2974 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
2975 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
2976 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
2977 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
2978 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
2979 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
2980 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
2981 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
2982 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
2983 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
2984 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
2985 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
2986 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
2987 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
2988 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
2989 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
2990 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
2991 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
2992 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
2993 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
2994 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
2995 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
2996 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
2997 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
2998 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
2999 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
3000 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
3001 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
3002 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
3003 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
3004 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
3005 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
3006 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
3007 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
3008 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
3009 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
3010 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
3011 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
3012 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
3013 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
3014 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
3015 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
3016 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
3017 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
3018 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
3019 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
3020 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
3021 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
3022 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
3023 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
3024 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
3025 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
3026 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
3027 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
3028 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
3029 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
3030 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
3031 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
3032 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
3033 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
3034 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
3035 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
3036 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
3037 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
3038 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
3039 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
3040 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
3041 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
3042 ali.adb, ali.ads, alloc.ads, argv.c,
3043 atree.adb, atree.ads, atree.h, aux-io.c,
3044 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
3045 binde.adb, binde.ads, binderr.adb, binderr.ads,
3046 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
3047 butil.adb, butil.ads, cal.c, calendar.ads,
3048 casing.adb, casing.ads, ceinfo.adb, checks.adb,
3049 checks.ads, cio.c, comperr.adb, comperr.ads,
3050 config-lang.in, csets.adb, csets.ads, csinfo.adb,
3051 cstand.adb, cstand.ads, cuintp.c, debug.adb,
3052 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
3053 dec-io.ads, dec.ads, deftarg.c, directio.ads,
3054 einfo.adb, einfo.ads, elists.adb, elists.ads,
3055 elists.h, errno.c, errout.adb, errout.ads,
3056 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
3057 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
3058 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
3059 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
3060 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
3061 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
3062 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
3063 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
3064 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
3065 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
3066 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
3067 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
3068 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
3069 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
3070 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
3071 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
3072 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
3073 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
3074 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
3075 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
3076 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
3077 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
3078 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
3079 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
3080 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
3081 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
3082 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
3083 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
3084 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
3085 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
3086 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
3087 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
3088 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
3089 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
3090 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
3091 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
3092 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
3093 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
3094 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
3095 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
3096 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
3097 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
3098 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
3099 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
3100 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
3101 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
3102 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
3103 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
3104 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
3105 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
3106 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
3107 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
3108 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
3109 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
3110 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
3111 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
3112 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
3113 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
3114 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
3115 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
3116 lib.adb, lib.ads, live.adb, live.ads,
3117 machcode.ads, make.adb, make.ads, makeusg.adb,
3118 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
3119 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
3120 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
3121 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
3122 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
3123 mlib.ads, namet.adb, namet.ads, nlists.adb,
3124 nlists.ads, opt.adb, opt.ads, osint-b.adb,
3125 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
3126 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
3127 osint.ads, output.adb, output.ads, par-ch10.adb,
3128 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
3129 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
3130 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
3131 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
3132 par-tchk.adb, par-util.adb, par.adb, par.ads,
3133 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
3134 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
3135 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
3136 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
3137 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
3138 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
3139 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
3140 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
3141 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
3142 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
3143 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
3144 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
3145 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
3146 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
3147 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
3148 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
3149 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
3150 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
3151 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
3152 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
3153 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
3154 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
3155 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
3156 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
3157 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
3158 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
3159 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
3160 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
3161 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
3162 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
3163 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
3164 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
3165 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
3166 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
3167 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
3168 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
3169 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
3170 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
3171 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
3172 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
3173 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
3174 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
3175 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
3176 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
3177 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
3178 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
3179 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
3180 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
3181 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
3182 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
3183 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
3184 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
3185 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
3186 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
3187 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
3188 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
3189 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
3190 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
3191 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
3192 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
3193 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
3194 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
3195 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
3196 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
3197 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
3198 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
3199 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
3200 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
3201 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
3202 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
3203 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
3204 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
3205 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
3206 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
3207 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
3208 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
3209 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
3210 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
3211 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
3212 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
3213 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
3214 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
3215 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
3216 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3217 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
3218 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
3219 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
3220 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
3221 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
3222 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
3223 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
3224 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
3225 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
3226 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
3227 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
3228 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
3229 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
3230 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
3231 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
3232 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
3233 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
3234 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
3235 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
3236 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
3237 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
3238 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
3239 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
3240 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
3241 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
3242 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
3243 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
3244 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
3245 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
3246 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
3247 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
3248 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
3249 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
3250 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
3251 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
3252 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
3253 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
3254 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
3255 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
3256 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
3257 snames.ads, sprint.adb, sprint.ads, stand.adb,
3258 stand.ads, stringt.adb, stringt.ads, style.adb,
3259 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
3260 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
3261 switch-m.ads, switch.adb, switch.ads, system.ads,
3262 table.adb, table.ads, targparm.adb, targparm.ads,
3263 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
3264 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
3265 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
3266 ttypef.ads, ttypes.ads, types.adb, types.ads,
3267 uintp.adb, uintp.ads, uname.adb, uname.ads,
3268 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
3269 usage.adb, usage.ads, validsw.adb, validsw.ads,
3270 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
3271 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
3272 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
3273 formatting and other trivial changes from ACT.
3275 2003-04-12 Zack Weinberg <zack@codesourcery.com>
3277 * gigi.h, utils2.c (build_constructor):
3278 Rename gnat_build_constructor. Use build_constructor.
3279 * decl.c (gnat_to_gnu_entity)
3280 * trans.c (tree_transform, pos_to_constructor, extract_values)
3281 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
3283 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
3284 (fill_vms_descriptor):
3287 2003-04-06 Zack Weinberg <zack@codesourcery.com>
3289 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
3290 * misc.c (gnat_tree_size): New function.
3291 (LANG_HOOKS_TREE_SIZE): Override.
3293 2003-04-03 Jason Merrill <jason@redhat.com>
3295 * misc.c (gnat_adjust_rli): #if 0.
3297 2003-03-31 Geert Bosch <bosch@gnat.com>
3300 * link.c : Fix misspelled "const" keyword
3302 2003-03-23 Mark Mitchell <mark@codesourcery.com>
3305 * utils2.c: Adjust calls to put_var_into_stack.
3307 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
3309 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
3311 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
3313 * misc.c (gnat_init): Update for new prototype.
3315 2003-03-05 Olivier Hainque <hainque@gnat.com>
3318 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
3319 warning, and fix return type for the IN_RTS && !SJLJ case.
3321 2003-03-04 Tom Tromey <tromey@redhat.com>
3323 * Make-lang.in (ada.tags): New target.
3325 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
3328 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
3329 wrapper, which name remains constant whatever underlying GCC
3332 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
3333 the stable interface needed for a-except.
3335 2003-03-02 Andreas Jaeger <aj@suse.de>
3337 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3338 gnat_ug_wnt.texi: Regenerate.
3340 2003-03-02 Laurent Guerby <guerby@acm.org>
3342 * Makefile.in (install-gnatlib): Match previous change there
3345 2003-02-28 Andreas Schwab <schwab@suse.de>
3347 * Make-lang.in (install-gnatlib): Change to ada directory before
3348 running make instead of using ada/Makefile directly.
3350 2003-02-18 Ben Elliston <bje@redhat.com>
3352 Part of fix for PR ada/9406
3353 * gnat_ug.texi (Binder output file): Grammar fix.
3355 2003-02-18 Ben Elliston <bje@redhat.com>
3358 * 5qtaprop.adb (Sleep): Fix typo in comment.
3360 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3362 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
3363 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3364 gnat_ug_wnt.texi: Regenerate.
3366 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3368 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
3369 be created if necessary.
3370 (ada.install-common): Let $(DESTDIR)$(bindir) be created
3371 if necessary. Remove erroneous and redundant gnatchop
3372 installation commands. Test for gnatdll before attempting
3374 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
3375 and gnatdll from all plausible locations.
3377 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
3379 * utils2.c (build_unary_op): Don't check flag_volatile.
3380 * gnat_ug.texi: Remove -fvolatile from example.
3381 * gnat_ug_vxw.texi: Likewise.
3383 2003-01-29 Laurent Guerby <guerby@acm.org>
3386 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
3387 * Makefile.in: match previous change.
3388 * Make-lang.in: match previous change.
3390 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3392 * 5rosinte.ads: Add SIGXCPU.
3393 * 5rtpopsp.adb: New file.
3394 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
3395 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
3396 specific file 5rtpopsp.adb.
3397 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
3398 is likely needed for all newlib targets.
3399 * init.c: Add RTEMS specific version of __gnat_initialize().
3401 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3403 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
3405 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3407 * init.c (__gnat_error_handler): Make msg const.
3409 * gmem.c (convert_addresses): Move declaration ...
3410 * adaint.h: ... here.
3411 * adaint.c (convert_addresses): Adapt addrs type to match
3414 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
3416 2003-01-24 Andreas Schwab <schwab@suse.de>
3418 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
3419 size_t to avoid warning.
3421 2003-01-21 Zack Weinberg <zack@codesourcery.com>
3423 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
3425 2003-01-09 Geoffrey Keating <geoffk@apple.com>
3427 * gnat_rm.texi: Remove RCS version number.
3429 * ada-tree.h (union lang_tree_node): Add chain_next option.
3431 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3433 * Make-lang.in (ada.install-info, ada.install-common,
3434 ada.uninstall): Prepend $(DESTDIR) to the destination
3435 directory in all (un)installation commands.
3436 * Makefile.in (install-gnatlib, install-rts): Ditto.
3438 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
3440 * gnat_rm.texi, gnat_ug.texi: Use @copying.
3441 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3442 gnat_ug_wnt.texi: Regenerate.
3444 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
3446 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
3448 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
3449 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
3450 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
3451 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
3452 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
3453 $(srcdir)/doc/include/gcc-common.texi.
3455 2002-12-15 Geert Bosch <bosch@gnat.com>
3457 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
3459 2002-12-14 Geert Bosch <bosch@gnat.com>
3461 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
3462 case of a body created for a Renaming_As_Body, on which
3463 conformance checks are not performed. Fixes PR ada/5690.
3465 2002-11-30 Zack Weinberg <zack@codesourcery.com>
3467 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
3468 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
3469 not already included.
3470 * Make-lang.in: Update dependencies.
3472 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
3473 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
3474 solution to buffer overflow bug on GNU/Linux.
3476 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
3477 Closes PR ada/5856 and PR ada/6919 !
3478 * bindgen.adb: Remove all references to Public_Version.
3479 * comperr.adb: Remove all references to Public_Version and
3480 GNATPRO_Version; correct bug reporting instructions.
3481 * comperr.ads: Change to match bug box.
3482 * gnatvsn.ads: Remove all references to Public version and
3485 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
3487 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
3491 * config-lang.in: Remove diff_excludes.
3493 2002-11-05 Graham Stott <graham.stott@btinternet.com>
3495 * trans.c (gnu_pending_elaboration_lists): New GC root.
3496 (build_unit_elab): Use..
3498 2002-10-30 Geert Bosch <bosch@gnat.com>
3500 * misc.c : Include optabs.h
3502 * Make-lang.in (misc.o): Add dependency on optabs.h
3504 2002-10-29 Geert Bosch <bosch@gnat.com>
3506 * Make-lang.in (gnatbind): Depend on CONFIG_H
3508 2002-10-29 Geert bosch <bosch@gnat.com>
3510 * misc.c: Unrevert misc.c (1.13)
3512 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
3514 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
3515 maintainership comments.
3517 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
3519 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
3520 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
3521 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
3522 7staprop.adb: Correct statements in comments about
3523 maintainership of GNAT.
3526 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
3527 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
3528 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
3529 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
3530 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
3531 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
3532 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
3533 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
3534 comments about maintainership of GNAT.
3536 PR ada/6919 (forward port of patch for PR ada/5904)
3537 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
3538 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
3539 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
3540 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
3541 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
3542 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
3543 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
3544 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
3545 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
3546 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
3547 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
3548 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
3549 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
3550 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
3551 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
3552 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
3553 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
3554 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
3555 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
3556 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
3557 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
3558 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
3559 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
3560 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
3561 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
3562 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
3563 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
3564 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
3565 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
3566 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
3567 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
3568 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
3569 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
3570 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
3571 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
3572 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
3573 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
3574 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
3575 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
3576 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
3577 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
3578 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
3579 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
3580 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
3581 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
3582 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
3583 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
3584 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
3585 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
3586 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
3587 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
3588 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
3589 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
3590 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
3591 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
3592 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
3593 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
3594 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
3595 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
3596 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
3597 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
3598 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
3599 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
3600 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
3601 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
3602 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
3603 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
3604 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
3605 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
3606 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
3607 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
3608 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
3609 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
3610 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
3611 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
3612 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
3613 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
3614 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
3615 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
3616 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
3617 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
3618 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
3619 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
3620 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
3621 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
3622 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
3623 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
3624 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
3625 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
3626 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
3627 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
3628 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
3629 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
3630 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
3631 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
3632 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
3633 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
3634 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
3635 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
3636 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
3637 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
3638 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
3639 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
3640 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
3641 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
3642 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
3643 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
3644 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
3645 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
3646 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
3647 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
3648 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
3649 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
3650 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
3651 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
3652 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
3653 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
3654 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
3655 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
3656 par-endh.adb par-labl.adb par-load.adb par-prag.adb
3657 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
3658 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
3659 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
3660 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
3661 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
3662 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
3663 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
3664 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
3665 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
3666 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
3667 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
3668 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
3669 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
3670 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
3671 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
3672 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
3673 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
3674 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
3675 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
3676 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
3677 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
3678 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
3679 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
3680 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
3681 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
3682 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
3683 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
3684 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
3685 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
3686 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
3687 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
3688 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
3689 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
3690 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
3691 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
3692 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
3693 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
3694 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
3695 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
3696 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
3697 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
3698 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
3699 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
3700 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
3701 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
3702 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
3703 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
3704 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
3705 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
3706 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
3707 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
3708 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
3709 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
3710 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
3711 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
3712 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
3713 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
3714 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
3715 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
3716 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
3717 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
3718 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
3719 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
3720 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
3721 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
3722 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
3723 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
3724 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
3725 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
3726 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
3727 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
3728 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
3729 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
3730 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
3731 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
3732 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
3733 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
3734 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
3735 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
3736 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
3737 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
3738 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
3739 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
3740 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
3741 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
3742 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
3743 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
3744 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
3745 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
3746 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
3747 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
3748 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
3749 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
3750 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
3751 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
3752 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
3753 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
3754 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
3755 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
3756 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
3757 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
3758 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
3759 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
3760 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
3761 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
3762 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
3763 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
3764 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
3765 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
3766 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
3767 stringt.ads stringt.h style.adb style.ads stylesw.adb
3768 stylesw.ads switch.adb switch.ads sysdep.c system.ads
3769 table.adb table.ads targparm.adb targparm.ads targtyps.c
3770 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
3771 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
3772 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
3773 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
3774 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
3775 usage.ads utils.c utils2.c validsw.adb validsw.ads
3776 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
3777 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
3778 xtreeprs.adb: Correct statements in comments about maintainership
3781 2002-09-23 Zack Weinberg <zack@codesourcery.com>
3783 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
3784 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
3785 * gnatvsn.ads: Gnat_Version_String is now a function.
3786 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
3787 copy the C version_string into a String and return it.
3788 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
3789 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
3790 Remove pragma Ident (Gnat_Version_String). If this was the
3791 sole use of package Gnatvsn, remove the with statement too.
3792 * gnat1drv.adb: Tweak -gnatv output.
3794 2002-09-17 Richard Henderson <rth@redhat.com>
3796 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
3797 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
3798 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
3799 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
3800 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
3801 and real_2expN instead of a loop.
3802 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
3803 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
3805 2002-08-25 Andre Leis <a.leis@gmx.net>
3806 David Billinghurst (David.Billinghurst@riotinto.com>
3808 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
3810 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3812 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
3813 Remove $(CONFIG_H) dependency.
3815 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
3817 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
3819 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3821 * adadecode.c (ada_demangle): Use xstrdup in lieu of
3823 * misc.c (gnat_decode_option): Likewise.
3825 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
3827 * make.adb (Add_Switch): Make Generic_Position a procedure. The
3828 function approach did not work well because of a side effect (the
3829 function call could reallocate the table which was being indexed
3830 using its result). Fixes ada/4851. [RESURRECTED]
3832 2002-07-01 Roger Sayle <roger@eyesopen.com>
3834 * ada/utils.c (builtin_function): Accept an additional parameter.
3836 2002-06-28 Andreas Jaeger <aj@suse.de>
3839 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
3842 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3844 * Makefile.in (SHELL): Set to @SHELL@.
3846 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3848 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
3849 array size calculation.
3851 2002-06-04 Andreas Jaeger <aj@suse.de>
3853 * Make-lang.in (gnatbind): Readd rule that has been lost in last
3856 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
3858 Merge from pch-branch:
3860 * config-lang.in (gtfiles): Add ada-tree.h.
3861 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
3862 (SET_TYPE_MODULUS): New.
3863 (SET_TYPE_INDEX): New.
3864 (SET_TYPE_DIGITS_VALUE): New.
3865 (SET_TYPE_RM_SIZE): New.
3866 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
3867 (SET_TYPE_ADA_SIZE): New.
3868 (SET_TYPE_ACTUAL_BOUNDS): New.
3869 (SET_DECL_CONST_CORRESPONDING_VAR): New.
3870 (SET_DECL_ORIGINAL_FIELD): New.
3871 (TREE_LOOP_ID): Correct typo.
3872 * decl.c: Use new macros.
3873 * utils.c: Include debug.h, use new macros.
3874 * utils2.c: Use new macros.
3876 * ada-tree.h: Update all macros for new tree description.
3877 (struct tree_loop_id): New.
3878 (union lang_tree_node): New.
3879 (struct lang_decl): New.
3880 (struct lang_type): New.
3881 * misc.c (gnat_mark_tree): Delete.
3882 (LANG_HOOKS_MARK_TREE): Delete.
3883 * trans.c (tree_transform): No longer any need to cast
3886 * utils.c (struct language_function): New dummy structure.
3888 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
3890 (utils.o): Likewise; also gtype-ada.h.
3891 * Make-lang.in (gnat1): Add dependency on s-gtype.
3892 (gnatbind): Add dependency on $(CONFIG_H).
3893 * utils.c: Correct last #include.
3894 (stuct e_stack): Remove unnecessary 'static'.
3895 (mark_e_stack): Remove unused prototype.
3897 * scn-nlit.adb: Remove whitespace after version number to
3898 keep lines under 80 chars.
3899 * snames.adb: Likewise.
3900 * treepr.ads: Likewise.
3902 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
3904 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
3905 * config-lang.in (gtfiles): New.
3906 * decl.c: Use gengtype for roots.
3907 * gigi.h: Use gengtype for roots.
3908 * trans.c: Use gengtype for roots.
3909 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
3911 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
3913 * misc.c (gnat_init): Adjust setting of internal_error_function.
3915 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
3917 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
3918 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3919 gnat_ug_wnt.texi: Regenerate.
3921 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
3923 * 5ntaprop.adb (with System.OS_Primitives): Remove.
3925 * cstreams.c (max_path_len): Move from here ...
3926 * adaint.c (__gnat_max_path_len): ... to here.
3927 * adaint.c (__gnat_max_path_len): Declare.
3928 * g-dirope.adb (Max_Path): Adjust.
3929 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
3930 * i-cstrea.ads (max_path_len): Adjust.
3931 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
3932 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
3934 * Makefile.in, Make-lang.in: Documentation is now built in
3935 Make-lang.in. Store Info and generated Texinfo files in the
3937 * gnat_ug.texi: Remove CVS keywords, correct version number.
3938 Set file name correctly.
3940 * gnat_ug_*.texi: Add.
3941 * .cvsignore: Ignore generated Texinfo files.
3943 2002-05-30 Zack Weinberg <zack@codesourcery.com>
3945 * ada.h: Add MI guard macro.
3946 (SUBTYPE): Define constants with an anonymous enum, not static
3948 (IN): Cast constants to appropriate type before use.
3950 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
3952 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
3955 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3957 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
3958 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
3959 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
3960 (ALL_ADA_CFLAGS): Likewise.
3961 (ADA_INCLUDES): Likewise.
3962 Adapt for new working dir.
3963 (GNATBIND): Use Makefile.in version.
3964 (.SUFFIXES): Copy from Makefile.in.
3966 (.adb.o, .ads.o): Copy from Makefile.in.
3967 Added $(OUTPUT_OPTION).
3968 (GNAT1_C_OBJS): Moved from Makefile.in.
3969 Prefix with ada subdir.
3970 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
3971 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
3972 Adapt for new working dir.
3973 (EXTRA_GNATBIND_OBJS): Likewise.
3974 (ADA_BACKEND): Moved from Makefile.in.
3975 Renamed to avoid conflict with global BACKEND.
3977 (TARGET_ADA_SRCS): Moved from Makefile.in.
3978 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
3980 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
3981 (ada_extra_files): Moved from Makefile.in.
3982 Prefix with ada subdir.
3983 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
3984 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
3985 (ada/nmake.ads): Likewise.
3986 (update-sources): Moved from Makefile.in.
3987 Prefix with ada subdir.
3988 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
3989 (ADA_TREE_H): Likewise.
3990 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
3991 (ada/memtrack.o): Likewise.
3992 (ada/adadecode.o): Likewise.
3993 Update dependencies.
3994 (ada/adaint.o): New.
3995 (ada/argv.o): Moved from Makefile.in.
3996 Prefix with ada subdir.
3997 Update dependencies.
3998 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
3999 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
4000 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
4001 Prefix with ada subdir.
4002 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
4003 (GNAT DEPENDENCIES): Regenerate.
4004 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
4005 toplevel Makefile.in.
4006 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
4007 (TARGET_ADA_SRCS): Removed.
4008 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
4009 (GNATBIND_OBJS): Likewise.
4010 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
4012 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
4014 (ada_extra_files): Likewise.
4015 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
4016 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
4017 (update-sources): Likewise.
4018 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
4019 (ADA_TREE_H): Likewise.
4020 (adadecoce.o): Likewise.
4021 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
4022 (GNAT DEPENDENCIES): Likewise.
4024 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4026 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
4027 * Makefile.in: Likewise.
4029 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4031 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
4032 Restore $(CONFIG_H) and prefix.o dependencies.
4033 (ada.stage[1-4]): Depend on stage?-start.
4035 * Makefile.in (b_gnatb.c): Depend on interfac.o.
4037 2002-05-02 Jim Wilson <wilson@redhat.com>
4039 * utils.c (finish_record_type): Change record_size to record_type.
4041 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4043 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
4044 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
4045 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
4047 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
4049 * misc.c (gnat_parse_file): Update.
4051 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
4053 * misc.c (gnat_init): Don't set lang_attribute_common.
4055 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
4057 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
4059 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
4061 * gnat_ug.texi: New file.
4063 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
4064 instead of gfdl.texi
4066 * xgnatug.adb, ug_words: New files.
4068 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
4069 gnat_rm and gnat-style manuals.
4071 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
4073 * gigi.h (incomplete_type_error): Remove.
4074 * utils.c (incomplete_type_error): Remove.
4076 2002-04-16 Mark Mitchell <mark@codesourcery.com>
4078 * trans.c (tree_transform): Add has_scope argument to
4079 expand_start_stmt_expr.
4081 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4083 * gigi.h (truthvalue_conversion): Rename.
4084 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4085 * trans.c (tree_transform): Update.
4086 * utils2.c (truthvalue_conversion): Rename, update.
4087 (build_binary_op, build_unary_op): Update.
4089 2002-04-04 Laurent Guerby <guerby@acm.org>
4091 * make.adb: Implement -margs, remove restriction about file name placement.
4092 * makeusg.adb: Documentation update.
4093 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
4094 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
4096 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4098 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
4099 (builtin_function): Similarly.
4101 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4103 * decl.c (gnat_to_gnu_entity): Update.
4104 * gigi.h (mark_addressable): Rename.
4105 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
4106 * trans.c (tree_transform): Update.
4107 * utils.c (create_var_decl): Update.
4108 * util2.c (build_binary_op, build_unary_op,
4109 fill_vms_descriptor): Update.
4110 (mark_addressable): Rename, update.
4112 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4114 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
4116 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
4117 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
4118 * trans.c (tree_transform, convert_with_check): Update.
4119 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
4122 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
4124 * gigi.h (finish_incomplete_decl): Rename.
4125 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
4126 * utils.c (gnat_init_decl_processing): Don't set hook.
4127 (finish_incomplete_decl): Rename.
4129 2002-03-29 Andreas Schwab <schwab@suse.de>
4131 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
4134 2001-03-28 Robert Dewar <dewar@gnat.com>
4137 (Remove_Checks): New procedure
4140 (Remove_Checks): New procedure
4143 Use new Duplicate_Subexpr functions
4144 (Duplicate_Subexpr_No_Checks): New procedure
4145 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4146 (Duplicate_Subexpr): Restore original form (checks duplicated)
4147 (Duplicate_Subexpr): Call Remove_Checks
4150 (Duplicate_Subexpr_No_Checks): New procedure
4151 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4152 Add 2002 to copyright notice
4154 * sem_util.adb: Use new Duplicate_Subexpr functions
4157 (Eval_Indexed_Component): This is the place to call
4158 Constant_Array_Ref and to replace the value. We simply merge
4159 the code of this function in here, since it is now no longer
4160 used elsewhere. This fixes the problem of the back end not
4161 realizing we were clever enough to see that this was
4163 (Expr_Val): Remove call to Constant_Array_Ref
4164 (Expr_Rep_Val): Remove call to Constant_Array_Ref
4166 (Constant_Array_Ref): Deal with string literals (patch
4167 suggested by Zack Weinberg on the gcc list)
4169 2001-03-28 Ed Schonberg <schonber@gnat.com>
4171 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
4172 Duplicate_Subexpr_Move_Checks.
4174 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
4175 Duplicate_Subexpr_Move_Checks.
4177 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
4178 value of array exists before retrieving it (it may a private
4179 protected component in a function).
4181 2002-03-28 Geert Bosch <bosch@gnat.com>
4183 * prj-pp.adb : New file.
4185 * prj-pp.ads : New file.
4187 2002-03-28 Andreas Jaeger <aj@suse.de>
4189 * Makefile.in (stamp-sdefault): Fix path for Makefile.
4191 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
4193 * misc.c (gnat_expand_expr): Move prototype.
4195 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4197 * misc.c (insert_default_attributes): Remove.
4199 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4201 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
4202 (gnat_init): Don't set hook.
4203 (gnat_expand_expr): Fix prototype.
4205 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4207 * misc.c (ggc_p): Remove.
4209 2002-03-27 Geert Bosch <bosch@gnat.com>
4211 * prj-makr.ads, prj-makr.adb : New files.
4213 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
4215 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
4216 (lang_mark_tree): Make static, rename.
4218 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
4220 * misc.c (maybe_build_cleanup): Remove.
4222 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
4224 * gigi.h (yyparse): Remove.
4226 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
4228 * gnat_rm.texi: Sync with ACT version.
4229 (From Ben Brosgol <brosgol@gnat.com>)
4231 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
4233 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
4234 (gnat_init): Remove old hook.
4236 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
4238 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
4239 (yyparse): Rename gnat_parse_file.
4241 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
4243 Delete all lines containing "$Revision:".
4244 * xeinfo.adb: Don't look for revision numbers.
4245 * xnmake.adb: Likewise.
4246 * xsinfo.adb: Likewise.
4247 * xsnames.adb: Likewise.
4248 * xtreeprs.adb: Likewise.
4250 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4252 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
4253 gnat_tree_code_name): Delete.
4254 (tree_code_type, tree_code_length, tree_code_name): Define.
4255 (gnat_init): Don't try to copy into the various tree_code
4258 2002-03-11 Richard Henderson <rth@redhat.com>
4260 * Makefile.in (.NOTPARALLEL): Add fake tag.
4262 2002-03-07 Geert Bosch <bosch@gnat.com>
4264 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
4265 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
4266 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
4267 switch-m.adb, switch-m.ads : New files.
4269 2002-03-07 Geert Bosch <bosch@gnat.com>
4271 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4272 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4273 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4274 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
4275 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
4276 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
4277 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
4278 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
4279 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
4280 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
4281 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
4282 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
4283 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
4284 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
4285 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
4286 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
4287 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
4288 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
4289 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
4290 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
4291 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
4292 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
4293 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
4294 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
4295 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
4296 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
4297 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
4298 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
4299 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
4300 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
4301 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
4302 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
4303 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
4304 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
4305 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4306 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
4307 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
4308 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
4309 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
4310 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
4311 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
4312 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
4313 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
4314 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
4315 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
4316 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
4317 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
4318 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
4319 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
4320 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
4321 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
4322 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
4323 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
4324 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
4325 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
4326 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
4327 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
4328 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
4329 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
4330 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
4331 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
4332 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
4333 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
4334 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
4335 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
4336 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
4337 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
4338 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
4339 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
4340 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
4341 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
4342 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
4343 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
4344 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
4345 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
4346 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
4347 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
4348 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
4349 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
4350 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
4351 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
4352 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
4353 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
4354 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
4355 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
4356 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
4357 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
4358 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
4359 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
4360 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
4361 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
4362 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
4363 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
4364 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
4365 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
4366 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
4367 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
4369 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
4370 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
4371 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
4372 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
4374 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
4375 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
4377 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
4378 to mdll-fil.ad[bs] and mdll-util.ad[bs]
4380 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
4381 from mdllfile.ad[bs] and mdlltool.ad[bs]
4383 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4385 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
4386 lieu of explicit sizeof/sizeof.
4388 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4390 * misc.c (copy_lang_decl): Remove.
4392 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4394 * misc.c: Delete traditional-mode-related code copied from the
4395 C front end but not used, or used only to permit the compiler
4398 2002-02-07 Richard Henderson <rth@redhat.com>
4400 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
4401 * adaint.h (__gnat_to_gm_time): Update prototype.
4403 2002-01-30 Richard Henderson <rth@redhat.com>
4405 * trans.c (tree_transform) [N_Loop_Statement]: Use
4406 expand_exit_loop_top_cond.
4408 2001-12-23 Richard Henderson <rth@redhat.com>
4410 * utils.c (end_subprog_body): Push GC context around
4411 rest_of_compilation for nested functions.
4413 2001-12-23 Richard Henderson <rth@redhat.com>
4415 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
4417 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
4419 * gnat-style.texi (Declarations and Types): Remove ancient style
4420 rule which was mandated by code generation issues.
4422 * gnat-style.texi (header): Add @dircategory, @direntry.
4423 (title page): Remove date.
4424 (general) Add @./@: where approriate, and two spaces after the
4425 full stop at the end of a sentence. Use @samp markup when
4426 referring concrete lexical entities (keywords, attribute names
4427 etc.), and @syntax for ARM grammar elements. Use @r for English
4428 text in comments. Use @emph for emphasis. Change "if-statements"
4429 etc. to "if statements" (without @samp). Break long lines. Make
4430 casing of section names consistent.
4431 (Identifiers): Use @samp markup for variable names.
4432 (Comments): Use @samp markup for comment characters. Line-end
4433 comments may follow any Ada code, not just statements. Fix
4434 misspelling of "Integer" as "integer".
4435 (Loop statements): Do not use variable name "I", use "J".
4436 (Subprogram Declarations): Document alignment.
4437 (Subprogram Bodies, Block statements): Document empty line before
4440 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
4442 * make.adb (Add_Switch): Make Generic_Position a procedure. The
4443 function approach did not work well because of a side effect (the
4444 function call could reallocate the table which was being indexed
4445 using its result). Fixes ada/4851.
4447 2001-12-19 Robert Dewar <dewar@gnat.com>
4449 * bindgen.adb: Minor reformatting
4451 * cstand.adb: Minor reformatting
4453 * fmap.adb: Minor reformatting
4454 Change name from Add for Add_To_File_Map (Add is much too generic)
4455 Change Path_Name_Of to Mapped_Path_Name
4456 Change File_Name_Of to Mapped_File_Name
4457 Fix copyright dates in header
4460 Change name from Add for Add_To_File_Map (Add is much too generic)
4461 Change Path_Name_Of to Mapped_Path_Name
4462 Change File_Name_Of to Mapped_File_Name
4463 Fix copyright dates in header
4465 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
4466 Add use clause for Fmap.
4468 * make.adb: Minor reformatting
4470 * osint.adb: Minor reformatting. Change of names in Fmap.
4471 Add use clause for Fmap.
4473 * prj-env.adb: Minor reformatting
4475 * prj-env.ads: Minor reformatting
4477 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
4478 error found (there were odd exceptions to this general rule in
4479 -gnatec/-gnatem processing)
4481 2001-12-19 Olivier Hainque <hainque@gnat.com>
4483 * raise.c (__gnat_eh_personality): Exception handling personality
4484 routine for Ada. Still in rough state, inspired from the C++ version
4485 and still containing a bunch of debugging artifacts.
4486 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
4487 inspired from the C++ library.
4489 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
4490 exception handling integration.
4492 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4494 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
4495 (HIE_SOURCES): Add s-secsta.ad{s,b}.
4496 (HIE_OBJS): Add s-fat*.o
4497 (RAVEN_SOURCES): Remove files that are no longer required. Add
4498 interrupt handling files.
4499 (RAVEN_MOD): Removed, no longer needed.
4501 2001-12-19 Robert Dewar <dewar@gnat.com>
4503 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
4504 Add 2001 to copyright date
4506 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
4507 need to force universal inlining for these cases.
4509 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4511 * s-taprob.adb: Minor clean ups so that this unit can be used in
4514 * exp_ch7.adb: Allow use of secondary stack in HI mode.
4515 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
4517 2001-12-19 Vincent Celier <celier@gnat.com>
4519 * prj-tree.ads (Project_Node_Record): Add comments for components
4520 Pkg_Id and Case_Insensitive.
4522 2001-12-19 Pascal Obry <obry@gnat.com>
4524 * g-socket.adb: Minor reformatting. Found while reading code.
4526 2001-12-19 Robert Dewar <dewar@gnat.com>
4528 * prj-tree.ads: Minor reformatting
4530 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
4532 * config-lang.in (diff_excludes): Remove.
4534 2001-12-17 Ed Schonberg <schonber@gnat.com>
4536 * sem_res.adb (Resolve_Selected_Component): do not generate a
4537 discriminant check if the selected component is a component of
4538 the argument of an initialization procedure.
4540 * trans.c (tree_transform, case of arithmetic operators): If result
4541 type is private, the gnu_type is the base type of the full view,
4542 given that the full view itself may be a subtype.
4544 2001-12-17 Robert Dewar <dewar@gnat.com>
4546 * sem_res.adb: Minor reformatting
4548 * trans.c (tree_transform, case N_Real_Literal): Add missing third
4549 parameter in call to Machine (unknown horrible effects from this
4552 * urealp.h: Add definition of Round_Even for call to Machine
4553 Add third parameter for Machine
4555 2001-12-17 Ed Schonberg <schonber@gnat.com>
4557 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
4558 predefined units in No_Run_Time mode.
4560 2001-12-17 Richard Kenner <kenner@gnat.com>
4562 * misc.c (insn-codes.h): Now include.
4564 2001-12-17 Olivier Hainque <hainque@gnat.com>
4566 * a-except.adb: Preparation work for future integration of the GCC 3
4567 exception handling mechanism
4568 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
4569 to factorize previous code sequences and make them externally callable,
4570 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
4571 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
4572 Use the new notification routines.
4574 2001-12-17 Emmanuel Briot <briot@gnat.com>
4576 * prj-tree.ads (First_Choice_Of): Document the when others case
4578 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4580 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
4581 HI-E mode, in order to support Ravenscar profile properly.
4583 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
4584 mode on 32 bits targets.
4586 2001-12-17 Vincent Celier <celier@gnat.com>
4588 * fmap.adb: Initial version.
4590 * fmap.ads: Initial version.
4592 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
4593 If search is successfully done, add to mapping.
4595 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
4598 (Gnatmake): Add new local variable Mapping_File_Name.
4599 Create mapping file when using project file(s).
4600 Delete mapping file before exiting.
4602 * opt.ads (Mapping_File_Name): New variable
4604 * osint.adb (Find_File): Use path name found in mapping, if any.
4606 * prj-env.adb (Create_Mapping_File): New procedure
4608 * prj-env.ads (Create_Mapping_File): New procedure.
4610 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
4613 * usage.adb: Add entry for new switch -gnatem.
4615 * Makefile.in: Add dependencies for fmap.o.
4617 2001-12-17 Ed Schonberg <schonber@gnat.com>
4619 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
4620 is a package instantiation rewritten as a package body.
4621 (Install_Withed_Unit): Undo previous change, now redundant.
4623 2001-12-17 Gary Dismukes <dismukes@gnat.com>
4626 (Compute_Length): Move conversion to Unsigned to callers.
4627 (Get_Max_Size): Convert Len expression to Unsigned after calls to
4628 Compute_Length and Determine_Range.
4629 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
4630 Compute_Length and Determine_Range.
4631 Above changes fix problem with length computation for supernull arrays
4632 where Max (Len, 0) wasn't getting applied due to the Unsigned
4633 conversion used by Compute_Length.
4635 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4638 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
4639 System.Secondary_Stack.
4640 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
4642 Remove unused entity RE_Exception_Data.
4644 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
4646 * rident.ads (No_Secondary_Stack): New restriction.
4648 2001-12-17 Joel Brobecker <brobecke@gnat.com>
4650 * gnat_rm.texi: Fix minor typos. Found while reading the section
4651 regarding "Bit_Order Clauses" that was sent to a customer.
4652 Very interesting documentation!
4654 2001-12-17 Robert Dewar <dewar@gnat.com>
4656 * sem_case.adb (Choice_Image): Avoid creating improper character
4657 literal names by using the routine Set_Character_Literal_Name. This
4658 fixes bombs in certain error message cases.
4660 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4662 * a-reatim.adb: Minor reformatting.
4664 2001-12-17 Ed Schonberg <schonber@gnat.com>
4666 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
4667 case where the formal is an extension of another formal in the current
4668 unit or in a parent generic unit.
4670 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4672 * s-tposen.adb: Update comments. Minor reformatting.
4673 Minor code clean up.
4675 * s-tarest.adb: Update comments. Minor code reorganization.
4677 2001-12-17 Gary Dismukes <dismukes@gnat.com>
4679 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
4682 2001-12-17 Robert Dewar <dewar@gnat.com>
4684 * exp_attr.adb: Minor reformatting
4686 2001-12-17 Ed Schonberg <schonber@gnat.com>
4688 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
4689 derivations nested within a child unit: verify that the parent
4690 type is declared in an outer scope.
4692 2001-12-17 Robert Dewar <dewar@gnat.com>
4694 * sem_ch12.adb: Minor reformatting
4696 2001-12-17 Ed Schonberg <schonber@gnat.com>
4698 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
4699 warning if current unit is a predefined one, from which bodies may
4702 2001-12-17 Robert Dewar <dewar@gnat.com>
4704 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
4705 Fix header format. Add 2001 to copyright date.
4707 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
4708 which caused CE during compilation if checks were enabled.
4710 2001-12-17 Vincent Celier <celier@gnat.com>
4713 (Switches_Of): New function
4714 (Test_If_Relative_Path): New procedure
4715 (Add_Switches): Use new function Switches_Of
4716 (Collect_Arguments_And_Compile): Use new function Switches_Of.
4717 When using a project file, test if there are any relative
4718 search path. Fail if there are any.
4719 (Gnatmake): Only add switches for the primary directory when not using
4720 a project file. When using a project file, change directory to the
4721 object directory of the main project file. When using a project file,
4722 test if there are any relative search path. Fail if there are any.
4723 When using a project file, fail if specified executable is relative
4724 path with directory information, and prepend executable, if not
4725 specified as an absolute path, with the exec directory. Make sure
4726 that only one -o switch is transmitted to the linker.
4728 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
4731 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
4732 when using a non standard naming scheme.
4733 (Check_Ada_Naming_Scheme): Make sure that error messages
4734 do not raise exceptions.
4735 (Is_Illegal_Append): Return True if there is no dot in the suffix.
4736 (Language_Independent_Check): Check the exec directory.
4738 * prj.adb (Project_Empty): Add new component Exec_Directory
4741 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
4742 (Project_Data): Add component Exec_Directory
4744 * snames.adb: Updated to match snames.ads revision 1.215
4746 * snames.ads: Added Exec_Dir
4748 2001-12-17 Robert Dewar <dewar@gnat.com>
4750 * make.adb: Minor reformatting
4752 * prj-nmsc.adb: Minor reformatting
4754 * snames.adb: Updated to match snames.ads
4756 * snames.ads: Alphebetize entries for project file
4758 2001-12-17 Ed Schonberg <schonber@gnat.com>
4760 * trans.c (process_freeze_entity): Do nothing if the entity is a
4761 subprogram that was already elaborated.
4763 2001-12-17 Richard Kenner <kenner@gnat.com>
4765 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
4766 and Esize if object is referenced via pointer.
4768 2001-12-17 Ed Schonberg <schonber@gnat.com>
4770 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
4771 is discrete before analyzing choices.
4773 2001-12-17 Joel Brobecker <brobecke@gnat.com>
4775 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
4776 containing the name of the Ada Main Program. This string is mainly
4777 intended for the debugger.
4778 (Gen_Output_File_C): Do the equivalent change when generating a C file.
4780 2001-12-17 Robert Dewar <dewar@gnat.com>
4782 * ali.adb: Set new Dummy_Entry field in dependency entry
4784 * ali.ads: Add Dummy_Entry field to source dependency table
4786 * bcheck.adb (Check_Consistency): Ignore dummy D lines
4788 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
4790 * lib-writ.ads: Document dummy D lines for missing files.
4792 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
4794 2001-12-17 Robert Dewar <dewar@gnat.com>
4796 * ali.adb: Type reference does not reset current file.
4798 * ali.adb: Recognize and scan renaming reference
4800 * ali.ads: Add spec for storing renaming references.
4802 * lib-xref.ads: Add documentation for handling of renaming references
4804 * lib-xref.adb: Implement output of renaming reference.
4807 (Determine_Range): Document local variables
4808 (Determine_Range): Make sure Hbound is initialized. It looks as though
4809 there could be a real problem here with an uninitialized reference
4810 to Hbound, but no actual example of failure has been found.
4812 2001-12-17 Laurent Pautet <pautet@gnat.com>
4815 Fix comment of Shutdown_Socket and Close_Socket. These functions
4816 should not fail silently because if they are called twice, this
4817 probably means that there is a race condition in the user program.
4818 Anyway, this behaviour is consistent with the rest of this unit.
4819 When an error occurs, an exception is raised with the error message
4820 as exception message.
4822 2001-12-17 Robert Dewar <dewar@gnat.com>
4824 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
4825 that it happens before modification of Sloc values for -gnatD.
4827 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
4828 so that it happens before modification of Sloc values for -gnatD.
4830 * switch.adb: Minor reformatting
4832 2001-12-15 Richard Henderson <rth@redhat.com>
4834 * sem_ch7.adb: Wrap comment.
4836 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4838 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
4839 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
4840 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
4841 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
4842 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
4843 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
4844 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
4845 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
4846 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
4847 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
4848 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
4849 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
4850 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
4851 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
4852 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
4853 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
4854 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
4855 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
4856 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
4857 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
4858 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
4859 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
4860 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
4861 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
4864 2001-12-14 Vincent Celier <celier@gnat.com>
4866 * osint.adb(Create_Debug_File): When an object file is specified,
4867 put the .dg file in the same directory as the object file.
4869 2001-12-14 Robert Dewar <dewar@gnat.com>
4871 * osint.adb: Minor reformatting
4873 * lib-xref.adb (Output_Instantiation): New procedure to generate
4874 instantiation references.
4876 * lib-xref.ads: Add documentation of handling of generic references.
4878 * ali.adb (Read_Instantiation_Ref): New procedure to read
4879 instantiation references
4881 * ali.ads: Add spec for storing instantiation references
4883 * bindusg.adb: Minor reformatting
4885 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4887 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4889 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4891 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4895 Add 2001 to copyright date
4896 Add entry for Latin-5 (Cyrillic ISO-8859-5)
4898 2001-12-14 Matt Gingell <gingell@gnat.com>
4900 * adaint.c: mktemp is a macro on Lynx and can not be used as an
4903 2001-12-14 Richard Kenner <kenner@gnat.com>
4905 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
4906 if operand is CONSTRUCTOR.
4908 2001-12-14 Ed Schonberg <schonber@gnat.com>
4910 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
4911 before emiting check on right-hand side, so that exception information
4914 2001-12-14 Richard Kenner <kenner@gnat.com>
4916 * utils.c (create_var_decl): Throw away initializing expression
4917 if just annotating types and non-constant.
4919 2001-12-14 Vincent Celier <celier@gnat.com>
4921 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
4924 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4926 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
4928 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4930 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
4932 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4934 * ChangeLog: Remove piece of diff output.
4936 2001-12-14 Geert Bosch <bosch@gnat.com>
4938 * config-lang.in: Update copyright notice
4940 * layout.adb: Remove commented out code.
4942 * mdllfile.ads: Update copyright notice. Fix header format.
4944 * sem_case.ads: Likewise.
4946 * sem_ch3.adb: Minor reformatting.
4948 2001-12-12 Geert Bosch <bosch@gnat.com>
4950 * freeze.ads: Update copyright date.
4952 * g-comlin.ads: Minor reformatting.
4954 * gnat-style.texi: Fix typo.
4956 2001-12-12 Geert Bosch <bosch@gnat.com>
4958 * einfo.h: Regenerate.
4960 2001-12-12 Ed Schonberg <schonber@gnat.com>
4962 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
4963 on known node types, rather than untyped fields. Further cleanups.
4965 2001-12-12 Robert Dewar <dewar@gnat.com>
4968 (Save_Entity_Descendant): Minor comment update.
4969 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
4970 of an N_Attribute_Reference node. As per note below, this does not
4971 eliminate need for Associated_Node in attribute ref nodes.
4972 (Associated_Node): Documentation explicitly mentions attribute
4973 reference nodes, since this field is used in such nodes.
4975 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
4977 2001-12-12 Robert Dewar <dewar@gnat.com>
4979 * s-stalib.adb: Add more comments on with statements being needed
4981 * par-ch12.adb: Minor reformatting
4983 * prj-dect.ads: Fix copyright header
4985 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
4986 inputs fit in 32 bits, but the result still overflows.
4988 * s-fatgen.ads: Minor comment improvement
4990 2001-12-12 Ed Schonberg <schonber@gnat.com>
4992 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
4993 formal derived type, look for an inherited component from the full
4994 view of the parent, if any.
4996 2001-12-12 Robert Dewar <dewar@gnat.com>
4998 * checks.ads (Apply_Alignment_Check): New procedure.
5000 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
5001 ensure that the alignment of objects with address clauses is
5002 appropriate, and raise PE if not.
5004 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
5005 Exp_Pakd.Known_Aligned_Enough
5007 * mdllfile.ads: Minor reformatting
5009 * mlib-fil.ads: Minor reformatting
5011 2001-12-12 Ed Schonberg <schonber@gnat.com>
5013 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
5014 fix to any component reference if enclosing record has non-standard
5017 2001-12-12 Vincent Celier <celier@gnat.com>
5019 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
5022 2001-12-12 Ed Schonberg <schonber@gnat.com>
5024 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
5027 2001-12-12 Robert Dewar <dewar@gnat.com>
5029 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
5031 2001-12-12 Emmanuel Briot <briot@gnat.com>
5033 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
5034 and it adds dependencies to system.io.
5036 2001-12-12 Pascal Obry <obry@gnat.com>
5038 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
5041 2001-12-11 Ed Schonberg <schonber@gnat.com>
5043 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
5044 that is the parent of other generics, the instance body replaces the
5045 instance node. Retrieve the instance of the spec, which is the one
5046 that is visible in clients and within the body.
5048 2001-12-11 Vincent Celier <celier@gnat.com>
5050 * gnatmain.adb: Initial version.
5052 * gnatmain.ads: Initial version.
5054 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
5056 * snames.adb: Updated to match snames.ads.
5058 * snames.ads: Added Gnatstub.
5060 2001-12-11 Vincent Celier <celier@gnat.com>
5062 * prj-attr.adb (Initialization_Data): Change name from
5063 Initialisation_Data.
5065 2001-12-11 Emmanuel Briot <briot@gnat.com>
5067 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
5068 + and * applied to backslashed expressions like \r.
5070 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
5072 * g-os_lib.ads: String_List type added, Argument_List type is now
5073 subtype of String_List.
5075 2001-12-11 Robert Dewar <dewar@gnat.com>
5077 * g-os_lib.ads: Change copyright to FSF
5078 Add comments for String_List type
5080 2001-12-11 Vincent Celier <celier@gnat.com>
5082 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
5083 string to the buffer).
5085 2001-12-11 Ed Schonberg <schonber@gnat.com>
5087 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
5090 * sem_attr.adb: Simplify previous fix for Address.
5091 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
5092 to avoid anomalies where the bound of the type appears to raise
5095 2001-12-11 Robert Dewar <dewar@gnat.com>
5097 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
5100 2001-12-11 Ed Schonberg <schonber@gnat.com>
5102 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
5103 renamed unit before checking for recursive instantiations.
5105 2001-12-11 Emmanuel Briot <briot@gnat.com>
5107 * prj.ads: Add comments for some of the fields.
5109 2001-12-11 Robert Dewar <dewar@gnat.com>
5111 * lib-xref.adb (Output_Refs): Don't output type references outside
5112 the main unit if they are not otherwise referenced.
5114 2001-12-11 Ed Schonberg <schonber@gnat.com>
5116 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
5117 code and diagnose additional illegal uses
5119 * sem_util.adb (Is_Object_Reference): An indexed component is an
5120 object only if the prefix is.
5122 2001-12-11 Vincent Celier <celier@gnat.com>
5124 * g-diopit.adb: Initial version.
5126 * g-diopit.ads: Initial version.
5129 (Expand_Path): Avoid use of Unbounded_String
5130 (Find, Wildcard_Iterator): Moved to child package Iteration
5132 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
5134 2001-12-11 Robert Dewar <dewar@gnat.com>
5136 * sem_attr.adb: Minor reformatting
5138 2001-12-11 Ed Schonberg <schonber@gnat.com>
5140 * sem_ch3.adb: Clarify some ???.
5142 2001-12-11 Robert Dewar <dewar@gnat.com>
5144 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
5145 Exp_Pakd.Known_Aligned_Enough
5147 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
5148 version is moved to Exp_Ch13.
5150 2001-12-11 Robert Dewar <dewar@gnat.com>
5152 * einfo.ads: Minor reformatting
5154 * exp_ch5.adb: Add comment for previous.change
5156 * ali.adb: New interface for extended typeref stuff.
5158 * ali.ads: New interface for typeref stuff.
5160 * checks.adb (Apply_Alignment_Check): New procedure.
5162 * debug.adb: Add -gnatdM for modified ALI output
5164 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
5166 * lib-xref.adb: Extend generation of <..> notation to cover
5167 subtype/object types. Note that this is a complete rewrite,
5168 getting rid of the very nasty quadratic algorithm previously
5169 used for derived type output.
5171 * lib-xref.ads: Extend description of <..> notation to cover
5172 subtype/object types. Uses {..} for these other cases.
5173 Also use (..) for pointer types.
5175 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
5177 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
5178 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
5180 2001-12-11 Vincent Celier <celier@gnat.com>
5183 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
5184 Changed /BIND_ONLY to /ACTIONS=BIND
5185 Changed /LINK_ONLY to /ACTIONS=LINK
5187 2001-12-11 Ed Schonberg <schonber@gnat.com>
5189 * sem_ch8.adb (Find_Selected_Component): improved search for a
5190 candidate package in case of error.
5192 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
5193 chain back on scope stack before reinstalling use clauses.
5195 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
5196 is enabled, do not kill the code for the condition, to preserve
5199 2001-12-11 Robert Dewar <dewar@gnat.com>
5201 * checks.adb (Insert_Valid_Check): Apply validity check to expression
5202 of conversion, not to result of conversion.
5204 2001-12-11 Ed Schonberg <schonber@gnat.com>
5206 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
5207 before freezing parent. If the declarations are mutually recursive,
5208 an access to the current record type may be frozen before the
5209 derivation is complete.
5211 2001-12-05 Vincent Celier <celier@gnat.com>
5213 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
5214 -c /COMPILE_ONLY, -l /LINK_ONLY
5217 (Bind_Only): New Flag
5218 (Link_Only): New flag
5220 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
5223 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
5226 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
5227 (Gnatmake): Set the step flags. Only perform a step if the
5228 corresponding step flag is True.
5229 (Scan_Make_Arg): Reset the bind and link step flags when -u
5230 or -gnatc has been specified.
5232 2001-12-05 Ed Schonberg <schonber@gnat.com>
5234 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
5235 get bounds from right operand.
5237 * sem_eval.adb: Minor reformatting
5239 * exp_util.adb (Make_Literal_Range): use bound of literal rather
5240 than Index'First, its lower bound may be different from 1.
5242 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
5245 2001-12-05 Vincent Celier <celier@gnat.com>
5247 * prj-nmsc.adb Minor reformatting
5249 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
5250 set and libraries are not supported.
5252 2001-12-05 Ed Schonberg <schonber@gnat.com>
5254 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
5255 private view explicitly, so the back-end can treat as a global
5258 2001-12-05 Ed Schonberg <schonber@gnat.com>
5260 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
5261 unit, always replace instance node with new body, for ASIS use.
5263 2001-12-05 Vincent Celier <celier@gnat.com>
5265 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
5266 libraries are not supported and both attributes Library_Name and
5267 Library_Dir are specified.
5269 * prj-proc.adb (Expression): Set location of Result to location of
5272 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
5273 (prj-nmsc is now importing MLib.Tgt)
5275 * prj-proc.adb: Put the change indicated above that was forgotten.
5277 2001-12-05 Robert Dewar <dewar@gnat.com>
5279 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
5281 2001-12-05 Ed Schonberg <schonber@gnat.com>
5283 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
5284 constraint, introduce explicit subtype declaration and derive from it.
5286 * sem_ch3.adb: Minor reformatting
5288 2001-12-05 Robert Dewar <dewar@gnat.com>
5290 * checks.adb (Determine_Range): Increase cache size for checks.
5293 * exp_ch6.adb: Minor reformatting
5294 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
5295 a parameter whose root type is System.Address, since treating such
5296 subprograms as pure in the code generator is almost surely a mistake
5297 that will lead to unexpected results.
5299 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
5300 change handling of conversions.
5302 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
5304 2001-12-05 Ed Schonberg <schonber@gnat.com>
5306 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
5307 aggregate with static wrong size, attach generated Raise node to
5310 2001-12-05 Robert Dewar <dewar@gnat.com>
5312 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
5313 Fixes compilation abandoned bomb in B24009B.
5315 2001-12-05 Ed Schonberg <schonber@gnat.com>
5318 Document use of Associated_Node on Selected_Components.
5319 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
5320 to clarify use of untyped descendant fields.
5322 2001-12-05 Robert Dewar <dewar@gnat.com>
5324 * prj-dect.ads: Add ??? comment
5325 Add 2001 to copyright notice (was not done in after all)
5327 * prj-part.adb: Minor reformatting. Reword one awkward error message.
5329 * prj.ads: Minor reformatting throughout, and add some ??? comments
5331 * snames.ads: Minor reformatting
5333 2001-12-05 Geert Bosch <bosch@gnat.com>
5335 * snames.adb: Autoupdate
5337 2001-12-05 Vincent Celier <celier@gnat.com>
5339 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
5341 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
5343 * prj-env.adb: Minor comment changes (modifying -> extends).
5345 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
5347 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
5350 * prj.adb (Initialize): Change Modifying to Extends.
5352 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
5354 * prj.ads: Minor comment change (Modifying -> extending).
5356 * snames.ads: Change modifying to extends.
5358 2001-12-05 Robert Dewar <dewar@gnat.com>
5360 * sem_warn.adb: Remove stuff for conditionals, we are not going to
5363 * sem_warn.ads: Remove stuff for conditionals, we are not going to
5364 do this after all. Add 2001 to copyright notice
5366 2001-12-04 Geert Bosch <bosch@gnat.com>
5368 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
5370 2001-12-04 Robert Dewar <dewar@gnat.com>
5372 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
5373 location if we already have errors. Stops some cases of cascaded
5376 * errout.adb: Improve comment.
5378 2001-12-04 Robert Dewar <dewar@gnat.com>
5381 (Analyze_Formal_Type_Definition): Defend against Error.
5382 (Analyze_Formal_Subprogram): Defend against Error.
5384 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
5385 remove following semicolon if present. Removes cascaded error.
5387 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5390 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
5391 exceptions equals 0.
5392 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
5393 Fixes PIWG E tests (which have to be run with -gnatL).
5395 2001-12-04 Robert Dewar <dewar@gnat.com>
5397 * einfo.ads: Minor reformatting
5399 2001-12-04 Ed Schonberg <schonber@gnat.com>
5401 * einfo.ads: Block_Node points to the identifier of the block, not to
5402 the block node itself, to preserve the link when the block is
5403 rewritten, e.g. within an if-statement with a static condition.
5405 * inline.adb (Cleanup_Scopes): recover block statement from block
5406 entity using new meaning of Block_Node.
5408 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
5409 identifier of block node, rather than to node itself.
5411 2001-12-04 Gary Dismukes <dismukes@gnat.com>
5414 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
5415 (Discrimify): Go back to setting the Etypes of the selected component
5416 because the Vname component does not exist at this point and will
5417 fail name resolution. Also set Analyzed.
5418 Remove with and use of Sem_Res.
5420 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5422 * Makefile.in: (HIE_SOURCES): add s-fat*.
5424 2001-12-04 Robert Dewar <dewar@gnat.com>
5427 (Compile_Time_Known_Attribute): New procedure.
5428 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
5431 2001-12-04 Ed Schonberg <schonber@gnat.com>
5433 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
5434 processing discriminants to diagnose illegal default values.
5436 2001-12-04 Ed Schonberg <schonber@gnat.com>
5438 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
5439 access discriminant within a type extension that constrains its
5440 parent discriminants.
5442 2001-12-04 Ed Schonberg <schonber@gnat.com>
5444 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
5445 is malformed, use instance of Any_Id to allow analysis to proceed.
5447 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
5448 type definition is illegal.
5449 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
5452 2001-12-04 Ed Schonberg <schonber@gnat.com>
5454 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
5457 2001-12-04 Robert Dewar <dewar@gnat.com>
5459 * errout.adb: Minor reformatting
5461 2001-12-04 Robert Dewar <dewar@gnat.com>
5463 * exp_util.adb: Minor reformatting from last change
5465 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
5466 which is a rewriting of an expression, traverse the original
5467 expression to remove warnings that may have been posted on it.
5469 2001-12-04 Ed Schonberg <schonber@gnat.com>
5471 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
5472 record that has other packed components.
5474 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5476 * adaint.c: Minor cleanups.
5478 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5480 * adaint.c: Do not use utime.h on vxworks.
5482 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5484 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
5485 more confusion than it solves.
5487 2001-12-04 Geert bosch <bosch@gnat.com>
5489 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
5491 2001-12-04 Geert Bosch <bosch@gnat.com>
5493 * Makefile.in (update-sources): New target.
5494 For use by gcc_release script.
5496 2001-12-04 Ed Schonberg <schonber@gnat.com>
5498 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
5499 a configuration pragma, it is now legal wherever a pragma can appear.
5501 2001-12-04 Zack Weinberg <zack@codesourcery.com>
5503 * Makefile.in: Don't set ALL. Delete @cross_defines@,
5504 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
5505 is now @CROSS@ -DIN_GCC; update comment.
5507 2001-12-04 Robert Dewar <dewar@gnat.com>
5509 * einfo.adb (Has_Pragma_Pure_Function): New flag.
5510 Fix problem that stopped ceinfo from working
5512 * einfo.ads (Has_Pragma_Pure_Function): New flag.
5514 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
5516 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5519 (File_Time_Stamp): New procedure.
5520 (Preserve_Mode): New boolean.
5521 (Write_Unit): Pass time stamp.
5522 Implement -p switch (preserve time stamps).
5524 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
5526 * gnatchop.adb: Do usage info for -p switch
5528 * adaint.h (__gnat_set_file_time_name): New function
5530 * adaint.c (__gnat_set_file_time_name): Implement
5532 * adaint.h: Fix typo
5534 2001-12-03 Robert Dewar <dewar@gnat.com>
5536 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
5537 have Associated_Node.
5539 2001-12-03 Robert Dewar <dewar@gnat.com>
5541 * prj-proc.adb: Minor reformatting
5543 * make.adb: Minor reformatting
5545 2001-12-03 Geert Bosch <bosch@gnat.com>
5547 * make.adb: Minor reformatting.
5549 2001-12-03 Robert Dewar <dewar@gnat.com>
5551 * sem_ch12.adb: Minor reformatting
5553 2001-12-03 Ed Schonberg <schonber@gnat.com>
5555 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
5556 push Standard on the stack before analyzing the instance body,
5557 in order to have a clean visibility environment.
5559 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
5561 2001-12-03 Ed Schonberg <schonber@gnat.com>
5563 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
5564 instantiation of a body that contains an inlined body.
5566 2001-12-03 Ed Schonberg <schonber@gnat.com>
5569 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
5570 to prevent freezing within formal packages.
5571 (Freeze_Subprogram_Body): If body comes from another instance that
5572 appeared before its own body, place freeze node at end of current
5573 declarative part, to prevent a back-end crash.
5574 (Inline_Instance_Body): Handle properly a package instance within
5575 a subprogram instance that is a child unit.
5577 2001-12-01 Graham Stott <grahams@redhat.com>
5579 * Makefile.in (misc.o): Add missing $(srcdir) prefix
5580 and add optabs.h dependency.
5582 * misc.c: Include optabs.h
5583 (gnat_tree_code_type): Make static and const.
5584 (gnat_tree_code_length): Likewise.
5585 (gnat_tree_code_name): Likewise.
5586 (update_setjmp_buf): Obtain operands mode from insn_data.
5588 2001-11-29 Richard Henderson <rth@redhat.com>
5590 * init.c: Remove obsolete dwarf2 frame.h section.
5592 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
5594 * Make-lang.in (ada.generated-manpages): New dummy target.
5596 2001-11-29 Ed Schonberg <schonber@gnat.com>
5598 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
5599 into Command, an array conversion is illegal here. Uncovered by
5602 2001/11/28 Geert Bosch <bosch@gnat.com>
5604 * init.c: Minor whitespace changes.
5606 2001-11-28 Doug Rupp <rupp@gnat.com>
5608 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
5611 2001-11-28 Zack Weinberg <zack@codesourcery.com>
5613 * misc.c (gnat_expand_constant): Move declaration above
5614 definition of lang_hooks.
5615 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
5616 (gnat_init): lang_expand_constant no longer exists.
5618 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
5619 always have vprintf.
5620 (gnat_init): Always call set_internal_error_function.
5622 2001-11-27 Andreas Jaeger <aj@suse.de>
5624 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
5626 2001-11-27 Laurent Guerby <guerby@acm.org>
5628 * Makefile.in: Regenerate Ada dependencies.
5630 2001-11-26 Richard Henderson <rth@redhat.com>
5632 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
5633 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
5634 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
5636 2001-11-25 Laurent Guerby <guerby@acm.org>
5638 * sysdep.c (rts_get_*): Fix style.
5640 2001-11-19 Laurent Guerby <guerby@acm.org>
5642 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
5643 since it is of no apparent use and cause warnings.
5645 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
5647 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
5649 (gnat_init): Don't return NULL.
5650 (finish_parse): Remove.
5652 2001-11-17 Laurent Guerby <guerby@acm.org>
5654 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
5655 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
5656 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
5657 * lang-spec.h: Add missing struct field to silence warnings.
5658 * sysdep.c (rts_get_*): Provide K&R prototype.
5659 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
5660 * traceback.c (Unlock_Task, Lock_Task): Likewise.
5661 * tracebak.c (__gnat_backtrace): Remove unused variable.
5662 * utils.c (end_subprog_body): Move to K&R style.
5664 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5666 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
5668 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
5670 * misc.c (gnat_init): Change prototype. Include the
5671 functionality of the old init_parse and init_decl_processing.
5672 (gnat_init_decl_processing): New prototype.
5673 (init_parse): Remove.
5674 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
5676 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5678 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
5679 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
5680 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
5681 set_yydebug): Remove.
5683 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5685 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
5686 (struct lang_hooks): Constify.
5687 (language_string, lang_identify): Remove.
5688 * utils.c (init_decl_processing): Update.
5690 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5692 * misc.c: Include langhooks-def.h.
5693 * Makefile.in: Update.
5695 2001-10-30 Robert Dewar <dewar@gnat.com>
5698 (Check_Identifier): Rewrite circuit to be compatible with use of letters
5699 in the upper half of ASCII.
5700 (Check_Identifier): Minor reformatting
5702 2001-10-30 Geert Bosch <bosch@gnat.com>
5704 * (Associated_Node, Set_Associated_Node): Do not check for
5707 2001-10-30 Robert Dewar <dewar@gnat.com>
5709 * a-reatim.ads: Minor reformatting
5711 2001-10-30 Robert Dewar <dewar@gnat.com>
5713 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
5714 undocumented declarations.
5716 2001-10-30 Pascal Obry <obry@gnat.com>
5718 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5719 to the binder and linker.
5722 * mdll.ads: Fix layout. Update copyright notice.
5724 * mdll.adb: Fix layout. Update copyright notice.
5726 2001-10-30 Robert Dewar <dewar@gnat.com>
5728 * usage.adb: Minor fix to output for -gnaty.
5730 2001-10-30 Ed Schonberg <schonber@gnat.com>
5732 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
5733 to accommodate all its possible values.
5735 * a-reatim.adb (Split): Special-case handling of Time_Span_First
5736 and of small absolute values of T.
5738 2001-10-30 Richard Kenner <kenner@gnat.com>
5740 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
5741 set_mem_attributes since not needed and wrong if RESULT if a REG;
5742 fixes ACATS failures.
5744 2001-10-30 Geert Bosch <bosch@gnat.com>
5746 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
5747 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
5749 2001-10-30 Robert Dewar <dewar@gnat.com>
5751 * bindusg.adb: Undocument -f switch.
5753 * gnatcmd.adb: Remove /FULL_ELABORATION.
5755 * opt.ads (Force_RM_Elaboration_Order): Document that this is
5758 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
5760 * gnatbind.adb: Minor update of warning msg.
5762 2001-10-30 Vincent Celier <celier@gnat.com>
5764 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
5765 for project file switches (-P (/PROJECT_FILE=),
5766 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
5769 2001-10-30 Geert Bosch <bosch@gnat.com>
5771 * decl.c: Minor whitespace fixes.
5773 2001-10-30 Richard Kenner <kenner@gnat.com>
5775 * utils2.c (build_allocator): Test for SIZE overflow in array case too
5777 2001-10-30 Geert Bosch <bosch@gnat.com>
5779 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
5780 Found due to GCC 3.0 warning of using uninitialized value.
5783 (Get_Max_Size): Use variant record for tracking value/expression.
5784 Makes logic clearer and prevents warnings for uninitialized variables.
5785 (Layout_Array_Type): Use variant record for tracking value/expression.
5786 Makes logic clearer and prevents warnings for uninitialized variables.
5788 2001-10-30 Robert Dewar <dewar@gnat.com>
5790 * lib.adb: Minor reformatting
5792 * s-taprop.ads: Minor reformatting
5794 2001-10-29 Laurent Guerby <guerby@acm.org>
5797 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
5799 (_gnat_error_handler): Make MSG const.
5801 2001-10-29 Richard Kenner <kenner@gnat.com>
5803 * sysdep.c: Fix localtime_r problem on LynxOS.
5804 Also remove #elif to avoid warnings.
5806 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
5809 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
5811 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5813 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
5814 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
5815 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
5816 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
5817 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
5818 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
5819 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
5820 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
5821 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
5822 types.ads, urealp.adb: Fix spelling errors.
5824 2001-10-27 Laurent Guerby <guerby@acm.org>
5826 * trans.c (gigi): Fix non determinism leading to bootstrap
5827 comparison failures for debugging information.
5829 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
5831 * gnat_rm.texi: Use @./@: where appropriate.
5833 2001-10-26 Robert Dewar <dewar@gnat.com>
5835 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
5837 2001-10-26 Richard Kenner <kenner@gnat.com>
5839 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
5841 2001-10-26 Richard Kenner <kenner@gnat.com>
5843 * decl.c (validate_size): Modify message for bad size to avoid
5844 implication that compiler is modifying the size.
5846 2001-10-26 Robert Dewar <dewar@gnat.com>
5848 * prj-util.adb: Minor reformatting. Fix bad header format.
5850 2001-10-26 Robert Dewar <dewar@gnat.com>
5852 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
5854 * sinfo.ads: Clarify use of Associated_Node (documentation only).
5856 * sem_ch12.adb: Change Node4 to Associated_Node. Change
5857 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
5858 much more narrowly in places where needed. These are cleanups.
5860 2001-10-26 Joel Brobecker <brobecke@gnat.com>
5862 * 5zosinte.ads (null_pthread): new constant.
5865 (Initialize_TCB): Initialize thread ID to null, to be able to verify
5866 later that this field has been set.
5867 (Finalize_TCB): ditto.
5868 (Suspend_Task): Verify that the thread ID is not null before using it.
5869 (Resume_Task): ditto.
5872 (Resume_All_Tasks): Lock the tasks list before using it.
5873 (Suspend_All_Tasks): ditto.
5875 2001-10-26 Richard Kenner <kenner@gnat.com>
5877 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
5878 Make constant variant of designated type for Is_Access_Constant.
5879 Call update_pointer_to with main variant.
5881 * trans.c (process_freeze_entity, process_type):
5882 Call update_pointer_to on main variant.
5884 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
5885 If main variant, update all other variants.
5887 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
5890 2001-10-26 Robert Dewar <dewar@gnat.com>
5892 * prj-util.adb: Minor reformatting
5894 2001-10-26 Robert Dewar <dewar@gnat.com>
5896 * prj-util.adb: Minor reformatting
5898 2001-10-26 Robert Dewar <dewar@gnat.com>
5900 * prj-attr.adb: Minor reformatting throughout
5902 2001-10-26 Robert Dewar <dewar@gnat.com>
5904 * prj-attr.ads: Minor reformatting
5905 Add ??? comment (this whole spec has almost no comments)
5907 2001-10-26 Vincent Celier <celier@gnat.com>
5909 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
5910 ("//") that precede the drive letter on Interix.
5912 2001-10-26 Geert Bosch <bosch@gnat.com>
5914 * gnat_rm.texi: Add GNAT Reference Manual.
5916 2001-10-25 Robert Dewar <dewar@gnat.com>
5918 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
5919 is Error. Similar change for other renaming cases.
5921 2001-10-25 Robert Dewar <dewar@gnat.com>
5923 * s-atacco.ads: Add pragma Inline_Always for functions.
5924 Fix header format. Add copyright 2001
5926 2001-10-25 Ed Schonberg <schonber@gnat.com>
5928 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
5929 return Error rather than Empty so that analysis can proceed.
5931 2001-10-25 Ed Schonberg <schonber@gnat.com>
5933 * sem_util.adb (Enter_Name): better handling of cascaded error
5934 messages when a unit appears in its own context.
5936 2001-10-25 Ed Schonberg <schonber@gnat.com>
5938 * sem_util.adb (Defining_Entity): in case of error, attach created
5939 entity to specification, so that semantic analysis can proceed.
5941 2001-10-25 Robert Dewar <dewar@gnat.com>
5944 (Defining_Entity): Deal with Error.
5945 (Process_End_Label): Deal with bad end label for.
5947 2001-10-25 Ed Schonberg <schonber@gnat.com>
5949 * sem_elab.adb (Check_A_Call): refine message when call is in an
5950 instance but callee is not declared in the generic unit.
5952 2001-10-25 Ed Schonberg <schonber@gnat.com>
5954 * sem_elab.adb (Check_A_Call): check for renaming before finding the
5955 enclosing unit, which may already be different from the calling unit.
5957 2001-10-25 Geert Bosch <bosch@gnat.com>
5959 * 4gintnam.ads: fix header format.
5961 2001-10-25 Ed Schonberg <schonber@gnat.com>
5963 * sem_res.adb (Resolve_Call): if the call is actually an indexing
5964 operation on the result of a parameterless call, perform elaboration
5965 check after the node has been properly rewritten.
5967 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
5968 inlined within the generic tree, the defining identifier is not a
5971 2001-10-25 Ed Schonberg <schonber@gnat.com>
5973 * sem_res.adb (Resolve): special-case resolution of Null in an
5974 instance or an inlined body to avoid view conflicts.
5976 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
5977 compatibility by retrieving the access type of the generic copy.
5979 2001-10-25 Robert Dewar <dewar@gnat.com>
5982 (Analyze_Number_Declaration): Handle error expression.
5983 (Signed_Integer_Type_Declaration): Handle error bound.
5984 (Analyze_Subtype_Indication): Handle error range.
5986 * sem_util.adb (Get_Index_Bounds): Check for Error.
5988 2001-10-25 Robert Dewar <dewar@gnat.com>
5990 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
5991 in no run time mode.
5993 2001-10-25 Pascal Obry <obry@gnat.com>
5995 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
5996 mode case for ALLOC case.
5998 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
5999 all platforms. Improvement of last change.
6001 2001-10-25 Robert Dewar <dewar@gnat.com>
6003 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
6005 2001-10-25 Geert Bosch <bosch@gnat.com>
6007 * osint.adb (Is_Relative): Remove duplicate.
6009 2001-10-25 Pascal Obry <obry@gnat.com>
6011 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
6012 pathnames in UNIX and DOS style with drive letter.
6013 (Is_Relative): new routine.
6015 * osint.adb: Minor reformatting
6017 * osint.adb (Is_Relative): implementation using
6018 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
6020 2001-10-25 Pascal Obry <obry@gnat.com>
6022 * g-dirope.adb (Basename): correctly compute offset between the
6023 original Path and the translated one.
6025 * g-dirope.adb: (Base_Name): add some comments.
6027 2001-10-25 Robert Dewar <dewar@gnat.com>
6029 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
6030 in HIE mode, avoids compilation abandoned message
6032 * exp_imgv.adb: Correct typo in previous change
6034 * exp_imgv.adb: Correct typo in previous change (not my day!)
6036 2001-10-25 Robert Dewar <dewar@gnat.com>
6038 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
6040 2001-10-25 Pascal Obry <obry@gnat.com>
6042 * g-awk.ads: Move all pragma inlines next to the routine
6043 declarations. This is more uniform with other GNAT spec.
6045 2001-10-22 Geert Bosch <bosch@gnat.com>
6047 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
6049 2001-10-19 Geert Bosch <bosch@gnat.com>
6051 * Makefile.in (tools, gnattools): Remove gnatmem.
6053 2001-10-17 Richard Henderson <rth@redhat.com>
6055 * Makefile.in (misc.o): Depend on langhooks.h.
6056 * misc.c: Include it.
6057 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
6058 (LANG_HOOKS_DECODE_OPTION): New.
6059 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
6061 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6063 * trans.c (tree_transform): Adjust to recent change in
6064 expand_asm_operands to implement named asm operands.
6066 2001-10-11 Ed Schonberg <schonber@gnat.com>
6068 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
6069 renaming of discriminant for mutable record type.
6071 2001-10-11 Robert Dewar <dewar@gnat.com>
6073 * validsw.adb: Properly save -gnatVn status.
6075 2001-10-11 Robert Dewar <dewar@gnat.com>
6077 * usage.adb: Add lines for V switch.
6079 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
6080 (/VALIDITY_CHECKING).
6082 2001-10-11 Ed Schonberg <schonber@gnat.com>
6084 * sem_type.adb (Add_One_Interp): an operator for a type declared in
6085 an extension of System is known to be visible.
6087 2001-10-11 Ed Schonberg <schonber@gnat.com>
6089 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
6090 properly. Fixes regression on ACATS C34005G.
6092 2001-10-11 Robert Dewar <dewar@gnat.com>
6094 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
6095 loop in generic instance, since this is likely not very useful.
6097 2001-10-11 Robert Dewar <dewar@gnat.com>
6099 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
6100 the error message for high integrity mode.
6102 * rtsfind.adb (RTE): Give message if we try to find an entity that
6103 is not available in high integrity mode.
6106 (OK_To_Use_In_HIE_Mode): New array.
6107 (RTE): May return Empty in high integrity mode.
6109 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
6110 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
6112 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
6113 unit if not inlined always and in no runtime mode. Fixes problem
6114 caused by new Rtsfind changes.
6116 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
6119 * rtsfind.adb (RTE): Make sure we do not try to load unit after
6120 giving message for entity not available in high integrity mode.
6122 2001-10-11 Pascal Obry <obry@gnat.com>
6124 * impunit.adb: Add GNAT.CRC32.
6126 2001-10-11 Ed Schonberg <schonber@gnat.com>
6128 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
6129 properly the case where one universal operand in a non-static
6130 exponentiation of a real literal.
6132 2001-10-11 Ed Schonberg <schonber@gnat.com>
6134 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
6135 clause, return the gobal finalization list, for lack of anthing else.
6137 2001-10-11 Ed Schonberg <schonber@gnat.com>
6139 * exp_ch7.adb (Make_Transient_Block): if statement is within
6140 exception handler, always use new transient scope to place Clean
6143 2001-10-11 Pascal Obry <obry@gnat.com>
6146 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6147 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6148 (GNATLS_RTL_OBJS): add g-crc32.o
6149 (GNATMAKE_RTL_OBJS): add g-crc32.o
6152 (CRC_Match): new function.
6153 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
6154 instead of the previous simple checksum algorithm.
6155 (Time_Stamp_Mismatch): use CRC_Match for comparison.
6156 (Set_Source_Table): idem.
6159 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
6160 instead of simple checksum.
6161 (CRC_Match): new function.
6162 (CRC_Error): new constant.
6164 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
6165 a CRC now and not a simple checksum. A CRC uses lower-case hex
6166 letters, fixes ambiguity in parsing.
6168 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
6169 is what this variable will store.
6171 * bcheck.adb: Change reference to chechsum in comments by CRC.
6172 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
6173 rename All_Checksum_Match to All_CRC_Match. Change due to API
6174 renaming since now GNAT does not use a simple checksum but a
6175 CRC using GNAT.CRC32.
6177 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
6178 now and not anymore a simple checksum.
6180 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
6183 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
6186 (Restore_Scan_State): rename Checksum to CRC.
6187 (Save_Scan_State): idem.
6191 (Checksum): rename to CRC.
6192 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
6194 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
6195 GNAT.CRC32). Update copyright notice.
6197 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
6198 GNAT.CRC32). Update copyright notice.
6201 (Accumulate_Checksum): removed.
6202 (Update): new procedure. Add a wide-character into the CRC.
6205 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
6206 (Load_File): fix initialization of S (change Source_Checksum to
6209 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
6210 Source_CRC in S initialization.
6212 * sinput.adb (Source_Checksum): renamed to Source_CRC.
6214 * sinput.ads (Source_Checksum): renamed to Source_CRC.
6215 Update comments for the CRC.
6217 * types.adb (Hex): Use lowercase for the letter part.
6219 * types.ads (Get_Hex_String): Returns the hexadecimal representation
6220 for a word. This is currently used only for CRC. In previous version,
6221 the checksum was using a representation with all letter being
6222 upper-case. With the new implementation (using CRC) we do not remove
6223 the 32th bit of the CRC, so we can have an upper-case starting letter
6224 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
6225 It is ambigous since the CRC was optional and could be followed by
6226 options like EB, EE. So now this routines uses lower-case letter for
6227 the hexadecimal representation. Strange enough only lower case letters
6228 where checked in Scan_ALI (even if this was not a possible case).
6230 * gnatvsn.ads (Library_Version): changed to 3.15a.
6232 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
6235 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
6238 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
6239 Add 2001 to copyright notice
6240 (Accumulate_Checksum): Modify to use System.CRC32.
6242 * ali-util.ads: Redo changes of previous revision to continue to use
6243 the word Checksum. Add 2001 to copyright notice.
6245 * ali.adb: Undo some of previous changes, not needed.
6246 Keep the change for lower case letters in the checksum.
6248 * ali.ads: Undo previous change not needed.
6250 * bcheck.adb: Undo most of previous change, not needed.
6251 But do use Checksums_Match for checksum comparison.
6253 * gnatls.adb: Undo most of previous change, not needed.
6254 But do use Checksums_Match for comparing checksums.
6256 * lib-load.adb: Undo previous change, not needed.
6258 * lib-writ.adb: Undo previous change, not needed.
6260 * lib-writ.ads: Document that checksums use lower case,
6261 not upper case letters.
6263 * scans.adb: Undo previous change, not needed
6265 * scans.ads: Undo previous change, not needed.
6267 * scn-nlit.adb: Undo previous changes, not needed.
6269 * scn-slit.adb: Undo previous change, not needed. Fix header format.
6272 (Accumulate_Checksum): Use System.CRC32.
6273 (Initialize_Checksum): New procedure.
6274 Remove other changes of previous revision.
6276 * sinput-p.adb: Undo previous change, not needed.
6278 * sinput.adb: Undo previous change, not needed.
6280 * sinput-l.adb: Undo previous change, not needed.
6282 * sinput.ads: Undo previous change, not needed. Keep only comment
6283 on new checksum algorithm
6285 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
6286 Also remove a-tags and a-stream from GNAT sources.
6288 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
6290 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
6292 2001-10-11 Geert Bosch <bosch@gnat.com>
6294 * einfo.h: Regenerate.
6296 * nmake.ads: Regenerate.
6298 * nmake.adb: Regenerate.
6300 * sinfo.h: Regenerate.
6302 * treeprs.adb: Regenerate.
6304 2001-10-10 Geert Bosch <bosch@gnat.com>
6306 * gnat-style.texi: New file describing coding guidelines for Ada.
6308 2001-10-10 Ed Schonberg <schonber@gnat.com>
6310 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
6313 2001-10-10 Geert Bosch <bosch@gnat.com>
6315 * snames.ads: Add new names for project facility.
6317 * snames.adb: Update to reflect snames.ads changes.
6319 * snames.h: Update to reflect snames.ads changes.
6321 2001-10-10 Vincent Celier <celier@gnat.com>
6324 (Add_Switches): reflect the changes for the switches attributes
6325 Default_Switches indexed by the programming language,
6326 Switches indexed by the file name.
6327 (Collect_Arguments_And_Compile): Idem.
6328 Reflect the attribute name changes.
6331 (Initialisation_Data): Change the names of some packages and
6333 (Initialize): process case insensitive associative arrays.
6336 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
6339 (Parse_Attribute_Declaration): For case insensitive associative
6340 arrays, set the index string to lower case.
6343 Reflect the changes of the project attributes.
6346 Replace Check_Naming_Scheme by Ada_Check and
6347 Language_Independent_Check.
6350 Replaced Check_Naming_Scheme by 2 procedures:
6351 Ada_Check and Language_Independent_Check.
6354 (Process_Declarative_Items): For case-insensitive associative
6355 arrays, set the index string to lower case.
6356 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
6357 Prj.Nmsc.Check_Naming_Scheme.
6360 (Case_Insensitive): New function
6361 (Set_Case_Insensitive): New procedure
6364 (Case_Insensitive): New function
6365 (Set_Case_Insensitive): New procedure
6366 (Project_Node_Record): New flag Case_Insensitive.
6369 (Value_Of): new function to get the string value of a single
6370 string variable or attribute.
6373 (Value_Of): new function to get the string value of a single
6374 string variable or attribute.
6377 (Ada_Default_Spec_Suffix): New function
6378 (Ada_Default_Impl_Suffix): New function
6379 Change definitions of several constants to reflect
6380 new components of record types.
6383 (Naming_Data): Change several components to reflect new
6384 elements of naming schemes.
6385 (Project_Data): New flags Sources_Present and
6386 Language_Independent_Checked.
6387 (Ada_Default_Spec_Suffix): New function.
6388 (Ada_Default_Impl_Suffix): New function.
6391 Modification of predefined names for project manager: added
6392 Implementation, Specification_Exceptions, Implementation_Exceptions,
6393 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
6394 Default_Switches, _Languages, Builder, Cross_Reference,
6395 Finder. Removed Body_Part, Specification_Append, Body_Append,
6396 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
6399 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6402 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
6403 not that it is Nil_Variable_Value.
6405 * prj.ads: Add ??? for uncommented declarations
6407 2001-10-10 Ed Schonberg <schonber@gnat.com>
6409 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
6410 constant, do not indicate possible modification, so that gigi can
6411 treat it as a bona fide constant.
6413 2001-10-10 Robert Dewar <dewar@gnat.com>
6415 * sem_prag.adb: Add processing for pragma External.
6417 * snames.ads: Add entry for pragma External.
6419 * par-prag.adb: Add pragma External.
6421 * snames.adb: Updated to match snames.ads.
6423 2001-10-10 Ed Schonberg <schonber@gnat.com>
6425 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
6426 a dynamic task if the allocator appears in an indexed assignment
6427 or selected component assignment.
6429 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
6430 For a dynamic task in an assignment statement, use target of
6431 assignment to generate meaningful name.
6433 2001-10-10 Ed Schonberg <schonber@gnat.com>
6435 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
6438 * einfo.ads: Body_Entity is also defined for generic package.
6439 Documentation change only
6441 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
6442 others_choice for a discriminated component initialization,
6443 convert discriminant references into the corresponding discriminals.
6445 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
6446 only if original type is private and expression has to be wrapped
6450 (Apply_Constraint_Check): Do not perform length check
6451 if expression is an aggregate with only an others_choice.
6452 (Length_N_Cond): two references to the same in_parameter
6453 (typically the discriminal in an init_proc) denote the same value.
6454 Two useful optimization uncovered by bugfixes above.
6456 2001-10-10 Robert Dewar <dewar@gnat.com>
6458 * xeinfo.adb: Change int to char in translation of enumeration types.
6459 This fixes a problem in the C representation of component alignment.
6460 Add 2001 to copyright notice
6462 2001-10-10 Richard Kenner <kenner@gnat.com>
6464 * decl.c: (validate_size): Do check size of object of integral type
6465 if it is a packed array type.
6467 2001-10-10 Richard Kenner <kenner@gnat.com>
6469 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
6470 VAR_DECL for constant if not Is_Public but -O0.
6472 2001-10-10 Richard Kenner <kenner@gnat.com>
6474 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
6476 2001-10-10 Geert Bosch <bosch@gnat.com>
6478 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
6479 use '/' as switch character, allowing for absolute file names.
6481 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6483 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
6486 2001-10-08 Geert Bosch <bosch@gnat.com>
6488 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
6489 Automatically build utilities when files need to be regenerated.
6491 2001-10-08 Geert Bosch <bosch@gnat.com>
6493 * xsnames.adb: New utility for updating snames.ads and snames.adb
6495 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6497 * Make-lang.in (ADAFLAGS): Add -W -Wall.
6498 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
6499 (gnat1): Also depend on attribs.o.
6500 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
6501 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
6502 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
6503 (ADAFLAGS): Add -W -Wall.
6504 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
6507 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
6508 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
6509 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
6510 Use $(ADAC), not $(CC), as compilation command.
6512 (gnattools): Depend directly on tools to build, don't use
6514 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
6516 * einfo.h, sinfo.h: New files (autogenerated).
6518 2001-10-08 Richard Henderson <rth@redhat.com>
6520 * comperr.adb (Abort_In_Progress): New.
6521 (Compiler_Abort): Use it to prevent recursion.
6523 2001-10-08 Robert Dewar <dewar@gnat.com>
6525 * atree.adb: Set Error_Posted in Error node, helps error recovery.
6527 * par-endh.adb (Output_End_Expected): We should also not test
6528 Error_Posted on the Error node, since now it is always set.
6530 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
6531 to help error recovery. Part of general work on 9407-004.
6533 * par.adb: Add ??? for misuse of error
6536 (Resolve): Defend against Error, fixes 9407-003.
6537 (Resolve_Discrete_Subtype_Indication): Defend against Error.
6539 * sinfo.ads (N_Error): Now has Etype field (which will be set
6540 to Any_Type to help error recovery).
6542 2001-10-08 Richard Kenner (kenner@gnat.com)
6544 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
6545 Consistently set MEM attributes from expression; fixes
6546 bootstrap failure on x86.
6548 2001-10-08 Geert Bosch (bosch@gnat.com)
6550 * 5oosinte.adb: Add 2001 to copyright notice.
6552 2001-10-08 Geert Bosch (bosch@gnat.com)
6554 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
6556 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
6558 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6560 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
6562 2001-10-05 Geert Bosch (bosch@gnat.com)
6564 * adaint.h: Small formatting fix.
6566 2001-10-04 Geert Bosch <bosch@gnat.com>
6568 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
6569 Arg is int, not FILE *, in dummy version of functions.
6571 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
6572 Arg is int, not FILE *.
6574 2001-10-04 Geert Bosch <bosch@gnat.com>
6576 * 3lsoccon.ads: Added file, missed with initial check ins.
6578 * 4lintnam.ads: Fix header format.
6579 Change Linux to GNU/Linux.
6581 * 5iosinte.adb: Change Linux to GNU/Linux.
6583 * 5iosinte.ads: Change Linux to GNU/Linux.
6585 * 5itaprop.adb: Change Linux to GNU/Linux.
6587 * 5itaspri.ads: Change Linux to GNU/Linux.
6588 Update copyright notice.
6590 * 5lintman.adb: Change Linux to GNU/Linux.
6592 * 5lml-tgt.adb: Change Linux to GNU/Linux.
6594 * 5losinte.ads: Change Linux to GNU/Linux.
6596 * 5lsystem.ads: Change Linux to GNU/Linux.
6598 * 5qosinte.adb: Change Linux to GNU/Linux.
6600 * 5qosinte.ads: Change Linux to GNU/Linux.
6602 * 5qparame.ads: Change Linux to GNU/Linux.
6604 * 5qtaprop.adb: Change Linux to GNU/Linux.
6606 * 5qtaspri.ads: Change Linux to GNU/Linux.
6607 Add 2001 to copyright notice.
6609 * 5vintman.ads: Change Linux to GNU/Linux.
6610 Fix header format. Add 2001 to copyright notice.
6612 * g-soccon.ads: Change Linux to GNU/Linux.
6614 * g-trasym.ads: Change Linux to GNU/Linux.
6615 Add 2001 to copyright notice.
6617 * memtrack.adb: Change Linux to GNU/Linux.
6619 * s-intman.ads: Change Linux to GNU/Linux.
6620 Add 2001 to copyright notice. Fix header format.
6622 * s-stache.adb: Change Linux to GNU/Linux.
6624 * adaint.c: Change Linux to GNU/Linux.
6626 * cio.c: Change Linux to GNU/Linux.
6628 * cstreams.c: Change Linux to GNU/Linux.
6630 * init.c: Change Linux to GNU/Linux.
6632 * gmem.c: Change Linux to GNU/Linux.
6634 * tracebak.c: Change Linux to GNU/Linux.
6637 2001-10-02 Geert Bosch <bosch@gnat.com>
6639 * misc.c (insert_default_attributes): Add dummy version.