1 2004-04-18 Release Manager
5 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
8 * gnat_ug.texi: Add info directory category and entry.
9 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
10 gnat_ug_wnt.texi: Regenerate.
12 2004-03-19 Laurent GUERBY <laurent@guerby.net>
14 * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of
15 aggregate, allows bootstrap from 3.3 on powerpc-darwin.
17 2004-03-09 Alan Modra <amodra@bigpond.net.au>
19 * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.
21 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
23 * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir).
24 (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
25 (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
27 2004-01-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
29 * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.
31 * 5fsystem.ads (Functions_Return_By_DSP): Set to False.
32 (ZCX_By_Default): Likewise.
33 (Front_End_ZCX_Support): Likewise.
35 * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced.
36 (Initialize_Lock): Mark Level unreferenced.
37 (Sleep): Mark Reason unreferenced.
38 (Timed_Sleep): Likewise.
40 (Exit_Task): Use Result.
41 (Check_No_Locks): Mark Self_ID unreferenced.
43 * 5gtasinf.adb (New_Sproc): Make Attr constant.
44 (Bound_Thread_Attributes): Make Sproc constant.
45 (New_Bound_Thread_Attributes): Likewise.
47 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
49 * Make-lang.in: Replace $(docdir) with doc.
50 (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
51 doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
52 to use consistent MAKEINFO rule.
53 (ada.man, ada.srcman): Dummy entry.
54 (ADA_INFOFILES): Define.
55 (ada.info, ada.srcinfo): New rules.
57 2004-01-16 Andreas Jaeger <aj@suse.de>
59 * Makefile.in: Add $(DESTDIR).
61 2004-01-15 Olivier Hainque <hainque@act-europe.fr>
63 * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
64 also when not defining if a Size clause applies. That information is
67 2004-01-15 Arnaud Charlet <charlet@act-europe.fr>
69 * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
70 symbolic links for the shared gnat run time when needed.
72 2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr>
74 * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
75 for writing, and terminate with an error message if not.
77 2004-01-15 Ed Schonberg <schonberg@gnat.com>
79 * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
80 warning on an access to subprogram in an instance, when the target
81 type is declared in the same generic unit.
82 (Eval_Attribute): If 'access is known to fail accessibility check,
83 rewrite as a raise statement.
85 2004-01-15 GNAT Script <nobody@gnat.com>
87 * Make-lang.in: Makefile automatically updated
89 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
91 * Make-lang.in (ada.srcextra): Dummy entry.
93 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
95 * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
97 2004-01-13 Ed Schonberg <schonberg@gnat.com>
99 * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
100 components that are initialized with aggregates.
102 2004-01-13 Vincent Celier <celier@gnat.com>
104 * gnatlink.adb (Process_Binder_File): To find directory of shared
105 libgcc, if "gcc-lib" is not a subdirectory, look for the last
106 subdirectory "lib" in the path of the shared libgnat or libgnarl.
108 * make.adb (Gnatmake): If GCC version is at least 3, link with
109 -shared-libgcc, when there is at least one shared library project.
111 * opt.ads (GCC_Version): New integer constant.
113 * adaint.c (get_gcc_version): New function.
115 2004-01-13 Robert Dewar <dewar@gnat.com>
117 * sem_dist.adb, sem_res.adb, sem_util.adb,
118 sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
119 exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
121 2004-01-13 Thomas Quinot <quinot@act-europe.fr>
123 * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
124 g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
127 2004-01-12 Arnaud Charlet <charlet@act-europe.fr>
129 * misc.c: Remove trailing spaces.
130 Update copyright notice missed in previous change.
133 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
136 * Makefile.generic: Update copyright.
139 * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
140 of prefix/share/make.
142 * Makefile.prolog: Update copyright.
145 2004-01-12 Laurent Pautet <pautet@act-europe.fr>
147 * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
148 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
149 g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
152 * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
155 2004-01-12 Javier Miranda <miranda@gnat.com>
157 * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
158 exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
159 sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
160 sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
161 Component_Definition node.
163 2004-01-12 Ed Falis <falis@gnat.com>
165 * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
167 2004-01-12 Thomas Quinot <quinot@act-europe.fr>
169 * link.c: Change default libgnat kind to STATIC for FreeBSD.
171 2004-01-12 Bernard Banner <banner@gnat.com>
173 * Makefile.in: map 86numaux to a-numaux for x86_64
175 2004-01-12 Ed Schonberg <schonberg@gnat.com>
177 * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
178 generated to rename a generic actual, go to the actual itself, the
179 subtype is not a user-visible entity.
181 * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
182 part is a private subtype, reset the visibility of its full view, if
183 any, to be consistent.
186 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
187 to use a generic package G as a formal package for another generic
190 2004-01-12 Robert Dewar <dewar@gnat.com>
192 * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
194 * usage.adb: Remove mention of obsolete -gnatwb switch
195 Noticed during code reading
197 2004-01-12 Jerome Guitton <guitton@act-europe.fr>
199 * 1ssecsta.adb: Minor changes for -gnatwa warnings
201 2004-01-12 GNAT Script <nobody@gnat.com>
203 * Make-lang.in: Makefile automatically updated
205 2004-01-09 Mark Mitchell <mark@codesourcery.com>
207 * misc.c (gnat_expand_expr): Add alt_rtl parameter.
209 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
211 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
213 2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
215 * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
216 Update comment and copyright date.
217 * stamp-xgnatug: Delete.
219 2004-01-05 Robert Dewar <dewar@gnat.com>
221 * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
222 be modified by the binder generated main program if the -D switch is
225 * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
226 imported functions (since now we expect this to be done for imported
229 * 5vtaprop.adb: Add several ??? for sections requiring more comments
230 Minor reformatting throughout
232 * 5zinit.adb: Minor reformatting
233 Add 2004 to copyright date
234 Minor changes to avoid -gnatwa warnings
235 Correct some instances of using OR instead of OR ELSE (noted while
238 * sprint.adb: Minor updates to avoid -gnatwa warnings
240 * s-secsta.ads, s-secsta.adb:
241 (SS_Get_Max): New function to obtain high water mark for ss stack
242 Default_Secondary_Stack is not a constant since it may be modified by
243 the binder generated main program if the -D switch is used.
245 * switch-b.adb: New -Dnnn switch for binder
248 Make -gnatg imply all warnings currently in -gnatwa
250 * vms_conv.adb: Minor reformatting
251 Add 2004 to copyright notice
252 Add 2004 to printed copyright notice
254 * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
255 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
256 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
257 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
258 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
259 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
260 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
261 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
262 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
263 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
264 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
265 vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
266 xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
267 sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
268 checks.adb, clean.adb, cstand.adb, einfo.ads,
269 einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
270 exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
271 prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
272 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
273 g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
274 lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
275 Minor reformatting and code clean ups.
276 Minor changes to prevent -gnatwa warnings
278 * ali.adb: Minor reformatting and cleanup of code
279 Acquire new SS indication of secondary stack use from ali files
281 * a-numaux.ads: Add Pure_Function pragmas for all imported functions
282 (since now we expect this to be done for imported functions)
284 * bindgen.adb: Generate call to modify default secondary stack size if
287 * bindusg.adb: Add line for new -D switch
289 * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
290 replacement name for Type_May_Have_Non_Bit_Aligned_Components!
291 Add circuitry for both records and arrays to avoid gigi
292 processing if the type involved has non-bit-aligned components
294 * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
295 N_String_Literal node always references an E_String_Literal_Subtype
296 entity. This may not be true in the future.
297 (Possible_Bit_Aligned_Component): Move processing of
298 Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
300 * exp_ch6.adb (Expand_Thread_Body): Pick up
301 Default_Secondary_Stack_Size as variable so that we get value modified
302 by possible -Dnnn binder parameter.
304 * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
305 (Type_May_Have_Bit_Aligned_Components): New function.
307 * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
308 (Type_May_Have_Bit_Aligned_Components): New function.
310 * fe.h: (Set_Identifier_Casing): Fix prototype.
311 Add declaration for Sem_Elim.Eliminate_Error_Msg.
314 * freeze.adb (Freeze_Entity): Add RM reference to error message about
315 importing constant atomic/volatile objects.
316 (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
317 unless explicit Pure_Function pragma given, to avoid insidious bug of
318 call to non-pure imported function getting eliminated.
320 * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
321 gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
322 gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
323 Add 2004 to printed copyright notice
325 * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
328 * Makefile.rtl: Add entry for g-sestin.o
329 g-sestin.ads: New file.
331 * mdll.adb: Minor changes to avoid -gnatwa warnings
333 * mlib-tgt.adb: Minor reformatting
335 * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
336 New switch Sec_Stack_Used (GNAT, GNATBIND)
337 Make Default_Secondary_Stack_Size a variable instead of a constant,
338 so that it can be modified by the new -Dnnn bind switch.
340 * rtsfind.adb (Load_Fail): Give full error message in configurable
341 run-time mode if all_errors mode is set. This was not done in the case
342 of a file not found, which was an oversight.
343 Note if secondary stack unit is used by compiler.
345 * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
346 ineffective elaborate all pragmas on non-visible packages (this
347 happened when a renamed subprogram was called). Now the elaborate all
348 always goes on the package containing the renaming rather than the one
349 containing the renamed subprogram.
351 * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
352 (Process_Eliminate_Pragma): Add parameter to capture pragma location.
354 * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
355 has an Etype that references an E_String_Literal.
356 (Eval_String_Literal): Avoid assumption that N_String_Literal node
357 always references an E_String_Literal_Subtype entity. This may not
358 be true in the future.
360 * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
363 * sem_res.adb (Resolve): Specialize msg for function name used in proc
366 2004-01-05 Ed Falis <falis@gnat.com>
368 * g-debuti.adb: Replaced direct boolean operator with short-circuit
371 2004-01-05 Vincent Celier <celier@gnat.com>
373 * bld.adb: Minor comment updates
374 (Process_Declarative_Items): Correct incorrect name (Index_Name instead
377 * make.adb (Gnatmake): Special process for files to compile/check when
378 -B is specified. Fail when there are only foreign mains in attribute
379 Main of the project file and -B is not specified. Do not skip bind/link
380 steps when -B is specified.
382 * makeusg.adb: Document new switch -B
384 * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
386 * switch-m.adb: (Scan_Make_Switches): Process -B switch
388 * vms_data.ads: Add new GNAT PRETTY qualifier
389 /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
391 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
393 * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
396 * misc.c (gnat_printable_name): If VERBOSITY is 2, call
397 Set_Identifier_Casing.
399 * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
400 has size that overflows.
402 2004-01-05 Gary Dismukes <dismukes@gnat.com>
404 * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
405 -gnatwa warning on static condition.
407 2004-01-05 Doug Rupp <rupp@gnat.com>
409 * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
411 2004-01-05 Arnaud Charlet <charlet@act-europe.fr>
413 * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
414 all attributes, including read-only attribute.
416 2004-01-05 Pascal Obry <obry@gnat.com>
418 * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
419 library naming scheme.
421 * mlib-prj.adb (Build_Library): Generate different names for the static
422 or dynamic version of the GNAT runtime. This is needed to support the
423 new shared library naming scheme.
424 (Process_Binder_File): Add detection of shared library in binder file
425 based on the new naming scheme.
427 * gnatlink.adb (Process_Binder_File): Properly detect the new naming
428 scheme for the shared runtime libraries.
431 (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
433 (install-gnatlib): Do not create symlinks for shared libraries.
434 (gnatlib-shared-default): Idem.
435 (gnatlib-shared-dual-win32): New target. Not used for now as the
436 auto-import feature does not support arrays/records.
437 (gnatlib-shared-win32): Do not create copy for the shared libraries.
438 (gnatlib-shared-vms): Fix shared runtime libraries names.
440 * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
441 dependent runtime shared library name.
443 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
445 * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
448 2004-01-05 Ed Schonberg <schonberg@gnat.com>
450 * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
451 protected objects when allocator has a subtype indication, not a
452 qualified expression. Note that qualified expressions may have to be
453 checked when limited aggregates are implemented.
455 * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
457 (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
458 subprogram is imported, remove warning.
460 2004-01-05 Geert Bosch <bosch@gnat.com>
462 * s-poosiz.adb: Update copyright notice.
463 (Allocate): Use Task_Lock to protect against concurrent access.
464 (Deallocate): Likewise.
466 2004-01-05 Joel Brobecker <brobecker@gnat.com>
468 * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
471 2003-12-23 Kelley Cook <kcook@gcc.gnu.org>
473 * gnat_ug.texi: Force a CVS commit by updating copyright.
474 * gnat_ug_vxw.texi: Regenerate.
475 * gnat_ug_wnt.texi: Regenerate.
476 * gnat_ug_vms.texi: Regenerate.
477 * gnat_ug_unx.texi: Regenerate.
479 2003-12-20 Kazu Hirata <kazu@cs.umass.edu>
481 * trans.c: Remove uses of "register" specifier in
482 declarations of local variables.
484 2003-12-18 Kelley Cook <kcook@gcc.gnu.org>
486 * stamp-xgnatug: New stamp file.
487 * Make-lang.in (stamp-xgnatug): New stamp file and comment.
488 (ada/doctools/xgnatug): Add $(build_exeext).
489 (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
490 ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
492 2003-12-17 Ed Falis <falis@gnat.com>
494 * a-elchha.adb (Tailored_Exception_Information): made Info constant to
497 * a-exextr.adb: Add context clause for
498 Ada.Exceptions.Last_Chance_Handler.
500 2003-12-17 Sergey Rybin <rybin@act-europe.fr>
502 * cstand.adb (Create_Standard): Change the way how the declaration of
503 the Duration type is created (making it the same way as it is for all
504 the other standard types).
506 2003-12-17 Robert Dewar <dewar@gnat.com>
508 * s-crtl.ads: Fix header format
509 Change Pure to Preelaborate
511 2003-12-17 Ed Schonberg <schonberg@gnat.com>
513 * checks.adb (Selected_Length_Checks): Generate an Itype reference for
514 the expression type only if it is declared in the current unit.
516 * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
517 are universal and already analyzed, as can occur in constrained
518 subcomponents that depend on discriminants, when one constraint is a
521 * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
522 type Any_Fixed is legal as the argument of a conversion, if only one
523 fixed-point type is in context.
525 2003-12-17 GNAT Script <nobody@gnat.com>
527 * Make-lang.in: Makefile automatically updated
529 2003-12-15 Robert Dewar <dewar@gnat.com>
531 * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
534 2003-12-15 Vincent Celier <celier@gnat.com>
536 * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
537 (Gnatchop): Do not set failure status when reporting the number of
540 2003-12-15 Doug Rupp <rupp@gnat.com>
542 * s-ctrl.ads: New file.
544 * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
546 * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
547 (GNATBIND_OBJS): Add ada/s-crtl.o.
549 * Makefile.in [VMS]: Clean up ifeq rules.
551 * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
552 a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
553 g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
554 s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
555 s-tasdeb.adb: Update copyright.
557 Make minor modifications to use System.CRTL declared functions instead
558 of importing locally.
560 2003-12-15 GNAT Script <nobody@gnat.com>
562 * Make-lang.in: Makefile automatically updated
564 2003-12-11 Ed Falis <falis@gnat.com>
566 * 5zinit.adb: Clean up.
568 * 5zintman.adb (Notify_Exception): replaced case statement with a call
569 to __gnat_map_signal, imported from init.c to support
570 signal -> exception mappings that depend on the vxWorks version.
573 Created and exported __gnat_map_signal to support signal -> exception
574 mapping that is dependent on the VxWorks version.
575 Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
577 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr>
579 * 5wosinte.ads: Link with -mthreads switch.
581 2003-12-11 Arnaud Charlet <charlet@act-europe.fr>
583 * init.c (__gnat_install_handler [NetBSD]): Set
584 __gnat_handler_installed, as done on all other platforms.
585 Remove duplicated code.
587 2003-12-11 Jerome Guitton <guitton@act-europe.fr>
589 * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
591 2003-12-11 Thomas Quinot <quinot@act-europe.fr>
593 * sinfo.ads: Fix inconsistent example code in comment.
595 2003-12-11 Robert Dewar <dewar@gnat.com>
597 * a-tiinau.adb: Add a couple of comments
599 * sem_ch3.adb: Minor reformatting
602 Fix bad prototype of Same_Base_Type in body (code reading cleanup)
603 Minor reformatting throughout
605 2003-12-11 Ed Schonberg <schonberg@gnat.com>
607 * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
608 bounds of a loop, create a separate block in order to generate proper
609 cleanup actions to prevent memory leaks.
611 * sem_res.adb (Resolve_Call): After a call to
612 Establish_Transient_Scope, the call may be rewritten and relocated, in
613 which case no further processing is needed.
615 * sem_util.adb: (Wrong_Type): Refine previous fix.
616 Fixes ACATS regressions.
620 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
623 2003-12-08 Jerome Guitton <guitton@act-europe.fr>
625 * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
626 i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
629 * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
632 2003-12-08 Robert Dewar <dewar@gnat.com>
634 * 7sintman.adb: Minor reformatting
636 * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
637 standard linker options to get standard libraries linked. We now plan
638 to provide dummy versions of these libraries to match the appropriate
639 configurable run-time (e.g. if a library is not needed at all, provide
640 a dummy empty library).
642 * targparm.ads: Configurable_Run_Time mode no longer affects linker
643 options (-L parameters and standard libraries). What we plan to do is
644 to provide dummy libraries where the libraries are not required.
646 * gnatbind.adb: Minor comment improvement
648 2003-12-08 Javier Miranda <miranda@gnat.com>
650 * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
651 aggregate in the parent. Otherwise constants with limited aggregates
652 are not supported. Add new formal to pass the component type (Ctype).
653 It is required to call the corresponding IP subprogram in case of
654 default initialized components.
655 (Gen_Assign): In case of default-initialized component, generate a
656 call to the IP subprogram associated with the component.
657 (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
658 of aggregate with default initialized components.
659 (Has_Default_Init_Comps): Improve implementation to recursively check
660 all the present expressions.
662 * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
663 to indicate that the initialization call corresponds to a
664 default-initialized component of an aggregate.
665 In case of default initialized aggregate with tasks this parameter is
666 used to generate a null string (this is just a workaround that must be
667 improved later). In case of discriminants, this parameter is used to
668 generate a selected component node that gives access to the discriminant
671 * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
672 subprogram, based on Build_Task_Allocate_Block, but adapted to expand
673 allocated aggregates with default-initialized components.
675 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
676 the box notation is used in positional aggregates.
678 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr>
680 * lib.ads: Fix typo in comment
682 2003-12-08 Vincent Celier <celier@gnat.com>
684 * prj.adb (Project_Empty): New component Unkept_Comments
685 (Scan): Remove procedure; moved to Prj.Err.
687 * prj.ads (Project_Data): New Boolean component Unkept_Comments
688 (Scan): Remove procedure; moved to Prj.Err.
690 * prj-dect.adb: Manage comments for the different declarations.
692 * prj-part.adb (With_Record): New component Node
693 (Parse): New Boolean parameter Store_Comments, defaulted to False.
694 Set the scanner to return ends of line and comments as tokens, if
695 Store_Comments is True.
696 (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
697 comments are associated with these nodes. Store the node IDs in the
699 (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
701 (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
702 the N_Project node. Call Tree.Save and Tree.Reset before scanning the
703 current project. Call Tree.Restore afterwards. Set the various nodes
704 for comment storage (Next_End, End_Of_Line, Previous_Line,
707 * prj-part.ads (Parse): New Boolean parameter Store_Comments,
710 * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
711 to False. When Truncated is True, truncate the string, never go to the
713 (Write_End_Of_Line_Comment): New procedure
714 (Print): Process comments for nodes N_With_Clause,
715 N_Package_Declaration, N_String_Type_Declaration,
716 N_Attribute_Declaration, N_Typed_Variable_Declaration,
717 N_Variable_Declaration, N_Case_Construction, N_Case_Item.
718 Process nodes N_Comment.
720 * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
721 without comments and there are some comments, set the flag
722 Unkept_Comments to True.
723 (Scan): If there are comments, set the flag Unkept_Comments to True and
725 (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
726 (Next_End_Nodes: New table
727 (Comment_Zones_Of): New function
728 (Scan): New procedure; moved from Prj. Accumulate comments in the
729 Comments table and set end of line comments, comments after, after end
731 (Add_Comments): New procedure
732 (Save, Restore, Seset_State): New procedures
733 (There_Are_Unkept_Comments): New function
734 (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
735 (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
737 (First_Comment_After, First_Comment_After_End): New functions
738 (First_Comment_Before, First_Comment_Before_End): New functions
739 (Next_Comment): New function
740 (End_Of_Line_Comment, Follows_Empty_Line,
741 Is_Followed_By_Empty_Line): New functions
742 (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
743 (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
744 (Set_Next_Comment): New procedure
745 (Default_Project_Node): Associate comment before if the node can store
748 * scans.ads (Token_Type): New enumeration value Tok_Comment
749 (Comment_Id): New global variable
751 * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
753 (Scan): Store position of start of comment. If comments are tokens, set
754 Comment_Id and set Token to Tok_Comment when scanning a comment.
755 (Set_Comment_As_Token): New procedure
757 * sinput-p.adb: Update Copyright notice
758 (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
759 that no longer exists.
761 2003-12-08 Javier Miranda <miranda@gnat.com>
763 * sem_aggr.adb: Add dependence on Exp_Tss package
764 Correct typo in comment
765 (Resolve_Aggregate): In case of array aggregates set the estimated
766 type of the aggregate before calling resolve. This is needed to know
767 the name of the corresponding IP in case of limited array aggregates.
768 (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
769 in case of default initialized array components.
771 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
772 types. Required to give support to limited aggregates in generic
775 2003-12-08 Ed Schonberg <schonberg@gnat.com>
777 * sem_ch3.adb (Check_Initialization): For legality purposes, an
778 inlined body functions like an instantiation.
779 (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
780 until bounds are analyzed, to diagnose premature use of type.
782 * sem_util.adb (Wrong_Type): Improve error message when the type of
783 the expression is used prematurely.
785 2003-12-08 GNAT Script <nobody@gnat.com>
787 * Make-lang.in: Makefile automatically updated
789 2003-12-08 Arnaud Charlet <charlet@act-europe.fr>
791 * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
792 they are automatically generated by Make-lang.in and cause nothing but
793 maintenance troubles.
795 2003-12-05 Thomas Quinot <quinot@act-europe.fr>
797 * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
798 version of this unit).
800 2003-12-05 Olivier Hainque <hainque@act-europe.fr>
802 * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
803 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
804 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
805 the body of System.Interrupt_Management common to several targets.
806 Update copyright notice when appropriate.
808 * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
811 * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
812 to ensure that the kernel fills in the interrupted context structure
813 before calling a signal handler, which is necessary to be able to
814 unwind past it. Update the copyright notice.
816 2003-12-05 Jerome Guitton <guitton@act-europe.fr>
818 * a-elchha.ads: New file.
820 * a-elchha.adb: New default last chance handler. Contents taken from
821 Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
823 * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
824 is moved to a-elchha.adb to provide a target-independent default last
827 * Makefile.rtl: Add a-elchha.o
829 * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
831 2003-12-05 Ed Schonberg <schonberg@gnat.com>
833 * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
834 declared in an instance, do not inline the call if the instance is not
835 frozen yet, to prevent order of elaboration problems.
837 * sem_prag.adb: Add comments for previous fix.
839 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr>
841 * g-table.adb: Use the right variable in Set_Item.
842 Update copyright notice.
844 2003-12-05 Arnaud Charlet <charlet@act-europe.fr>
846 * Makefile.in: Remove unused rules.
848 2003-12-05 Vincent Celier <celier@gnat.com>
850 * switch-c.adb (Scan_Front_End_Switches): Remove processing of
851 -nostdlib. Not needed here after all.
853 2003-12-03 Thomas Quinot <quinot@act-europe.fr>
857 * adaint.h, adaint.c, g-os_lib.ads:
858 Do not assume that the offset argument to lseek(2) is a 32 bit integer,
859 on some platforms (including FreeBSD), it is a 64 bit value.
860 Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
862 2003-12-03 Arnaud Charlet <charlet@act-europe.fr>
864 * gnatvsn.ads (Library_Version): Now contain only the relevant
866 (Verbose_Library_Version): New constant.
868 * g-spipat.adb, g-awk.adb, g-debpoo.adb,
869 g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
870 s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
872 * gnatlbr.adb: Clean up: replace Library_Version by
873 Verbose_Library_Version.
875 * make.adb, lib-writ.adb, exp_attr.adb:
876 Clean up: replace Library_Version by Verbose_Library_Version.
878 * 5lintman.adb: Removed.
881 Update and simplify computation of LIBRARY_VERSION.
882 Fix computation of GSMATCH_VERSION.
883 5lintman.adb is no longer used: replaced by 7sintman.adb.
885 2003-12-03 Robert Dewar <dewar@gnat.com>
888 (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
889 name. Modified to consider small non-bit-packed arrays as troublesome
890 and in need of component-by-component assigment expansion.
892 2003-12-03 Vincent Celier <celier@gnat.com>
894 * lang-specs.h: Process nostdlib as nostdinc
896 * back_end.adb: Update Copyright notice
897 (Scan_Compiler_Arguments): Process -nostdlib directly.
899 2003-12-03 Jose Ruiz <ruiz@act-europe.fr>
902 When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
903 redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
904 included in HIE_NONE_TARGET_PAIRS.
906 2003-12-03 Ed Schonberg <schonberg@gnat.com>
909 (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
910 is legal in an instance, because legality is cheched in the template.
913 (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
914 appplied to an unchecked conversion of a formal parameter.
917 (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
920 2003-12-03 Olivier Hainque <hainque@act-europe.fr>
922 * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
923 routines. The second one is new functionality to deal with backtracing
924 through signal handlers.
925 (unwind): Split into the two separate subroutines above.
926 Update the documentation, and deal properly with sizeof (REG) different
929 2003-12-01 Nicolas Setton <setton@act-europe.fr>
931 * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
932 so that the debugger can reliably access the value of the parameter,
933 and therefore is able to display the exception name when an exception
934 breakpoint is reached.
936 2003-12-01 Thomas Quinot <quinot@act-europe.fr>
938 * fmap.adb: Fix typo in warning message.
940 * g-socket.ads, g-socket.adb: Make Free a visible instance of
941 Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
943 2003-12-01 Vincent Celier <celier@gnat.com>
945 * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
947 (Build_Library): Get the switches only if Default_Switches is declared
950 2003-12-01 Ed Schonberg <schonberg@gnat.com>
952 * exp_ch6.adb (Expand_Actuals): When applying validity checks to
953 actuals that are indexed components, reanalyze actual to ensure that
954 packed array references are properly expanded.
956 * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
957 attempted assignment to a discriminant.
959 2003-12-01 Robert Dewar <dewar@gnat.com>
961 * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
964 * switch-c.adb: Minor reformatting of comments
966 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
968 * Makefile.in: Clean ups.
970 2003-12-01 GNAT Script <nobody@gnat.com>
972 * Make-lang.in: Makefile automatically updated
974 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
976 * 5wsystem.ads: Disable zero cost exception, not ready yet.
978 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
980 * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
981 to force serialization.
983 2003-11-26 Thomas Quinot <quinot@act-europe.fr>
985 * g-socket.ads, g-socket.adb:
986 Clarify documentation of function Stream. Introduce a Free procedure
987 to release the returned Stream once it becomes unused.
989 * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
991 2003-11-26 Arnaud Charlet <charlet@act-europe.fr>
993 (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
994 since NT 4 cannot handle timeout values that are too large,
997 2003-11-26 Ed Schonberg <schonberg@gnat.com>
1000 (Expand_N_Slice): Recognize all cases of slices that appear as actuals
1001 in procedure calls and whose expansion must be deferred.
1003 * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
1007 (Build_Derived_Array_Type): Create operator for unconstrained type
1008 if ancestor is unconstrained.
1010 2003-11-26 Vincent Celier <celier@gnat.com>
1012 * make.adb (Project_Object_Directory): New global variable
1013 (Change_To_Object_Directory): New procedure
1014 (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
1015 of Change_Dir directly. Do not change working directory to object
1016 directory of main project after each compilation.
1017 (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
1019 Change to object directory of main project before binding step.
1020 (Initialize): Initialize Project_Object_Directory to No_Project
1023 (Build_Library): Take into account Builder'Default_Switches ("Ada") when
1024 binding a Stand-Alone Library.
1026 * output.adb: Update Copyright notice
1027 (Write_Char): Output buffer when full
1029 2003-11-26 Robert Dewar <dewar@gnat.com>
1031 * sem_ch13.adb: (Check_Size): Reset size if size is too small
1034 (Check_Size): Fix documentation to include bit-packed array case
1036 * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
1038 * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
1040 * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
1042 2003-11-24 Arnaud Charlet <charlet@act-europe.fr>
1045 * utils.c (init_gigi_decls): Change name of built-in setjmp to
1046 __builtin_setjmp, since this is apparently needed by recent
1049 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1051 * adadecode.c: Only include ctype.h if not IN_GCC.
1052 (__gnat_decode): Use ISDIGIT from safe-ctype.h.
1054 2003-11-24 Jose Ruiz <ruiz@act-europe.fr>
1057 Use 5zintman.ads for VxWorks targets. This file avoid confusion between
1058 signals and interrupts.
1060 * 5zintman.ads: New File.
1062 * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
1063 add exception signals to the set of unmasked signals.
1066 Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
1067 between signals and interrupts.
1068 Add to Unblocked_Signal_Mask the set of signals that are in
1072 Adding a check to see whether the Interrupt_ID we want to unmask is in
1073 the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
1074 reason is that the index type of the Keep_Unmasked array is not always
1075 Interrupt_ID; it may be a subtype of Interrupt_ID.
1077 2003-11-24 Gary Dismukes <dismukes@gnat.com>
1080 (Remove_Side_Effects): Condition constantness of object created for a
1081 an unchecked type conversion on the constantness of the expression
1082 to ensure the correct value for 'Constrained when passing components
1083 of view-converted class-wide objects.
1085 2003-11-24 Robert Dewar <dewar@gnat.com>
1087 * par-load.adb (Load): Improve handling of misspelled and missing units
1088 Removes several cases of compilation abandoned messages
1090 * lib.adb: (Remove_Unit): New procedure
1092 * lib.ads: (Remove_Unit): New procedure
1094 * lib-load.adb: Minor reformatting
1096 2003-11-24 Vincent Celier <celier@gnat.com>
1099 (Gnatmake, Initialize): Call Usage instead of Makeusg directly
1100 (Marking_Label): Label to mark processed source files. Incremented for
1102 (Gnatmake): Increase Marking_Labet for each executable
1103 (Is_Marked): Compare against marking label
1104 (Mark): Mark with marking label
1106 2003-11-24 Jerome Guitton <guitton@act-europe.fr>
1109 Move the declaration of the TSD for System.Threads to System.Soft_Links.
1112 * Makefile.in: Added target pair for s-thread.adb for cert runtime.
1113 (rts-cert): build a single relocatable object for the run-time lib.
1116 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr>
1119 Use gnatls rather than gcc to obtain the location of GNAT RTL for
1122 2003-11-24 Sergey Rybin <rybin@act-europe.fr>
1124 * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
1125 can not use it as before (that is, as a variable) when dumping it into
1126 the tree file. Add a local variable to store the result of this
1127 function and to be used as the string to be written into the tree.
1129 * scn.adb (Initialize_Scanner): Add comments explaining the recent
1132 * sinput.adb (Source_First, Source_Last): In case of
1133 Internal_Source_File, replace returning attributes of
1134 Internal_Source_Ptr (which is wrong) with returning attributes of
1137 2003-11-24 Ed Schonberg <schonberg@gnat.com>
1140 (New_Concatenation_Op): Proper name for New_Binary_Operator, only
1141 used for implicit concatenation operators.
1145 (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
1146 task bodies that are in the scope of a Suppress pragma.
1147 (Check_A Call): Use the flag to prevent spurious elaboration checks.
1149 * sinfo.ads, sinfo.adb:
1150 New flag No_Elaboration_Check on function/procedure calls, to properly
1151 suppress checks on calls in task bodies that are within a local suppress
1155 (Expand_Concatenate_Other): Use the proper integer type for the
1156 expression for the upper bound, to avoid universal_integer computations
1159 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
1161 * .cvsignore: Delete.
1163 2003-11-21 Andreas Schwab <schwab@suse.de>
1165 * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
1167 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr>
1169 * 5wsystem.ads: Enable zero cost exception.
1171 2003-11-21 Jerome Guitton <guitton@act-europe.fr>
1173 * 5ztiitho.adb: Remove an unreferenced variable.
1175 2003-11-21 Thomas Quinot <quinot@act-europe.fr>
1177 * adaint.c: For FreeBSD, use mkstemp.
1179 2003-11-21 Arnaud Charlet <charlet@act-europe.fr>
1181 * gnatlbr.adb: Now reference Gnat_Static_Version_String.
1183 2003-11-21 Robert Dewar <dewar@gnat.com>
1185 * bld.adb: Remove useless USE of gnatvsn
1187 * gnatchop.adb: Minor reformatting
1188 Clean up version handling to be more consistent
1190 * gnatxref.adb: Minor reformatting
1192 * gprcmd.adb: Minor reformatting
1193 Fix output of copyright to be more consistent with other tools
1195 2003-11-21 Vincent Celier <celier@gnat.com>
1197 * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
1199 2003-11-21 Sergey Rybin <rybin@act-europe.fr>
1201 * atree.adb (Initialize): Add initializations for global variables
1202 used in New_Copy_Tree.
1204 * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
1205 Internal_Source_File as the actual).
1206 Put the set of statements creating Any_Character before the set of
1207 statements creating Any_Array to have Any_Character fully initialized
1208 when it is used in creating Any_Array.
1210 * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
1211 not call Scan in case if the actual is Internal_Source_File
1212 Add 2003 to copyright note.
1214 * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
1215 processing Internal_Source_File.
1217 * types.ads: Add the constant Internal_Source_File representing the
1218 source buffer for artificial source-code-like strings created within
1219 the compiler (the definition of Source_File_Index is changed).
1221 2003-11-20 Arnaud Charlet <charlet@act-europe.fr>
1223 * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
1224 56system.ads: New file, FreeBSD version.
1226 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
1228 * Make-lang.in (ada.extraclean): Delete.
1230 2003-11-19 Arnaud Charlet <charlet@act-europe.fr>
1232 * gnatmem.adb: Clean up verbose output.
1234 * gprcmd.adb: Change copyright to FSF.
1236 2003-11-19 Vincent Celier <celier@gnat.com>
1238 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
1239 and Version (ignored).
1241 * symbols.ads: (Policy): New type
1242 (Initialize): New parameter Reference, Symbol_Policy and
1244 Remove parameter Force.
1247 * snames.ads, snames.adbadb: New standard names
1248 Library_Reference_Symbol_File and Library_Symbol_Policy
1251 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
1255 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
1257 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
1259 * prj.adb: (Project_Empty): New component Symbol_Data
1261 * prj.ads: (Policy, Symbol_Record): New types
1262 (Project_Data): New component Symbol_Data
1265 New attributes Library_Symbol_File, Library_Symbol_Policy and
1266 Library_Reference_Symbol_File.
1269 (Ada_Check): When project is a Stand-Alone library project, process
1270 attribute Library_Symbol_File, Library_Symbol_Policy and
1271 Library_Reference_Symbol_File.
1273 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1274 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
1275 5sml-tgt.adb (Build_Dynamic_Library): New parameter
1276 Symbol_Data (ignored).
1278 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
1279 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
1280 functions Option_File_Name and Version_String. Set new options of
1281 gnatsym related to symbol file, symbol policy and reference symbol
1285 Extensive modifications to take into account the reference symbol file,
1286 the symbol policy, the library version and to put in the symbol file the
1287 minor and major IDs.
1289 * bld.adb (Process_Declarative_Items): Put second argument of
1290 gprcmd to_absolute between single quotes, to avoid problems with
1293 * bld-io.adb: Update Copyright notice.
1294 (Flush): Remove last character of a line, if it is a back slash, to
1295 avoid make problems.
1298 Implement new scheme with reference symbol file and symbol policy.
1300 * g-os_lib.ads: (Is_Directory): Clarify comment
1302 2003-11-19 Robert Dewar <dewar@gnat.com>
1304 * atree.adb: Move New_Copy_Tree global variables to head of package
1306 * errout.adb: Minor reformatting
1308 2003-11-19 Javier Miranda <miranda@gnat.com>
1310 * sem_ch4.adb: (Diagnose_Call): Improve error message.
1311 Add reference to Ada0Y (AI-50217)
1313 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
1314 sem_util.adb: Add reference to AI-50217
1316 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
1318 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
1320 * sem_aggr.adb: Complete documentation of AI-287 changes
1322 * par-ch4.adb: Document previous changes.
1324 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
1325 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
1328 * exp_aggr.adb: Add references to AI-287 in previous changes
1330 2003-11-19 Ed Schonberg <schonberg@gnat.com>
1333 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
1334 in the rewriting is the result of an inlined call.
1336 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
1337 parameter is a type conversion, use original node to construct the
1338 post-call assignment, because expression may have been rewritten, e.g.
1339 if it is a packed array.
1342 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
1343 body, just as it is in an instance.
1344 Categorization routines
1346 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
1347 Instantiate_Object): Set proper sloc reference for message on missing
1350 2003-11-19 Thomas Quinot <quinot@act-europe.fr>
1352 * Makefile.in: Add FreeBSD libgnat pairs.
1354 * usage.adb: Fix typo in usage message.
1356 2003-11-19 Jerome Guitton <guitton@act-europe.fr>
1358 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
1359 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
1361 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
1363 * s-thread.adb: This file is now a dummy implementation of
1366 2003-11-19 Sergey Rybin <rybin@act-europe.fr>
1368 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
1370 2003-11-19 Emmanuel Briot <briot@act-europe.fr>
1372 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1373 instanciation references in the parent type description.
1375 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1377 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
1379 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
1380 TYPE_PRECISION directly from esize.
1382 2003-11-18 Thomas Quinot <quinot@act-europe.fr>
1385 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
1387 * init.c: Initialization routines for FreeBSD
1389 * link.c: Link info for FreeBSD
1391 * sysdep.c: Add the case of FreeBSD
1393 2003-11-17 Jerome Guitton <guitton@act-europe.fr>
1395 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
1396 already called in System.Threads.
1398 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
1399 environment task, as it has been moved to System.Threads.Initialization.
1401 2003-11-17 Arnaud Charlet <charlet@act-europe.fr>
1403 * adaint.c (__gnatlib_install_locks): Only reference
1404 __gnat_install_locks on VMS, since other platforms can avoid using
1405 --enable-threads=gnat
1407 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1409 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
1411 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
1412 TYPE_PACKED_ARRAY_TYPE_P.
1413 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
1415 Part of PR ada/12806
1416 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
1417 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
1419 2003-11-17 Vincent Celier <celier@gnat.com>
1421 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
1423 Do not set exit status to Failure when Warning is True.
1424 (Gnatchop): Make errors "no compilation units found" and
1425 "no source files written" warnings only.
1427 * make.adb (Gnatmake): When using a project file, set
1428 Look_In_Primary_Dir to False.
1429 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
1430 and Local_Configuration_Pragmas in the project where they are declared
1431 not an extending project which might have inherited them.
1433 * osint.adb (Locate_File): If Name is already an absolute path, do not
1434 look for a directory.
1436 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
1437 -gnats (Check_Syntax) is used, issue only a warning, not an error.
1439 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
1440 in objects of type Variable_Value.
1442 * prj.ads: (Variable_Value): New component Project
1444 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
1445 is in a project extended by Project.
1447 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
1448 Project of Variable_Values to this new parameter value.
1449 (Expression): Set component Project of Variable_Values.
1450 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
1451 Set the component Project in array elements.
1453 2003-11-17 Sergey Rybin <rybin@act-europe.fr>
1455 * errout.adb: (Initialize): Add initialization for error nodes.
1457 * sem_ch12.adb (Initialize): Add missing initializations for
1458 Exchanged_Views and Hidden_Entities.
1460 2003-11-17 Ed Schonberg <schonberg@gnat.com>
1462 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
1463 already instantiated tree for use in subsequent inlining.
1464 (Analyze_Associations, Instantiate_Formal_Subprogram,
1465 Instantiate_Object): improve error message for mismatch in
1468 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
1469 instantiations of subprograms declared in instances.
1471 2003-11-17 Javier Miranda <miranda@gnat.com>
1473 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
1474 executed only under the Extensions_Allowed flag.
1476 2003-11-17 Robert Dewar <dewar@gnat.com>
1478 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
1480 (Address_Image): Fix bug of returning 0x instead of 0x0
1481 Minor reformatting (function specs).
1483 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
1484 (missed case of 33-63)
1486 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
1488 * s-thread.adb: Add comments for pragma Restriction
1490 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
1491 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
1493 2003-11-17 Ed Falis <falis@gnat.com>
1495 * s-thread.adb: Added No_Tasking restriction for this implementation.
1497 2003-11-17 Emmanuel Briot <briot@act-europe.fr>
1499 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1500 instanciation references in the parent type description.
1502 2003-11-17 GNAT Script <nobody@gnat.com>
1504 * Make-lang.in: Makefile automatically updated
1506 2003-11-16 Jason Merrill <jason@redhat.com>
1508 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
1509 and TAGS files that include them for each front end.
1511 2003-11-14 Andreas Jaeger <aj@suse.de>
1513 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
1514 is the canonical version.
1515 * misc.c (gnat_handle_option): Likewise.
1517 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
1519 * 5nsystem.ads: New file for x86_64-linux-gnu.
1521 2003-11-14 Arnaud Charlet <charlet@act-europe.fr>
1523 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
1525 * comperr.adb: Fix logic in previous change.
1527 2003-11-13 Vincent Celier <celier@gnat.com>
1529 * 5bml-tgt.adb (Build_Dynamic_Library): Use
1530 Osint.Include_Dir_Default_Prefix instead of
1531 Sdefault.Include_Dir_Default_Name.
1533 * gnatlbr.adb: Update Copyright notice
1534 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1535 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1536 instead of Sdefault.Object_Dir_Default_Name
1539 (Process_Binder_File): Never suppress the option following -Xlinker
1542 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1543 Sdefault.Object_Dir_Default_Name.
1545 * osint.ads, osint.adb:
1546 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1549 * vms_conv.ads: Minor reformating
1550 Remove GNAT STANDARD and GNAT PSTA
1553 Allow GNAT MAKE to have several files on the command line.
1554 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1555 Sdefault.Object_Dir_Default_Name.
1557 Remove data for GNAT STANDARD
1560 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1561 Remove data for GNAT STANDARD
1562 Remove options and documentation for -gnatwb/-gnatwB: these warning
1563 options no longer exist.
1565 2003-11-13 Ed Falis <falis@gnat.com>
1567 * 5zthrini.adb: (Init_RTS): Made visible
1570 (Register): Removed unnecessary call to taskVarGet that checked whether
1571 an ATSD was already set as a task var for the argument thread.
1574 Updated comment to reflect that this is a VxWorks version
1575 Added context clause for System.Threads.Initialization
1576 Added call to System.Threads.Initialization.Init_RTS
1578 2003-11-13 Jerome Guitton <guitton@act-europe.fr>
1581 (Init_RTS): New procedure, for the initialization of the run-time lib.
1584 Remove dependancy on System.Init, so that this file can be used in the
1585 AE653 sequential run-time lib.
1587 2003-11-13 Robert Dewar <dewar@gnat.com>
1589 * bindgen.adb: Minor reformatting
1591 2003-11-13 Ed Schonberg <schonberg@gnat.com>
1594 (Apply_Discriminant_Check): Do no apply check if target type is derived
1595 from source type with no applicable constraint.
1598 (Ensure_System_Dependency): Do not apply the style checks that may have
1599 been specified for the main unit.
1602 (Find_Selected_Component): Further improvement in error message, with
1606 (Resolve): Handle properly the case of an illegal overloaded protected
1609 2003-11-13 Javier Miranda <miranda@gnat.com>
1612 (Has_Default_Init_Comps): New function to check the presence of
1613 default initialization in an aggregate.
1614 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1615 extension aggregate of a limited record. In addition, a new formal
1616 was added to do not initialize the record controller (if any) during
1617 this recursive expansion of ancestors.
1618 (Init_Controller): Add support for limited record components.
1619 (Expand_Record_Aggregate): In case of default initialized components
1620 convert the aggregate into a set of assignments.
1622 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1623 describing the new syntax.
1624 Nothing else needed to be done because this subprogram delegates part of
1625 its work to P_Precord_Or_Array_Component_Association.
1626 (P_Record_Or_Array_Component_Association): Give support to the new
1627 syntax for default initialization of components.
1630 (Resolve_Aggregate): Relax the strictness of the frontend in case of
1632 (Resolve_Record_Aggregate): Give support to default initialized
1634 (Get_Value): In case of default initialized components, duplicate
1635 the corresponding default expression (from the record type
1636 declaration). In case of default initialization in the *others*
1637 choice, do not check that all components have the same type.
1638 (Resolve_Extension_Aggregate): Give support to limited extension
1642 (Check_Initialization): Relax the strictness of the front-end in case
1643 of aggregate and extension aggregates. This test is now done in
1644 Get_Value in a per-component manner.
1646 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1647 expression corresponds to a limited aggregate. This test is now done
1650 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1653 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1654 present in an N_Component_Association node
1656 2003-11-13 Thomas Quinot <quinot@act-europe.fr>
1658 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
1659 type-conformant entry only if they are homographs.
1661 2003-11-13 GNAT Script <nobody@gnat.com>
1663 * Make-lang.in: Makefile automatically updated
1665 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1667 * adadecode.c: Use <> form of include for ctype.h.
1668 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
1670 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1672 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
1673 Works around PR middle-end/6552.
1675 2003-11-10 Ed Falis <falis@gnat.com>
1677 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
1679 * 5zinit.adb: (Install_Handler): Moved back to spec
1680 (Install_Signal_Handlers): Deleted
1682 * 5zthrini.adb: Added context clause for System.Storage_Elements
1683 (Register): Only handles creation of taskVar; initialization moved to
1685 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
1686 Added declaration of environment task secondary stack and
1689 * s-thread.adb: Implement bodies for thread body processing
1692 Added comment identifying supported targets for pragma Thread_Body.
1694 2003-11-10 Pascal Obry <obry@gnat.com>
1696 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
1700 (Open): Properly check for string length before copying into the buffer.
1701 Raises Name_Error if buffer is too small. Note that this was a potential
1704 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
1706 * bindgen.adb, comperr.adb: Code clean ups.
1707 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
1709 2003-11-10 Sergey Rybin <rybin@act-europe.fr>
1711 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
1713 2003-11-10 Vincent Celier <celier@gnat.com>
1716 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
1719 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
1721 * prj.adb: (Project_Empty): Add new boolean component Virtual
1723 * prj.ads: (Virtual_Prefix): New constant string
1724 (Project_Data): New boolean component Virtual
1726 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
1727 a library project is extended by a virtual extending project.
1730 Modifications throughout to implement extending-all project, including:
1731 (Virtual_Hash, Processed_Hash): New hash tables
1732 (Create_Virtual_Extending_Project): New procedure
1733 (Look_For_Virtual_Projects_For): New procedure
1736 (Process): After checking the projects, if main project is an
1737 extending-all project, set the object directory of all virtual extending
1738 project to the object directory of the main project.
1739 Adjust error message when a virtual extending project has the same
1740 object directory as an project being extended.
1741 (Recursive_Process): If name starts with the virtual prefix, set Virtual
1742 to True in the project data.
1745 (Default_Project_Node): Add new boolean component Extending_All
1746 (Is_Extending_All): New function
1747 (Set_Is_Extending_All): New procedure
1749 * prj-tree.ads: (Is_Extending_All): New function
1750 (Set_Is_Extending_All): New procedure
1751 (Project_Node_Record): New boolean component Extending_All
1753 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
1756 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
1758 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
1759 "gprcmd prefix" to define it.
1761 2003-11-10 Thomas Quinot <quinot@act-europe.fr>
1763 * einfo.ads: Fix a typo and remove an extraneous word in comments.
1766 (Create_Dummy_Package_Unit): Set the scope of the entity for the
1767 created dummy package to Standard_Standard, not to itself, to
1768 defend other parts of the front-end against encoutering a cycle in
1772 (Analyze_With_Clause): When setting the entities for the successive
1773 N_Expanded_Names that constitute the name of a child unit, do not
1774 attempt to go further than Standard_Standard in the chain of scopes.
1775 This case arises from the placeholder units created by
1776 Create_Dummy_Package_Unit in the case of a with_clause for a
1777 nonexistent child unit.
1779 2003-11-10 Ed Schonberg <schonberg@gnat.com>
1782 (Expand_Thread_Body): Place subprogram on scope stack, so that new
1783 declarations are given the proper scope.
1786 (Check_Expr_Constants): Reject an expression that contains a constant
1787 created during expansion, and that appears after the object to which
1788 the address clause applies.
1790 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
1791 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
1792 that uses 'Range of a function call with controlled components, so
1793 that the function result can be finalized before starting the loop.
1796 (Find_Selected_Component): Improve error message when prefix is
1797 an implicit dereference of an incomplete type.
1799 2003-11-10 Robert Dewar <dewar@gnat.com>
1801 * opt.ads: New Print_Standard flag for -gnatS switch
1803 * sem_ch13.adb: Remove some additional checks for unaligned arrays
1805 * cstand.adb (Create_Standard): Print out package standard if -gnatS
1808 * debug.adb: Update doc for -gnatds to discuss relationship with new
1811 * sinfo.adb: Add new field Entity_Or_Associated_Node
1813 * sinfo.ads: Add new field Entity_Or_Associated_Node
1814 Update documentation for Associated_Node and Entity fields to clarify
1815 relationship and usage.
1818 (Write_Id): Properly process Associated_Node field in generic template
1821 Recognize new -gnatS switch for printing package Standard
1822 This replaces gnatpsta
1825 Add line for new -gnatS switch for printing package Standard
1826 This replaces gnatpsta
1828 2003-11-10 Andreas Jaeger <aj@suse.de>
1830 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
1833 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1835 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
1838 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1840 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
1843 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
1845 * sysdep.c: Add handling of cygwin.
1847 2003-11-10 GNAT Script <nobody@gnat.com>
1849 * Make-lang.in: Makefile automatically updated
1851 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1854 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
1855 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
1856 Replace GNAT_ROOT by GCC_ROOT.
1858 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
1860 2003-11-06 Zack Weinberg <zack@codesourcery.com>
1862 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
1863 and update for changed meaning of GET_MODE_BITSIZE.
1865 2003-11-04 Doug Rupp <rupp@gnat.com>
1867 * sysdep.c: Problem discovered during IA64 VMS port.
1868 [VMS] #include <unixio.h> to get proper prototypes.
1871 Issues discovered/problems fixed during IA64 VMS port.
1872 [VMS] #define _POSIX_EXIT for proper semantics.
1873 [VMS] #include <unixio.h> for proper prototypes.
1874 [VMS] (fork): #define IA64 version.
1875 (__gnat_os_exit): Remove unnecessary VMS specific code.
1877 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1879 Part of PR ada/12806
1881 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
1885 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
1888 * targtyps.c, decl.c, misc.c,
1889 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
1890 routines to work around change in FP sizing semantics in GCC.
1893 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
1895 * gigi.h: (enumerate_modes): New function.
1897 * Make-lang.in: (ada/misc.o): Add real.h.
1899 * misc.c: (enumerate_modes): New function.
1901 2003-11-04 Robert Dewar <dewar@gnat.com>
1903 * 3vtrasym.adb: Minor reformatting
1904 Use terminology encoded/decoded name, rather than C++ specific notion
1905 of mangling (this is the terminology used throughout GNAT).
1907 * einfo.h: Regenerated
1909 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
1912 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
1914 * par-prag.adb: Add dummy entry for Thread_Body pragma
1917 Add entries for System.Threads entities for thread body processing
1920 (Analyze_Pragma, Access attributes): Check these are not applied to a
1921 thread body, since this is not permitted
1923 * sem_prag.adb: Add processing for Thread_Body pragma.
1927 (Resolve_Call): Check for incorrect attempt to call a thread body
1928 procedure with a direct call.
1930 * snames.ads, snames.adb: Add entry for Thread_Body pragma
1931 Add names associated with thread body expansion
1933 * snames.h: Add entry for Thread_Body pragma
1935 * s-thread.adb: Add entries for thread body processing
1936 These are dummy bodies so far
1938 * s-thread.ads: Add documentation on thread body handling.
1939 Add entries for thread body processing.
1941 2003-11-04 Javier Miranda <miranda@gnat.com>
1944 (Build_Limited_Views): Return after posting an error in case of limited
1945 with_clause on subprograms, generics, instances or generic renamings
1946 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
1947 on subprograms, generics, instances or generic renamings
1949 2003-11-04 Arnaud Charlet <charlet@act-europe.fr>
1951 * raise.c (setup_to_install): Correct mistake in last revision; two
1952 arguments out of order.
1954 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
1955 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
1956 notice, missed in previous change.
1957 Remove trailing blanks and other style errors introduced in previous
1960 2003-11-04 Olivier Hainque <hainque@act-europe.fr>
1962 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
1963 rid of the wrapper for a LJM type, ensuring we don't do that if the
1964 field is addressable. This avoids potential low level type view
1965 mismatches later on, for instance in a by-reference argument passing
1968 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1970 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
1971 aligned at byte boundary.
1973 2003-11-04 Joel Brobecker <brobecker@gnat.com>
1975 * decl.c (components_to_record): Do not delete the empty variants from
1976 the end of the union type.
1978 2003-11-04 Ed Schonberg <schonberg@gnat.com>
1980 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
1981 operation for a derived type, an explicit declaration may use a local
1984 2003-11-04 Vincent Celier <celier@gnat.com>
1986 * make.adb (Gnatmake): Allow main sources on the command line with a
1987 library project when it is only for compilation (no binding or
1990 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1992 * Makefile.in: Remove many duplicate variables.
1994 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
1996 * Make-lang.in (dvi): Move targets to $(docobjdir).
1997 (gnat_ug_vms.dvi): Simplify rule and adjust target.
1998 (gnat_ug_wnt.dvi): Likewise.
1999 (gnat_ug_unx.dvi): Likewise.
2000 (gnat_ug_vxw.dvi): Likewise.
2001 (gnat_rm.dvi): Likewise.
2002 (gnat-style.dvi): Likewise.
2004 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
2006 * gigi.h: Missed commit from update for C90.
2008 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
2010 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
2012 2003-10-31 Andreas Schwab <schwab@suse.de>
2014 * raise.c (get_action_description_for): Fix typo in last change.
2016 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
2019 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
2020 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
2022 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
2024 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
2025 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
2026 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
2027 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
2028 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
2030 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
2033 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
2034 numbers when symbol name is too long.
2036 2003-10-30 Ed Falis <falis@gnat.com>
2038 * g-signal.ads, g-signal.adb: New files
2040 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
2042 * Makefile.rtl: Introduce GNAT.Signals
2044 2003-10-30 Robert Dewar <dewar@gnat.com>
2046 * freeze.adb: Minor reformatting
2048 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
2050 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
2051 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
2052 New handling of Id_Check parameter to improve recognition of keywords
2053 used as identifiers.
2054 Update copyright notice to include 2003
2056 2003-10-29 Robert Dewar <dewar@gnat.com>
2058 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
2059 sem_ch10.adb: Minor reformatting
2061 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
2062 (Expand_Assign_Record): Test right hand side for bit unaligned as well
2064 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
2066 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
2067 Support for TBK$SYMBOLIZE-based symbolic traceback.
2069 2003-10-29 Jose Ruiz <ruiz@act-europe.fr>
2072 Revert previous change, that did not work well when pragma No_Run_Time
2073 was used in conjunction with a run-time other than ZFP.
2075 2003-10-29 Vincent Celier <celier@gnat.com>
2078 (Gnatmake): When there are no Ada mains in attribute Main, disable the
2079 bind and link steps only is switch -z is not used.
2081 2003-10-29 Arnaud Charlet <charlet@act-europe.fr>
2083 * Makefile.generic: Remove duplicated setting of CC.
2085 * Makefile.prolog: Set CC to gcc by default, to override make's
2088 * einfo.h: Regenerated.
2090 2003-10-29 Ed Schonberg <schonberg@gnat.com>
2092 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
2093 current body, after compiling subunit.
2095 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
2096 when in deleted code, because gigi needs properly ordered freeze
2097 actions to annotate types.
2099 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
2100 prevent the premature freezing of record type that contains
2101 subcomponents with a private type that does not yet have a completion.
2103 2003-10-29 Javier Miranda <miranda@gnat.com>
2106 (Analyze_Package_Instantiation): Check that instances can not be used in
2107 limited with_clauses.
2110 (Analyze_Package_Renaming): Check that limited withed packages cannot
2111 be renamed. Improve text on error messages related to limited
2114 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
2116 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
2117 Update copyright notice.
2119 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
2120 (Install_Limited_Context_Clauses): New subprogram that isolates all the
2121 checks required for limited context_clauses and installs the limited
2123 (Install_Limited_Withed_Unit): Complete its documentation.
2124 (Analyze_Context): Check that limited with_clauses are only allowed in
2126 (Install_Context): Call Install_Limited_Context_Clauses after the
2127 parents have been installed.
2128 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
2129 package as 'From_With_Type'; this mark indicates that the limited view
2130 is installed. Used to check bad usages of limited with_clauses.
2131 (Build_Limited_Views): Do not add shadow entities to the scope's list
2132 of entities. Do not add real entities to the Non_Limited_Views chain.
2133 Improve error notification.
2134 (Remove_Context_Clauses): Remove context clauses in two phases:
2135 limited views first and regular views later (to maintain the
2137 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
2138 its visible entities.
2140 2003-10-29 Thomas Quinot <quinot@act-europe.fr>
2142 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
2143 with any type that Is_Fixed_Point_Type.
2145 * sinfo.ads: Fix documentation for Associated_Node attribute.
2147 2003-10-29 Sergey Rybin <rybin@act-europe.fr>
2149 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
2150 both '-gnatc' and '-gnatt' are specified.
2152 * atree.adb (Initialize): Add initialization for Node_Count (set to
2155 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2157 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
2158 do not consider as Pure.
2160 Part of implementation of function-at-a-time:
2162 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
2163 (tree_transform): Add new argument to build_component_ref.
2164 (tree_transform, case N_Assignment_Statement): Make and return an
2166 (tree_transform): If result IS_STMT, set flags and return it.
2167 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2169 * utils2.c (build_simple_component_ref, build_component_ref): Add new
2171 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
2172 (build_allocator): Likewise.
2174 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
2175 Add new arg to build_component_ref.
2176 (maybe_unconstrained_array, unchecked_convert): Likewise.
2178 * ada-tree.def (EXPR_STMT): New code.
2180 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
2182 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
2183 build_component_ref calls.
2185 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
2187 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2188 (build_component_ref): Add new argument, NO_FOLD_P.
2190 2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
2192 * Makefile.generic: Add missing substitution on object_deps handling.
2195 * Make-lang.in (check-ada): Enable ACATS test suite.
2197 2003-10-27 Robert Dewar <dewar@gnat.com>
2200 (Freeze_Array_Type): We do not need an initialization routine for types
2201 derived from String or Wide_String. They should be treated the same
2202 as String and Wide_String themselves. This caused problems with the
2203 use of Initialize_Scalars.
2206 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
2207 composites. This allows use of component clauses that are not byte
2211 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
2212 is an attempt to pack an array of atomic objects.
2214 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
2216 2003-10-27 Pascal Obry <obry@gnat.com>
2219 (Basename): Check for drive letters in a pathname only on DOS based OS.
2221 2003-10-27 Vincent Celier <celier@gnat.com>
2224 (Gnatmake): When unable to change dir to the object dir, display the
2225 content of the parent dir of the obj dir, to try to understand why this
2228 2003-10-27 GNAT Script <nobody@gnat.com>
2230 * Make-lang.in: Makefile automatically updated
2232 2003-10-27 Ed Schonberg <schonberg@gnat.com>
2235 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
2236 should not be done in Save/Restore_Scope_Stack, because it is performed
2240 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2241 whether use clauses should be removed/restored.
2244 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2245 whether use clauses should be removed/restored.
2247 2003-10-26 Andreas Jaeger <aj@suse.de>
2249 * Makefile.in: Remove duplicated lines.
2251 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2253 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
2254 minimize the differences with ACT tree.
2256 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
2257 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
2258 Gnatvsn.Gnat_Static_Version_String to reduce differences between
2261 2003-10-24 Pascal Obry <obry@gnat.com>
2263 * adadecode.c (ostrcpy): New function.
2264 (__gnat_decode): Use ostrcpy of strcpy.
2265 (has_prefix): Set first parameter a const.
2266 (has_suffix): Set first parameter a const.
2267 Update copyright notice. Fix source name in header.
2268 Removes a trailing space.
2271 2003-10-24 Jose Ruiz <ruiz@act-europe.fr>
2274 Remove the test against being in No_Run_Time_Mode before generating a
2275 call to Register_Tag. It is redundant with the test against the
2276 availability of the function Register_Tag.
2278 2003-10-24 Vincent Celier <celier@gnat.com>
2280 * g-catiio.adb: (Month_Name): Correct spelling of February
2282 * make.adb: (Mains): New package
2283 (Initialize): Call Mains.Delete
2284 (Gnatmake): Check that each main on the command line is a source of a
2285 project file and, if there are several mains, each of them is a source
2286 of the same project file.
2287 (Gnatmake): When a foreign language is specified in attribute Languages,
2288 no main is specified on the command line and attribute Mains is not
2289 empty, only build the Ada main. If there is no Ada main, just compile
2290 the Ada sources and their closure.
2291 (Gnatmake): If a main is specified on the command line with directory
2292 information, check that the source exists and, if it does, that the path
2293 is the actual path of a source of a project.
2296 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
2297 Full_Path is True, return the full path instead of the simple file name.
2298 (Project_Of): New function
2301 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
2303 (Project_Of): New function
2305 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2308 Ensure objects of main project are always checked and rebuilt if needed.
2309 Set CC to gcc by default.
2310 Prepare new handling of link by creating a global archive (not activated
2313 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2314 stringt.h: Update copyright notice. Remove trailing blanks.
2315 Fix source name in header.
2317 2003-10-24 Robert Dewar <dewar@gnat.com>
2319 * sem_ch12.adb: Minor reformatting
2322 Minor reformatting (including new function return style throughout)
2325 Minor reformatting (including new function return style throughout)
2327 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2329 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2330 stringt.h: Update copyright notice. Remove trailing blanks.
2331 Fix source name in header.
2333 2003-10-24 GNAT Script <nobody@gnat.com>
2335 * Make-lang.in: Makefile automatically updated
2337 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
2339 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
2340 stringt.h: Convert to ISO C90 declarations and definitions.
2342 2003-10-23 Thomas Quinot <quinot@act-europe.fr>
2345 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
2346 External_Tag attribute definition clauses.
2348 2003-10-23 Ed Schonberg <schonberg@gnat.com>
2351 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
2352 child unit, generate a fully qualified name to avoid spurious errors
2353 when the context contains renamings of different child units with
2354 the same simple name.
2356 * exp_dbug.ads: Add documentation on name qualification for renamings
2359 2003-10-23 Robert Dewar <dewar@gnat.com>
2361 * g-regpat.ads, g-regpat.adb: Minor reformatting
2363 2003-10-23 Jose Ruiz <ruiz@act-europe.fr>
2365 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
2367 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2369 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
2372 * urealp.h: (Machine): Update to proper definition.
2374 2003-10-23 Arnaud Charlet <charlet@act-europe.fr>
2376 * init.c, adaint.c: Minor reformatting.
2378 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
2380 * adaint.c (w32_epoch_offset): Define static const at file level.
2381 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
2382 rather than t_create, t_access in call to GetFileTime. Use union
2383 to convert between FILETIME and unsigned long long.
2384 (__gnat_file_time_name): Test for invalid file handle.
2385 (__gnat_set_filetime_name): Support win32 targets using
2388 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
2390 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
2392 * ctrl_c.c (__gnat_int_handler): Remove declaration.
2394 * decl.c (creat_concat_name): Const-ify prefix.
2396 * adaint.c: Include ctype.h if __MINGW32__.
2397 (__gnat_readlink): Mark arguments as possibly unused.
2398 (__gnat_symlink): Likewise.
2399 (__gnat_is_symbolic_link): Likewise.
2400 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
2402 (__gnat_file_time_name): Don't declare struct stat statbuf when
2404 (__gnat_is_absolute_path): Add parenthesis around condition of
2405 'if' statement to avoid warning.
2406 (__gnat_plist_init): Specify void as parameter.
2407 (plist_enter): Likewise.
2408 (plist_leave): Likewise.
2409 (remove_handle): Make static. Initialize prev.
2411 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2413 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
2414 * cstreams.c (__gnat_full_name): Minor improvements and clean up
2417 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2419 * tracebak.c (MAX): Avoid redefinition warning.
2421 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
2422 Change msg to const char *.
2423 (__gnat_install_handler): Remove ss, unused.
2424 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
2426 * cstreams.c (__gnat_full_name): Declare p only when used.
2427 (__gnat_full_name) [sgi] Return buffer.
2429 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2431 * mingw32.h: New file.
2432 * gnat_wrapper.adb: New file.
2434 2003-10-22 Jerome Roussel <roussel@act-europe.fr>
2436 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
2437 string match a pre compiled regular expression (the corresponding
2438 version of the function working on a raw regular expression)
2439 Fix typos in various comments
2440 Update copyright notice in spec
2442 2003-10-21 Gary Dismukes <dismukes@gnat.com>
2445 (Component_Needs_Simple_Initialization): Return False when the type is a
2446 packed bit array. Revise spec comments to document this case.
2449 (Expand_Pragma_Import): Set any expression on the imported object to
2450 empty to avoid initializing imported objects (in particular this
2451 covers the case of zero-initialization of bit arrays).
2452 Update copyright notice.
2454 2003-10-21 Ed Schonberg <schonberg@gnat.com>
2457 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
2458 a subunit is missing.
2459 (Instantiate_Subprogram_Body): If body of function is missing, set type
2460 of return expression explicitly in dummy body, to prevent cascaded
2461 errors when a subunit is missing.
2465 (Access_Subprogram_Declaration): Verify that return type is valid.
2469 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
2474 (Corresponding_Discriminant): If the scope of the discriminant is a
2475 private type without discriminant, use its full view.
2478 2003-10-21 Arnaud Charlet <charlet@act-europe.fr>
2480 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
2481 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
2482 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
2483 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
2484 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
2485 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
2486 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2487 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
2488 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
2489 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
2490 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
2491 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
2492 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
2493 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
2494 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
2495 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
2496 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
2497 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
2498 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
2499 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
2500 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
2501 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
2502 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
2503 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
2504 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
2505 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
2506 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
2507 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
2508 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
2509 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
2510 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
2511 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
2512 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
2513 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
2514 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
2515 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
2516 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
2517 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
2518 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
2519 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
2520 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
2521 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
2522 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
2523 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
2524 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
2525 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
2526 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
2527 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2528 vms_conv.ads, vms_conv.adb, vms_data.ads,
2529 vxaddr2line.adb: Files added. Merge with ACT tree.
2531 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2532 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2533 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2534 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2535 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2536 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2537 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2538 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2539 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2540 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2542 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2543 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2544 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2545 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2546 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2547 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2548 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2549 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2550 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2551 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2552 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2553 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2554 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2555 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2556 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2557 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2558 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2559 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2560 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2561 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2562 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2563 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2564 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2565 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2566 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2567 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2568 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2569 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2570 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2571 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2572 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2573 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2574 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2575 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2576 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2577 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2578 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2579 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2580 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2581 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2582 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2583 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2584 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2585 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2586 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2587 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2588 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2589 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2590 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2591 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2592 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2593 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2594 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2595 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2596 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2597 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2598 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2599 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2600 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2601 checks.adb, checks.ads, cio.c, comperr.adb,
2602 comperr.ads, csets.adb, cstand.adb, cstreams.c,
2603 debug_a.adb, debug_a.ads, debug.adb, decl.c,
2604 einfo.adb, einfo.ads, errout.adb, errout.ads,
2605 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2606 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2607 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2608 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2609 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2610 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2611 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2612 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2613 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2614 fe.h, fmap.adb, fmap.ads, fname.adb,
2615 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2616 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2617 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2618 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2619 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2620 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2621 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2622 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2623 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2624 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2625 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2626 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2627 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2628 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2629 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2630 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2631 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2632 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2633 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2634 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2635 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2636 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2637 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2638 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2639 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2640 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2641 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2642 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2643 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2644 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2645 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2646 layout.adb, lib.adb, lib.ads, lib-list.adb,
2647 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2648 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2649 link.c, live.adb, make.adb, make.ads,
2650 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2651 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2652 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2653 misc.c, mkdir.c, mlib.adb, mlib.ads,
2654 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2655 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
2656 namet.adb, namet.ads, namet.h, nlists.ads,
2657 nlists.h, nmake.adt, opt.adb, opt.ads,
2658 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
2659 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
2660 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2661 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
2662 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
2663 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
2664 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
2665 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
2666 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
2667 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
2668 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
2669 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
2670 prj-util.adb, prj-util.ads, raise.c, raise.h,
2671 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
2672 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
2673 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
2674 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
2675 scans.ads, scn.adb, scn.ads, s-crc32.adb,
2676 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
2677 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
2678 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
2679 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
2680 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
2681 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2682 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2683 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
2684 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
2685 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
2686 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
2687 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
2688 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
2689 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
2690 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2691 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
2692 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
2693 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
2694 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
2695 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
2696 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
2697 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
2698 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
2699 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
2700 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
2701 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
2702 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
2703 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
2704 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
2705 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
2706 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
2707 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
2708 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
2709 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
2710 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
2711 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
2712 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
2713 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
2714 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
2715 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
2716 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
2717 stringt.adb, stringt.ads, stringt.h, style.ads,
2718 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
2719 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
2720 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
2721 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
2722 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
2723 table.adb, table.ads, targparm.adb, targparm.ads,
2724 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
2725 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
2726 ttypes.ads, types.ads, types.h, uintp.adb,
2727 uintp.ads, uintp.h, uname.adb, urealp.adb,
2728 urealp.ads, urealp.h, usage.adb, utils2.c,
2729 utils.c, validsw.adb, validsw.ads, widechar.adb,
2730 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
2731 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
2732 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
2733 gnatvsn.ads: Merge with ACT tree.
2735 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
2737 2003-10-20 Mark Mitchell <mark@codesourcery.com>
2739 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
2740 (gnat_ug_vmx.info): Likewise.
2741 (gnat_ug_vxw.info): Likewise.
2742 (gnat_ug_wnt.info): Likewise.
2743 (gnat_rm.info): Likewise.
2744 (gnat-style.info): Likewise.
2746 * Make-lang.in (ada.install-info): Remove target.
2748 (install-info): Likewise.
2749 (gnat_ug_unx.info): Simplify rule.
2750 (gnat_ug_vmx.info): Likewise.
2751 (gnat_ug_vxw.info): Likewise.
2752 (gnat_ug_wnt.info): Likewise.
2753 (gnat_rm.info): Likewise.
2754 (gnat-style.info): Likewise.
2756 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
2758 * Make-lang.in: Replace uses of $(target_alias) with
2759 $(target_noncanonical).
2760 * ada/Makefile.in: Remove unused mention of $(target_alias).
2762 2003-10-06 Mark Mitchell <mark@codesourcery.com>
2764 * Make-lang.in (ada.info): Replace with ...
2766 (ada.dvi): Replace with ...
2769 2003-09-29 Zack Weinberg <zack@codesourcery.com>
2771 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
2772 initialize dconstp5 and dconstmp5.
2774 2003-09-28 Richard Henderson <rth@redhat.com>
2776 * trans.c (tree_transform): Update call to expand_asm_operands.
2778 2003-09-21 Richard Henderson <rth@redhat.com>
2780 * trans.c, utils.c: Revert.
2782 2003-09-21 Richard Henderson <rth@redhat.com>
2784 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
2787 2003-09-04 Michael Matz <matz@suse.de>
2789 * misc.c: Include "target.h".
2790 * Make-lang.in (misc.o): Add dependency on target.h.
2792 2003-09-03 DJ Delorie <dj@redhat.com>
2794 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
2797 2003-08-30 Zack Weinberg <zack@codesourcery.com>
2799 * Makefile.in: Update substitutions to match changes to
2800 configure. Use include directives instead of @-insertions
2801 to read in host and target fragments. Add a rule to
2802 regenerate ada/Makefile.
2804 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
2806 * lang-options.h: Remove.
2807 * lang.opt: Add help text.
2809 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
2811 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
2814 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
2816 * misc.c (gnat_handle_option): Don't handle filenames.
2818 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2820 * Make-lang.in: Replace PWD with PWD_COMMAND.
2821 * Makefile.adalib: Likewise.
2822 * Makefile.in: Likewise.
2824 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
2826 * misc.c (gnat_argv): Revert last change.
2827 (gnat_handle_option, gnat_init_options): Copy arguments.
2829 2003-07-03 Neil Booth <neil@daikokuya.co.uk>
2831 * misc.c (gnat_argv): Make const.
2833 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2835 * misc.c (save_argc, save_argv): Keep non-static!
2837 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2839 * misc.c (save_argc, save_argv): Make static.
2840 (gnat_init_options): New prototype.
2841 (gnat_init_options): Update.
2843 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
2845 * gnat_ug.texi: Remove unlikely characters from @vars.
2846 * gnat_ug_vms.texi: Regenerate.
2848 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2850 * misc.c (record_code_position): Adjust emit_note call.
2852 2003-06-26 Neil Booth <neil@daikokuya.co.uk>
2854 * misc.c (gnat_handle_option): Don't check for missing arguments.
2856 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
2858 * utils.c (end_subprog_body): Adjust expand_function_end call.
2860 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
2862 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
2865 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
2867 * lang.opt: Declare Ada.
2868 * misc.c (gnat_init_options): Update.
2870 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
2872 * utils.c (begin_subprog_body): Adjust init_function_start call.
2874 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
2876 * Make-lang.in: Update to use options.c and options.h.
2877 * misc.c: Include options.h not aoptions.h.
2878 (gnat_handle_option): Abort on unrecognized switch.
2879 (gnat_init_options): Request Ada switches.
2881 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
2883 * lang.opt: Add -Wall.
2884 * misc.c (gnat_handle_option): Handle it.
2886 2003-06-12 Neil Booth <neil@daikokuya.co.uk>
2888 * misc.c (gnat_handle_option): Fix warnings.
2890 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
2892 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
2894 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
2896 * Make-lang.in: Update to handle command-line options.
2897 * lang.opt: New file.
2898 * misc.c: Include aoptions.h.
2899 (cl_options_count, cl_options): Remove.
2900 (gnat_handle_option): New.
2901 (gnat_decode_option): Remove.
2902 (LANG_HOOKS_DECODE_OPTION): Remove.
2903 (LANG_HOOKS_HANDLE_OPTION): Override.
2905 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
2907 * init.c, misc.c, trans.c, utils.c: Remove dead code.
2909 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
2911 * Makefile.in: Replace "host_canonical" with "host" for autoconf
2914 2003-06-08 Neil Booth <neil@daikokuya.co.uk>
2916 * Make-lang.in: Update.
2917 * misc.c: Include opts.h. Define cl_options_count and cl_options.
2919 2003-06-07 Neil Booth <neil@daikokuya.co.uk>
2921 * misc.c (gnat_init_options): Update.
2923 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2925 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
2926 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
2927 __attribute__ ((__unused__)).
2929 2003-06-05 Jan Hubicka <jh@suse.cz>
2931 * Make-lang.in: Add support for stageprofile and stagefeedback
2933 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2935 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
2936 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
2938 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
2940 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
2941 Remove non-VMS directive.
2942 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
2944 (Examples of gnatls Usage): Remove VMS alternative.
2946 2003-06-04 Olivier Hainque <hainque@act-europe.fr>
2949 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
2950 and turn ZCX_By_Default back to False since the underlying support
2951 is not quite there yet.
2953 2003-06-01 Andreas Jaeger <aj@suse.de>
2955 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
2956 and ROUND_TYPE_SIZE_UNIT.
2958 2003-05-22 Geert Bosch <bosch@gnat.com>
2960 * gnat_rm.texi : Remove reference to Ada Core Technologies.
2962 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
2964 * trans.c (tree_transform): Use location_t and input_location
2966 (build_unit_elab): Likewise.
2967 * utils.c (create_label_decl): Likewise.
2969 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
2971 * trans.c (tree_transform, build_unit_elab,
2972 set_lineno): Rename lineno to input_line.
2973 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
2974 end_subprog_body): Likewise.
2975 * utils2.c (build_call_raise): Likewise.
2977 2003-05-01 Laurent Guerby <guerby@acm.org>
2980 * 5iosinte.ads: Increase pthread_cond_t size to match recent
2981 LinuxThread and NPTL version, merge from ACT.
2983 2003-04-28 Zack Weinberg <zack@codesourcery.com>
2985 * utils.c (convert): No need to clear TREE_CST_RTL.
2987 2003-04-23 Geert Bosch <bosch@gnat.com>
2989 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
2990 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2991 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2992 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2993 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2994 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
2995 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
2996 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
2997 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2998 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
2999 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
3000 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
3001 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
3002 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
3003 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
3004 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
3005 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
3006 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
3007 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
3008 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
3009 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
3010 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
3011 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
3012 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
3013 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
3014 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
3015 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
3016 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
3017 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
3018 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
3019 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
3020 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
3021 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
3022 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
3023 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
3024 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
3025 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
3026 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
3027 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
3028 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
3029 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
3030 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
3031 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
3032 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
3033 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
3034 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
3035 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
3036 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
3037 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
3038 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
3039 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
3040 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
3041 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
3042 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
3043 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
3044 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
3045 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
3046 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
3047 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
3048 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
3049 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
3050 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
3051 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
3052 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
3053 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
3054 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
3055 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
3056 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
3057 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
3058 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
3059 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
3060 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
3061 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
3062 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
3063 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
3064 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
3065 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
3066 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
3067 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
3068 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
3069 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
3070 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
3071 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
3072 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
3073 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
3074 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
3075 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
3076 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
3077 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
3078 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
3079 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
3080 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
3081 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
3082 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
3083 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
3084 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
3085 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
3086 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
3087 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
3088 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
3089 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
3090 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
3091 ali.adb, ali.ads, alloc.ads, argv.c,
3092 atree.adb, atree.ads, atree.h, aux-io.c,
3093 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
3094 binde.adb, binde.ads, binderr.adb, binderr.ads,
3095 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
3096 butil.adb, butil.ads, cal.c, calendar.ads,
3097 casing.adb, casing.ads, ceinfo.adb, checks.adb,
3098 checks.ads, cio.c, comperr.adb, comperr.ads,
3099 config-lang.in, csets.adb, csets.ads, csinfo.adb,
3100 cstand.adb, cstand.ads, cuintp.c, debug.adb,
3101 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
3102 dec-io.ads, dec.ads, deftarg.c, directio.ads,
3103 einfo.adb, einfo.ads, elists.adb, elists.ads,
3104 elists.h, errno.c, errout.adb, errout.ads,
3105 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
3106 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
3107 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
3108 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
3109 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
3110 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
3111 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
3112 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
3113 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
3114 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
3115 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
3116 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
3117 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
3118 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
3119 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
3120 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
3121 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
3122 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
3123 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
3124 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
3125 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
3126 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
3127 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
3128 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
3129 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
3130 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
3131 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
3132 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
3133 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
3134 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
3135 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
3136 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
3137 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
3138 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
3139 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
3140 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
3141 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
3142 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
3143 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
3144 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
3145 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
3146 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
3147 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
3148 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
3149 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
3150 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
3151 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
3152 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
3153 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
3154 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
3155 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
3156 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
3157 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
3158 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
3159 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
3160 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
3161 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
3162 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
3163 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
3164 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
3165 lib.adb, lib.ads, live.adb, live.ads,
3166 machcode.ads, make.adb, make.ads, makeusg.adb,
3167 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
3168 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
3169 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
3170 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
3171 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
3172 mlib.ads, namet.adb, namet.ads, nlists.adb,
3173 nlists.ads, opt.adb, opt.ads, osint-b.adb,
3174 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
3175 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
3176 osint.ads, output.adb, output.ads, par-ch10.adb,
3177 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
3178 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
3179 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
3180 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
3181 par-tchk.adb, par-util.adb, par.adb, par.ads,
3182 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
3183 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
3184 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
3185 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
3186 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
3187 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
3188 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
3189 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
3190 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
3191 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
3192 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
3193 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
3194 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
3195 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
3196 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
3197 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
3198 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
3199 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
3200 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
3201 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
3202 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
3203 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
3204 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
3205 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
3206 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
3207 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
3208 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
3209 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
3210 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
3211 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
3212 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
3213 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
3214 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
3215 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
3216 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
3217 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
3218 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
3219 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
3220 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
3221 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
3222 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
3223 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
3224 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
3225 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
3226 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
3227 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
3228 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
3229 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
3230 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
3231 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
3232 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
3233 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
3234 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
3235 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
3236 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
3237 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
3238 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
3239 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
3240 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
3241 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
3242 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
3243 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
3244 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
3245 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
3246 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
3247 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
3248 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
3249 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
3250 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
3251 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
3252 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
3253 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
3254 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
3255 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
3256 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
3257 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
3258 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
3259 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
3260 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
3261 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
3262 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
3263 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
3264 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
3265 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3266 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
3267 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
3268 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
3269 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
3270 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
3271 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
3272 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
3273 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
3274 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
3275 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
3276 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
3277 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
3278 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
3279 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
3280 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
3281 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
3282 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
3283 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
3284 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
3285 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
3286 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
3287 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
3288 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
3289 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
3290 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
3291 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
3292 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
3293 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
3294 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
3295 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
3296 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
3297 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
3298 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
3299 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
3300 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
3301 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
3302 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
3303 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
3304 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
3305 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
3306 snames.ads, sprint.adb, sprint.ads, stand.adb,
3307 stand.ads, stringt.adb, stringt.ads, style.adb,
3308 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
3309 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
3310 switch-m.ads, switch.adb, switch.ads, system.ads,
3311 table.adb, table.ads, targparm.adb, targparm.ads,
3312 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
3313 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
3314 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
3315 ttypef.ads, ttypes.ads, types.adb, types.ads,
3316 uintp.adb, uintp.ads, uname.adb, uname.ads,
3317 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
3318 usage.adb, usage.ads, validsw.adb, validsw.ads,
3319 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
3320 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
3321 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
3322 formatting and other trivial changes from ACT.
3324 2003-04-12 Zack Weinberg <zack@codesourcery.com>
3326 * gigi.h, utils2.c (build_constructor):
3327 Rename gnat_build_constructor. Use build_constructor.
3328 * decl.c (gnat_to_gnu_entity)
3329 * trans.c (tree_transform, pos_to_constructor, extract_values)
3330 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
3332 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
3333 (fill_vms_descriptor):
3336 2003-04-06 Zack Weinberg <zack@codesourcery.com>
3338 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
3339 * misc.c (gnat_tree_size): New function.
3340 (LANG_HOOKS_TREE_SIZE): Override.
3342 2003-04-03 Jason Merrill <jason@redhat.com>
3344 * misc.c (gnat_adjust_rli): #if 0.
3346 2003-03-31 Geert Bosch <bosch@gnat.com>
3349 * link.c : Fix misspelled "const" keyword
3351 2003-03-23 Mark Mitchell <mark@codesourcery.com>
3354 * utils2.c: Adjust calls to put_var_into_stack.
3356 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
3358 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
3360 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
3362 * misc.c (gnat_init): Update for new prototype.
3364 2003-03-05 Olivier Hainque <hainque@gnat.com>
3367 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
3368 warning, and fix return type for the IN_RTS && !SJLJ case.
3370 2003-03-04 Tom Tromey <tromey@redhat.com>
3372 * Make-lang.in (ada.tags): New target.
3374 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
3377 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
3378 wrapper, which name remains constant whatever underlying GCC
3381 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
3382 the stable interface needed for a-except.
3384 2003-03-02 Andreas Jaeger <aj@suse.de>
3386 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3387 gnat_ug_wnt.texi: Regenerate.
3389 2003-03-02 Laurent Guerby <guerby@acm.org>
3391 * Makefile.in (install-gnatlib): Match previous change there
3394 2003-02-28 Andreas Schwab <schwab@suse.de>
3396 * Make-lang.in (install-gnatlib): Change to ada directory before
3397 running make instead of using ada/Makefile directly.
3399 2003-02-18 Ben Elliston <bje@redhat.com>
3401 Part of fix for PR ada/9406
3402 * gnat_ug.texi (Binder output file): Grammar fix.
3404 2003-02-18 Ben Elliston <bje@redhat.com>
3407 * 5qtaprop.adb (Sleep): Fix typo in comment.
3409 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3411 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
3412 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3413 gnat_ug_wnt.texi: Regenerate.
3415 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3417 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
3418 be created if necessary.
3419 (ada.install-common): Let $(DESTDIR)$(bindir) be created
3420 if necessary. Remove erroneous and redundant gnatchop
3421 installation commands. Test for gnatdll before attempting
3423 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
3424 and gnatdll from all plausible locations.
3426 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
3428 * utils2.c (build_unary_op): Don't check flag_volatile.
3429 * gnat_ug.texi: Remove -fvolatile from example.
3430 * gnat_ug_vxw.texi: Likewise.
3432 2003-01-29 Laurent Guerby <guerby@acm.org>
3435 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
3436 * Makefile.in: match previous change.
3437 * Make-lang.in: match previous change.
3439 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3441 * 5rosinte.ads: Add SIGXCPU.
3442 * 5rtpopsp.adb: New file.
3443 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
3444 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
3445 specific file 5rtpopsp.adb.
3446 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
3447 is likely needed for all newlib targets.
3448 * init.c: Add RTEMS specific version of __gnat_initialize().
3450 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3452 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
3454 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3456 * init.c (__gnat_error_handler): Make msg const.
3458 * gmem.c (convert_addresses): Move declaration ...
3459 * adaint.h: ... here.
3460 * adaint.c (convert_addresses): Adapt addrs type to match
3463 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
3465 2003-01-24 Andreas Schwab <schwab@suse.de>
3467 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
3468 size_t to avoid warning.
3470 2003-01-21 Zack Weinberg <zack@codesourcery.com>
3472 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
3474 2003-01-09 Geoffrey Keating <geoffk@apple.com>
3476 * gnat_rm.texi: Remove RCS version number.
3478 * ada-tree.h (union lang_tree_node): Add chain_next option.
3480 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3482 * Make-lang.in (ada.install-info, ada.install-common,
3483 ada.uninstall): Prepend $(DESTDIR) to the destination
3484 directory in all (un)installation commands.
3485 * Makefile.in (install-gnatlib, install-rts): Ditto.
3487 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
3489 * gnat_rm.texi, gnat_ug.texi: Use @copying.
3490 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3491 gnat_ug_wnt.texi: Regenerate.
3493 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
3495 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
3497 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
3498 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
3499 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
3500 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
3501 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
3502 $(srcdir)/doc/include/gcc-common.texi.
3504 2002-12-15 Geert Bosch <bosch@gnat.com>
3506 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
3508 2002-12-14 Geert Bosch <bosch@gnat.com>
3510 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
3511 case of a body created for a Renaming_As_Body, on which
3512 conformance checks are not performed. Fixes PR ada/5690.
3514 2002-11-30 Zack Weinberg <zack@codesourcery.com>
3516 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
3517 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
3518 not already included.
3519 * Make-lang.in: Update dependencies.
3521 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
3522 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
3523 solution to buffer overflow bug on GNU/Linux.
3525 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
3526 Closes PR ada/5856 and PR ada/6919 !
3527 * bindgen.adb: Remove all references to Public_Version.
3528 * comperr.adb: Remove all references to Public_Version and
3529 GNATPRO_Version; correct bug reporting instructions.
3530 * comperr.ads: Change to match bug box.
3531 * gnatvsn.ads: Remove all references to Public version and
3534 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
3536 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
3540 * config-lang.in: Remove diff_excludes.
3542 2002-11-05 Graham Stott <graham.stott@btinternet.com>
3544 * trans.c (gnu_pending_elaboration_lists): New GC root.
3545 (build_unit_elab): Use..
3547 2002-10-30 Geert Bosch <bosch@gnat.com>
3549 * misc.c : Include optabs.h
3551 * Make-lang.in (misc.o): Add dependency on optabs.h
3553 2002-10-29 Geert Bosch <bosch@gnat.com>
3555 * Make-lang.in (gnatbind): Depend on CONFIG_H
3557 2002-10-29 Geert bosch <bosch@gnat.com>
3559 * misc.c: Unrevert misc.c (1.13)
3561 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
3563 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
3564 maintainership comments.
3566 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
3568 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
3569 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
3570 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
3571 7staprop.adb: Correct statements in comments about
3572 maintainership of GNAT.
3575 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
3576 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
3577 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
3578 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
3579 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
3580 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
3581 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
3582 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
3583 comments about maintainership of GNAT.
3585 PR ada/6919 (forward port of patch for PR ada/5904)
3586 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
3587 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
3588 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
3589 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
3590 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
3591 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
3592 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
3593 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
3594 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
3595 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
3596 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
3597 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
3598 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
3599 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
3600 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
3601 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
3602 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
3603 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
3604 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
3605 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
3606 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
3607 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
3608 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
3609 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
3610 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
3611 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
3612 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
3613 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
3614 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
3615 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
3616 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
3617 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
3618 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
3619 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
3620 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
3621 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
3622 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
3623 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
3624 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
3625 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
3626 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
3627 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
3628 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
3629 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
3630 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
3631 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
3632 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
3633 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
3634 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
3635 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
3636 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
3637 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
3638 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
3639 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
3640 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
3641 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
3642 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
3643 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
3644 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
3645 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
3646 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
3647 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
3648 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
3649 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
3650 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
3651 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
3652 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
3653 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
3654 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
3655 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
3656 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
3657 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
3658 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
3659 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
3660 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
3661 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
3662 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
3663 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
3664 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
3665 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
3666 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
3667 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
3668 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
3669 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
3670 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
3671 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
3672 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
3673 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
3674 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
3675 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
3676 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
3677 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
3678 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
3679 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
3680 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
3681 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
3682 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
3683 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
3684 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
3685 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
3686 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
3687 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
3688 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
3689 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
3690 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
3691 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
3692 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
3693 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
3694 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
3695 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
3696 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
3697 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
3698 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
3699 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
3700 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
3701 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
3702 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
3703 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
3704 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
3705 par-endh.adb par-labl.adb par-load.adb par-prag.adb
3706 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
3707 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
3708 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
3709 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
3710 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
3711 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
3712 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
3713 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
3714 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
3715 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
3716 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
3717 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
3718 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
3719 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
3720 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
3721 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
3722 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
3723 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
3724 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
3725 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
3726 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
3727 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
3728 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
3729 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
3730 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
3731 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
3732 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
3733 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
3734 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
3735 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
3736 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
3737 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
3738 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
3739 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
3740 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
3741 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
3742 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
3743 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
3744 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
3745 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
3746 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
3747 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
3748 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
3749 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
3750 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
3751 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
3752 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
3753 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
3754 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
3755 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
3756 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
3757 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
3758 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
3759 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
3760 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
3761 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
3762 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
3763 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
3764 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
3765 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
3766 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
3767 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
3768 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
3769 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
3770 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
3771 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
3772 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
3773 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
3774 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
3775 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
3776 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
3777 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
3778 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
3779 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
3780 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
3781 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
3782 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
3783 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
3784 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
3785 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
3786 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
3787 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
3788 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
3789 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
3790 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
3791 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
3792 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
3793 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
3794 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
3795 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
3796 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
3797 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
3798 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
3799 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
3800 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
3801 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
3802 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
3803 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
3804 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
3805 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
3806 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
3807 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
3808 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
3809 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
3810 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
3811 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
3812 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
3813 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
3814 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
3815 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
3816 stringt.ads stringt.h style.adb style.ads stylesw.adb
3817 stylesw.ads switch.adb switch.ads sysdep.c system.ads
3818 table.adb table.ads targparm.adb targparm.ads targtyps.c
3819 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
3820 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
3821 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
3822 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
3823 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
3824 usage.ads utils.c utils2.c validsw.adb validsw.ads
3825 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
3826 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
3827 xtreeprs.adb: Correct statements in comments about maintainership
3830 2002-09-23 Zack Weinberg <zack@codesourcery.com>
3832 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
3833 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
3834 * gnatvsn.ads: Gnat_Version_String is now a function.
3835 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
3836 copy the C version_string into a String and return it.
3837 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
3838 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
3839 Remove pragma Ident (Gnat_Version_String). If this was the
3840 sole use of package Gnatvsn, remove the with statement too.
3841 * gnat1drv.adb: Tweak -gnatv output.
3843 2002-09-17 Richard Henderson <rth@redhat.com>
3845 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
3846 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
3847 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
3848 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
3849 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
3850 and real_2expN instead of a loop.
3851 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
3852 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
3854 2002-08-25 Andre Leis <a.leis@gmx.net>
3855 David Billinghurst (David.Billinghurst@riotinto.com>
3857 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
3859 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3861 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
3862 Remove $(CONFIG_H) dependency.
3864 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
3866 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
3868 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3870 * adadecode.c (ada_demangle): Use xstrdup in lieu of
3872 * misc.c (gnat_decode_option): Likewise.
3874 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
3876 * make.adb (Add_Switch): Make Generic_Position a procedure. The
3877 function approach did not work well because of a side effect (the
3878 function call could reallocate the table which was being indexed
3879 using its result). Fixes ada/4851. [RESURRECTED]
3881 2002-07-01 Roger Sayle <roger@eyesopen.com>
3883 * ada/utils.c (builtin_function): Accept an additional parameter.
3885 2002-06-28 Andreas Jaeger <aj@suse.de>
3888 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
3891 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3893 * Makefile.in (SHELL): Set to @SHELL@.
3895 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3897 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
3898 array size calculation.
3900 2002-06-04 Andreas Jaeger <aj@suse.de>
3902 * Make-lang.in (gnatbind): Readd rule that has been lost in last
3905 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
3907 Merge from pch-branch:
3909 * config-lang.in (gtfiles): Add ada-tree.h.
3910 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
3911 (SET_TYPE_MODULUS): New.
3912 (SET_TYPE_INDEX): New.
3913 (SET_TYPE_DIGITS_VALUE): New.
3914 (SET_TYPE_RM_SIZE): New.
3915 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
3916 (SET_TYPE_ADA_SIZE): New.
3917 (SET_TYPE_ACTUAL_BOUNDS): New.
3918 (SET_DECL_CONST_CORRESPONDING_VAR): New.
3919 (SET_DECL_ORIGINAL_FIELD): New.
3920 (TREE_LOOP_ID): Correct typo.
3921 * decl.c: Use new macros.
3922 * utils.c: Include debug.h, use new macros.
3923 * utils2.c: Use new macros.
3925 * ada-tree.h: Update all macros for new tree description.
3926 (struct tree_loop_id): New.
3927 (union lang_tree_node): New.
3928 (struct lang_decl): New.
3929 (struct lang_type): New.
3930 * misc.c (gnat_mark_tree): Delete.
3931 (LANG_HOOKS_MARK_TREE): Delete.
3932 * trans.c (tree_transform): No longer any need to cast
3935 * utils.c (struct language_function): New dummy structure.
3937 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
3939 (utils.o): Likewise; also gtype-ada.h.
3940 * Make-lang.in (gnat1): Add dependency on s-gtype.
3941 (gnatbind): Add dependency on $(CONFIG_H).
3942 * utils.c: Correct last #include.
3943 (stuct e_stack): Remove unnecessary 'static'.
3944 (mark_e_stack): Remove unused prototype.
3946 * scn-nlit.adb: Remove whitespace after version number to
3947 keep lines under 80 chars.
3948 * snames.adb: Likewise.
3949 * treepr.ads: Likewise.
3951 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
3953 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
3954 * config-lang.in (gtfiles): New.
3955 * decl.c: Use gengtype for roots.
3956 * gigi.h: Use gengtype for roots.
3957 * trans.c: Use gengtype for roots.
3958 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
3960 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
3962 * misc.c (gnat_init): Adjust setting of internal_error_function.
3964 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
3966 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
3967 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3968 gnat_ug_wnt.texi: Regenerate.
3970 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
3972 * 5ntaprop.adb (with System.OS_Primitives): Remove.
3974 * cstreams.c (max_path_len): Move from here ...
3975 * adaint.c (__gnat_max_path_len): ... to here.
3976 * adaint.c (__gnat_max_path_len): Declare.
3977 * g-dirope.adb (Max_Path): Adjust.
3978 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
3979 * i-cstrea.ads (max_path_len): Adjust.
3980 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
3981 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
3983 * Makefile.in, Make-lang.in: Documentation is now built in
3984 Make-lang.in. Store Info and generated Texinfo files in the
3986 * gnat_ug.texi: Remove CVS keywords, correct version number.
3987 Set file name correctly.
3989 * gnat_ug_*.texi: Add.
3990 * .cvsignore: Ignore generated Texinfo files.
3992 2002-05-30 Zack Weinberg <zack@codesourcery.com>
3994 * ada.h: Add MI guard macro.
3995 (SUBTYPE): Define constants with an anonymous enum, not static
3997 (IN): Cast constants to appropriate type before use.
3999 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
4001 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
4004 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4006 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
4007 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
4008 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
4009 (ALL_ADA_CFLAGS): Likewise.
4010 (ADA_INCLUDES): Likewise.
4011 Adapt for new working dir.
4012 (GNATBIND): Use Makefile.in version.
4013 (.SUFFIXES): Copy from Makefile.in.
4015 (.adb.o, .ads.o): Copy from Makefile.in.
4016 Added $(OUTPUT_OPTION).
4017 (GNAT1_C_OBJS): Moved from Makefile.in.
4018 Prefix with ada subdir.
4019 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
4020 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
4021 Adapt for new working dir.
4022 (EXTRA_GNATBIND_OBJS): Likewise.
4023 (ADA_BACKEND): Moved from Makefile.in.
4024 Renamed to avoid conflict with global BACKEND.
4026 (TARGET_ADA_SRCS): Moved from Makefile.in.
4027 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
4029 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
4030 (ada_extra_files): Moved from Makefile.in.
4031 Prefix with ada subdir.
4032 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
4033 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
4034 (ada/nmake.ads): Likewise.
4035 (update-sources): Moved from Makefile.in.
4036 Prefix with ada subdir.
4037 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
4038 (ADA_TREE_H): Likewise.
4039 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
4040 (ada/memtrack.o): Likewise.
4041 (ada/adadecode.o): Likewise.
4042 Update dependencies.
4043 (ada/adaint.o): New.
4044 (ada/argv.o): Moved from Makefile.in.
4045 Prefix with ada subdir.
4046 Update dependencies.
4047 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
4048 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
4049 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
4050 Prefix with ada subdir.
4051 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
4052 (GNAT DEPENDENCIES): Regenerate.
4053 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
4054 toplevel Makefile.in.
4055 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
4056 (TARGET_ADA_SRCS): Removed.
4057 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
4058 (GNATBIND_OBJS): Likewise.
4059 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
4061 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
4063 (ada_extra_files): Likewise.
4064 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
4065 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
4066 (update-sources): Likewise.
4067 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
4068 (ADA_TREE_H): Likewise.
4069 (adadecoce.o): Likewise.
4070 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
4071 (GNAT DEPENDENCIES): Likewise.
4073 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4075 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
4076 * Makefile.in: Likewise.
4078 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4080 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
4081 Restore $(CONFIG_H) and prefix.o dependencies.
4082 (ada.stage[1-4]): Depend on stage?-start.
4084 * Makefile.in (b_gnatb.c): Depend on interfac.o.
4086 2002-05-02 Jim Wilson <wilson@redhat.com>
4088 * utils.c (finish_record_type): Change record_size to record_type.
4090 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4092 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
4093 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
4094 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
4096 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
4098 * misc.c (gnat_parse_file): Update.
4100 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
4102 * misc.c (gnat_init): Don't set lang_attribute_common.
4104 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
4106 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
4108 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
4110 * gnat_ug.texi: New file.
4112 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
4113 instead of gfdl.texi
4115 * xgnatug.adb, ug_words: New files.
4117 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
4118 gnat_rm and gnat-style manuals.
4120 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
4122 * gigi.h (incomplete_type_error): Remove.
4123 * utils.c (incomplete_type_error): Remove.
4125 2002-04-16 Mark Mitchell <mark@codesourcery.com>
4127 * trans.c (tree_transform): Add has_scope argument to
4128 expand_start_stmt_expr.
4130 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4132 * gigi.h (truthvalue_conversion): Rename.
4133 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4134 * trans.c (tree_transform): Update.
4135 * utils2.c (truthvalue_conversion): Rename, update.
4136 (build_binary_op, build_unary_op): Update.
4138 2002-04-04 Laurent Guerby <guerby@acm.org>
4140 * make.adb: Implement -margs, remove restriction about file name placement.
4141 * makeusg.adb: Documentation update.
4142 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
4143 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
4145 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4147 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
4148 (builtin_function): Similarly.
4150 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4152 * decl.c (gnat_to_gnu_entity): Update.
4153 * gigi.h (mark_addressable): Rename.
4154 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
4155 * trans.c (tree_transform): Update.
4156 * utils.c (create_var_decl): Update.
4157 * util2.c (build_binary_op, build_unary_op,
4158 fill_vms_descriptor): Update.
4159 (mark_addressable): Rename, update.
4161 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4163 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
4165 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
4166 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
4167 * trans.c (tree_transform, convert_with_check): Update.
4168 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
4171 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
4173 * gigi.h (finish_incomplete_decl): Rename.
4174 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
4175 * utils.c (gnat_init_decl_processing): Don't set hook.
4176 (finish_incomplete_decl): Rename.
4178 2002-03-29 Andreas Schwab <schwab@suse.de>
4180 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
4183 2001-03-28 Robert Dewar <dewar@gnat.com>
4186 (Remove_Checks): New procedure
4189 (Remove_Checks): New procedure
4192 Use new Duplicate_Subexpr functions
4193 (Duplicate_Subexpr_No_Checks): New procedure
4194 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4195 (Duplicate_Subexpr): Restore original form (checks duplicated)
4196 (Duplicate_Subexpr): Call Remove_Checks
4199 (Duplicate_Subexpr_No_Checks): New procedure
4200 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4201 Add 2002 to copyright notice
4203 * sem_util.adb: Use new Duplicate_Subexpr functions
4206 (Eval_Indexed_Component): This is the place to call
4207 Constant_Array_Ref and to replace the value. We simply merge
4208 the code of this function in here, since it is now no longer
4209 used elsewhere. This fixes the problem of the back end not
4210 realizing we were clever enough to see that this was
4212 (Expr_Val): Remove call to Constant_Array_Ref
4213 (Expr_Rep_Val): Remove call to Constant_Array_Ref
4215 (Constant_Array_Ref): Deal with string literals (patch
4216 suggested by Zack Weinberg on the gcc list)
4218 2001-03-28 Ed Schonberg <schonber@gnat.com>
4220 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
4221 Duplicate_Subexpr_Move_Checks.
4223 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
4224 Duplicate_Subexpr_Move_Checks.
4226 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
4227 value of array exists before retrieving it (it may a private
4228 protected component in a function).
4230 2002-03-28 Geert Bosch <bosch@gnat.com>
4232 * prj-pp.adb : New file.
4234 * prj-pp.ads : New file.
4236 2002-03-28 Andreas Jaeger <aj@suse.de>
4238 * Makefile.in (stamp-sdefault): Fix path for Makefile.
4240 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
4242 * misc.c (gnat_expand_expr): Move prototype.
4244 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4246 * misc.c (insert_default_attributes): Remove.
4248 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4250 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
4251 (gnat_init): Don't set hook.
4252 (gnat_expand_expr): Fix prototype.
4254 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4256 * misc.c (ggc_p): Remove.
4258 2002-03-27 Geert Bosch <bosch@gnat.com>
4260 * prj-makr.ads, prj-makr.adb : New files.
4262 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
4264 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
4265 (lang_mark_tree): Make static, rename.
4267 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
4269 * misc.c (maybe_build_cleanup): Remove.
4271 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
4273 * gigi.h (yyparse): Remove.
4275 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
4277 * gnat_rm.texi: Sync with ACT version.
4278 (From Ben Brosgol <brosgol@gnat.com>)
4280 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
4282 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
4283 (gnat_init): Remove old hook.
4285 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
4287 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
4288 (yyparse): Rename gnat_parse_file.
4290 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
4292 Delete all lines containing "$Revision:".
4293 * xeinfo.adb: Don't look for revision numbers.
4294 * xnmake.adb: Likewise.
4295 * xsinfo.adb: Likewise.
4296 * xsnames.adb: Likewise.
4297 * xtreeprs.adb: Likewise.
4299 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4301 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
4302 gnat_tree_code_name): Delete.
4303 (tree_code_type, tree_code_length, tree_code_name): Define.
4304 (gnat_init): Don't try to copy into the various tree_code
4307 2002-03-11 Richard Henderson <rth@redhat.com>
4309 * Makefile.in (.NOTPARALLEL): Add fake tag.
4311 2002-03-07 Geert Bosch <bosch@gnat.com>
4313 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
4314 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
4315 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
4316 switch-m.adb, switch-m.ads : New files.
4318 2002-03-07 Geert Bosch <bosch@gnat.com>
4320 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4321 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4322 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4323 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
4324 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
4325 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
4326 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
4327 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
4328 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
4329 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
4330 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
4331 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
4332 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
4333 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
4334 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
4335 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
4336 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
4337 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
4338 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
4339 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
4340 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
4341 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
4342 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
4343 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
4344 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
4345 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
4346 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
4347 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
4348 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
4349 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
4350 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
4351 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
4352 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
4353 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
4354 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4355 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
4356 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
4357 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
4358 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
4359 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
4360 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
4361 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
4362 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
4363 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
4364 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
4365 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
4366 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
4367 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
4368 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
4369 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
4370 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
4371 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
4372 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
4373 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
4374 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
4375 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
4376 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
4377 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
4378 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
4379 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
4380 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
4381 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
4382 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
4383 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
4384 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
4385 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
4386 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
4387 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
4388 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
4389 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
4390 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
4391 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
4392 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
4393 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
4394 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
4395 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
4396 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
4397 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
4398 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
4399 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
4400 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
4401 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
4402 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
4403 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
4404 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
4405 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
4406 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
4407 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
4408 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
4409 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
4410 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
4411 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
4412 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
4413 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
4414 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
4415 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
4416 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
4418 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
4419 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
4420 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
4421 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
4423 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
4424 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
4426 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
4427 to mdll-fil.ad[bs] and mdll-util.ad[bs]
4429 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
4430 from mdllfile.ad[bs] and mdlltool.ad[bs]
4432 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4434 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
4435 lieu of explicit sizeof/sizeof.
4437 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4439 * misc.c (copy_lang_decl): Remove.
4441 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4443 * misc.c: Delete traditional-mode-related code copied from the
4444 C front end but not used, or used only to permit the compiler
4447 2002-02-07 Richard Henderson <rth@redhat.com>
4449 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
4450 * adaint.h (__gnat_to_gm_time): Update prototype.
4452 2002-01-30 Richard Henderson <rth@redhat.com>
4454 * trans.c (tree_transform) [N_Loop_Statement]: Use
4455 expand_exit_loop_top_cond.
4457 2001-12-23 Richard Henderson <rth@redhat.com>
4459 * utils.c (end_subprog_body): Push GC context around
4460 rest_of_compilation for nested functions.
4462 2001-12-23 Richard Henderson <rth@redhat.com>
4464 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
4466 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
4468 * gnat-style.texi (Declarations and Types): Remove ancient style
4469 rule which was mandated by code generation issues.
4471 * gnat-style.texi (header): Add @dircategory, @direntry.
4472 (title page): Remove date.
4473 (general) Add @./@: where approriate, and two spaces after the
4474 full stop at the end of a sentence. Use @samp markup when
4475 referring concrete lexical entities (keywords, attribute names
4476 etc.), and @syntax for ARM grammar elements. Use @r for English
4477 text in comments. Use @emph for emphasis. Change "if-statements"
4478 etc. to "if statements" (without @samp). Break long lines. Make
4479 casing of section names consistent.
4480 (Identifiers): Use @samp markup for variable names.
4481 (Comments): Use @samp markup for comment characters. Line-end
4482 comments may follow any Ada code, not just statements. Fix
4483 misspelling of "Integer" as "integer".
4484 (Loop statements): Do not use variable name "I", use "J".
4485 (Subprogram Declarations): Document alignment.
4486 (Subprogram Bodies, Block statements): Document empty line before
4489 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
4491 * make.adb (Add_Switch): Make Generic_Position a procedure. The
4492 function approach did not work well because of a side effect (the
4493 function call could reallocate the table which was being indexed
4494 using its result). Fixes ada/4851.
4496 2001-12-19 Robert Dewar <dewar@gnat.com>
4498 * bindgen.adb: Minor reformatting
4500 * cstand.adb: Minor reformatting
4502 * fmap.adb: Minor reformatting
4503 Change name from Add for Add_To_File_Map (Add is much too generic)
4504 Change Path_Name_Of to Mapped_Path_Name
4505 Change File_Name_Of to Mapped_File_Name
4506 Fix copyright dates in header
4509 Change name from Add for Add_To_File_Map (Add is much too generic)
4510 Change Path_Name_Of to Mapped_Path_Name
4511 Change File_Name_Of to Mapped_File_Name
4512 Fix copyright dates in header
4514 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
4515 Add use clause for Fmap.
4517 * make.adb: Minor reformatting
4519 * osint.adb: Minor reformatting. Change of names in Fmap.
4520 Add use clause for Fmap.
4522 * prj-env.adb: Minor reformatting
4524 * prj-env.ads: Minor reformatting
4526 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
4527 error found (there were odd exceptions to this general rule in
4528 -gnatec/-gnatem processing)
4530 2001-12-19 Olivier Hainque <hainque@gnat.com>
4532 * raise.c (__gnat_eh_personality): Exception handling personality
4533 routine for Ada. Still in rough state, inspired from the C++ version
4534 and still containing a bunch of debugging artifacts.
4535 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
4536 inspired from the C++ library.
4538 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
4539 exception handling integration.
4541 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4543 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
4544 (HIE_SOURCES): Add s-secsta.ad{s,b}.
4545 (HIE_OBJS): Add s-fat*.o
4546 (RAVEN_SOURCES): Remove files that are no longer required. Add
4547 interrupt handling files.
4548 (RAVEN_MOD): Removed, no longer needed.
4550 2001-12-19 Robert Dewar <dewar@gnat.com>
4552 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
4553 Add 2001 to copyright date
4555 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
4556 need to force universal inlining for these cases.
4558 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4560 * s-taprob.adb: Minor clean ups so that this unit can be used in
4563 * exp_ch7.adb: Allow use of secondary stack in HI mode.
4564 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
4566 2001-12-19 Vincent Celier <celier@gnat.com>
4568 * prj-tree.ads (Project_Node_Record): Add comments for components
4569 Pkg_Id and Case_Insensitive.
4571 2001-12-19 Pascal Obry <obry@gnat.com>
4573 * g-socket.adb: Minor reformatting. Found while reading code.
4575 2001-12-19 Robert Dewar <dewar@gnat.com>
4577 * prj-tree.ads: Minor reformatting
4579 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
4581 * config-lang.in (diff_excludes): Remove.
4583 2001-12-17 Ed Schonberg <schonber@gnat.com>
4585 * sem_res.adb (Resolve_Selected_Component): do not generate a
4586 discriminant check if the selected component is a component of
4587 the argument of an initialization procedure.
4589 * trans.c (tree_transform, case of arithmetic operators): If result
4590 type is private, the gnu_type is the base type of the full view,
4591 given that the full view itself may be a subtype.
4593 2001-12-17 Robert Dewar <dewar@gnat.com>
4595 * sem_res.adb: Minor reformatting
4597 * trans.c (tree_transform, case N_Real_Literal): Add missing third
4598 parameter in call to Machine (unknown horrible effects from this
4601 * urealp.h: Add definition of Round_Even for call to Machine
4602 Add third parameter for Machine
4604 2001-12-17 Ed Schonberg <schonber@gnat.com>
4606 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
4607 predefined units in No_Run_Time mode.
4609 2001-12-17 Richard Kenner <kenner@gnat.com>
4611 * misc.c (insn-codes.h): Now include.
4613 2001-12-17 Olivier Hainque <hainque@gnat.com>
4615 * a-except.adb: Preparation work for future integration of the GCC 3
4616 exception handling mechanism
4617 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
4618 to factorize previous code sequences and make them externally callable,
4619 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
4620 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
4621 Use the new notification routines.
4623 2001-12-17 Emmanuel Briot <briot@gnat.com>
4625 * prj-tree.ads (First_Choice_Of): Document the when others case
4627 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4629 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
4630 HI-E mode, in order to support Ravenscar profile properly.
4632 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
4633 mode on 32 bits targets.
4635 2001-12-17 Vincent Celier <celier@gnat.com>
4637 * fmap.adb: Initial version.
4639 * fmap.ads: Initial version.
4641 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
4642 If search is successfully done, add to mapping.
4644 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
4647 (Gnatmake): Add new local variable Mapping_File_Name.
4648 Create mapping file when using project file(s).
4649 Delete mapping file before exiting.
4651 * opt.ads (Mapping_File_Name): New variable
4653 * osint.adb (Find_File): Use path name found in mapping, if any.
4655 * prj-env.adb (Create_Mapping_File): New procedure
4657 * prj-env.ads (Create_Mapping_File): New procedure.
4659 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
4662 * usage.adb: Add entry for new switch -gnatem.
4664 * Makefile.in: Add dependencies for fmap.o.
4666 2001-12-17 Ed Schonberg <schonber@gnat.com>
4668 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
4669 is a package instantiation rewritten as a package body.
4670 (Install_Withed_Unit): Undo previous change, now redundant.
4672 2001-12-17 Gary Dismukes <dismukes@gnat.com>
4675 (Compute_Length): Move conversion to Unsigned to callers.
4676 (Get_Max_Size): Convert Len expression to Unsigned after calls to
4677 Compute_Length and Determine_Range.
4678 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
4679 Compute_Length and Determine_Range.
4680 Above changes fix problem with length computation for supernull arrays
4681 where Max (Len, 0) wasn't getting applied due to the Unsigned
4682 conversion used by Compute_Length.
4684 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4687 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
4688 System.Secondary_Stack.
4689 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
4691 Remove unused entity RE_Exception_Data.
4693 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
4695 * rident.ads (No_Secondary_Stack): New restriction.
4697 2001-12-17 Joel Brobecker <brobecke@gnat.com>
4699 * gnat_rm.texi: Fix minor typos. Found while reading the section
4700 regarding "Bit_Order Clauses" that was sent to a customer.
4701 Very interesting documentation!
4703 2001-12-17 Robert Dewar <dewar@gnat.com>
4705 * sem_case.adb (Choice_Image): Avoid creating improper character
4706 literal names by using the routine Set_Character_Literal_Name. This
4707 fixes bombs in certain error message cases.
4709 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4711 * a-reatim.adb: Minor reformatting.
4713 2001-12-17 Ed Schonberg <schonber@gnat.com>
4715 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
4716 case where the formal is an extension of another formal in the current
4717 unit or in a parent generic unit.
4719 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4721 * s-tposen.adb: Update comments. Minor reformatting.
4722 Minor code clean up.
4724 * s-tarest.adb: Update comments. Minor code reorganization.
4726 2001-12-17 Gary Dismukes <dismukes@gnat.com>
4728 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
4731 2001-12-17 Robert Dewar <dewar@gnat.com>
4733 * exp_attr.adb: Minor reformatting
4735 2001-12-17 Ed Schonberg <schonber@gnat.com>
4737 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
4738 derivations nested within a child unit: verify that the parent
4739 type is declared in an outer scope.
4741 2001-12-17 Robert Dewar <dewar@gnat.com>
4743 * sem_ch12.adb: Minor reformatting
4745 2001-12-17 Ed Schonberg <schonber@gnat.com>
4747 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
4748 warning if current unit is a predefined one, from which bodies may
4751 2001-12-17 Robert Dewar <dewar@gnat.com>
4753 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
4754 Fix header format. Add 2001 to copyright date.
4756 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
4757 which caused CE during compilation if checks were enabled.
4759 2001-12-17 Vincent Celier <celier@gnat.com>
4762 (Switches_Of): New function
4763 (Test_If_Relative_Path): New procedure
4764 (Add_Switches): Use new function Switches_Of
4765 (Collect_Arguments_And_Compile): Use new function Switches_Of.
4766 When using a project file, test if there are any relative
4767 search path. Fail if there are any.
4768 (Gnatmake): Only add switches for the primary directory when not using
4769 a project file. When using a project file, change directory to the
4770 object directory of the main project file. When using a project file,
4771 test if there are any relative search path. Fail if there are any.
4772 When using a project file, fail if specified executable is relative
4773 path with directory information, and prepend executable, if not
4774 specified as an absolute path, with the exec directory. Make sure
4775 that only one -o switch is transmitted to the linker.
4777 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
4780 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
4781 when using a non standard naming scheme.
4782 (Check_Ada_Naming_Scheme): Make sure that error messages
4783 do not raise exceptions.
4784 (Is_Illegal_Append): Return True if there is no dot in the suffix.
4785 (Language_Independent_Check): Check the exec directory.
4787 * prj.adb (Project_Empty): Add new component Exec_Directory
4790 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
4791 (Project_Data): Add component Exec_Directory
4793 * snames.adb: Updated to match snames.ads revision 1.215
4795 * snames.ads: Added Exec_Dir
4797 2001-12-17 Robert Dewar <dewar@gnat.com>
4799 * make.adb: Minor reformatting
4801 * prj-nmsc.adb: Minor reformatting
4803 * snames.adb: Updated to match snames.ads
4805 * snames.ads: Alphebetize entries for project file
4807 2001-12-17 Ed Schonberg <schonber@gnat.com>
4809 * trans.c (process_freeze_entity): Do nothing if the entity is a
4810 subprogram that was already elaborated.
4812 2001-12-17 Richard Kenner <kenner@gnat.com>
4814 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
4815 and Esize if object is referenced via pointer.
4817 2001-12-17 Ed Schonberg <schonber@gnat.com>
4819 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
4820 is discrete before analyzing choices.
4822 2001-12-17 Joel Brobecker <brobecke@gnat.com>
4824 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
4825 containing the name of the Ada Main Program. This string is mainly
4826 intended for the debugger.
4827 (Gen_Output_File_C): Do the equivalent change when generating a C file.
4829 2001-12-17 Robert Dewar <dewar@gnat.com>
4831 * ali.adb: Set new Dummy_Entry field in dependency entry
4833 * ali.ads: Add Dummy_Entry field to source dependency table
4835 * bcheck.adb (Check_Consistency): Ignore dummy D lines
4837 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
4839 * lib-writ.ads: Document dummy D lines for missing files.
4841 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
4843 2001-12-17 Robert Dewar <dewar@gnat.com>
4845 * ali.adb: Type reference does not reset current file.
4847 * ali.adb: Recognize and scan renaming reference
4849 * ali.ads: Add spec for storing renaming references.
4851 * lib-xref.ads: Add documentation for handling of renaming references
4853 * lib-xref.adb: Implement output of renaming reference.
4856 (Determine_Range): Document local variables
4857 (Determine_Range): Make sure Hbound is initialized. It looks as though
4858 there could be a real problem here with an uninitialized reference
4859 to Hbound, but no actual example of failure has been found.
4861 2001-12-17 Laurent Pautet <pautet@gnat.com>
4864 Fix comment of Shutdown_Socket and Close_Socket. These functions
4865 should not fail silently because if they are called twice, this
4866 probably means that there is a race condition in the user program.
4867 Anyway, this behaviour is consistent with the rest of this unit.
4868 When an error occurs, an exception is raised with the error message
4869 as exception message.
4871 2001-12-17 Robert Dewar <dewar@gnat.com>
4873 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
4874 that it happens before modification of Sloc values for -gnatD.
4876 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
4877 so that it happens before modification of Sloc values for -gnatD.
4879 * switch.adb: Minor reformatting
4881 2001-12-15 Richard Henderson <rth@redhat.com>
4883 * sem_ch7.adb: Wrap comment.
4885 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4887 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
4888 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
4889 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
4890 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
4891 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
4892 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
4893 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
4894 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
4895 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
4896 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
4897 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
4898 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
4899 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
4900 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
4901 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
4902 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
4903 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
4904 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
4905 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
4906 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
4907 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
4908 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
4909 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
4910 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
4913 2001-12-14 Vincent Celier <celier@gnat.com>
4915 * osint.adb(Create_Debug_File): When an object file is specified,
4916 put the .dg file in the same directory as the object file.
4918 2001-12-14 Robert Dewar <dewar@gnat.com>
4920 * osint.adb: Minor reformatting
4922 * lib-xref.adb (Output_Instantiation): New procedure to generate
4923 instantiation references.
4925 * lib-xref.ads: Add documentation of handling of generic references.
4927 * ali.adb (Read_Instantiation_Ref): New procedure to read
4928 instantiation references
4930 * ali.ads: Add spec for storing instantiation references
4932 * bindusg.adb: Minor reformatting
4934 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4936 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4938 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4940 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4944 Add 2001 to copyright date
4945 Add entry for Latin-5 (Cyrillic ISO-8859-5)
4947 2001-12-14 Matt Gingell <gingell@gnat.com>
4949 * adaint.c: mktemp is a macro on Lynx and can not be used as an
4952 2001-12-14 Richard Kenner <kenner@gnat.com>
4954 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
4955 if operand is CONSTRUCTOR.
4957 2001-12-14 Ed Schonberg <schonber@gnat.com>
4959 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
4960 before emiting check on right-hand side, so that exception information
4963 2001-12-14 Richard Kenner <kenner@gnat.com>
4965 * utils.c (create_var_decl): Throw away initializing expression
4966 if just annotating types and non-constant.
4968 2001-12-14 Vincent Celier <celier@gnat.com>
4970 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
4973 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4975 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
4977 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4979 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
4981 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4983 * ChangeLog: Remove piece of diff output.
4985 2001-12-14 Geert Bosch <bosch@gnat.com>
4987 * config-lang.in: Update copyright notice
4989 * layout.adb: Remove commented out code.
4991 * mdllfile.ads: Update copyright notice. Fix header format.
4993 * sem_case.ads: Likewise.
4995 * sem_ch3.adb: Minor reformatting.
4997 2001-12-12 Geert Bosch <bosch@gnat.com>
4999 * freeze.ads: Update copyright date.
5001 * g-comlin.ads: Minor reformatting.
5003 * gnat-style.texi: Fix typo.
5005 2001-12-12 Geert Bosch <bosch@gnat.com>
5007 * einfo.h: Regenerate.
5009 2001-12-12 Ed Schonberg <schonber@gnat.com>
5011 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
5012 on known node types, rather than untyped fields. Further cleanups.
5014 2001-12-12 Robert Dewar <dewar@gnat.com>
5017 (Save_Entity_Descendant): Minor comment update.
5018 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
5019 of an N_Attribute_Reference node. As per note below, this does not
5020 eliminate need for Associated_Node in attribute ref nodes.
5021 (Associated_Node): Documentation explicitly mentions attribute
5022 reference nodes, since this field is used in such nodes.
5024 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
5026 2001-12-12 Robert Dewar <dewar@gnat.com>
5028 * s-stalib.adb: Add more comments on with statements being needed
5030 * par-ch12.adb: Minor reformatting
5032 * prj-dect.ads: Fix copyright header
5034 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
5035 inputs fit in 32 bits, but the result still overflows.
5037 * s-fatgen.ads: Minor comment improvement
5039 2001-12-12 Ed Schonberg <schonber@gnat.com>
5041 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
5042 formal derived type, look for an inherited component from the full
5043 view of the parent, if any.
5045 2001-12-12 Robert Dewar <dewar@gnat.com>
5047 * checks.ads (Apply_Alignment_Check): New procedure.
5049 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
5050 ensure that the alignment of objects with address clauses is
5051 appropriate, and raise PE if not.
5053 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
5054 Exp_Pakd.Known_Aligned_Enough
5056 * mdllfile.ads: Minor reformatting
5058 * mlib-fil.ads: Minor reformatting
5060 2001-12-12 Ed Schonberg <schonber@gnat.com>
5062 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
5063 fix to any component reference if enclosing record has non-standard
5066 2001-12-12 Vincent Celier <celier@gnat.com>
5068 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
5071 2001-12-12 Ed Schonberg <schonber@gnat.com>
5073 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
5076 2001-12-12 Robert Dewar <dewar@gnat.com>
5078 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
5080 2001-12-12 Emmanuel Briot <briot@gnat.com>
5082 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
5083 and it adds dependencies to system.io.
5085 2001-12-12 Pascal Obry <obry@gnat.com>
5087 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
5090 2001-12-11 Ed Schonberg <schonber@gnat.com>
5092 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
5093 that is the parent of other generics, the instance body replaces the
5094 instance node. Retrieve the instance of the spec, which is the one
5095 that is visible in clients and within the body.
5097 2001-12-11 Vincent Celier <celier@gnat.com>
5099 * gnatmain.adb: Initial version.
5101 * gnatmain.ads: Initial version.
5103 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
5105 * snames.adb: Updated to match snames.ads.
5107 * snames.ads: Added Gnatstub.
5109 2001-12-11 Vincent Celier <celier@gnat.com>
5111 * prj-attr.adb (Initialization_Data): Change name from
5112 Initialisation_Data.
5114 2001-12-11 Emmanuel Briot <briot@gnat.com>
5116 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
5117 + and * applied to backslashed expressions like \r.
5119 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
5121 * g-os_lib.ads: String_List type added, Argument_List type is now
5122 subtype of String_List.
5124 2001-12-11 Robert Dewar <dewar@gnat.com>
5126 * g-os_lib.ads: Change copyright to FSF
5127 Add comments for String_List type
5129 2001-12-11 Vincent Celier <celier@gnat.com>
5131 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
5132 string to the buffer).
5134 2001-12-11 Ed Schonberg <schonber@gnat.com>
5136 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
5139 * sem_attr.adb: Simplify previous fix for Address.
5140 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
5141 to avoid anomalies where the bound of the type appears to raise
5144 2001-12-11 Robert Dewar <dewar@gnat.com>
5146 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
5149 2001-12-11 Ed Schonberg <schonber@gnat.com>
5151 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
5152 renamed unit before checking for recursive instantiations.
5154 2001-12-11 Emmanuel Briot <briot@gnat.com>
5156 * prj.ads: Add comments for some of the fields.
5158 2001-12-11 Robert Dewar <dewar@gnat.com>
5160 * lib-xref.adb (Output_Refs): Don't output type references outside
5161 the main unit if they are not otherwise referenced.
5163 2001-12-11 Ed Schonberg <schonber@gnat.com>
5165 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
5166 code and diagnose additional illegal uses
5168 * sem_util.adb (Is_Object_Reference): An indexed component is an
5169 object only if the prefix is.
5171 2001-12-11 Vincent Celier <celier@gnat.com>
5173 * g-diopit.adb: Initial version.
5175 * g-diopit.ads: Initial version.
5178 (Expand_Path): Avoid use of Unbounded_String
5179 (Find, Wildcard_Iterator): Moved to child package Iteration
5181 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
5183 2001-12-11 Robert Dewar <dewar@gnat.com>
5185 * sem_attr.adb: Minor reformatting
5187 2001-12-11 Ed Schonberg <schonber@gnat.com>
5189 * sem_ch3.adb: Clarify some ???.
5191 2001-12-11 Robert Dewar <dewar@gnat.com>
5193 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
5194 Exp_Pakd.Known_Aligned_Enough
5196 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
5197 version is moved to Exp_Ch13.
5199 2001-12-11 Robert Dewar <dewar@gnat.com>
5201 * einfo.ads: Minor reformatting
5203 * exp_ch5.adb: Add comment for previous.change
5205 * ali.adb: New interface for extended typeref stuff.
5207 * ali.ads: New interface for typeref stuff.
5209 * checks.adb (Apply_Alignment_Check): New procedure.
5211 * debug.adb: Add -gnatdM for modified ALI output
5213 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
5215 * lib-xref.adb: Extend generation of <..> notation to cover
5216 subtype/object types. Note that this is a complete rewrite,
5217 getting rid of the very nasty quadratic algorithm previously
5218 used for derived type output.
5220 * lib-xref.ads: Extend description of <..> notation to cover
5221 subtype/object types. Uses {..} for these other cases.
5222 Also use (..) for pointer types.
5224 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
5226 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
5227 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
5229 2001-12-11 Vincent Celier <celier@gnat.com>
5232 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
5233 Changed /BIND_ONLY to /ACTIONS=BIND
5234 Changed /LINK_ONLY to /ACTIONS=LINK
5236 2001-12-11 Ed Schonberg <schonber@gnat.com>
5238 * sem_ch8.adb (Find_Selected_Component): improved search for a
5239 candidate package in case of error.
5241 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
5242 chain back on scope stack before reinstalling use clauses.
5244 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
5245 is enabled, do not kill the code for the condition, to preserve
5248 2001-12-11 Robert Dewar <dewar@gnat.com>
5250 * checks.adb (Insert_Valid_Check): Apply validity check to expression
5251 of conversion, not to result of conversion.
5253 2001-12-11 Ed Schonberg <schonber@gnat.com>
5255 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
5256 before freezing parent. If the declarations are mutually recursive,
5257 an access to the current record type may be frozen before the
5258 derivation is complete.
5260 2001-12-05 Vincent Celier <celier@gnat.com>
5262 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
5263 -c /COMPILE_ONLY, -l /LINK_ONLY
5266 (Bind_Only): New Flag
5267 (Link_Only): New flag
5269 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
5272 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
5275 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
5276 (Gnatmake): Set the step flags. Only perform a step if the
5277 corresponding step flag is True.
5278 (Scan_Make_Arg): Reset the bind and link step flags when -u
5279 or -gnatc has been specified.
5281 2001-12-05 Ed Schonberg <schonber@gnat.com>
5283 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
5284 get bounds from right operand.
5286 * sem_eval.adb: Minor reformatting
5288 * exp_util.adb (Make_Literal_Range): use bound of literal rather
5289 than Index'First, its lower bound may be different from 1.
5291 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
5294 2001-12-05 Vincent Celier <celier@gnat.com>
5296 * prj-nmsc.adb Minor reformatting
5298 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
5299 set and libraries are not supported.
5301 2001-12-05 Ed Schonberg <schonber@gnat.com>
5303 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
5304 private view explicitly, so the back-end can treat as a global
5307 2001-12-05 Ed Schonberg <schonber@gnat.com>
5309 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
5310 unit, always replace instance node with new body, for ASIS use.
5312 2001-12-05 Vincent Celier <celier@gnat.com>
5314 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
5315 libraries are not supported and both attributes Library_Name and
5316 Library_Dir are specified.
5318 * prj-proc.adb (Expression): Set location of Result to location of
5321 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
5322 (prj-nmsc is now importing MLib.Tgt)
5324 * prj-proc.adb: Put the change indicated above that was forgotten.
5326 2001-12-05 Robert Dewar <dewar@gnat.com>
5328 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
5330 2001-12-05 Ed Schonberg <schonber@gnat.com>
5332 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
5333 constraint, introduce explicit subtype declaration and derive from it.
5335 * sem_ch3.adb: Minor reformatting
5337 2001-12-05 Robert Dewar <dewar@gnat.com>
5339 * checks.adb (Determine_Range): Increase cache size for checks.
5342 * exp_ch6.adb: Minor reformatting
5343 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
5344 a parameter whose root type is System.Address, since treating such
5345 subprograms as pure in the code generator is almost surely a mistake
5346 that will lead to unexpected results.
5348 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
5349 change handling of conversions.
5351 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
5353 2001-12-05 Ed Schonberg <schonber@gnat.com>
5355 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
5356 aggregate with static wrong size, attach generated Raise node to
5359 2001-12-05 Robert Dewar <dewar@gnat.com>
5361 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
5362 Fixes compilation abandoned bomb in B24009B.
5364 2001-12-05 Ed Schonberg <schonber@gnat.com>
5367 Document use of Associated_Node on Selected_Components.
5368 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
5369 to clarify use of untyped descendant fields.
5371 2001-12-05 Robert Dewar <dewar@gnat.com>
5373 * prj-dect.ads: Add ??? comment
5374 Add 2001 to copyright notice (was not done in after all)
5376 * prj-part.adb: Minor reformatting. Reword one awkward error message.
5378 * prj.ads: Minor reformatting throughout, and add some ??? comments
5380 * snames.ads: Minor reformatting
5382 2001-12-05 Geert Bosch <bosch@gnat.com>
5384 * snames.adb: Autoupdate
5386 2001-12-05 Vincent Celier <celier@gnat.com>
5388 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
5390 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
5392 * prj-env.adb: Minor comment changes (modifying -> extends).
5394 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
5396 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
5399 * prj.adb (Initialize): Change Modifying to Extends.
5401 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
5403 * prj.ads: Minor comment change (Modifying -> extending).
5405 * snames.ads: Change modifying to extends.
5407 2001-12-05 Robert Dewar <dewar@gnat.com>
5409 * sem_warn.adb: Remove stuff for conditionals, we are not going to
5412 * sem_warn.ads: Remove stuff for conditionals, we are not going to
5413 do this after all. Add 2001 to copyright notice
5415 2001-12-04 Geert Bosch <bosch@gnat.com>
5417 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
5419 2001-12-04 Robert Dewar <dewar@gnat.com>
5421 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
5422 location if we already have errors. Stops some cases of cascaded
5425 * errout.adb: Improve comment.
5427 2001-12-04 Robert Dewar <dewar@gnat.com>
5430 (Analyze_Formal_Type_Definition): Defend against Error.
5431 (Analyze_Formal_Subprogram): Defend against Error.
5433 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
5434 remove following semicolon if present. Removes cascaded error.
5436 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5439 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
5440 exceptions equals 0.
5441 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
5442 Fixes PIWG E tests (which have to be run with -gnatL).
5444 2001-12-04 Robert Dewar <dewar@gnat.com>
5446 * einfo.ads: Minor reformatting
5448 2001-12-04 Ed Schonberg <schonber@gnat.com>
5450 * einfo.ads: Block_Node points to the identifier of the block, not to
5451 the block node itself, to preserve the link when the block is
5452 rewritten, e.g. within an if-statement with a static condition.
5454 * inline.adb (Cleanup_Scopes): recover block statement from block
5455 entity using new meaning of Block_Node.
5457 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
5458 identifier of block node, rather than to node itself.
5460 2001-12-04 Gary Dismukes <dismukes@gnat.com>
5463 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
5464 (Discrimify): Go back to setting the Etypes of the selected component
5465 because the Vname component does not exist at this point and will
5466 fail name resolution. Also set Analyzed.
5467 Remove with and use of Sem_Res.
5469 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5471 * Makefile.in: (HIE_SOURCES): add s-fat*.
5473 2001-12-04 Robert Dewar <dewar@gnat.com>
5476 (Compile_Time_Known_Attribute): New procedure.
5477 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
5480 2001-12-04 Ed Schonberg <schonber@gnat.com>
5482 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
5483 processing discriminants to diagnose illegal default values.
5485 2001-12-04 Ed Schonberg <schonber@gnat.com>
5487 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
5488 access discriminant within a type extension that constrains its
5489 parent discriminants.
5491 2001-12-04 Ed Schonberg <schonber@gnat.com>
5493 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
5494 is malformed, use instance of Any_Id to allow analysis to proceed.
5496 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
5497 type definition is illegal.
5498 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
5501 2001-12-04 Ed Schonberg <schonber@gnat.com>
5503 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
5506 2001-12-04 Robert Dewar <dewar@gnat.com>
5508 * errout.adb: Minor reformatting
5510 2001-12-04 Robert Dewar <dewar@gnat.com>
5512 * exp_util.adb: Minor reformatting from last change
5514 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
5515 which is a rewriting of an expression, traverse the original
5516 expression to remove warnings that may have been posted on it.
5518 2001-12-04 Ed Schonberg <schonber@gnat.com>
5520 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
5521 record that has other packed components.
5523 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5525 * adaint.c: Minor cleanups.
5527 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5529 * adaint.c: Do not use utime.h on vxworks.
5531 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5533 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
5534 more confusion than it solves.
5536 2001-12-04 Geert bosch <bosch@gnat.com>
5538 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
5540 2001-12-04 Geert Bosch <bosch@gnat.com>
5542 * Makefile.in (update-sources): New target.
5543 For use by gcc_release script.
5545 2001-12-04 Ed Schonberg <schonber@gnat.com>
5547 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
5548 a configuration pragma, it is now legal wherever a pragma can appear.
5550 2001-12-04 Zack Weinberg <zack@codesourcery.com>
5552 * Makefile.in: Don't set ALL. Delete @cross_defines@,
5553 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
5554 is now @CROSS@ -DIN_GCC; update comment.
5556 2001-12-04 Robert Dewar <dewar@gnat.com>
5558 * einfo.adb (Has_Pragma_Pure_Function): New flag.
5559 Fix problem that stopped ceinfo from working
5561 * einfo.ads (Has_Pragma_Pure_Function): New flag.
5563 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
5565 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5568 (File_Time_Stamp): New procedure.
5569 (Preserve_Mode): New boolean.
5570 (Write_Unit): Pass time stamp.
5571 Implement -p switch (preserve time stamps).
5573 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
5575 * gnatchop.adb: Do usage info for -p switch
5577 * adaint.h (__gnat_set_file_time_name): New function
5579 * adaint.c (__gnat_set_file_time_name): Implement
5581 * adaint.h: Fix typo
5583 2001-12-03 Robert Dewar <dewar@gnat.com>
5585 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
5586 have Associated_Node.
5588 2001-12-03 Robert Dewar <dewar@gnat.com>
5590 * prj-proc.adb: Minor reformatting
5592 * make.adb: Minor reformatting
5594 2001-12-03 Geert Bosch <bosch@gnat.com>
5596 * make.adb: Minor reformatting.
5598 2001-12-03 Robert Dewar <dewar@gnat.com>
5600 * sem_ch12.adb: Minor reformatting
5602 2001-12-03 Ed Schonberg <schonber@gnat.com>
5604 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
5605 push Standard on the stack before analyzing the instance body,
5606 in order to have a clean visibility environment.
5608 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
5610 2001-12-03 Ed Schonberg <schonber@gnat.com>
5612 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
5613 instantiation of a body that contains an inlined body.
5615 2001-12-03 Ed Schonberg <schonber@gnat.com>
5618 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
5619 to prevent freezing within formal packages.
5620 (Freeze_Subprogram_Body): If body comes from another instance that
5621 appeared before its own body, place freeze node at end of current
5622 declarative part, to prevent a back-end crash.
5623 (Inline_Instance_Body): Handle properly a package instance within
5624 a subprogram instance that is a child unit.
5626 2001-12-01 Graham Stott <grahams@redhat.com>
5628 * Makefile.in (misc.o): Add missing $(srcdir) prefix
5629 and add optabs.h dependency.
5631 * misc.c: Include optabs.h
5632 (gnat_tree_code_type): Make static and const.
5633 (gnat_tree_code_length): Likewise.
5634 (gnat_tree_code_name): Likewise.
5635 (update_setjmp_buf): Obtain operands mode from insn_data.
5637 2001-11-29 Richard Henderson <rth@redhat.com>
5639 * init.c: Remove obsolete dwarf2 frame.h section.
5641 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
5643 * Make-lang.in (ada.generated-manpages): New dummy target.
5645 2001-11-29 Ed Schonberg <schonber@gnat.com>
5647 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
5648 into Command, an array conversion is illegal here. Uncovered by
5651 2001/11/28 Geert Bosch <bosch@gnat.com>
5653 * init.c: Minor whitespace changes.
5655 2001-11-28 Doug Rupp <rupp@gnat.com>
5657 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
5660 2001-11-28 Zack Weinberg <zack@codesourcery.com>
5662 * misc.c (gnat_expand_constant): Move declaration above
5663 definition of lang_hooks.
5664 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
5665 (gnat_init): lang_expand_constant no longer exists.
5667 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
5668 always have vprintf.
5669 (gnat_init): Always call set_internal_error_function.
5671 2001-11-27 Andreas Jaeger <aj@suse.de>
5673 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
5675 2001-11-27 Laurent Guerby <guerby@acm.org>
5677 * Makefile.in: Regenerate Ada dependencies.
5679 2001-11-26 Richard Henderson <rth@redhat.com>
5681 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
5682 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
5683 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
5685 2001-11-25 Laurent Guerby <guerby@acm.org>
5687 * sysdep.c (rts_get_*): Fix style.
5689 2001-11-19 Laurent Guerby <guerby@acm.org>
5691 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
5692 since it is of no apparent use and cause warnings.
5694 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
5696 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
5698 (gnat_init): Don't return NULL.
5699 (finish_parse): Remove.
5701 2001-11-17 Laurent Guerby <guerby@acm.org>
5703 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
5704 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
5705 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
5706 * lang-spec.h: Add missing struct field to silence warnings.
5707 * sysdep.c (rts_get_*): Provide K&R prototype.
5708 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
5709 * traceback.c (Unlock_Task, Lock_Task): Likewise.
5710 * tracebak.c (__gnat_backtrace): Remove unused variable.
5711 * utils.c (end_subprog_body): Move to K&R style.
5713 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5715 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
5717 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
5719 * misc.c (gnat_init): Change prototype. Include the
5720 functionality of the old init_parse and init_decl_processing.
5721 (gnat_init_decl_processing): New prototype.
5722 (init_parse): Remove.
5723 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
5725 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5727 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
5728 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
5729 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
5730 set_yydebug): Remove.
5732 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5734 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
5735 (struct lang_hooks): Constify.
5736 (language_string, lang_identify): Remove.
5737 * utils.c (init_decl_processing): Update.
5739 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5741 * misc.c: Include langhooks-def.h.
5742 * Makefile.in: Update.
5744 2001-10-30 Robert Dewar <dewar@gnat.com>
5747 (Check_Identifier): Rewrite circuit to be compatible with use of letters
5748 in the upper half of ASCII.
5749 (Check_Identifier): Minor reformatting
5751 2001-10-30 Geert Bosch <bosch@gnat.com>
5753 * (Associated_Node, Set_Associated_Node): Do not check for
5756 2001-10-30 Robert Dewar <dewar@gnat.com>
5758 * a-reatim.ads: Minor reformatting
5760 2001-10-30 Robert Dewar <dewar@gnat.com>
5762 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
5763 undocumented declarations.
5765 2001-10-30 Pascal Obry <obry@gnat.com>
5767 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5768 to the binder and linker.
5771 * mdll.ads: Fix layout. Update copyright notice.
5773 * mdll.adb: Fix layout. Update copyright notice.
5775 2001-10-30 Robert Dewar <dewar@gnat.com>
5777 * usage.adb: Minor fix to output for -gnaty.
5779 2001-10-30 Ed Schonberg <schonber@gnat.com>
5781 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
5782 to accommodate all its possible values.
5784 * a-reatim.adb (Split): Special-case handling of Time_Span_First
5785 and of small absolute values of T.
5787 2001-10-30 Richard Kenner <kenner@gnat.com>
5789 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
5790 set_mem_attributes since not needed and wrong if RESULT if a REG;
5791 fixes ACATS failures.
5793 2001-10-30 Geert Bosch <bosch@gnat.com>
5795 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
5796 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
5798 2001-10-30 Robert Dewar <dewar@gnat.com>
5800 * bindusg.adb: Undocument -f switch.
5802 * gnatcmd.adb: Remove /FULL_ELABORATION.
5804 * opt.ads (Force_RM_Elaboration_Order): Document that this is
5807 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
5809 * gnatbind.adb: Minor update of warning msg.
5811 2001-10-30 Vincent Celier <celier@gnat.com>
5813 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
5814 for project file switches (-P (/PROJECT_FILE=),
5815 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
5818 2001-10-30 Geert Bosch <bosch@gnat.com>
5820 * decl.c: Minor whitespace fixes.
5822 2001-10-30 Richard Kenner <kenner@gnat.com>
5824 * utils2.c (build_allocator): Test for SIZE overflow in array case too
5826 2001-10-30 Geert Bosch <bosch@gnat.com>
5828 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
5829 Found due to GCC 3.0 warning of using uninitialized value.
5832 (Get_Max_Size): Use variant record for tracking value/expression.
5833 Makes logic clearer and prevents warnings for uninitialized variables.
5834 (Layout_Array_Type): Use variant record for tracking value/expression.
5835 Makes logic clearer and prevents warnings for uninitialized variables.
5837 2001-10-30 Robert Dewar <dewar@gnat.com>
5839 * lib.adb: Minor reformatting
5841 * s-taprop.ads: Minor reformatting
5843 2001-10-29 Laurent Guerby <guerby@acm.org>
5846 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
5848 (_gnat_error_handler): Make MSG const.
5850 2001-10-29 Richard Kenner <kenner@gnat.com>
5852 * sysdep.c: Fix localtime_r problem on LynxOS.
5853 Also remove #elif to avoid warnings.
5855 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
5858 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
5860 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5862 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
5863 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
5864 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
5865 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
5866 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
5867 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
5868 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
5869 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
5870 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
5871 types.ads, urealp.adb: Fix spelling errors.
5873 2001-10-27 Laurent Guerby <guerby@acm.org>
5875 * trans.c (gigi): Fix non determinism leading to bootstrap
5876 comparison failures for debugging information.
5878 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
5880 * gnat_rm.texi: Use @./@: where appropriate.
5882 2001-10-26 Robert Dewar <dewar@gnat.com>
5884 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
5886 2001-10-26 Richard Kenner <kenner@gnat.com>
5888 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
5890 2001-10-26 Richard Kenner <kenner@gnat.com>
5892 * decl.c (validate_size): Modify message for bad size to avoid
5893 implication that compiler is modifying the size.
5895 2001-10-26 Robert Dewar <dewar@gnat.com>
5897 * prj-util.adb: Minor reformatting. Fix bad header format.
5899 2001-10-26 Robert Dewar <dewar@gnat.com>
5901 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
5903 * sinfo.ads: Clarify use of Associated_Node (documentation only).
5905 * sem_ch12.adb: Change Node4 to Associated_Node. Change
5906 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
5907 much more narrowly in places where needed. These are cleanups.
5909 2001-10-26 Joel Brobecker <brobecke@gnat.com>
5911 * 5zosinte.ads (null_pthread): new constant.
5914 (Initialize_TCB): Initialize thread ID to null, to be able to verify
5915 later that this field has been set.
5916 (Finalize_TCB): ditto.
5917 (Suspend_Task): Verify that the thread ID is not null before using it.
5918 (Resume_Task): ditto.
5921 (Resume_All_Tasks): Lock the tasks list before using it.
5922 (Suspend_All_Tasks): ditto.
5924 2001-10-26 Richard Kenner <kenner@gnat.com>
5926 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
5927 Make constant variant of designated type for Is_Access_Constant.
5928 Call update_pointer_to with main variant.
5930 * trans.c (process_freeze_entity, process_type):
5931 Call update_pointer_to on main variant.
5933 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
5934 If main variant, update all other variants.
5936 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
5939 2001-10-26 Robert Dewar <dewar@gnat.com>
5941 * prj-util.adb: Minor reformatting
5943 2001-10-26 Robert Dewar <dewar@gnat.com>
5945 * prj-util.adb: Minor reformatting
5947 2001-10-26 Robert Dewar <dewar@gnat.com>
5949 * prj-attr.adb: Minor reformatting throughout
5951 2001-10-26 Robert Dewar <dewar@gnat.com>
5953 * prj-attr.ads: Minor reformatting
5954 Add ??? comment (this whole spec has almost no comments)
5956 2001-10-26 Vincent Celier <celier@gnat.com>
5958 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
5959 ("//") that precede the drive letter on Interix.
5961 2001-10-26 Geert Bosch <bosch@gnat.com>
5963 * gnat_rm.texi: Add GNAT Reference Manual.
5965 2001-10-25 Robert Dewar <dewar@gnat.com>
5967 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
5968 is Error. Similar change for other renaming cases.
5970 2001-10-25 Robert Dewar <dewar@gnat.com>
5972 * s-atacco.ads: Add pragma Inline_Always for functions.
5973 Fix header format. Add copyright 2001
5975 2001-10-25 Ed Schonberg <schonber@gnat.com>
5977 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
5978 return Error rather than Empty so that analysis can proceed.
5980 2001-10-25 Ed Schonberg <schonber@gnat.com>
5982 * sem_util.adb (Enter_Name): better handling of cascaded error
5983 messages when a unit appears in its own context.
5985 2001-10-25 Ed Schonberg <schonber@gnat.com>
5987 * sem_util.adb (Defining_Entity): in case of error, attach created
5988 entity to specification, so that semantic analysis can proceed.
5990 2001-10-25 Robert Dewar <dewar@gnat.com>
5993 (Defining_Entity): Deal with Error.
5994 (Process_End_Label): Deal with bad end label for.
5996 2001-10-25 Ed Schonberg <schonber@gnat.com>
5998 * sem_elab.adb (Check_A_Call): refine message when call is in an
5999 instance but callee is not declared in the generic unit.
6001 2001-10-25 Ed Schonberg <schonber@gnat.com>
6003 * sem_elab.adb (Check_A_Call): check for renaming before finding the
6004 enclosing unit, which may already be different from the calling unit.
6006 2001-10-25 Geert Bosch <bosch@gnat.com>
6008 * 4gintnam.ads: fix header format.
6010 2001-10-25 Ed Schonberg <schonber@gnat.com>
6012 * sem_res.adb (Resolve_Call): if the call is actually an indexing
6013 operation on the result of a parameterless call, perform elaboration
6014 check after the node has been properly rewritten.
6016 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
6017 inlined within the generic tree, the defining identifier is not a
6020 2001-10-25 Ed Schonberg <schonber@gnat.com>
6022 * sem_res.adb (Resolve): special-case resolution of Null in an
6023 instance or an inlined body to avoid view conflicts.
6025 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
6026 compatibility by retrieving the access type of the generic copy.
6028 2001-10-25 Robert Dewar <dewar@gnat.com>
6031 (Analyze_Number_Declaration): Handle error expression.
6032 (Signed_Integer_Type_Declaration): Handle error bound.
6033 (Analyze_Subtype_Indication): Handle error range.
6035 * sem_util.adb (Get_Index_Bounds): Check for Error.
6037 2001-10-25 Robert Dewar <dewar@gnat.com>
6039 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
6040 in no run time mode.
6042 2001-10-25 Pascal Obry <obry@gnat.com>
6044 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
6045 mode case for ALLOC case.
6047 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
6048 all platforms. Improvement of last change.
6050 2001-10-25 Robert Dewar <dewar@gnat.com>
6052 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
6054 2001-10-25 Geert Bosch <bosch@gnat.com>
6056 * osint.adb (Is_Relative): Remove duplicate.
6058 2001-10-25 Pascal Obry <obry@gnat.com>
6060 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
6061 pathnames in UNIX and DOS style with drive letter.
6062 (Is_Relative): new routine.
6064 * osint.adb: Minor reformatting
6066 * osint.adb (Is_Relative): implementation using
6067 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
6069 2001-10-25 Pascal Obry <obry@gnat.com>
6071 * g-dirope.adb (Basename): correctly compute offset between the
6072 original Path and the translated one.
6074 * g-dirope.adb: (Base_Name): add some comments.
6076 2001-10-25 Robert Dewar <dewar@gnat.com>
6078 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
6079 in HIE mode, avoids compilation abandoned message
6081 * exp_imgv.adb: Correct typo in previous change
6083 * exp_imgv.adb: Correct typo in previous change (not my day!)
6085 2001-10-25 Robert Dewar <dewar@gnat.com>
6087 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
6089 2001-10-25 Pascal Obry <obry@gnat.com>
6091 * g-awk.ads: Move all pragma inlines next to the routine
6092 declarations. This is more uniform with other GNAT spec.
6094 2001-10-22 Geert Bosch <bosch@gnat.com>
6096 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
6098 2001-10-19 Geert Bosch <bosch@gnat.com>
6100 * Makefile.in (tools, gnattools): Remove gnatmem.
6102 2001-10-17 Richard Henderson <rth@redhat.com>
6104 * Makefile.in (misc.o): Depend on langhooks.h.
6105 * misc.c: Include it.
6106 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
6107 (LANG_HOOKS_DECODE_OPTION): New.
6108 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
6110 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6112 * trans.c (tree_transform): Adjust to recent change in
6113 expand_asm_operands to implement named asm operands.
6115 2001-10-11 Ed Schonberg <schonber@gnat.com>
6117 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
6118 renaming of discriminant for mutable record type.
6120 2001-10-11 Robert Dewar <dewar@gnat.com>
6122 * validsw.adb: Properly save -gnatVn status.
6124 2001-10-11 Robert Dewar <dewar@gnat.com>
6126 * usage.adb: Add lines for V switch.
6128 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
6129 (/VALIDITY_CHECKING).
6131 2001-10-11 Ed Schonberg <schonber@gnat.com>
6133 * sem_type.adb (Add_One_Interp): an operator for a type declared in
6134 an extension of System is known to be visible.
6136 2001-10-11 Ed Schonberg <schonber@gnat.com>
6138 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
6139 properly. Fixes regression on ACATS C34005G.
6141 2001-10-11 Robert Dewar <dewar@gnat.com>
6143 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
6144 loop in generic instance, since this is likely not very useful.
6146 2001-10-11 Robert Dewar <dewar@gnat.com>
6148 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
6149 the error message for high integrity mode.
6151 * rtsfind.adb (RTE): Give message if we try to find an entity that
6152 is not available in high integrity mode.
6155 (OK_To_Use_In_HIE_Mode): New array.
6156 (RTE): May return Empty in high integrity mode.
6158 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
6159 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
6161 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
6162 unit if not inlined always and in no runtime mode. Fixes problem
6163 caused by new Rtsfind changes.
6165 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
6168 * rtsfind.adb (RTE): Make sure we do not try to load unit after
6169 giving message for entity not available in high integrity mode.
6171 2001-10-11 Pascal Obry <obry@gnat.com>
6173 * impunit.adb: Add GNAT.CRC32.
6175 2001-10-11 Ed Schonberg <schonber@gnat.com>
6177 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
6178 properly the case where one universal operand in a non-static
6179 exponentiation of a real literal.
6181 2001-10-11 Ed Schonberg <schonber@gnat.com>
6183 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
6184 clause, return the gobal finalization list, for lack of anthing else.
6186 2001-10-11 Ed Schonberg <schonber@gnat.com>
6188 * exp_ch7.adb (Make_Transient_Block): if statement is within
6189 exception handler, always use new transient scope to place Clean
6192 2001-10-11 Pascal Obry <obry@gnat.com>
6195 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6196 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6197 (GNATLS_RTL_OBJS): add g-crc32.o
6198 (GNATMAKE_RTL_OBJS): add g-crc32.o
6201 (CRC_Match): new function.
6202 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
6203 instead of the previous simple checksum algorithm.
6204 (Time_Stamp_Mismatch): use CRC_Match for comparison.
6205 (Set_Source_Table): idem.
6208 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
6209 instead of simple checksum.
6210 (CRC_Match): new function.
6211 (CRC_Error): new constant.
6213 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
6214 a CRC now and not a simple checksum. A CRC uses lower-case hex
6215 letters, fixes ambiguity in parsing.
6217 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
6218 is what this variable will store.
6220 * bcheck.adb: Change reference to chechsum in comments by CRC.
6221 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
6222 rename All_Checksum_Match to All_CRC_Match. Change due to API
6223 renaming since now GNAT does not use a simple checksum but a
6224 CRC using GNAT.CRC32.
6226 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
6227 now and not anymore a simple checksum.
6229 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
6232 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
6235 (Restore_Scan_State): rename Checksum to CRC.
6236 (Save_Scan_State): idem.
6240 (Checksum): rename to CRC.
6241 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
6243 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
6244 GNAT.CRC32). Update copyright notice.
6246 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
6247 GNAT.CRC32). Update copyright notice.
6250 (Accumulate_Checksum): removed.
6251 (Update): new procedure. Add a wide-character into the CRC.
6254 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
6255 (Load_File): fix initialization of S (change Source_Checksum to
6258 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
6259 Source_CRC in S initialization.
6261 * sinput.adb (Source_Checksum): renamed to Source_CRC.
6263 * sinput.ads (Source_Checksum): renamed to Source_CRC.
6264 Update comments for the CRC.
6266 * types.adb (Hex): Use lowercase for the letter part.
6268 * types.ads (Get_Hex_String): Returns the hexadecimal representation
6269 for a word. This is currently used only for CRC. In previous version,
6270 the checksum was using a representation with all letter being
6271 upper-case. With the new implementation (using CRC) we do not remove
6272 the 32th bit of the CRC, so we can have an upper-case starting letter
6273 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
6274 It is ambigous since the CRC was optional and could be followed by
6275 options like EB, EE. So now this routines uses lower-case letter for
6276 the hexadecimal representation. Strange enough only lower case letters
6277 where checked in Scan_ALI (even if this was not a possible case).
6279 * gnatvsn.ads (Library_Version): changed to 3.15a.
6281 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
6284 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
6287 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
6288 Add 2001 to copyright notice
6289 (Accumulate_Checksum): Modify to use System.CRC32.
6291 * ali-util.ads: Redo changes of previous revision to continue to use
6292 the word Checksum. Add 2001 to copyright notice.
6294 * ali.adb: Undo some of previous changes, not needed.
6295 Keep the change for lower case letters in the checksum.
6297 * ali.ads: Undo previous change not needed.
6299 * bcheck.adb: Undo most of previous change, not needed.
6300 But do use Checksums_Match for checksum comparison.
6302 * gnatls.adb: Undo most of previous change, not needed.
6303 But do use Checksums_Match for comparing checksums.
6305 * lib-load.adb: Undo previous change, not needed.
6307 * lib-writ.adb: Undo previous change, not needed.
6309 * lib-writ.ads: Document that checksums use lower case,
6310 not upper case letters.
6312 * scans.adb: Undo previous change, not needed
6314 * scans.ads: Undo previous change, not needed.
6316 * scn-nlit.adb: Undo previous changes, not needed.
6318 * scn-slit.adb: Undo previous change, not needed. Fix header format.
6321 (Accumulate_Checksum): Use System.CRC32.
6322 (Initialize_Checksum): New procedure.
6323 Remove other changes of previous revision.
6325 * sinput-p.adb: Undo previous change, not needed.
6327 * sinput.adb: Undo previous change, not needed.
6329 * sinput-l.adb: Undo previous change, not needed.
6331 * sinput.ads: Undo previous change, not needed. Keep only comment
6332 on new checksum algorithm
6334 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
6335 Also remove a-tags and a-stream from GNAT sources.
6337 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
6339 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
6341 2001-10-11 Geert Bosch <bosch@gnat.com>
6343 * einfo.h: Regenerate.
6345 * nmake.ads: Regenerate.
6347 * nmake.adb: Regenerate.
6349 * sinfo.h: Regenerate.
6351 * treeprs.adb: Regenerate.
6353 2001-10-10 Geert Bosch <bosch@gnat.com>
6355 * gnat-style.texi: New file describing coding guidelines for Ada.
6357 2001-10-10 Ed Schonberg <schonber@gnat.com>
6359 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
6362 2001-10-10 Geert Bosch <bosch@gnat.com>
6364 * snames.ads: Add new names for project facility.
6366 * snames.adb: Update to reflect snames.ads changes.
6368 * snames.h: Update to reflect snames.ads changes.
6370 2001-10-10 Vincent Celier <celier@gnat.com>
6373 (Add_Switches): reflect the changes for the switches attributes
6374 Default_Switches indexed by the programming language,
6375 Switches indexed by the file name.
6376 (Collect_Arguments_And_Compile): Idem.
6377 Reflect the attribute name changes.
6380 (Initialisation_Data): Change the names of some packages and
6382 (Initialize): process case insensitive associative arrays.
6385 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
6388 (Parse_Attribute_Declaration): For case insensitive associative
6389 arrays, set the index string to lower case.
6392 Reflect the changes of the project attributes.
6395 Replace Check_Naming_Scheme by Ada_Check and
6396 Language_Independent_Check.
6399 Replaced Check_Naming_Scheme by 2 procedures:
6400 Ada_Check and Language_Independent_Check.
6403 (Process_Declarative_Items): For case-insensitive associative
6404 arrays, set the index string to lower case.
6405 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
6406 Prj.Nmsc.Check_Naming_Scheme.
6409 (Case_Insensitive): New function
6410 (Set_Case_Insensitive): New procedure
6413 (Case_Insensitive): New function
6414 (Set_Case_Insensitive): New procedure
6415 (Project_Node_Record): New flag Case_Insensitive.
6418 (Value_Of): new function to get the string value of a single
6419 string variable or attribute.
6422 (Value_Of): new function to get the string value of a single
6423 string variable or attribute.
6426 (Ada_Default_Spec_Suffix): New function
6427 (Ada_Default_Impl_Suffix): New function
6428 Change definitions of several constants to reflect
6429 new components of record types.
6432 (Naming_Data): Change several components to reflect new
6433 elements of naming schemes.
6434 (Project_Data): New flags Sources_Present and
6435 Language_Independent_Checked.
6436 (Ada_Default_Spec_Suffix): New function.
6437 (Ada_Default_Impl_Suffix): New function.
6440 Modification of predefined names for project manager: added
6441 Implementation, Specification_Exceptions, Implementation_Exceptions,
6442 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
6443 Default_Switches, _Languages, Builder, Cross_Reference,
6444 Finder. Removed Body_Part, Specification_Append, Body_Append,
6445 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
6448 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6451 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
6452 not that it is Nil_Variable_Value.
6454 * prj.ads: Add ??? for uncommented declarations
6456 2001-10-10 Ed Schonberg <schonber@gnat.com>
6458 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
6459 constant, do not indicate possible modification, so that gigi can
6460 treat it as a bona fide constant.
6462 2001-10-10 Robert Dewar <dewar@gnat.com>
6464 * sem_prag.adb: Add processing for pragma External.
6466 * snames.ads: Add entry for pragma External.
6468 * par-prag.adb: Add pragma External.
6470 * snames.adb: Updated to match snames.ads.
6472 2001-10-10 Ed Schonberg <schonber@gnat.com>
6474 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
6475 a dynamic task if the allocator appears in an indexed assignment
6476 or selected component assignment.
6478 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
6479 For a dynamic task in an assignment statement, use target of
6480 assignment to generate meaningful name.
6482 2001-10-10 Ed Schonberg <schonber@gnat.com>
6484 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
6487 * einfo.ads: Body_Entity is also defined for generic package.
6488 Documentation change only
6490 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
6491 others_choice for a discriminated component initialization,
6492 convert discriminant references into the corresponding discriminals.
6494 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
6495 only if original type is private and expression has to be wrapped
6499 (Apply_Constraint_Check): Do not perform length check
6500 if expression is an aggregate with only an others_choice.
6501 (Length_N_Cond): two references to the same in_parameter
6502 (typically the discriminal in an init_proc) denote the same value.
6503 Two useful optimization uncovered by bugfixes above.
6505 2001-10-10 Robert Dewar <dewar@gnat.com>
6507 * xeinfo.adb: Change int to char in translation of enumeration types.
6508 This fixes a problem in the C representation of component alignment.
6509 Add 2001 to copyright notice
6511 2001-10-10 Richard Kenner <kenner@gnat.com>
6513 * decl.c: (validate_size): Do check size of object of integral type
6514 if it is a packed array type.
6516 2001-10-10 Richard Kenner <kenner@gnat.com>
6518 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
6519 VAR_DECL for constant if not Is_Public but -O0.
6521 2001-10-10 Richard Kenner <kenner@gnat.com>
6523 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
6525 2001-10-10 Geert Bosch <bosch@gnat.com>
6527 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
6528 use '/' as switch character, allowing for absolute file names.
6530 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6532 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
6535 2001-10-08 Geert Bosch <bosch@gnat.com>
6537 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
6538 Automatically build utilities when files need to be regenerated.
6540 2001-10-08 Geert Bosch <bosch@gnat.com>
6542 * xsnames.adb: New utility for updating snames.ads and snames.adb
6544 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6546 * Make-lang.in (ADAFLAGS): Add -W -Wall.
6547 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
6548 (gnat1): Also depend on attribs.o.
6549 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
6550 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
6551 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
6552 (ADAFLAGS): Add -W -Wall.
6553 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
6556 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
6557 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
6558 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
6559 Use $(ADAC), not $(CC), as compilation command.
6561 (gnattools): Depend directly on tools to build, don't use
6563 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
6565 * einfo.h, sinfo.h: New files (autogenerated).
6567 2001-10-08 Richard Henderson <rth@redhat.com>
6569 * comperr.adb (Abort_In_Progress): New.
6570 (Compiler_Abort): Use it to prevent recursion.
6572 2001-10-08 Robert Dewar <dewar@gnat.com>
6574 * atree.adb: Set Error_Posted in Error node, helps error recovery.
6576 * par-endh.adb (Output_End_Expected): We should also not test
6577 Error_Posted on the Error node, since now it is always set.
6579 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
6580 to help error recovery. Part of general work on 9407-004.
6582 * par.adb: Add ??? for misuse of error
6585 (Resolve): Defend against Error, fixes 9407-003.
6586 (Resolve_Discrete_Subtype_Indication): Defend against Error.
6588 * sinfo.ads (N_Error): Now has Etype field (which will be set
6589 to Any_Type to help error recovery).
6591 2001-10-08 Richard Kenner (kenner@gnat.com)
6593 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
6594 Consistently set MEM attributes from expression; fixes
6595 bootstrap failure on x86.
6597 2001-10-08 Geert Bosch (bosch@gnat.com)
6599 * 5oosinte.adb: Add 2001 to copyright notice.
6601 2001-10-08 Geert Bosch (bosch@gnat.com)
6603 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
6605 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
6607 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6609 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
6611 2001-10-05 Geert Bosch (bosch@gnat.com)
6613 * adaint.h: Small formatting fix.
6615 2001-10-04 Geert Bosch <bosch@gnat.com>
6617 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
6618 Arg is int, not FILE *, in dummy version of functions.
6620 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
6621 Arg is int, not FILE *.
6623 2001-10-04 Geert Bosch <bosch@gnat.com>
6625 * 3lsoccon.ads: Added file, missed with initial check ins.
6627 * 4lintnam.ads: Fix header format.
6628 Change Linux to GNU/Linux.
6630 * 5iosinte.adb: Change Linux to GNU/Linux.
6632 * 5iosinte.ads: Change Linux to GNU/Linux.
6634 * 5itaprop.adb: Change Linux to GNU/Linux.
6636 * 5itaspri.ads: Change Linux to GNU/Linux.
6637 Update copyright notice.
6639 * 5lintman.adb: Change Linux to GNU/Linux.
6641 * 5lml-tgt.adb: Change Linux to GNU/Linux.
6643 * 5losinte.ads: Change Linux to GNU/Linux.
6645 * 5lsystem.ads: Change Linux to GNU/Linux.
6647 * 5qosinte.adb: Change Linux to GNU/Linux.
6649 * 5qosinte.ads: Change Linux to GNU/Linux.
6651 * 5qparame.ads: Change Linux to GNU/Linux.
6653 * 5qtaprop.adb: Change Linux to GNU/Linux.
6655 * 5qtaspri.ads: Change Linux to GNU/Linux.
6656 Add 2001 to copyright notice.
6658 * 5vintman.ads: Change Linux to GNU/Linux.
6659 Fix header format. Add 2001 to copyright notice.
6661 * g-soccon.ads: Change Linux to GNU/Linux.
6663 * g-trasym.ads: Change Linux to GNU/Linux.
6664 Add 2001 to copyright notice.
6666 * memtrack.adb: Change Linux to GNU/Linux.
6668 * s-intman.ads: Change Linux to GNU/Linux.
6669 Add 2001 to copyright notice. Fix header format.
6671 * s-stache.adb: Change Linux to GNU/Linux.
6673 * adaint.c: Change Linux to GNU/Linux.
6675 * cio.c: Change Linux to GNU/Linux.
6677 * cstreams.c: Change Linux to GNU/Linux.
6679 * init.c: Change Linux to GNU/Linux.
6681 * gmem.c: Change Linux to GNU/Linux.
6683 * tracebak.c: Change Linux to GNU/Linux.
6686 2001-10-02 Geert Bosch <bosch@gnat.com>
6688 * misc.c (insert_default_attributes): Add dummy version.