1 2004-01-23 Robert Dewar <dewar@gnat.com>
3 * exp_aggr.adb: Minor reformatting
5 * exp_ch9.adb: Minor code clean up
7 Fix bad character in comment
10 * targparm.adb (Get_Target_Parameters): Give clean abort error on
11 unexpected end of file, along with more detailed message.
13 2004-01-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15 * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
18 * decl.c (copy_alias_set): New function.
19 (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.
21 2004-01-23 Doug Rupp <rupp@gnat.com>
23 * Makefile.in (install-gnatlib): Change occurrences of lib$$file to
24 lib$${file} in case subsequent character is not a separator.
26 2004-01-23 Vincent Celier <celier@gnat.com>
28 * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
29 when the GCC version is at least 3.
31 * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
32 Remove all "Opt.", to prepare for opt split
34 * prj-part.adb (Parse_Single_Project): New Boolean out parameter
35 Extends_All. Set to True when the project parsed is an extending all
36 project. Fails for importing an extending all project only when the
37 imported project is an extending all project.
38 (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
39 depending on the value of Extends_All returned.
41 * prj-proc.adb (Process): Check that no project shares its object
42 directory with a project that extends it, directly or indirectly,
43 including a virtual project.
44 Check that no project extended by another project shares its object
45 directory with another also extended project.
47 * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
50 * prj-tree.ads: Minor reformatting
51 Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).
53 2004-01-23 Ed Schonberg <schonberg@gnat.com>
55 * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
56 applies to a type with an incomplete view, use full view in Name of
57 clause, for consistency with uses of Get_Attribute_Definition_Clause.
59 2004-01-23 Arnaud Charlet <charlet@act-europe.fr>
61 * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
62 SCHED_RR, since other values are not supported by this policy.
63 (Initialize): Move initialization of mutex attribute to package
64 elaboration, to prevent early access to this variable.
66 * Makefile.in: Remove mention of Makefile.adalib, unused.
68 * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
69 1ssecsta.ads: Removed, unused.
71 2004-01-21 Javier Miranda <miranda@gnat.com>
73 * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
74 entity if already built in the current scope.
76 * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
77 reminder in internal scopes. Required for nested limited aggregates.
79 2004-01-21 Doug Rupp <rupp@gnat.com>
81 * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
82 VMS. Replace all occurences of libgnat- and libgnarl- with
83 libgnat$(hyphen) and libgnarl$(hyphen).
84 Fixed shared library build problem on VMS.
86 2004-01-21 Robert Dewar <dewar@gnat.com>
88 * mlib-prj.adb: Minor reformatting
90 2004-01-21 Thomas Quinot <quinot@act-europe.fr>
92 * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
93 'constant' keywords for declaration of pointers that are not modified.
95 * exp_pakd.adb: Fix English in comment.
97 2004-01-21 Ed Schonberg <schonberg@gnat.com>
100 * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
101 copy all attributes of the parent, including the foreign language
104 2004-01-21 Sergey Rybin <rybin@act-europe.fr>
107 * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
108 for 'delay until' statement.
110 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
112 * Make-lang.in: Replace $(docdir) with doc.
113 (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
114 doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
115 to use consistent MAKEINFO rule.
116 (ada.man, ada.srcman): Dummy entry.
117 (ADA_INFOFILES): Define.
118 (ada.info, ada.srcinfo): New rules.
120 2004-01-19 Arnaud Charlet <charlet@act-europe.fr>
122 * utils.c: Update copyright notice, missed in previous change.
124 2004-01-19 Vincent Celier <celier@gnat.com>
126 * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
127 args if Bind is True. Set First_ALI, if not already done.
128 (Build_Library): For Stand Alone Libraries, extract from one ALI file
129 an eventual --RTS switch, for gnatbind, and all backend switches +
132 2004-01-19 Robert Dewar <dewar@gnat.com>
134 * sem_attr.adb, memtrack.adb: Minor reformatting
136 2004-01-19 Ed Schonberg <schonberg@gnat.com>
138 * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
139 that rename enumeration literals. This is properly done in sem_eval.
141 * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
142 to functions that rename enumeration literals.
144 * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
145 functions that rename enumeration literals.
147 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
149 * Make-lang.in (utils.o): Depend on target.h.
150 * utils.c: Include target.h.
151 (process_attributes): Use targetm.have_named_sections instead
152 of ASM_OUTPUT_SECTION_NAME.
154 2004-01-16 Andreas Jaeger <aj@suse.de>
156 * Makefile.in: Add $(DESTDIR).
158 2004-01-15 Olivier Hainque <hainque@act-europe.fr>
160 * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
161 also when not defining if a Size clause applies. That information is
164 2004-01-15 Arnaud Charlet <charlet@act-europe.fr>
166 * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
167 symbolic links for the shared gnat run time when needed.
169 2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr>
171 * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
172 for writing, and terminate with an error message if not.
174 2004-01-15 Ed Schonberg <schonberg@gnat.com>
176 * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
177 warning on an access to subprogram in an instance, when the target
178 type is declared in the same generic unit.
179 (Eval_Attribute): If 'access is known to fail accessibility check,
180 rewrite as a raise statement.
182 2004-01-15 GNAT Script <nobody@gnat.com>
184 * Make-lang.in: Makefile automatically updated
186 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
188 * Make-lang.in (ada.srcextra): Dummy entry.
190 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
192 * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
194 2004-01-13 Ed Schonberg <schonberg@gnat.com>
196 * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
197 components that are initialized with aggregates.
199 2004-01-13 Vincent Celier <celier@gnat.com>
201 * gnatlink.adb (Process_Binder_File): To find directory of shared
202 libgcc, if "gcc-lib" is not a subdirectory, look for the last
203 subdirectory "lib" in the path of the shared libgnat or libgnarl.
205 * make.adb (Gnatmake): If GCC version is at least 3, link with
206 -shared-libgcc, when there is at least one shared library project.
208 * opt.ads (GCC_Version): New integer constant.
210 * adaint.c (get_gcc_version): New function.
212 2004-01-13 Robert Dewar <dewar@gnat.com>
214 * sem_dist.adb, sem_res.adb, sem_util.adb,
215 sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
216 exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
218 2004-01-13 Thomas Quinot <quinot@act-europe.fr>
220 * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
221 g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
224 2004-01-12 Arnaud Charlet <charlet@act-europe.fr>
226 * misc.c: Remove trailing spaces.
227 Update copyright notice missed in previous change.
230 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
233 * Makefile.generic: Update copyright.
236 * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
237 of prefix/share/make.
239 * Makefile.prolog: Update copyright.
242 2004-01-12 Laurent Pautet <pautet@act-europe.fr>
244 * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
245 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
246 g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
249 * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
252 2004-01-12 Javier Miranda <miranda@gnat.com>
254 * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
255 exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
256 sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
257 sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
258 Component_Definition node.
260 2004-01-12 Ed Falis <falis@gnat.com>
262 * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
264 2004-01-12 Thomas Quinot <quinot@act-europe.fr>
266 * link.c: Change default libgnat kind to STATIC for FreeBSD.
268 2004-01-12 Bernard Banner <banner@gnat.com>
270 * Makefile.in: map 86numaux to a-numaux for x86_64
272 2004-01-12 Ed Schonberg <schonberg@gnat.com>
274 * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
275 generated to rename a generic actual, go to the actual itself, the
276 subtype is not a user-visible entity.
278 * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
279 part is a private subtype, reset the visibility of its full view, if
280 any, to be consistent.
283 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
284 to use a generic package G as a formal package for another generic
287 2004-01-12 Robert Dewar <dewar@gnat.com>
289 * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
291 * usage.adb: Remove mention of obsolete -gnatwb switch
292 Noticed during code reading
294 2004-01-12 Jerome Guitton <guitton@act-europe.fr>
296 * 1ssecsta.adb: Minor changes for -gnatwa warnings
298 2004-01-12 GNAT Script <nobody@gnat.com>
300 * Make-lang.in: Makefile automatically updated
302 2004-01-09 Mark Mitchell <mark@codesourcery.com>
304 * misc.c (gnat_expand_expr): Add alt_rtl parameter.
306 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
308 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
310 2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
312 * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
313 Update comment and copyright date.
314 * stamp-xgnatug: Delete.
316 2004-01-05 Robert Dewar <dewar@gnat.com>
318 * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
319 be modified by the binder generated main program if the -D switch is
322 * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
323 imported functions (since now we expect this to be done for imported
326 * 5vtaprop.adb: Add several ??? for sections requiring more comments
327 Minor reformatting throughout
329 * 5zinit.adb: Minor reformatting
330 Add 2004 to copyright date
331 Minor changes to avoid -gnatwa warnings
332 Correct some instances of using OR instead of OR ELSE (noted while
335 * sprint.adb: Minor updates to avoid -gnatwa warnings
337 * s-secsta.ads, s-secsta.adb:
338 (SS_Get_Max): New function to obtain high water mark for ss stack
339 Default_Secondary_Stack is not a constant since it may be modified by
340 the binder generated main program if the -D switch is used.
342 * switch-b.adb: New -Dnnn switch for binder
345 Make -gnatg imply all warnings currently in -gnatwa
347 * vms_conv.adb: Minor reformatting
348 Add 2004 to copyright notice
349 Add 2004 to printed copyright notice
351 * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
352 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
353 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
354 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
355 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
356 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
357 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
358 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
359 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
360 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
361 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
362 vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
363 xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
364 sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
365 checks.adb, clean.adb, cstand.adb, einfo.ads,
366 einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
367 exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
368 prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
369 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
370 g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
371 lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
372 Minor reformatting and code clean ups.
373 Minor changes to prevent -gnatwa warnings
375 * ali.adb: Minor reformatting and cleanup of code
376 Acquire new SS indication of secondary stack use from ali files
378 * a-numaux.ads: Add Pure_Function pragmas for all imported functions
379 (since now we expect this to be done for imported functions)
381 * bindgen.adb: Generate call to modify default secondary stack size if
384 * bindusg.adb: Add line for new -D switch
386 * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
387 replacement name for Type_May_Have_Non_Bit_Aligned_Components!
388 Add circuitry for both records and arrays to avoid gigi
389 processing if the type involved has non-bit-aligned components
391 * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
392 N_String_Literal node always references an E_String_Literal_Subtype
393 entity. This may not be true in the future.
394 (Possible_Bit_Aligned_Component): Move processing of
395 Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
397 * exp_ch6.adb (Expand_Thread_Body): Pick up
398 Default_Secondary_Stack_Size as variable so that we get value modified
399 by possible -Dnnn binder parameter.
401 * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
402 (Type_May_Have_Bit_Aligned_Components): New function.
404 * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
405 (Type_May_Have_Bit_Aligned_Components): New function.
407 * fe.h: (Set_Identifier_Casing): Fix prototype.
408 Add declaration for Sem_Elim.Eliminate_Error_Msg.
411 * freeze.adb (Freeze_Entity): Add RM reference to error message about
412 importing constant atomic/volatile objects.
413 (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
414 unless explicit Pure_Function pragma given, to avoid insidious bug of
415 call to non-pure imported function getting eliminated.
417 * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
418 gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
419 gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
420 Add 2004 to printed copyright notice
422 * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
425 * Makefile.rtl: Add entry for g-sestin.o
426 g-sestin.ads: New file.
428 * mdll.adb: Minor changes to avoid -gnatwa warnings
430 * mlib-tgt.adb: Minor reformatting
432 * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
433 New switch Sec_Stack_Used (GNAT, GNATBIND)
434 Make Default_Secondary_Stack_Size a variable instead of a constant,
435 so that it can be modified by the new -Dnnn bind switch.
437 * rtsfind.adb (Load_Fail): Give full error message in configurable
438 run-time mode if all_errors mode is set. This was not done in the case
439 of a file not found, which was an oversight.
440 Note if secondary stack unit is used by compiler.
442 * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
443 ineffective elaborate all pragmas on non-visible packages (this
444 happened when a renamed subprogram was called). Now the elaborate all
445 always goes on the package containing the renaming rather than the one
446 containing the renamed subprogram.
448 * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
449 (Process_Eliminate_Pragma): Add parameter to capture pragma location.
451 * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
452 has an Etype that references an E_String_Literal.
453 (Eval_String_Literal): Avoid assumption that N_String_Literal node
454 always references an E_String_Literal_Subtype entity. This may not
455 be true in the future.
457 * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
460 * sem_res.adb (Resolve): Specialize msg for function name used in proc
463 2004-01-05 Ed Falis <falis@gnat.com>
465 * g-debuti.adb: Replaced direct boolean operator with short-circuit
468 2004-01-05 Vincent Celier <celier@gnat.com>
470 * bld.adb: Minor comment updates
471 (Process_Declarative_Items): Correct incorrect name (Index_Name instead
474 * make.adb (Gnatmake): Special process for files to compile/check when
475 -B is specified. Fail when there are only foreign mains in attribute
476 Main of the project file and -B is not specified. Do not skip bind/link
477 steps when -B is specified.
479 * makeusg.adb: Document new switch -B
481 * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
483 * switch-m.adb: (Scan_Make_Switches): Process -B switch
485 * vms_data.ads: Add new GNAT PRETTY qualifier
486 /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
488 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
490 * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
493 * misc.c (gnat_printable_name): If VERBOSITY is 2, call
494 Set_Identifier_Casing.
496 * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
497 has size that overflows.
499 2004-01-05 Gary Dismukes <dismukes@gnat.com>
501 * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
502 -gnatwa warning on static condition.
504 2004-01-05 Doug Rupp <rupp@gnat.com>
506 * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
508 2004-01-05 Arnaud Charlet <charlet@act-europe.fr>
510 * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
511 all attributes, including read-only attribute.
513 2004-01-05 Pascal Obry <obry@gnat.com>
515 * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
516 library naming scheme.
518 * mlib-prj.adb (Build_Library): Generate different names for the static
519 or dynamic version of the GNAT runtime. This is needed to support the
520 new shared library naming scheme.
521 (Process_Binder_File): Add detection of shared library in binder file
522 based on the new naming scheme.
524 * gnatlink.adb (Process_Binder_File): Properly detect the new naming
525 scheme for the shared runtime libraries.
528 (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
530 (install-gnatlib): Do not create symlinks for shared libraries.
531 (gnatlib-shared-default): Idem.
532 (gnatlib-shared-dual-win32): New target. Not used for now as the
533 auto-import feature does not support arrays/records.
534 (gnatlib-shared-win32): Do not create copy for the shared libraries.
535 (gnatlib-shared-vms): Fix shared runtime libraries names.
537 * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
538 dependent runtime shared library name.
540 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
542 * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
545 2004-01-05 Ed Schonberg <schonberg@gnat.com>
547 * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
548 protected objects when allocator has a subtype indication, not a
549 qualified expression. Note that qualified expressions may have to be
550 checked when limited aggregates are implemented.
552 * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
554 (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
555 subprogram is imported, remove warning.
557 2004-01-05 Geert Bosch <bosch@gnat.com>
559 * s-poosiz.adb: Update copyright notice.
560 (Allocate): Use Task_Lock to protect against concurrent access.
561 (Deallocate): Likewise.
563 2004-01-05 Joel Brobecker <brobecker@gnat.com>
565 * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
568 2003-12-23 Kelley Cook <kcook@gcc.gnu.org>
570 * gnat_ug.texi: Force a CVS commit by updating copyright.
571 * gnat_ug_vxw.texi: Regenerate.
572 * gnat_ug_wnt.texi: Regenerate.
573 * gnat_ug_vms.texi: Regenerate.
574 * gnat_ug_unx.texi: Regenerate.
576 2003-12-20 Kazu Hirata <kazu@cs.umass.edu>
578 * trans.c: Remove uses of "register" specifier in
579 declarations of local variables.
581 2003-12-18 Kelley Cook <kcook@gcc.gnu.org>
583 * stamp-xgnatug: New stamp file.
584 * Make-lang.in (stamp-xgnatug): New stamp file and comment.
585 (ada/doctools/xgnatug): Add $(build_exeext).
586 (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
587 ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
589 2003-12-17 Ed Falis <falis@gnat.com>
591 * a-elchha.adb (Tailored_Exception_Information): made Info constant to
594 * a-exextr.adb: Add context clause for
595 Ada.Exceptions.Last_Chance_Handler.
597 2003-12-17 Sergey Rybin <rybin@act-europe.fr>
599 * cstand.adb (Create_Standard): Change the way how the declaration of
600 the Duration type is created (making it the same way as it is for all
601 the other standard types).
603 2003-12-17 Robert Dewar <dewar@gnat.com>
605 * s-crtl.ads: Fix header format
606 Change Pure to Preelaborate
608 2003-12-17 Ed Schonberg <schonberg@gnat.com>
610 * checks.adb (Selected_Length_Checks): Generate an Itype reference for
611 the expression type only if it is declared in the current unit.
613 * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
614 are universal and already analyzed, as can occur in constrained
615 subcomponents that depend on discriminants, when one constraint is a
618 * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
619 type Any_Fixed is legal as the argument of a conversion, if only one
620 fixed-point type is in context.
622 2003-12-17 GNAT Script <nobody@gnat.com>
624 * Make-lang.in: Makefile automatically updated
626 2003-12-15 Robert Dewar <dewar@gnat.com>
628 * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
631 2003-12-15 Vincent Celier <celier@gnat.com>
633 * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
634 (Gnatchop): Do not set failure status when reporting the number of
637 2003-12-15 Doug Rupp <rupp@gnat.com>
639 * s-ctrl.ads: New file.
641 * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
643 * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
644 (GNATBIND_OBJS): Add ada/s-crtl.o.
646 * Makefile.in [VMS]: Clean up ifeq rules.
648 * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
649 a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
650 g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
651 s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
652 s-tasdeb.adb: Update copyright.
654 Make minor modifications to use System.CRTL declared functions instead
655 of importing locally.
657 2003-12-15 GNAT Script <nobody@gnat.com>
659 * Make-lang.in: Makefile automatically updated
661 2003-12-11 Ed Falis <falis@gnat.com>
663 * 5zinit.adb: Clean up.
665 * 5zintman.adb (Notify_Exception): replaced case statement with a call
666 to __gnat_map_signal, imported from init.c to support
667 signal -> exception mappings that depend on the vxWorks version.
670 Created and exported __gnat_map_signal to support signal -> exception
671 mapping that is dependent on the VxWorks version.
672 Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
674 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr>
676 * 5wosinte.ads: Link with -mthreads switch.
678 2003-12-11 Arnaud Charlet <charlet@act-europe.fr>
680 * init.c (__gnat_install_handler [NetBSD]): Set
681 __gnat_handler_installed, as done on all other platforms.
682 Remove duplicated code.
684 2003-12-11 Jerome Guitton <guitton@act-europe.fr>
686 * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
688 2003-12-11 Thomas Quinot <quinot@act-europe.fr>
690 * sinfo.ads: Fix inconsistent example code in comment.
692 2003-12-11 Robert Dewar <dewar@gnat.com>
694 * a-tiinau.adb: Add a couple of comments
696 * sem_ch3.adb: Minor reformatting
699 Fix bad prototype of Same_Base_Type in body (code reading cleanup)
700 Minor reformatting throughout
702 2003-12-11 Ed Schonberg <schonberg@gnat.com>
704 * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
705 bounds of a loop, create a separate block in order to generate proper
706 cleanup actions to prevent memory leaks.
708 * sem_res.adb (Resolve_Call): After a call to
709 Establish_Transient_Scope, the call may be rewritten and relocated, in
710 which case no further processing is needed.
712 * sem_util.adb: (Wrong_Type): Refine previous fix.
713 Fixes ACATS regressions.
717 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
720 2003-12-08 Jerome Guitton <guitton@act-europe.fr>
722 * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
723 i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
726 * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
729 2003-12-08 Robert Dewar <dewar@gnat.com>
731 * 7sintman.adb: Minor reformatting
733 * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
734 standard linker options to get standard libraries linked. We now plan
735 to provide dummy versions of these libraries to match the appropriate
736 configurable run-time (e.g. if a library is not needed at all, provide
737 a dummy empty library).
739 * targparm.ads: Configurable_Run_Time mode no longer affects linker
740 options (-L parameters and standard libraries). What we plan to do is
741 to provide dummy libraries where the libraries are not required.
743 * gnatbind.adb: Minor comment improvement
745 2003-12-08 Javier Miranda <miranda@gnat.com>
747 * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
748 aggregate in the parent. Otherwise constants with limited aggregates
749 are not supported. Add new formal to pass the component type (Ctype).
750 It is required to call the corresponding IP subprogram in case of
751 default initialized components.
752 (Gen_Assign): In case of default-initialized component, generate a
753 call to the IP subprogram associated with the component.
754 (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
755 of aggregate with default initialized components.
756 (Has_Default_Init_Comps): Improve implementation to recursively check
757 all the present expressions.
759 * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
760 to indicate that the initialization call corresponds to a
761 default-initialized component of an aggregate.
762 In case of default initialized aggregate with tasks this parameter is
763 used to generate a null string (this is just a workaround that must be
764 improved later). In case of discriminants, this parameter is used to
765 generate a selected component node that gives access to the discriminant
768 * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
769 subprogram, based on Build_Task_Allocate_Block, but adapted to expand
770 allocated aggregates with default-initialized components.
772 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
773 the box notation is used in positional aggregates.
775 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr>
777 * lib.ads: Fix typo in comment
779 2003-12-08 Vincent Celier <celier@gnat.com>
781 * prj.adb (Project_Empty): New component Unkept_Comments
782 (Scan): Remove procedure; moved to Prj.Err.
784 * prj.ads (Project_Data): New Boolean component Unkept_Comments
785 (Scan): Remove procedure; moved to Prj.Err.
787 * prj-dect.adb: Manage comments for the different declarations.
789 * prj-part.adb (With_Record): New component Node
790 (Parse): New Boolean parameter Store_Comments, defaulted to False.
791 Set the scanner to return ends of line and comments as tokens, if
792 Store_Comments is True.
793 (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
794 comments are associated with these nodes. Store the node IDs in the
796 (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
798 (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
799 the N_Project node. Call Tree.Save and Tree.Reset before scanning the
800 current project. Call Tree.Restore afterwards. Set the various nodes
801 for comment storage (Next_End, End_Of_Line, Previous_Line,
804 * prj-part.ads (Parse): New Boolean parameter Store_Comments,
807 * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
808 to False. When Truncated is True, truncate the string, never go to the
810 (Write_End_Of_Line_Comment): New procedure
811 (Print): Process comments for nodes N_With_Clause,
812 N_Package_Declaration, N_String_Type_Declaration,
813 N_Attribute_Declaration, N_Typed_Variable_Declaration,
814 N_Variable_Declaration, N_Case_Construction, N_Case_Item.
815 Process nodes N_Comment.
817 * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
818 without comments and there are some comments, set the flag
819 Unkept_Comments to True.
820 (Scan): If there are comments, set the flag Unkept_Comments to True and
822 (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
823 (Next_End_Nodes: New table
824 (Comment_Zones_Of): New function
825 (Scan): New procedure; moved from Prj. Accumulate comments in the
826 Comments table and set end of line comments, comments after, after end
828 (Add_Comments): New procedure
829 (Save, Restore, Seset_State): New procedures
830 (There_Are_Unkept_Comments): New function
831 (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
832 (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
834 (First_Comment_After, First_Comment_After_End): New functions
835 (First_Comment_Before, First_Comment_Before_End): New functions
836 (Next_Comment): New function
837 (End_Of_Line_Comment, Follows_Empty_Line,
838 Is_Followed_By_Empty_Line): New functions
839 (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
840 (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
841 (Set_Next_Comment): New procedure
842 (Default_Project_Node): Associate comment before if the node can store
845 * scans.ads (Token_Type): New enumeration value Tok_Comment
846 (Comment_Id): New global variable
848 * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
850 (Scan): Store position of start of comment. If comments are tokens, set
851 Comment_Id and set Token to Tok_Comment when scanning a comment.
852 (Set_Comment_As_Token): New procedure
854 * sinput-p.adb: Update Copyright notice
855 (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
856 that no longer exists.
858 2003-12-08 Javier Miranda <miranda@gnat.com>
860 * sem_aggr.adb: Add dependence on Exp_Tss package
861 Correct typo in comment
862 (Resolve_Aggregate): In case of array aggregates set the estimated
863 type of the aggregate before calling resolve. This is needed to know
864 the name of the corresponding IP in case of limited array aggregates.
865 (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
866 in case of default initialized array components.
868 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
869 types. Required to give support to limited aggregates in generic
872 2003-12-08 Ed Schonberg <schonberg@gnat.com>
874 * sem_ch3.adb (Check_Initialization): For legality purposes, an
875 inlined body functions like an instantiation.
876 (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
877 until bounds are analyzed, to diagnose premature use of type.
879 * sem_util.adb (Wrong_Type): Improve error message when the type of
880 the expression is used prematurely.
882 2003-12-08 GNAT Script <nobody@gnat.com>
884 * Make-lang.in: Makefile automatically updated
886 2003-12-08 Arnaud Charlet <charlet@act-europe.fr>
888 * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
889 they are automatically generated by Make-lang.in and cause nothing but
890 maintenance troubles.
892 2003-12-05 Thomas Quinot <quinot@act-europe.fr>
894 * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
895 version of this unit).
897 2003-12-05 Olivier Hainque <hainque@act-europe.fr>
899 * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
900 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
901 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
902 the body of System.Interrupt_Management common to several targets.
903 Update copyright notice when appropriate.
905 * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
908 * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
909 to ensure that the kernel fills in the interrupted context structure
910 before calling a signal handler, which is necessary to be able to
911 unwind past it. Update the copyright notice.
913 2003-12-05 Jerome Guitton <guitton@act-europe.fr>
915 * a-elchha.ads: New file.
917 * a-elchha.adb: New default last chance handler. Contents taken from
918 Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
920 * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
921 is moved to a-elchha.adb to provide a target-independent default last
924 * Makefile.rtl: Add a-elchha.o
926 * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
928 2003-12-05 Ed Schonberg <schonberg@gnat.com>
930 * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
931 declared in an instance, do not inline the call if the instance is not
932 frozen yet, to prevent order of elaboration problems.
934 * sem_prag.adb: Add comments for previous fix.
936 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr>
938 * g-table.adb: Use the right variable in Set_Item.
939 Update copyright notice.
941 2003-12-05 Arnaud Charlet <charlet@act-europe.fr>
943 * Makefile.in: Remove unused rules.
945 2003-12-05 Vincent Celier <celier@gnat.com>
947 * switch-c.adb (Scan_Front_End_Switches): Remove processing of
948 -nostdlib. Not needed here after all.
950 2003-12-03 Thomas Quinot <quinot@act-europe.fr>
954 * adaint.h, adaint.c, g-os_lib.ads:
955 Do not assume that the offset argument to lseek(2) is a 32 bit integer,
956 on some platforms (including FreeBSD), it is a 64 bit value.
957 Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
959 2003-12-03 Arnaud Charlet <charlet@act-europe.fr>
961 * gnatvsn.ads (Library_Version): Now contain only the relevant
963 (Verbose_Library_Version): New constant.
965 * g-spipat.adb, g-awk.adb, g-debpoo.adb,
966 g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
967 s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
969 * gnatlbr.adb: Clean up: replace Library_Version by
970 Verbose_Library_Version.
972 * make.adb, lib-writ.adb, exp_attr.adb:
973 Clean up: replace Library_Version by Verbose_Library_Version.
975 * 5lintman.adb: Removed.
978 Update and simplify computation of LIBRARY_VERSION.
979 Fix computation of GSMATCH_VERSION.
980 5lintman.adb is no longer used: replaced by 7sintman.adb.
982 2003-12-03 Robert Dewar <dewar@gnat.com>
985 (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
986 name. Modified to consider small non-bit-packed arrays as troublesome
987 and in need of component-by-component assigment expansion.
989 2003-12-03 Vincent Celier <celier@gnat.com>
991 * lang-specs.h: Process nostdlib as nostdinc
993 * back_end.adb: Update Copyright notice
994 (Scan_Compiler_Arguments): Process -nostdlib directly.
996 2003-12-03 Jose Ruiz <ruiz@act-europe.fr>
999 When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
1000 redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
1001 included in HIE_NONE_TARGET_PAIRS.
1003 2003-12-03 Ed Schonberg <schonberg@gnat.com>
1006 (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
1007 is legal in an instance, because legality is cheched in the template.
1010 (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
1011 appplied to an unchecked conversion of a formal parameter.
1014 (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
1017 2003-12-03 Olivier Hainque <hainque@act-europe.fr>
1019 * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
1020 routines. The second one is new functionality to deal with backtracing
1021 through signal handlers.
1022 (unwind): Split into the two separate subroutines above.
1023 Update the documentation, and deal properly with sizeof (REG) different
1024 from sizeof (void*).
1026 2003-12-01 Nicolas Setton <setton@act-europe.fr>
1028 * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
1029 so that the debugger can reliably access the value of the parameter,
1030 and therefore is able to display the exception name when an exception
1031 breakpoint is reached.
1033 2003-12-01 Thomas Quinot <quinot@act-europe.fr>
1035 * fmap.adb: Fix typo in warning message.
1037 * g-socket.ads, g-socket.adb: Make Free a visible instance of
1038 Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
1040 2003-12-01 Vincent Celier <celier@gnat.com>
1042 * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
1044 (Build_Library): Get the switches only if Default_Switches is declared
1047 2003-12-01 Ed Schonberg <schonberg@gnat.com>
1049 * exp_ch6.adb (Expand_Actuals): When applying validity checks to
1050 actuals that are indexed components, reanalyze actual to ensure that
1051 packed array references are properly expanded.
1053 * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
1054 attempted assignment to a discriminant.
1056 2003-12-01 Robert Dewar <dewar@gnat.com>
1058 * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
1061 * switch-c.adb: Minor reformatting of comments
1063 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
1065 * Makefile.in: Clean ups.
1067 2003-12-01 GNAT Script <nobody@gnat.com>
1069 * Make-lang.in: Makefile automatically updated
1071 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
1073 * 5wsystem.ads: Disable zero cost exception, not ready yet.
1075 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
1077 * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
1078 to force serialization.
1080 2003-11-26 Thomas Quinot <quinot@act-europe.fr>
1082 * g-socket.ads, g-socket.adb:
1083 Clarify documentation of function Stream. Introduce a Free procedure
1084 to release the returned Stream once it becomes unused.
1086 * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
1088 2003-11-26 Arnaud Charlet <charlet@act-europe.fr>
1090 (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
1091 since NT 4 cannot handle timeout values that are too large,
1092 e.g. DWORD'Last - 1.
1094 2003-11-26 Ed Schonberg <schonberg@gnat.com>
1097 (Expand_N_Slice): Recognize all cases of slices that appear as actuals
1098 in procedure calls and whose expansion must be deferred.
1100 * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
1104 (Build_Derived_Array_Type): Create operator for unconstrained type
1105 if ancestor is unconstrained.
1107 2003-11-26 Vincent Celier <celier@gnat.com>
1109 * make.adb (Project_Object_Directory): New global variable
1110 (Change_To_Object_Directory): New procedure
1111 (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
1112 of Change_Dir directly. Do not change working directory to object
1113 directory of main project after each compilation.
1114 (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
1116 Change to object directory of main project before binding step.
1117 (Initialize): Initialize Project_Object_Directory to No_Project
1120 (Build_Library): Take into account Builder'Default_Switches ("Ada") when
1121 binding a Stand-Alone Library.
1123 * output.adb: Update Copyright notice
1124 (Write_Char): Output buffer when full
1126 2003-11-26 Robert Dewar <dewar@gnat.com>
1128 * sem_ch13.adb: (Check_Size): Reset size if size is too small
1131 (Check_Size): Fix documentation to include bit-packed array case
1133 * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
1135 * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
1137 * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
1139 2003-11-24 Arnaud Charlet <charlet@act-europe.fr>
1142 * utils.c (init_gigi_decls): Change name of built-in setjmp to
1143 __builtin_setjmp, since this is apparently needed by recent
1146 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1148 * adadecode.c: Only include ctype.h if not IN_GCC.
1149 (__gnat_decode): Use ISDIGIT from safe-ctype.h.
1151 2003-11-24 Jose Ruiz <ruiz@act-europe.fr>
1154 Use 5zintman.ads for VxWorks targets. This file avoid confusion between
1155 signals and interrupts.
1157 * 5zintman.ads: New File.
1159 * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
1160 add exception signals to the set of unmasked signals.
1163 Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
1164 between signals and interrupts.
1165 Add to Unblocked_Signal_Mask the set of signals that are in
1169 Adding a check to see whether the Interrupt_ID we want to unmask is in
1170 the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
1171 reason is that the index type of the Keep_Unmasked array is not always
1172 Interrupt_ID; it may be a subtype of Interrupt_ID.
1174 2003-11-24 Gary Dismukes <dismukes@gnat.com>
1177 (Remove_Side_Effects): Condition constantness of object created for a
1178 an unchecked type conversion on the constantness of the expression
1179 to ensure the correct value for 'Constrained when passing components
1180 of view-converted class-wide objects.
1182 2003-11-24 Robert Dewar <dewar@gnat.com>
1184 * par-load.adb (Load): Improve handling of misspelled and missing units
1185 Removes several cases of compilation abandoned messages
1187 * lib.adb: (Remove_Unit): New procedure
1189 * lib.ads: (Remove_Unit): New procedure
1191 * lib-load.adb: Minor reformatting
1193 2003-11-24 Vincent Celier <celier@gnat.com>
1196 (Gnatmake, Initialize): Call Usage instead of Makeusg directly
1197 (Marking_Label): Label to mark processed source files. Incremented for
1199 (Gnatmake): Increase Marking_Labet for each executable
1200 (Is_Marked): Compare against marking label
1201 (Mark): Mark with marking label
1203 2003-11-24 Jerome Guitton <guitton@act-europe.fr>
1206 Move the declaration of the TSD for System.Threads to System.Soft_Links.
1209 * Makefile.in: Added target pair for s-thread.adb for cert runtime.
1210 (rts-cert): build a single relocatable object for the run-time lib.
1213 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr>
1216 Use gnatls rather than gcc to obtain the location of GNAT RTL for
1219 2003-11-24 Sergey Rybin <rybin@act-europe.fr>
1221 * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
1222 can not use it as before (that is, as a variable) when dumping it into
1223 the tree file. Add a local variable to store the result of this
1224 function and to be used as the string to be written into the tree.
1226 * scn.adb (Initialize_Scanner): Add comments explaining the recent
1229 * sinput.adb (Source_First, Source_Last): In case of
1230 Internal_Source_File, replace returning attributes of
1231 Internal_Source_Ptr (which is wrong) with returning attributes of
1234 2003-11-24 Ed Schonberg <schonberg@gnat.com>
1237 (New_Concatenation_Op): Proper name for New_Binary_Operator, only
1238 used for implicit concatenation operators.
1242 (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
1243 task bodies that are in the scope of a Suppress pragma.
1244 (Check_A Call): Use the flag to prevent spurious elaboration checks.
1246 * sinfo.ads, sinfo.adb:
1247 New flag No_Elaboration_Check on function/procedure calls, to properly
1248 suppress checks on calls in task bodies that are within a local suppress
1252 (Expand_Concatenate_Other): Use the proper integer type for the
1253 expression for the upper bound, to avoid universal_integer computations
1256 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
1258 * .cvsignore: Delete.
1260 2003-11-21 Andreas Schwab <schwab@suse.de>
1262 * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
1264 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr>
1266 * 5wsystem.ads: Enable zero cost exception.
1268 2003-11-21 Jerome Guitton <guitton@act-europe.fr>
1270 * 5ztiitho.adb: Remove an unreferenced variable.
1272 2003-11-21 Thomas Quinot <quinot@act-europe.fr>
1274 * adaint.c: For FreeBSD, use mkstemp.
1276 2003-11-21 Arnaud Charlet <charlet@act-europe.fr>
1278 * gnatlbr.adb: Now reference Gnat_Static_Version_String.
1280 2003-11-21 Robert Dewar <dewar@gnat.com>
1282 * bld.adb: Remove useless USE of gnatvsn
1284 * gnatchop.adb: Minor reformatting
1285 Clean up version handling to be more consistent
1287 * gnatxref.adb: Minor reformatting
1289 * gprcmd.adb: Minor reformatting
1290 Fix output of copyright to be more consistent with other tools
1292 2003-11-21 Vincent Celier <celier@gnat.com>
1294 * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
1296 2003-11-21 Sergey Rybin <rybin@act-europe.fr>
1298 * atree.adb (Initialize): Add initializations for global variables
1299 used in New_Copy_Tree.
1301 * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
1302 Internal_Source_File as the actual).
1303 Put the set of statements creating Any_Character before the set of
1304 statements creating Any_Array to have Any_Character fully initialized
1305 when it is used in creating Any_Array.
1307 * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
1308 not call Scan in case if the actual is Internal_Source_File
1309 Add 2003 to copyright note.
1311 * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
1312 processing Internal_Source_File.
1314 * types.ads: Add the constant Internal_Source_File representing the
1315 source buffer for artificial source-code-like strings created within
1316 the compiler (the definition of Source_File_Index is changed).
1318 2003-11-20 Arnaud Charlet <charlet@act-europe.fr>
1320 * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
1321 56system.ads: New file, FreeBSD version.
1323 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
1325 * Make-lang.in (ada.extraclean): Delete.
1327 2003-11-19 Arnaud Charlet <charlet@act-europe.fr>
1329 * gnatmem.adb: Clean up verbose output.
1331 * gprcmd.adb: Change copyright to FSF.
1333 2003-11-19 Vincent Celier <celier@gnat.com>
1335 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
1336 and Version (ignored).
1338 * symbols.ads: (Policy): New type
1339 (Initialize): New parameter Reference, Symbol_Policy and
1341 Remove parameter Force.
1344 * snames.ads, snames.adbadb: New standard names
1345 Library_Reference_Symbol_File and Library_Symbol_Policy
1348 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
1352 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
1354 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
1356 * prj.adb: (Project_Empty): New component Symbol_Data
1358 * prj.ads: (Policy, Symbol_Record): New types
1359 (Project_Data): New component Symbol_Data
1362 New attributes Library_Symbol_File, Library_Symbol_Policy and
1363 Library_Reference_Symbol_File.
1366 (Ada_Check): When project is a Stand-Alone library project, process
1367 attribute Library_Symbol_File, Library_Symbol_Policy and
1368 Library_Reference_Symbol_File.
1370 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1371 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
1372 5sml-tgt.adb (Build_Dynamic_Library): New parameter
1373 Symbol_Data (ignored).
1375 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
1376 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
1377 functions Option_File_Name and Version_String. Set new options of
1378 gnatsym related to symbol file, symbol policy and reference symbol
1382 Extensive modifications to take into account the reference symbol file,
1383 the symbol policy, the library version and to put in the symbol file the
1384 minor and major IDs.
1386 * bld.adb (Process_Declarative_Items): Put second argument of
1387 gprcmd to_absolute between single quotes, to avoid problems with
1390 * bld-io.adb: Update Copyright notice.
1391 (Flush): Remove last character of a line, if it is a back slash, to
1392 avoid make problems.
1395 Implement new scheme with reference symbol file and symbol policy.
1397 * g-os_lib.ads: (Is_Directory): Clarify comment
1399 2003-11-19 Robert Dewar <dewar@gnat.com>
1401 * atree.adb: Move New_Copy_Tree global variables to head of package
1403 * errout.adb: Minor reformatting
1405 2003-11-19 Javier Miranda <miranda@gnat.com>
1407 * sem_ch4.adb: (Diagnose_Call): Improve error message.
1408 Add reference to Ada0Y (AI-50217)
1410 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
1411 sem_util.adb: Add reference to AI-50217
1413 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
1415 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
1417 * sem_aggr.adb: Complete documentation of AI-287 changes
1419 * par-ch4.adb: Document previous changes.
1421 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
1422 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
1425 * exp_aggr.adb: Add references to AI-287 in previous changes
1427 2003-11-19 Ed Schonberg <schonberg@gnat.com>
1430 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
1431 in the rewriting is the result of an inlined call.
1433 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
1434 parameter is a type conversion, use original node to construct the
1435 post-call assignment, because expression may have been rewritten, e.g.
1436 if it is a packed array.
1439 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
1440 body, just as it is in an instance.
1441 Categorization routines
1443 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
1444 Instantiate_Object): Set proper sloc reference for message on missing
1447 2003-11-19 Thomas Quinot <quinot@act-europe.fr>
1449 * Makefile.in: Add FreeBSD libgnat pairs.
1451 * usage.adb: Fix typo in usage message.
1453 2003-11-19 Jerome Guitton <guitton@act-europe.fr>
1455 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
1456 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
1458 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
1460 * s-thread.adb: This file is now a dummy implementation of
1463 2003-11-19 Sergey Rybin <rybin@act-europe.fr>
1465 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
1467 2003-11-19 Emmanuel Briot <briot@act-europe.fr>
1469 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1470 instanciation references in the parent type description.
1472 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1474 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
1476 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
1477 TYPE_PRECISION directly from esize.
1479 2003-11-18 Thomas Quinot <quinot@act-europe.fr>
1482 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
1484 * init.c: Initialization routines for FreeBSD
1486 * link.c: Link info for FreeBSD
1488 * sysdep.c: Add the case of FreeBSD
1490 2003-11-17 Jerome Guitton <guitton@act-europe.fr>
1492 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
1493 already called in System.Threads.
1495 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
1496 environment task, as it has been moved to System.Threads.Initialization.
1498 2003-11-17 Arnaud Charlet <charlet@act-europe.fr>
1500 * adaint.c (__gnatlib_install_locks): Only reference
1501 __gnat_install_locks on VMS, since other platforms can avoid using
1502 --enable-threads=gnat
1504 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1506 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
1508 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
1509 TYPE_PACKED_ARRAY_TYPE_P.
1510 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
1512 Part of PR ada/12806
1513 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
1514 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
1516 2003-11-17 Vincent Celier <celier@gnat.com>
1518 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
1520 Do not set exit status to Failure when Warning is True.
1521 (Gnatchop): Make errors "no compilation units found" and
1522 "no source files written" warnings only.
1524 * make.adb (Gnatmake): When using a project file, set
1525 Look_In_Primary_Dir to False.
1526 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
1527 and Local_Configuration_Pragmas in the project where they are declared
1528 not an extending project which might have inherited them.
1530 * osint.adb (Locate_File): If Name is already an absolute path, do not
1531 look for a directory.
1533 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
1534 -gnats (Check_Syntax) is used, issue only a warning, not an error.
1536 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
1537 in objects of type Variable_Value.
1539 * prj.ads: (Variable_Value): New component Project
1541 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
1542 is in a project extended by Project.
1544 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
1545 Project of Variable_Values to this new parameter value.
1546 (Expression): Set component Project of Variable_Values.
1547 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
1548 Set the component Project in array elements.
1550 2003-11-17 Sergey Rybin <rybin@act-europe.fr>
1552 * errout.adb: (Initialize): Add initialization for error nodes.
1554 * sem_ch12.adb (Initialize): Add missing initializations for
1555 Exchanged_Views and Hidden_Entities.
1557 2003-11-17 Ed Schonberg <schonberg@gnat.com>
1559 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
1560 already instantiated tree for use in subsequent inlining.
1561 (Analyze_Associations, Instantiate_Formal_Subprogram,
1562 Instantiate_Object): improve error message for mismatch in
1565 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
1566 instantiations of subprograms declared in instances.
1568 2003-11-17 Javier Miranda <miranda@gnat.com>
1570 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
1571 executed only under the Extensions_Allowed flag.
1573 2003-11-17 Robert Dewar <dewar@gnat.com>
1575 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
1577 (Address_Image): Fix bug of returning 0x instead of 0x0
1578 Minor reformatting (function specs).
1580 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
1581 (missed case of 33-63)
1583 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
1585 * s-thread.adb: Add comments for pragma Restriction
1587 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
1588 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
1590 2003-11-17 Ed Falis <falis@gnat.com>
1592 * s-thread.adb: Added No_Tasking restriction for this implementation.
1594 2003-11-17 Emmanuel Briot <briot@act-europe.fr>
1596 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1597 instanciation references in the parent type description.
1599 2003-11-17 GNAT Script <nobody@gnat.com>
1601 * Make-lang.in: Makefile automatically updated
1603 2003-11-16 Jason Merrill <jason@redhat.com>
1605 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
1606 and TAGS files that include them for each front end.
1608 2003-11-14 Andreas Jaeger <aj@suse.de>
1610 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
1611 is the canonical version.
1612 * misc.c (gnat_handle_option): Likewise.
1614 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
1616 * 5nsystem.ads: New file for x86_64-linux-gnu.
1618 2003-11-14 Arnaud Charlet <charlet@act-europe.fr>
1620 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
1622 * comperr.adb: Fix logic in previous change.
1624 2003-11-13 Vincent Celier <celier@gnat.com>
1626 * 5bml-tgt.adb (Build_Dynamic_Library): Use
1627 Osint.Include_Dir_Default_Prefix instead of
1628 Sdefault.Include_Dir_Default_Name.
1630 * gnatlbr.adb: Update Copyright notice
1631 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1632 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1633 instead of Sdefault.Object_Dir_Default_Name
1636 (Process_Binder_File): Never suppress the option following -Xlinker
1639 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1640 Sdefault.Object_Dir_Default_Name.
1642 * osint.ads, osint.adb:
1643 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1646 * vms_conv.ads: Minor reformating
1647 Remove GNAT STANDARD and GNAT PSTA
1650 Allow GNAT MAKE to have several files on the command line.
1651 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1652 Sdefault.Object_Dir_Default_Name.
1654 Remove data for GNAT STANDARD
1657 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1658 Remove data for GNAT STANDARD
1659 Remove options and documentation for -gnatwb/-gnatwB: these warning
1660 options no longer exist.
1662 2003-11-13 Ed Falis <falis@gnat.com>
1664 * 5zthrini.adb: (Init_RTS): Made visible
1667 (Register): Removed unnecessary call to taskVarGet that checked whether
1668 an ATSD was already set as a task var for the argument thread.
1671 Updated comment to reflect that this is a VxWorks version
1672 Added context clause for System.Threads.Initialization
1673 Added call to System.Threads.Initialization.Init_RTS
1675 2003-11-13 Jerome Guitton <guitton@act-europe.fr>
1678 (Init_RTS): New procedure, for the initialization of the run-time lib.
1681 Remove dependancy on System.Init, so that this file can be used in the
1682 AE653 sequential run-time lib.
1684 2003-11-13 Robert Dewar <dewar@gnat.com>
1686 * bindgen.adb: Minor reformatting
1688 2003-11-13 Ed Schonberg <schonberg@gnat.com>
1691 (Apply_Discriminant_Check): Do no apply check if target type is derived
1692 from source type with no applicable constraint.
1695 (Ensure_System_Dependency): Do not apply the style checks that may have
1696 been specified for the main unit.
1699 (Find_Selected_Component): Further improvement in error message, with
1703 (Resolve): Handle properly the case of an illegal overloaded protected
1706 2003-11-13 Javier Miranda <miranda@gnat.com>
1709 (Has_Default_Init_Comps): New function to check the presence of
1710 default initialization in an aggregate.
1711 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1712 extension aggregate of a limited record. In addition, a new formal
1713 was added to do not initialize the record controller (if any) during
1714 this recursive expansion of ancestors.
1715 (Init_Controller): Add support for limited record components.
1716 (Expand_Record_Aggregate): In case of default initialized components
1717 convert the aggregate into a set of assignments.
1719 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1720 describing the new syntax.
1721 Nothing else needed to be done because this subprogram delegates part of
1722 its work to P_Precord_Or_Array_Component_Association.
1723 (P_Record_Or_Array_Component_Association): Give support to the new
1724 syntax for default initialization of components.
1727 (Resolve_Aggregate): Relax the strictness of the frontend in case of
1729 (Resolve_Record_Aggregate): Give support to default initialized
1731 (Get_Value): In case of default initialized components, duplicate
1732 the corresponding default expression (from the record type
1733 declaration). In case of default initialization in the *others*
1734 choice, do not check that all components have the same type.
1735 (Resolve_Extension_Aggregate): Give support to limited extension
1739 (Check_Initialization): Relax the strictness of the front-end in case
1740 of aggregate and extension aggregates. This test is now done in
1741 Get_Value in a per-component manner.
1743 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1744 expression corresponds to a limited aggregate. This test is now done
1747 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1750 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1751 present in an N_Component_Association node
1753 2003-11-13 Thomas Quinot <quinot@act-europe.fr>
1755 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
1756 type-conformant entry only if they are homographs.
1758 2003-11-13 GNAT Script <nobody@gnat.com>
1760 * Make-lang.in: Makefile automatically updated
1762 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1764 * adadecode.c: Use <> form of include for ctype.h.
1765 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
1767 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1769 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
1770 Works around PR middle-end/6552.
1772 2003-11-10 Ed Falis <falis@gnat.com>
1774 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
1776 * 5zinit.adb: (Install_Handler): Moved back to spec
1777 (Install_Signal_Handlers): Deleted
1779 * 5zthrini.adb: Added context clause for System.Storage_Elements
1780 (Register): Only handles creation of taskVar; initialization moved to
1782 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
1783 Added declaration of environment task secondary stack and
1786 * s-thread.adb: Implement bodies for thread body processing
1789 Added comment identifying supported targets for pragma Thread_Body.
1791 2003-11-10 Pascal Obry <obry@gnat.com>
1793 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
1797 (Open): Properly check for string length before copying into the buffer.
1798 Raises Name_Error if buffer is too small. Note that this was a potential
1801 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
1803 * bindgen.adb, comperr.adb: Code clean ups.
1804 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
1806 2003-11-10 Sergey Rybin <rybin@act-europe.fr>
1808 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
1810 2003-11-10 Vincent Celier <celier@gnat.com>
1813 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
1816 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
1818 * prj.adb: (Project_Empty): Add new boolean component Virtual
1820 * prj.ads: (Virtual_Prefix): New constant string
1821 (Project_Data): New boolean component Virtual
1823 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
1824 a library project is extended by a virtual extending project.
1827 Modifications throughout to implement extending-all project, including:
1828 (Virtual_Hash, Processed_Hash): New hash tables
1829 (Create_Virtual_Extending_Project): New procedure
1830 (Look_For_Virtual_Projects_For): New procedure
1833 (Process): After checking the projects, if main project is an
1834 extending-all project, set the object directory of all virtual extending
1835 project to the object directory of the main project.
1836 Adjust error message when a virtual extending project has the same
1837 object directory as an project being extended.
1838 (Recursive_Process): If name starts with the virtual prefix, set Virtual
1839 to True in the project data.
1842 (Default_Project_Node): Add new boolean component Extending_All
1843 (Is_Extending_All): New function
1844 (Set_Is_Extending_All): New procedure
1846 * prj-tree.ads: (Is_Extending_All): New function
1847 (Set_Is_Extending_All): New procedure
1848 (Project_Node_Record): New boolean component Extending_All
1850 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
1853 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
1855 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
1856 "gprcmd prefix" to define it.
1858 2003-11-10 Thomas Quinot <quinot@act-europe.fr>
1860 * einfo.ads: Fix a typo and remove an extraneous word in comments.
1863 (Create_Dummy_Package_Unit): Set the scope of the entity for the
1864 created dummy package to Standard_Standard, not to itself, to
1865 defend other parts of the front-end against encoutering a cycle in
1869 (Analyze_With_Clause): When setting the entities for the successive
1870 N_Expanded_Names that constitute the name of a child unit, do not
1871 attempt to go further than Standard_Standard in the chain of scopes.
1872 This case arises from the placeholder units created by
1873 Create_Dummy_Package_Unit in the case of a with_clause for a
1874 nonexistent child unit.
1876 2003-11-10 Ed Schonberg <schonberg@gnat.com>
1879 (Expand_Thread_Body): Place subprogram on scope stack, so that new
1880 declarations are given the proper scope.
1883 (Check_Expr_Constants): Reject an expression that contains a constant
1884 created during expansion, and that appears after the object to which
1885 the address clause applies.
1887 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
1888 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
1889 that uses 'Range of a function call with controlled components, so
1890 that the function result can be finalized before starting the loop.
1893 (Find_Selected_Component): Improve error message when prefix is
1894 an implicit dereference of an incomplete type.
1896 2003-11-10 Robert Dewar <dewar@gnat.com>
1898 * opt.ads: New Print_Standard flag for -gnatS switch
1900 * sem_ch13.adb: Remove some additional checks for unaligned arrays
1902 * cstand.adb (Create_Standard): Print out package standard if -gnatS
1905 * debug.adb: Update doc for -gnatds to discuss relationship with new
1908 * sinfo.adb: Add new field Entity_Or_Associated_Node
1910 * sinfo.ads: Add new field Entity_Or_Associated_Node
1911 Update documentation for Associated_Node and Entity fields to clarify
1912 relationship and usage.
1915 (Write_Id): Properly process Associated_Node field in generic template
1918 Recognize new -gnatS switch for printing package Standard
1919 This replaces gnatpsta
1922 Add line for new -gnatS switch for printing package Standard
1923 This replaces gnatpsta
1925 2003-11-10 Andreas Jaeger <aj@suse.de>
1927 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
1930 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1932 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
1935 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1937 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
1940 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
1942 * sysdep.c: Add handling of cygwin.
1944 2003-11-10 GNAT Script <nobody@gnat.com>
1946 * Make-lang.in: Makefile automatically updated
1948 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1951 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
1952 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
1953 Replace GNAT_ROOT by GCC_ROOT.
1955 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
1957 2003-11-06 Zack Weinberg <zack@codesourcery.com>
1959 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
1960 and update for changed meaning of GET_MODE_BITSIZE.
1962 2003-11-04 Doug Rupp <rupp@gnat.com>
1964 * sysdep.c: Problem discovered during IA64 VMS port.
1965 [VMS] #include <unixio.h> to get proper prototypes.
1968 Issues discovered/problems fixed during IA64 VMS port.
1969 [VMS] #define _POSIX_EXIT for proper semantics.
1970 [VMS] #include <unixio.h> for proper prototypes.
1971 [VMS] (fork): #define IA64 version.
1972 (__gnat_os_exit): Remove unnecessary VMS specific code.
1974 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1976 Part of PR ada/12806
1978 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
1982 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
1985 * targtyps.c, decl.c, misc.c,
1986 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
1987 routines to work around change in FP sizing semantics in GCC.
1990 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
1992 * gigi.h: (enumerate_modes): New function.
1994 * Make-lang.in: (ada/misc.o): Add real.h.
1996 * misc.c: (enumerate_modes): New function.
1998 2003-11-04 Robert Dewar <dewar@gnat.com>
2000 * 3vtrasym.adb: Minor reformatting
2001 Use terminology encoded/decoded name, rather than C++ specific notion
2002 of mangling (this is the terminology used throughout GNAT).
2004 * einfo.h: Regenerated
2006 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
2009 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
2011 * par-prag.adb: Add dummy entry for Thread_Body pragma
2014 Add entries for System.Threads entities for thread body processing
2017 (Analyze_Pragma, Access attributes): Check these are not applied to a
2018 thread body, since this is not permitted
2020 * sem_prag.adb: Add processing for Thread_Body pragma.
2024 (Resolve_Call): Check for incorrect attempt to call a thread body
2025 procedure with a direct call.
2027 * snames.ads, snames.adb: Add entry for Thread_Body pragma
2028 Add names associated with thread body expansion
2030 * snames.h: Add entry for Thread_Body pragma
2032 * s-thread.adb: Add entries for thread body processing
2033 These are dummy bodies so far
2035 * s-thread.ads: Add documentation on thread body handling.
2036 Add entries for thread body processing.
2038 2003-11-04 Javier Miranda <miranda@gnat.com>
2041 (Build_Limited_Views): Return after posting an error in case of limited
2042 with_clause on subprograms, generics, instances or generic renamings
2043 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
2044 on subprograms, generics, instances or generic renamings
2046 2003-11-04 Arnaud Charlet <charlet@act-europe.fr>
2048 * raise.c (setup_to_install): Correct mistake in last revision; two
2049 arguments out of order.
2051 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
2052 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
2053 notice, missed in previous change.
2054 Remove trailing blanks and other style errors introduced in previous
2057 2003-11-04 Olivier Hainque <hainque@act-europe.fr>
2059 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
2060 rid of the wrapper for a LJM type, ensuring we don't do that if the
2061 field is addressable. This avoids potential low level type view
2062 mismatches later on, for instance in a by-reference argument passing
2065 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2067 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
2068 aligned at byte boundary.
2070 2003-11-04 Joel Brobecker <brobecker@gnat.com>
2072 * decl.c (components_to_record): Do not delete the empty variants from
2073 the end of the union type.
2075 2003-11-04 Ed Schonberg <schonberg@gnat.com>
2077 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
2078 operation for a derived type, an explicit declaration may use a local
2081 2003-11-04 Vincent Celier <celier@gnat.com>
2083 * make.adb (Gnatmake): Allow main sources on the command line with a
2084 library project when it is only for compilation (no binding or
2087 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2089 * Makefile.in: Remove many duplicate variables.
2091 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
2093 * Make-lang.in (dvi): Move targets to $(docobjdir).
2094 (gnat_ug_vms.dvi): Simplify rule and adjust target.
2095 (gnat_ug_wnt.dvi): Likewise.
2096 (gnat_ug_unx.dvi): Likewise.
2097 (gnat_ug_vxw.dvi): Likewise.
2098 (gnat_rm.dvi): Likewise.
2099 (gnat-style.dvi): Likewise.
2101 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
2103 * gigi.h: Missed commit from update for C90.
2105 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
2107 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
2109 2003-10-31 Andreas Schwab <schwab@suse.de>
2111 * raise.c (get_action_description_for): Fix typo in last change.
2113 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
2116 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
2117 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
2119 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
2121 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
2122 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
2123 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
2124 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
2125 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
2127 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
2130 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
2131 numbers when symbol name is too long.
2133 2003-10-30 Ed Falis <falis@gnat.com>
2135 * g-signal.ads, g-signal.adb: New files
2137 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
2139 * Makefile.rtl: Introduce GNAT.Signals
2141 2003-10-30 Robert Dewar <dewar@gnat.com>
2143 * freeze.adb: Minor reformatting
2145 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
2147 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
2148 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
2149 New handling of Id_Check parameter to improve recognition of keywords
2150 used as identifiers.
2151 Update copyright notice to include 2003
2153 2003-10-29 Robert Dewar <dewar@gnat.com>
2155 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
2156 sem_ch10.adb: Minor reformatting
2158 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
2159 (Expand_Assign_Record): Test right hand side for bit unaligned as well
2161 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
2163 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
2164 Support for TBK$SYMBOLIZE-based symbolic traceback.
2166 2003-10-29 Jose Ruiz <ruiz@act-europe.fr>
2169 Revert previous change, that did not work well when pragma No_Run_Time
2170 was used in conjunction with a run-time other than ZFP.
2172 2003-10-29 Vincent Celier <celier@gnat.com>
2175 (Gnatmake): When there are no Ada mains in attribute Main, disable the
2176 bind and link steps only is switch -z is not used.
2178 2003-10-29 Arnaud Charlet <charlet@act-europe.fr>
2180 * Makefile.generic: Remove duplicated setting of CC.
2182 * Makefile.prolog: Set CC to gcc by default, to override make's
2185 * einfo.h: Regenerated.
2187 2003-10-29 Ed Schonberg <schonberg@gnat.com>
2189 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
2190 current body, after compiling subunit.
2192 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
2193 when in deleted code, because gigi needs properly ordered freeze
2194 actions to annotate types.
2196 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
2197 prevent the premature freezing of record type that contains
2198 subcomponents with a private type that does not yet have a completion.
2200 2003-10-29 Javier Miranda <miranda@gnat.com>
2203 (Analyze_Package_Instantiation): Check that instances can not be used in
2204 limited with_clauses.
2207 (Analyze_Package_Renaming): Check that limited withed packages cannot
2208 be renamed. Improve text on error messages related to limited
2211 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
2213 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
2214 Update copyright notice.
2216 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
2217 (Install_Limited_Context_Clauses): New subprogram that isolates all the
2218 checks required for limited context_clauses and installs the limited
2220 (Install_Limited_Withed_Unit): Complete its documentation.
2221 (Analyze_Context): Check that limited with_clauses are only allowed in
2223 (Install_Context): Call Install_Limited_Context_Clauses after the
2224 parents have been installed.
2225 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
2226 package as 'From_With_Type'; this mark indicates that the limited view
2227 is installed. Used to check bad usages of limited with_clauses.
2228 (Build_Limited_Views): Do not add shadow entities to the scope's list
2229 of entities. Do not add real entities to the Non_Limited_Views chain.
2230 Improve error notification.
2231 (Remove_Context_Clauses): Remove context clauses in two phases:
2232 limited views first and regular views later (to maintain the
2234 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
2235 its visible entities.
2237 2003-10-29 Thomas Quinot <quinot@act-europe.fr>
2239 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
2240 with any type that Is_Fixed_Point_Type.
2242 * sinfo.ads: Fix documentation for Associated_Node attribute.
2244 2003-10-29 Sergey Rybin <rybin@act-europe.fr>
2246 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
2247 both '-gnatc' and '-gnatt' are specified.
2249 * atree.adb (Initialize): Add initialization for Node_Count (set to
2252 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2254 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
2255 do not consider as Pure.
2257 Part of implementation of function-at-a-time:
2259 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
2260 (tree_transform): Add new argument to build_component_ref.
2261 (tree_transform, case N_Assignment_Statement): Make and return an
2263 (tree_transform): If result IS_STMT, set flags and return it.
2264 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2266 * utils2.c (build_simple_component_ref, build_component_ref): Add new
2268 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
2269 (build_allocator): Likewise.
2271 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
2272 Add new arg to build_component_ref.
2273 (maybe_unconstrained_array, unchecked_convert): Likewise.
2275 * ada-tree.def (EXPR_STMT): New code.
2277 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
2279 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
2280 build_component_ref calls.
2282 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
2284 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2285 (build_component_ref): Add new argument, NO_FOLD_P.
2287 2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
2289 * Makefile.generic: Add missing substitution on object_deps handling.
2292 * Make-lang.in (check-ada): Enable ACATS test suite.
2294 2003-10-27 Robert Dewar <dewar@gnat.com>
2297 (Freeze_Array_Type): We do not need an initialization routine for types
2298 derived from String or Wide_String. They should be treated the same
2299 as String and Wide_String themselves. This caused problems with the
2300 use of Initialize_Scalars.
2303 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
2304 composites. This allows use of component clauses that are not byte
2308 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
2309 is an attempt to pack an array of atomic objects.
2311 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
2313 2003-10-27 Pascal Obry <obry@gnat.com>
2316 (Basename): Check for drive letters in a pathname only on DOS based OS.
2318 2003-10-27 Vincent Celier <celier@gnat.com>
2321 (Gnatmake): When unable to change dir to the object dir, display the
2322 content of the parent dir of the obj dir, to try to understand why this
2325 2003-10-27 GNAT Script <nobody@gnat.com>
2327 * Make-lang.in: Makefile automatically updated
2329 2003-10-27 Ed Schonberg <schonberg@gnat.com>
2332 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
2333 should not be done in Save/Restore_Scope_Stack, because it is performed
2337 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2338 whether use clauses should be removed/restored.
2341 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2342 whether use clauses should be removed/restored.
2344 2003-10-26 Andreas Jaeger <aj@suse.de>
2346 * Makefile.in: Remove duplicated lines.
2348 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2350 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
2351 minimize the differences with ACT tree.
2353 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
2354 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
2355 Gnatvsn.Gnat_Static_Version_String to reduce differences between
2358 2003-10-24 Pascal Obry <obry@gnat.com>
2360 * adadecode.c (ostrcpy): New function.
2361 (__gnat_decode): Use ostrcpy of strcpy.
2362 (has_prefix): Set first parameter a const.
2363 (has_suffix): Set first parameter a const.
2364 Update copyright notice. Fix source name in header.
2365 Removes a trailing space.
2368 2003-10-24 Jose Ruiz <ruiz@act-europe.fr>
2371 Remove the test against being in No_Run_Time_Mode before generating a
2372 call to Register_Tag. It is redundant with the test against the
2373 availability of the function Register_Tag.
2375 2003-10-24 Vincent Celier <celier@gnat.com>
2377 * g-catiio.adb: (Month_Name): Correct spelling of February
2379 * make.adb: (Mains): New package
2380 (Initialize): Call Mains.Delete
2381 (Gnatmake): Check that each main on the command line is a source of a
2382 project file and, if there are several mains, each of them is a source
2383 of the same project file.
2384 (Gnatmake): When a foreign language is specified in attribute Languages,
2385 no main is specified on the command line and attribute Mains is not
2386 empty, only build the Ada main. If there is no Ada main, just compile
2387 the Ada sources and their closure.
2388 (Gnatmake): If a main is specified on the command line with directory
2389 information, check that the source exists and, if it does, that the path
2390 is the actual path of a source of a project.
2393 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
2394 Full_Path is True, return the full path instead of the simple file name.
2395 (Project_Of): New function
2398 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
2400 (Project_Of): New function
2402 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2405 Ensure objects of main project are always checked and rebuilt if needed.
2406 Set CC to gcc by default.
2407 Prepare new handling of link by creating a global archive (not activated
2410 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2411 stringt.h: Update copyright notice. Remove trailing blanks.
2412 Fix source name in header.
2414 2003-10-24 Robert Dewar <dewar@gnat.com>
2416 * sem_ch12.adb: Minor reformatting
2419 Minor reformatting (including new function return style throughout)
2422 Minor reformatting (including new function return style throughout)
2424 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2426 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2427 stringt.h: Update copyright notice. Remove trailing blanks.
2428 Fix source name in header.
2430 2003-10-24 GNAT Script <nobody@gnat.com>
2432 * Make-lang.in: Makefile automatically updated
2434 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
2436 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
2437 stringt.h: Convert to ISO C90 declarations and definitions.
2439 2003-10-23 Thomas Quinot <quinot@act-europe.fr>
2442 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
2443 External_Tag attribute definition clauses.
2445 2003-10-23 Ed Schonberg <schonberg@gnat.com>
2448 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
2449 child unit, generate a fully qualified name to avoid spurious errors
2450 when the context contains renamings of different child units with
2451 the same simple name.
2453 * exp_dbug.ads: Add documentation on name qualification for renamings
2456 2003-10-23 Robert Dewar <dewar@gnat.com>
2458 * g-regpat.ads, g-regpat.adb: Minor reformatting
2460 2003-10-23 Jose Ruiz <ruiz@act-europe.fr>
2462 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
2464 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2466 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
2469 * urealp.h: (Machine): Update to proper definition.
2471 2003-10-23 Arnaud Charlet <charlet@act-europe.fr>
2473 * init.c, adaint.c: Minor reformatting.
2475 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
2477 * adaint.c (w32_epoch_offset): Define static const at file level.
2478 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
2479 rather than t_create, t_access in call to GetFileTime. Use union
2480 to convert between FILETIME and unsigned long long.
2481 (__gnat_file_time_name): Test for invalid file handle.
2482 (__gnat_set_filetime_name): Support win32 targets using
2485 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
2487 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
2489 * ctrl_c.c (__gnat_int_handler): Remove declaration.
2491 * decl.c (creat_concat_name): Const-ify prefix.
2493 * adaint.c: Include ctype.h if __MINGW32__.
2494 (__gnat_readlink): Mark arguments as possibly unused.
2495 (__gnat_symlink): Likewise.
2496 (__gnat_is_symbolic_link): Likewise.
2497 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
2499 (__gnat_file_time_name): Don't declare struct stat statbuf when
2501 (__gnat_is_absolute_path): Add parenthesis around condition of
2502 'if' statement to avoid warning.
2503 (__gnat_plist_init): Specify void as parameter.
2504 (plist_enter): Likewise.
2505 (plist_leave): Likewise.
2506 (remove_handle): Make static. Initialize prev.
2508 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2510 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
2511 * cstreams.c (__gnat_full_name): Minor improvements and clean up
2514 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2516 * tracebak.c (MAX): Avoid redefinition warning.
2518 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
2519 Change msg to const char *.
2520 (__gnat_install_handler): Remove ss, unused.
2521 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
2523 * cstreams.c (__gnat_full_name): Declare p only when used.
2524 (__gnat_full_name) [sgi] Return buffer.
2526 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2528 * mingw32.h: New file.
2529 * gnat_wrapper.adb: New file.
2531 2003-10-22 Jerome Roussel <roussel@act-europe.fr>
2533 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
2534 string match a pre compiled regular expression (the corresponding
2535 version of the function working on a raw regular expression)
2536 Fix typos in various comments
2537 Update copyright notice in spec
2539 2003-10-21 Gary Dismukes <dismukes@gnat.com>
2542 (Component_Needs_Simple_Initialization): Return False when the type is a
2543 packed bit array. Revise spec comments to document this case.
2546 (Expand_Pragma_Import): Set any expression on the imported object to
2547 empty to avoid initializing imported objects (in particular this
2548 covers the case of zero-initialization of bit arrays).
2549 Update copyright notice.
2551 2003-10-21 Ed Schonberg <schonberg@gnat.com>
2554 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
2555 a subunit is missing.
2556 (Instantiate_Subprogram_Body): If body of function is missing, set type
2557 of return expression explicitly in dummy body, to prevent cascaded
2558 errors when a subunit is missing.
2562 (Access_Subprogram_Declaration): Verify that return type is valid.
2566 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
2571 (Corresponding_Discriminant): If the scope of the discriminant is a
2572 private type without discriminant, use its full view.
2575 2003-10-21 Arnaud Charlet <charlet@act-europe.fr>
2577 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
2578 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
2579 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
2580 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
2581 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
2582 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
2583 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2584 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
2585 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
2586 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
2587 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
2588 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
2589 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
2590 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
2591 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
2592 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
2593 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
2594 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
2595 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
2596 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
2597 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
2598 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
2599 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
2600 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
2601 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
2602 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
2603 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
2604 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
2605 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
2606 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
2607 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
2608 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
2609 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
2610 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
2611 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
2612 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
2613 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
2614 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
2615 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
2616 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
2617 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
2618 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
2619 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
2620 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
2621 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
2622 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
2623 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
2624 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2625 vms_conv.ads, vms_conv.adb, vms_data.ads,
2626 vxaddr2line.adb: Files added. Merge with ACT tree.
2628 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2629 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2630 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2631 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2632 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2633 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2634 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2635 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2636 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2637 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2639 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2640 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2641 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2642 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2643 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2644 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2645 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2646 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2647 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2648 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2649 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2650 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2651 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2652 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2653 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2654 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2655 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2656 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2657 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2658 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2659 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2660 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2661 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2662 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2663 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2664 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2665 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2666 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2667 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2668 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2669 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2670 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2671 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2672 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2673 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2674 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2675 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2676 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2677 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2678 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2679 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2680 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2681 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2682 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2683 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2684 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2685 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2686 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2687 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2688 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2689 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2690 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2691 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2692 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2693 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2694 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2695 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2696 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2697 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2698 checks.adb, checks.ads, cio.c, comperr.adb,
2699 comperr.ads, csets.adb, cstand.adb, cstreams.c,
2700 debug_a.adb, debug_a.ads, debug.adb, decl.c,
2701 einfo.adb, einfo.ads, errout.adb, errout.ads,
2702 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2703 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2704 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2705 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2706 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2707 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2708 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2709 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2710 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2711 fe.h, fmap.adb, fmap.ads, fname.adb,
2712 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2713 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2714 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2715 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2716 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2717 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2718 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2719 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2720 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2721 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2722 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2723 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2724 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2725 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2726 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2727 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2728 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2729 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2730 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2731 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2732 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2733 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2734 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2735 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2736 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2737 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2738 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2739 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2740 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2741 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2742 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2743 layout.adb, lib.adb, lib.ads, lib-list.adb,
2744 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2745 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2746 link.c, live.adb, make.adb, make.ads,
2747 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2748 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2749 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2750 misc.c, mkdir.c, mlib.adb, mlib.ads,
2751 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2752 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
2753 namet.adb, namet.ads, namet.h, nlists.ads,
2754 nlists.h, nmake.adt, opt.adb, opt.ads,
2755 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
2756 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
2757 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2758 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
2759 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
2760 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
2761 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
2762 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
2763 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
2764 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
2765 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
2766 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
2767 prj-util.adb, prj-util.ads, raise.c, raise.h,
2768 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
2769 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
2770 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
2771 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
2772 scans.ads, scn.adb, scn.ads, s-crc32.adb,
2773 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
2774 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
2775 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
2776 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
2777 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
2778 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2779 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2780 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
2781 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
2782 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
2783 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
2784 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
2785 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
2786 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
2787 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2788 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
2789 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
2790 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
2791 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
2792 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
2793 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
2794 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
2795 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
2796 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
2797 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
2798 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
2799 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
2800 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
2801 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
2802 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
2803 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
2804 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
2805 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
2806 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
2807 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
2808 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
2809 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
2810 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
2811 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
2812 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
2813 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
2814 stringt.adb, stringt.ads, stringt.h, style.ads,
2815 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
2816 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
2817 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
2818 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
2819 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
2820 table.adb, table.ads, targparm.adb, targparm.ads,
2821 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
2822 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
2823 ttypes.ads, types.ads, types.h, uintp.adb,
2824 uintp.ads, uintp.h, uname.adb, urealp.adb,
2825 urealp.ads, urealp.h, usage.adb, utils2.c,
2826 utils.c, validsw.adb, validsw.ads, widechar.adb,
2827 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
2828 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
2829 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
2830 gnatvsn.ads: Merge with ACT tree.
2832 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
2834 2003-10-20 Mark Mitchell <mark@codesourcery.com>
2836 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
2837 (gnat_ug_vmx.info): Likewise.
2838 (gnat_ug_vxw.info): Likewise.
2839 (gnat_ug_wnt.info): Likewise.
2840 (gnat_rm.info): Likewise.
2841 (gnat-style.info): Likewise.
2843 * Make-lang.in (ada.install-info): Remove target.
2845 (install-info): Likewise.
2846 (gnat_ug_unx.info): Simplify rule.
2847 (gnat_ug_vmx.info): Likewise.
2848 (gnat_ug_vxw.info): Likewise.
2849 (gnat_ug_wnt.info): Likewise.
2850 (gnat_rm.info): Likewise.
2851 (gnat-style.info): Likewise.
2853 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
2855 * Make-lang.in: Replace uses of $(target_alias) with
2856 $(target_noncanonical).
2857 * ada/Makefile.in: Remove unused mention of $(target_alias).
2859 2003-10-06 Mark Mitchell <mark@codesourcery.com>
2861 * Make-lang.in (ada.info): Replace with ...
2863 (ada.dvi): Replace with ...
2866 2003-09-29 Zack Weinberg <zack@codesourcery.com>
2868 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
2869 initialize dconstp5 and dconstmp5.
2871 2003-09-28 Richard Henderson <rth@redhat.com>
2873 * trans.c (tree_transform): Update call to expand_asm_operands.
2875 2003-09-21 Richard Henderson <rth@redhat.com>
2877 * trans.c, utils.c: Revert.
2879 2003-09-21 Richard Henderson <rth@redhat.com>
2881 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
2884 2003-09-04 Michael Matz <matz@suse.de>
2886 * misc.c: Include "target.h".
2887 * Make-lang.in (misc.o): Add dependency on target.h.
2889 2003-09-03 DJ Delorie <dj@redhat.com>
2891 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
2894 2003-08-30 Zack Weinberg <zack@codesourcery.com>
2896 * Makefile.in: Update substitutions to match changes to
2897 configure. Use include directives instead of @-insertions
2898 to read in host and target fragments. Add a rule to
2899 regenerate ada/Makefile.
2901 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
2903 * lang-options.h: Remove.
2904 * lang.opt: Add help text.
2906 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
2908 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
2911 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
2913 * misc.c (gnat_handle_option): Don't handle filenames.
2915 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2917 * Make-lang.in: Replace PWD with PWD_COMMAND.
2918 * Makefile.adalib: Likewise.
2919 * Makefile.in: Likewise.
2921 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
2923 * misc.c (gnat_argv): Revert last change.
2924 (gnat_handle_option, gnat_init_options): Copy arguments.
2926 2003-07-03 Neil Booth <neil@daikokuya.co.uk>
2928 * misc.c (gnat_argv): Make const.
2930 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2932 * misc.c (save_argc, save_argv): Keep non-static!
2934 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2936 * misc.c (save_argc, save_argv): Make static.
2937 (gnat_init_options): New prototype.
2938 (gnat_init_options): Update.
2940 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
2942 * gnat_ug.texi: Remove unlikely characters from @vars.
2943 * gnat_ug_vms.texi: Regenerate.
2945 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2947 * misc.c (record_code_position): Adjust emit_note call.
2949 2003-06-26 Neil Booth <neil@daikokuya.co.uk>
2951 * misc.c (gnat_handle_option): Don't check for missing arguments.
2953 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
2955 * utils.c (end_subprog_body): Adjust expand_function_end call.
2957 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
2959 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
2962 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
2964 * lang.opt: Declare Ada.
2965 * misc.c (gnat_init_options): Update.
2967 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
2969 * utils.c (begin_subprog_body): Adjust init_function_start call.
2971 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
2973 * Make-lang.in: Update to use options.c and options.h.
2974 * misc.c: Include options.h not aoptions.h.
2975 (gnat_handle_option): Abort on unrecognized switch.
2976 (gnat_init_options): Request Ada switches.
2978 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
2980 * lang.opt: Add -Wall.
2981 * misc.c (gnat_handle_option): Handle it.
2983 2003-06-12 Neil Booth <neil@daikokuya.co.uk>
2985 * misc.c (gnat_handle_option): Fix warnings.
2987 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
2989 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
2991 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
2993 * Make-lang.in: Update to handle command-line options.
2994 * lang.opt: New file.
2995 * misc.c: Include aoptions.h.
2996 (cl_options_count, cl_options): Remove.
2997 (gnat_handle_option): New.
2998 (gnat_decode_option): Remove.
2999 (LANG_HOOKS_DECODE_OPTION): Remove.
3000 (LANG_HOOKS_HANDLE_OPTION): Override.
3002 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
3004 * init.c, misc.c, trans.c, utils.c: Remove dead code.
3006 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
3008 * Makefile.in: Replace "host_canonical" with "host" for autoconf
3011 2003-06-08 Neil Booth <neil@daikokuya.co.uk>
3013 * Make-lang.in: Update.
3014 * misc.c: Include opts.h. Define cl_options_count and cl_options.
3016 2003-06-07 Neil Booth <neil@daikokuya.co.uk>
3018 * misc.c (gnat_init_options): Update.
3020 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
3022 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
3023 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
3024 __attribute__ ((__unused__)).
3026 2003-06-05 Jan Hubicka <jh@suse.cz>
3028 * Make-lang.in: Add support for stageprofile and stagefeedback
3030 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
3032 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
3033 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
3035 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
3037 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
3038 Remove non-VMS directive.
3039 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
3041 (Examples of gnatls Usage): Remove VMS alternative.
3043 2003-06-04 Olivier Hainque <hainque@act-europe.fr>
3046 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
3047 and turn ZCX_By_Default back to False since the underlying support
3048 is not quite there yet.
3050 2003-06-01 Andreas Jaeger <aj@suse.de>
3052 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
3053 and ROUND_TYPE_SIZE_UNIT.
3055 2003-05-22 Geert Bosch <bosch@gnat.com>
3057 * gnat_rm.texi : Remove reference to Ada Core Technologies.
3059 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
3061 * trans.c (tree_transform): Use location_t and input_location
3063 (build_unit_elab): Likewise.
3064 * utils.c (create_label_decl): Likewise.
3066 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
3068 * trans.c (tree_transform, build_unit_elab,
3069 set_lineno): Rename lineno to input_line.
3070 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
3071 end_subprog_body): Likewise.
3072 * utils2.c (build_call_raise): Likewise.
3074 2003-05-01 Laurent Guerby <guerby@acm.org>
3077 * 5iosinte.ads: Increase pthread_cond_t size to match recent
3078 LinuxThread and NPTL version, merge from ACT.
3080 2003-04-28 Zack Weinberg <zack@codesourcery.com>
3082 * utils.c (convert): No need to clear TREE_CST_RTL.
3084 2003-04-23 Geert Bosch <bosch@gnat.com>
3086 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
3087 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
3088 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
3089 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
3090 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
3091 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
3092 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
3093 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
3094 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
3095 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
3096 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
3097 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
3098 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
3099 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
3100 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
3101 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
3102 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
3103 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
3104 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
3105 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
3106 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
3107 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
3108 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
3109 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
3110 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
3111 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
3112 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
3113 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
3114 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
3115 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
3116 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
3117 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
3118 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
3119 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
3120 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
3121 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
3122 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
3123 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
3124 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
3125 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
3126 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
3127 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
3128 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
3129 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
3130 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
3131 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
3132 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
3133 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
3134 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
3135 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
3136 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
3137 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
3138 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
3139 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
3140 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
3141 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
3142 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
3143 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
3144 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
3145 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
3146 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
3147 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
3148 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
3149 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
3150 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
3151 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
3152 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
3153 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
3154 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
3155 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
3156 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
3157 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
3158 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
3159 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
3160 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
3161 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
3162 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
3163 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
3164 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
3165 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
3166 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
3167 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
3168 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
3169 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
3170 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
3171 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
3172 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
3173 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
3174 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
3175 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
3176 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
3177 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
3178 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
3179 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
3180 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
3181 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
3182 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
3183 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
3184 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
3185 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
3186 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
3187 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
3188 ali.adb, ali.ads, alloc.ads, argv.c,
3189 atree.adb, atree.ads, atree.h, aux-io.c,
3190 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
3191 binde.adb, binde.ads, binderr.adb, binderr.ads,
3192 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
3193 butil.adb, butil.ads, cal.c, calendar.ads,
3194 casing.adb, casing.ads, ceinfo.adb, checks.adb,
3195 checks.ads, cio.c, comperr.adb, comperr.ads,
3196 config-lang.in, csets.adb, csets.ads, csinfo.adb,
3197 cstand.adb, cstand.ads, cuintp.c, debug.adb,
3198 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
3199 dec-io.ads, dec.ads, deftarg.c, directio.ads,
3200 einfo.adb, einfo.ads, elists.adb, elists.ads,
3201 elists.h, errno.c, errout.adb, errout.ads,
3202 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
3203 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
3204 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
3205 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
3206 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
3207 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
3208 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
3209 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
3210 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
3211 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
3212 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
3213 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
3214 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
3215 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
3216 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
3217 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
3218 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
3219 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
3220 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
3221 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
3222 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
3223 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
3224 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
3225 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
3226 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
3227 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
3228 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
3229 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
3230 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
3231 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
3232 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
3233 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
3234 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
3235 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
3236 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
3237 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
3238 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
3239 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
3240 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
3241 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
3242 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
3243 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
3244 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
3245 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
3246 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
3247 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
3248 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
3249 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
3250 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
3251 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
3252 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
3253 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
3254 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
3255 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
3256 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
3257 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
3258 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
3259 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
3260 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
3261 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
3262 lib.adb, lib.ads, live.adb, live.ads,
3263 machcode.ads, make.adb, make.ads, makeusg.adb,
3264 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
3265 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
3266 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
3267 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
3268 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
3269 mlib.ads, namet.adb, namet.ads, nlists.adb,
3270 nlists.ads, opt.adb, opt.ads, osint-b.adb,
3271 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
3272 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
3273 osint.ads, output.adb, output.ads, par-ch10.adb,
3274 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
3275 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
3276 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
3277 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
3278 par-tchk.adb, par-util.adb, par.adb, par.ads,
3279 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
3280 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
3281 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
3282 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
3283 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
3284 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
3285 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
3286 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
3287 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
3288 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
3289 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
3290 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
3291 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
3292 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
3293 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
3294 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
3295 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
3296 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
3297 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
3298 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
3299 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
3300 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
3301 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
3302 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
3303 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
3304 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
3305 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
3306 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
3307 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
3308 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
3309 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
3310 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
3311 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
3312 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
3313 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
3314 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
3315 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
3316 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
3317 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
3318 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
3319 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
3320 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
3321 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
3322 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
3323 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
3324 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
3325 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
3326 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
3327 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
3328 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
3329 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
3330 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
3331 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
3332 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
3333 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
3334 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
3335 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
3336 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
3337 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
3338 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
3339 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
3340 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
3341 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
3342 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
3343 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
3344 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
3345 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
3346 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
3347 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
3348 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
3349 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
3350 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
3351 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
3352 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
3353 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
3354 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
3355 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
3356 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
3357 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
3358 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
3359 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
3360 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
3361 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
3362 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3363 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
3364 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
3365 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
3366 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
3367 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
3368 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
3369 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
3370 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
3371 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
3372 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
3373 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
3374 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
3375 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
3376 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
3377 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
3378 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
3379 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
3380 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
3381 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
3382 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
3383 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
3384 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
3385 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
3386 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
3387 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
3388 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
3389 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
3390 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
3391 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
3392 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
3393 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
3394 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
3395 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
3396 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
3397 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
3398 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
3399 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
3400 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
3401 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
3402 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
3403 snames.ads, sprint.adb, sprint.ads, stand.adb,
3404 stand.ads, stringt.adb, stringt.ads, style.adb,
3405 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
3406 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
3407 switch-m.ads, switch.adb, switch.ads, system.ads,
3408 table.adb, table.ads, targparm.adb, targparm.ads,
3409 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
3410 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
3411 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
3412 ttypef.ads, ttypes.ads, types.adb, types.ads,
3413 uintp.adb, uintp.ads, uname.adb, uname.ads,
3414 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
3415 usage.adb, usage.ads, validsw.adb, validsw.ads,
3416 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
3417 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
3418 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
3419 formatting and other trivial changes from ACT.
3421 2003-04-12 Zack Weinberg <zack@codesourcery.com>
3423 * gigi.h, utils2.c (build_constructor):
3424 Rename gnat_build_constructor. Use build_constructor.
3425 * decl.c (gnat_to_gnu_entity)
3426 * trans.c (tree_transform, pos_to_constructor, extract_values)
3427 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
3429 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
3430 (fill_vms_descriptor):
3433 2003-04-06 Zack Weinberg <zack@codesourcery.com>
3435 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
3436 * misc.c (gnat_tree_size): New function.
3437 (LANG_HOOKS_TREE_SIZE): Override.
3439 2003-04-03 Jason Merrill <jason@redhat.com>
3441 * misc.c (gnat_adjust_rli): #if 0.
3443 2003-03-31 Geert Bosch <bosch@gnat.com>
3446 * link.c : Fix misspelled "const" keyword
3448 2003-03-23 Mark Mitchell <mark@codesourcery.com>
3451 * utils2.c: Adjust calls to put_var_into_stack.
3453 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
3455 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
3457 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
3459 * misc.c (gnat_init): Update for new prototype.
3461 2003-03-05 Olivier Hainque <hainque@gnat.com>
3464 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
3465 warning, and fix return type for the IN_RTS && !SJLJ case.
3467 2003-03-04 Tom Tromey <tromey@redhat.com>
3469 * Make-lang.in (ada.tags): New target.
3471 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
3474 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
3475 wrapper, which name remains constant whatever underlying GCC
3478 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
3479 the stable interface needed for a-except.
3481 2003-03-02 Andreas Jaeger <aj@suse.de>
3483 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3484 gnat_ug_wnt.texi: Regenerate.
3486 2003-03-02 Laurent Guerby <guerby@acm.org>
3488 * Makefile.in (install-gnatlib): Match previous change there
3491 2003-02-28 Andreas Schwab <schwab@suse.de>
3493 * Make-lang.in (install-gnatlib): Change to ada directory before
3494 running make instead of using ada/Makefile directly.
3496 2003-02-18 Ben Elliston <bje@redhat.com>
3498 Part of fix for PR ada/9406
3499 * gnat_ug.texi (Binder output file): Grammar fix.
3501 2003-02-18 Ben Elliston <bje@redhat.com>
3504 * 5qtaprop.adb (Sleep): Fix typo in comment.
3506 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3508 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
3509 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3510 gnat_ug_wnt.texi: Regenerate.
3512 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3514 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
3515 be created if necessary.
3516 (ada.install-common): Let $(DESTDIR)$(bindir) be created
3517 if necessary. Remove erroneous and redundant gnatchop
3518 installation commands. Test for gnatdll before attempting
3520 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
3521 and gnatdll from all plausible locations.
3523 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
3525 * utils2.c (build_unary_op): Don't check flag_volatile.
3526 * gnat_ug.texi: Remove -fvolatile from example.
3527 * gnat_ug_vxw.texi: Likewise.
3529 2003-01-29 Laurent Guerby <guerby@acm.org>
3532 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
3533 * Makefile.in: match previous change.
3534 * Make-lang.in: match previous change.
3536 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3538 * 5rosinte.ads: Add SIGXCPU.
3539 * 5rtpopsp.adb: New file.
3540 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
3541 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
3542 specific file 5rtpopsp.adb.
3543 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
3544 is likely needed for all newlib targets.
3545 * init.c: Add RTEMS specific version of __gnat_initialize().
3547 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3549 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
3551 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3553 * init.c (__gnat_error_handler): Make msg const.
3555 * gmem.c (convert_addresses): Move declaration ...
3556 * adaint.h: ... here.
3557 * adaint.c (convert_addresses): Adapt addrs type to match
3560 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
3562 2003-01-24 Andreas Schwab <schwab@suse.de>
3564 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
3565 size_t to avoid warning.
3567 2003-01-21 Zack Weinberg <zack@codesourcery.com>
3569 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
3571 2003-01-09 Geoffrey Keating <geoffk@apple.com>
3573 * gnat_rm.texi: Remove RCS version number.
3575 * ada-tree.h (union lang_tree_node): Add chain_next option.
3577 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3579 * Make-lang.in (ada.install-info, ada.install-common,
3580 ada.uninstall): Prepend $(DESTDIR) to the destination
3581 directory in all (un)installation commands.
3582 * Makefile.in (install-gnatlib, install-rts): Ditto.
3584 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
3586 * gnat_rm.texi, gnat_ug.texi: Use @copying.
3587 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3588 gnat_ug_wnt.texi: Regenerate.
3590 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
3592 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
3594 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
3595 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
3596 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
3597 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
3598 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
3599 $(srcdir)/doc/include/gcc-common.texi.
3601 2002-12-15 Geert Bosch <bosch@gnat.com>
3603 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
3605 2002-12-14 Geert Bosch <bosch@gnat.com>
3607 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
3608 case of a body created for a Renaming_As_Body, on which
3609 conformance checks are not performed. Fixes PR ada/5690.
3611 2002-11-30 Zack Weinberg <zack@codesourcery.com>
3613 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
3614 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
3615 not already included.
3616 * Make-lang.in: Update dependencies.
3618 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
3619 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
3620 solution to buffer overflow bug on GNU/Linux.
3622 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
3623 Closes PR ada/5856 and PR ada/6919 !
3624 * bindgen.adb: Remove all references to Public_Version.
3625 * comperr.adb: Remove all references to Public_Version and
3626 GNATPRO_Version; correct bug reporting instructions.
3627 * comperr.ads: Change to match bug box.
3628 * gnatvsn.ads: Remove all references to Public version and
3631 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
3633 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
3637 * config-lang.in: Remove diff_excludes.
3639 2002-11-05 Graham Stott <graham.stott@btinternet.com>
3641 * trans.c (gnu_pending_elaboration_lists): New GC root.
3642 (build_unit_elab): Use..
3644 2002-10-30 Geert Bosch <bosch@gnat.com>
3646 * misc.c : Include optabs.h
3648 * Make-lang.in (misc.o): Add dependency on optabs.h
3650 2002-10-29 Geert Bosch <bosch@gnat.com>
3652 * Make-lang.in (gnatbind): Depend on CONFIG_H
3654 2002-10-29 Geert bosch <bosch@gnat.com>
3656 * misc.c: Unrevert misc.c (1.13)
3658 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
3660 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
3661 maintainership comments.
3663 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
3665 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
3666 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
3667 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
3668 7staprop.adb: Correct statements in comments about
3669 maintainership of GNAT.
3672 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
3673 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
3674 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
3675 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
3676 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
3677 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
3678 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
3679 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
3680 comments about maintainership of GNAT.
3682 PR ada/6919 (forward port of patch for PR ada/5904)
3683 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
3684 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
3685 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
3686 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
3687 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
3688 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
3689 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
3690 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
3691 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
3692 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
3693 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
3694 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
3695 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
3696 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
3697 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
3698 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
3699 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
3700 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
3701 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
3702 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
3703 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
3704 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
3705 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
3706 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
3707 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
3708 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
3709 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
3710 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
3711 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
3712 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
3713 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
3714 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
3715 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
3716 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
3717 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
3718 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
3719 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
3720 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
3721 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
3722 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
3723 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
3724 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
3725 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
3726 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
3727 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
3728 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
3729 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
3730 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
3731 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
3732 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
3733 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
3734 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
3735 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
3736 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
3737 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
3738 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
3739 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
3740 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
3741 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
3742 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
3743 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
3744 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
3745 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
3746 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
3747 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
3748 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
3749 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
3750 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
3751 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
3752 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
3753 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
3754 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
3755 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
3756 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
3757 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
3758 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
3759 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
3760 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
3761 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
3762 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
3763 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
3764 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
3765 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
3766 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
3767 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
3768 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
3769 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
3770 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
3771 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
3772 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
3773 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
3774 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
3775 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
3776 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
3777 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
3778 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
3779 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
3780 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
3781 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
3782 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
3783 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
3784 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
3785 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
3786 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
3787 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
3788 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
3789 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
3790 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
3791 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
3792 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
3793 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
3794 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
3795 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
3796 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
3797 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
3798 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
3799 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
3800 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
3801 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
3802 par-endh.adb par-labl.adb par-load.adb par-prag.adb
3803 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
3804 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
3805 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
3806 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
3807 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
3808 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
3809 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
3810 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
3811 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
3812 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
3813 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
3814 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
3815 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
3816 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
3817 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
3818 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
3819 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
3820 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
3821 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
3822 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
3823 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
3824 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
3825 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
3826 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
3827 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
3828 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
3829 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
3830 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
3831 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
3832 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
3833 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
3834 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
3835 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
3836 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
3837 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
3838 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
3839 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
3840 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
3841 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
3842 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
3843 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
3844 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
3845 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
3846 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
3847 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
3848 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
3849 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
3850 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
3851 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
3852 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
3853 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
3854 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
3855 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
3856 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
3857 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
3858 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
3859 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
3860 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
3861 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
3862 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
3863 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
3864 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
3865 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
3866 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
3867 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
3868 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
3869 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
3870 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
3871 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
3872 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
3873 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
3874 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
3875 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
3876 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
3877 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
3878 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
3879 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
3880 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
3881 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
3882 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
3883 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
3884 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
3885 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
3886 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
3887 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
3888 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
3889 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
3890 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
3891 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
3892 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
3893 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
3894 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
3895 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
3896 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
3897 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
3898 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
3899 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
3900 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
3901 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
3902 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
3903 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
3904 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
3905 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
3906 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
3907 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
3908 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
3909 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
3910 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
3911 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
3912 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
3913 stringt.ads stringt.h style.adb style.ads stylesw.adb
3914 stylesw.ads switch.adb switch.ads sysdep.c system.ads
3915 table.adb table.ads targparm.adb targparm.ads targtyps.c
3916 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
3917 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
3918 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
3919 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
3920 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
3921 usage.ads utils.c utils2.c validsw.adb validsw.ads
3922 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
3923 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
3924 xtreeprs.adb: Correct statements in comments about maintainership
3927 2002-09-23 Zack Weinberg <zack@codesourcery.com>
3929 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
3930 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
3931 * gnatvsn.ads: Gnat_Version_String is now a function.
3932 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
3933 copy the C version_string into a String and return it.
3934 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
3935 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
3936 Remove pragma Ident (Gnat_Version_String). If this was the
3937 sole use of package Gnatvsn, remove the with statement too.
3938 * gnat1drv.adb: Tweak -gnatv output.
3940 2002-09-17 Richard Henderson <rth@redhat.com>
3942 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
3943 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
3944 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
3945 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
3946 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
3947 and real_2expN instead of a loop.
3948 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
3949 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
3951 2002-08-25 Andre Leis <a.leis@gmx.net>
3952 David Billinghurst (David.Billinghurst@riotinto.com>
3954 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
3956 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3958 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
3959 Remove $(CONFIG_H) dependency.
3961 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
3963 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
3965 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3967 * adadecode.c (ada_demangle): Use xstrdup in lieu of
3969 * misc.c (gnat_decode_option): Likewise.
3971 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
3973 * make.adb (Add_Switch): Make Generic_Position a procedure. The
3974 function approach did not work well because of a side effect (the
3975 function call could reallocate the table which was being indexed
3976 using its result). Fixes ada/4851. [RESURRECTED]
3978 2002-07-01 Roger Sayle <roger@eyesopen.com>
3980 * ada/utils.c (builtin_function): Accept an additional parameter.
3982 2002-06-28 Andreas Jaeger <aj@suse.de>
3985 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
3988 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3990 * Makefile.in (SHELL): Set to @SHELL@.
3992 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3994 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
3995 array size calculation.
3997 2002-06-04 Andreas Jaeger <aj@suse.de>
3999 * Make-lang.in (gnatbind): Readd rule that has been lost in last
4002 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
4004 Merge from pch-branch:
4006 * config-lang.in (gtfiles): Add ada-tree.h.
4007 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
4008 (SET_TYPE_MODULUS): New.
4009 (SET_TYPE_INDEX): New.
4010 (SET_TYPE_DIGITS_VALUE): New.
4011 (SET_TYPE_RM_SIZE): New.
4012 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
4013 (SET_TYPE_ADA_SIZE): New.
4014 (SET_TYPE_ACTUAL_BOUNDS): New.
4015 (SET_DECL_CONST_CORRESPONDING_VAR): New.
4016 (SET_DECL_ORIGINAL_FIELD): New.
4017 (TREE_LOOP_ID): Correct typo.
4018 * decl.c: Use new macros.
4019 * utils.c: Include debug.h, use new macros.
4020 * utils2.c: Use new macros.
4022 * ada-tree.h: Update all macros for new tree description.
4023 (struct tree_loop_id): New.
4024 (union lang_tree_node): New.
4025 (struct lang_decl): New.
4026 (struct lang_type): New.
4027 * misc.c (gnat_mark_tree): Delete.
4028 (LANG_HOOKS_MARK_TREE): Delete.
4029 * trans.c (tree_transform): No longer any need to cast
4032 * utils.c (struct language_function): New dummy structure.
4034 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
4036 (utils.o): Likewise; also gtype-ada.h.
4037 * Make-lang.in (gnat1): Add dependency on s-gtype.
4038 (gnatbind): Add dependency on $(CONFIG_H).
4039 * utils.c: Correct last #include.
4040 (stuct e_stack): Remove unnecessary 'static'.
4041 (mark_e_stack): Remove unused prototype.
4043 * scn-nlit.adb: Remove whitespace after version number to
4044 keep lines under 80 chars.
4045 * snames.adb: Likewise.
4046 * treepr.ads: Likewise.
4048 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
4050 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
4051 * config-lang.in (gtfiles): New.
4052 * decl.c: Use gengtype for roots.
4053 * gigi.h: Use gengtype for roots.
4054 * trans.c: Use gengtype for roots.
4055 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
4057 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
4059 * misc.c (gnat_init): Adjust setting of internal_error_function.
4061 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
4063 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
4064 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
4065 gnat_ug_wnt.texi: Regenerate.
4067 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
4069 * 5ntaprop.adb (with System.OS_Primitives): Remove.
4071 * cstreams.c (max_path_len): Move from here ...
4072 * adaint.c (__gnat_max_path_len): ... to here.
4073 * adaint.c (__gnat_max_path_len): Declare.
4074 * g-dirope.adb (Max_Path): Adjust.
4075 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
4076 * i-cstrea.ads (max_path_len): Adjust.
4077 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
4078 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
4080 * Makefile.in, Make-lang.in: Documentation is now built in
4081 Make-lang.in. Store Info and generated Texinfo files in the
4083 * gnat_ug.texi: Remove CVS keywords, correct version number.
4084 Set file name correctly.
4086 * gnat_ug_*.texi: Add.
4087 * .cvsignore: Ignore generated Texinfo files.
4089 2002-05-30 Zack Weinberg <zack@codesourcery.com>
4091 * ada.h: Add MI guard macro.
4092 (SUBTYPE): Define constants with an anonymous enum, not static
4094 (IN): Cast constants to appropriate type before use.
4096 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
4098 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
4101 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4103 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
4104 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
4105 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
4106 (ALL_ADA_CFLAGS): Likewise.
4107 (ADA_INCLUDES): Likewise.
4108 Adapt for new working dir.
4109 (GNATBIND): Use Makefile.in version.
4110 (.SUFFIXES): Copy from Makefile.in.
4112 (.adb.o, .ads.o): Copy from Makefile.in.
4113 Added $(OUTPUT_OPTION).
4114 (GNAT1_C_OBJS): Moved from Makefile.in.
4115 Prefix with ada subdir.
4116 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
4117 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
4118 Adapt for new working dir.
4119 (EXTRA_GNATBIND_OBJS): Likewise.
4120 (ADA_BACKEND): Moved from Makefile.in.
4121 Renamed to avoid conflict with global BACKEND.
4123 (TARGET_ADA_SRCS): Moved from Makefile.in.
4124 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
4126 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
4127 (ada_extra_files): Moved from Makefile.in.
4128 Prefix with ada subdir.
4129 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
4130 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
4131 (ada/nmake.ads): Likewise.
4132 (update-sources): Moved from Makefile.in.
4133 Prefix with ada subdir.
4134 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
4135 (ADA_TREE_H): Likewise.
4136 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
4137 (ada/memtrack.o): Likewise.
4138 (ada/adadecode.o): Likewise.
4139 Update dependencies.
4140 (ada/adaint.o): New.
4141 (ada/argv.o): Moved from Makefile.in.
4142 Prefix with ada subdir.
4143 Update dependencies.
4144 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
4145 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
4146 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
4147 Prefix with ada subdir.
4148 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
4149 (GNAT DEPENDENCIES): Regenerate.
4150 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
4151 toplevel Makefile.in.
4152 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
4153 (TARGET_ADA_SRCS): Removed.
4154 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
4155 (GNATBIND_OBJS): Likewise.
4156 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
4158 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
4160 (ada_extra_files): Likewise.
4161 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
4162 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
4163 (update-sources): Likewise.
4164 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
4165 (ADA_TREE_H): Likewise.
4166 (adadecoce.o): Likewise.
4167 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
4168 (GNAT DEPENDENCIES): Likewise.
4170 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4172 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
4173 * Makefile.in: Likewise.
4175 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4177 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
4178 Restore $(CONFIG_H) and prefix.o dependencies.
4179 (ada.stage[1-4]): Depend on stage?-start.
4181 * Makefile.in (b_gnatb.c): Depend on interfac.o.
4183 2002-05-02 Jim Wilson <wilson@redhat.com>
4185 * utils.c (finish_record_type): Change record_size to record_type.
4187 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4189 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
4190 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
4191 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
4193 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
4195 * misc.c (gnat_parse_file): Update.
4197 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
4199 * misc.c (gnat_init): Don't set lang_attribute_common.
4201 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
4203 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
4205 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
4207 * gnat_ug.texi: New file.
4209 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
4210 instead of gfdl.texi
4212 * xgnatug.adb, ug_words: New files.
4214 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
4215 gnat_rm and gnat-style manuals.
4217 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
4219 * gigi.h (incomplete_type_error): Remove.
4220 * utils.c (incomplete_type_error): Remove.
4222 2002-04-16 Mark Mitchell <mark@codesourcery.com>
4224 * trans.c (tree_transform): Add has_scope argument to
4225 expand_start_stmt_expr.
4227 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4229 * gigi.h (truthvalue_conversion): Rename.
4230 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4231 * trans.c (tree_transform): Update.
4232 * utils2.c (truthvalue_conversion): Rename, update.
4233 (build_binary_op, build_unary_op): Update.
4235 2002-04-04 Laurent Guerby <guerby@acm.org>
4237 * make.adb: Implement -margs, remove restriction about file name placement.
4238 * makeusg.adb: Documentation update.
4239 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
4240 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
4242 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4244 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
4245 (builtin_function): Similarly.
4247 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4249 * decl.c (gnat_to_gnu_entity): Update.
4250 * gigi.h (mark_addressable): Rename.
4251 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
4252 * trans.c (tree_transform): Update.
4253 * utils.c (create_var_decl): Update.
4254 * util2.c (build_binary_op, build_unary_op,
4255 fill_vms_descriptor): Update.
4256 (mark_addressable): Rename, update.
4258 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4260 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
4262 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
4263 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
4264 * trans.c (tree_transform, convert_with_check): Update.
4265 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
4268 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
4270 * gigi.h (finish_incomplete_decl): Rename.
4271 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
4272 * utils.c (gnat_init_decl_processing): Don't set hook.
4273 (finish_incomplete_decl): Rename.
4275 2002-03-29 Andreas Schwab <schwab@suse.de>
4277 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
4280 2001-03-28 Robert Dewar <dewar@gnat.com>
4283 (Remove_Checks): New procedure
4286 (Remove_Checks): New procedure
4289 Use new Duplicate_Subexpr functions
4290 (Duplicate_Subexpr_No_Checks): New procedure
4291 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4292 (Duplicate_Subexpr): Restore original form (checks duplicated)
4293 (Duplicate_Subexpr): Call Remove_Checks
4296 (Duplicate_Subexpr_No_Checks): New procedure
4297 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4298 Add 2002 to copyright notice
4300 * sem_util.adb: Use new Duplicate_Subexpr functions
4303 (Eval_Indexed_Component): This is the place to call
4304 Constant_Array_Ref and to replace the value. We simply merge
4305 the code of this function in here, since it is now no longer
4306 used elsewhere. This fixes the problem of the back end not
4307 realizing we were clever enough to see that this was
4309 (Expr_Val): Remove call to Constant_Array_Ref
4310 (Expr_Rep_Val): Remove call to Constant_Array_Ref
4312 (Constant_Array_Ref): Deal with string literals (patch
4313 suggested by Zack Weinberg on the gcc list)
4315 2001-03-28 Ed Schonberg <schonber@gnat.com>
4317 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
4318 Duplicate_Subexpr_Move_Checks.
4320 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
4321 Duplicate_Subexpr_Move_Checks.
4323 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
4324 value of array exists before retrieving it (it may a private
4325 protected component in a function).
4327 2002-03-28 Geert Bosch <bosch@gnat.com>
4329 * prj-pp.adb : New file.
4331 * prj-pp.ads : New file.
4333 2002-03-28 Andreas Jaeger <aj@suse.de>
4335 * Makefile.in (stamp-sdefault): Fix path for Makefile.
4337 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
4339 * misc.c (gnat_expand_expr): Move prototype.
4341 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4343 * misc.c (insert_default_attributes): Remove.
4345 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4347 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
4348 (gnat_init): Don't set hook.
4349 (gnat_expand_expr): Fix prototype.
4351 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4353 * misc.c (ggc_p): Remove.
4355 2002-03-27 Geert Bosch <bosch@gnat.com>
4357 * prj-makr.ads, prj-makr.adb : New files.
4359 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
4361 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
4362 (lang_mark_tree): Make static, rename.
4364 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
4366 * misc.c (maybe_build_cleanup): Remove.
4368 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
4370 * gigi.h (yyparse): Remove.
4372 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
4374 * gnat_rm.texi: Sync with ACT version.
4375 (From Ben Brosgol <brosgol@gnat.com>)
4377 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
4379 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
4380 (gnat_init): Remove old hook.
4382 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
4384 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
4385 (yyparse): Rename gnat_parse_file.
4387 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
4389 Delete all lines containing "$Revision:".
4390 * xeinfo.adb: Don't look for revision numbers.
4391 * xnmake.adb: Likewise.
4392 * xsinfo.adb: Likewise.
4393 * xsnames.adb: Likewise.
4394 * xtreeprs.adb: Likewise.
4396 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4398 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
4399 gnat_tree_code_name): Delete.
4400 (tree_code_type, tree_code_length, tree_code_name): Define.
4401 (gnat_init): Don't try to copy into the various tree_code
4404 2002-03-11 Richard Henderson <rth@redhat.com>
4406 * Makefile.in (.NOTPARALLEL): Add fake tag.
4408 2002-03-07 Geert Bosch <bosch@gnat.com>
4410 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
4411 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
4412 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
4413 switch-m.adb, switch-m.ads : New files.
4415 2002-03-07 Geert Bosch <bosch@gnat.com>
4417 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4418 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4419 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4420 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
4421 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
4422 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
4423 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
4424 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
4425 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
4426 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
4427 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
4428 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
4429 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
4430 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
4431 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
4432 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
4433 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
4434 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
4435 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
4436 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
4437 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
4438 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
4439 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
4440 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
4441 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
4442 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
4443 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
4444 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
4445 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
4446 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
4447 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
4448 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
4449 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
4450 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
4451 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4452 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
4453 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
4454 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
4455 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
4456 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
4457 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
4458 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
4459 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
4460 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
4461 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
4462 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
4463 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
4464 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
4465 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
4466 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
4467 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
4468 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
4469 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
4470 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
4471 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
4472 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
4473 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
4474 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
4475 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
4476 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
4477 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
4478 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
4479 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
4480 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
4481 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
4482 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
4483 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
4484 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
4485 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
4486 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
4487 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
4488 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
4489 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
4490 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
4491 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
4492 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
4493 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
4494 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
4495 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
4496 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
4497 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
4498 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
4499 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
4500 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
4501 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
4502 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
4503 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
4504 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
4505 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
4506 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
4507 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
4508 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
4509 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
4510 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
4511 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
4512 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
4513 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
4515 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
4516 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
4517 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
4518 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
4520 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
4521 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
4523 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
4524 to mdll-fil.ad[bs] and mdll-util.ad[bs]
4526 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
4527 from mdllfile.ad[bs] and mdlltool.ad[bs]
4529 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4531 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
4532 lieu of explicit sizeof/sizeof.
4534 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4536 * misc.c (copy_lang_decl): Remove.
4538 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4540 * misc.c: Delete traditional-mode-related code copied from the
4541 C front end but not used, or used only to permit the compiler
4544 2002-02-07 Richard Henderson <rth@redhat.com>
4546 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
4547 * adaint.h (__gnat_to_gm_time): Update prototype.
4549 2002-01-30 Richard Henderson <rth@redhat.com>
4551 * trans.c (tree_transform) [N_Loop_Statement]: Use
4552 expand_exit_loop_top_cond.
4554 2001-12-23 Richard Henderson <rth@redhat.com>
4556 * utils.c (end_subprog_body): Push GC context around
4557 rest_of_compilation for nested functions.
4559 2001-12-23 Richard Henderson <rth@redhat.com>
4561 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
4563 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
4565 * gnat-style.texi (Declarations and Types): Remove ancient style
4566 rule which was mandated by code generation issues.
4568 * gnat-style.texi (header): Add @dircategory, @direntry.
4569 (title page): Remove date.
4570 (general) Add @./@: where approriate, and two spaces after the
4571 full stop at the end of a sentence. Use @samp markup when
4572 referring concrete lexical entities (keywords, attribute names
4573 etc.), and @syntax for ARM grammar elements. Use @r for English
4574 text in comments. Use @emph for emphasis. Change "if-statements"
4575 etc. to "if statements" (without @samp). Break long lines. Make
4576 casing of section names consistent.
4577 (Identifiers): Use @samp markup for variable names.
4578 (Comments): Use @samp markup for comment characters. Line-end
4579 comments may follow any Ada code, not just statements. Fix
4580 misspelling of "Integer" as "integer".
4581 (Loop statements): Do not use variable name "I", use "J".
4582 (Subprogram Declarations): Document alignment.
4583 (Subprogram Bodies, Block statements): Document empty line before
4586 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
4588 * make.adb (Add_Switch): Make Generic_Position a procedure. The
4589 function approach did not work well because of a side effect (the
4590 function call could reallocate the table which was being indexed
4591 using its result). Fixes ada/4851.
4593 2001-12-19 Robert Dewar <dewar@gnat.com>
4595 * bindgen.adb: Minor reformatting
4597 * cstand.adb: Minor reformatting
4599 * fmap.adb: Minor reformatting
4600 Change name from Add for Add_To_File_Map (Add is much too generic)
4601 Change Path_Name_Of to Mapped_Path_Name
4602 Change File_Name_Of to Mapped_File_Name
4603 Fix copyright dates in header
4606 Change name from Add for Add_To_File_Map (Add is much too generic)
4607 Change Path_Name_Of to Mapped_Path_Name
4608 Change File_Name_Of to Mapped_File_Name
4609 Fix copyright dates in header
4611 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
4612 Add use clause for Fmap.
4614 * make.adb: Minor reformatting
4616 * osint.adb: Minor reformatting. Change of names in Fmap.
4617 Add use clause for Fmap.
4619 * prj-env.adb: Minor reformatting
4621 * prj-env.ads: Minor reformatting
4623 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
4624 error found (there were odd exceptions to this general rule in
4625 -gnatec/-gnatem processing)
4627 2001-12-19 Olivier Hainque <hainque@gnat.com>
4629 * raise.c (__gnat_eh_personality): Exception handling personality
4630 routine for Ada. Still in rough state, inspired from the C++ version
4631 and still containing a bunch of debugging artifacts.
4632 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
4633 inspired from the C++ library.
4635 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
4636 exception handling integration.
4638 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4640 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
4641 (HIE_SOURCES): Add s-secsta.ad{s,b}.
4642 (HIE_OBJS): Add s-fat*.o
4643 (RAVEN_SOURCES): Remove files that are no longer required. Add
4644 interrupt handling files.
4645 (RAVEN_MOD): Removed, no longer needed.
4647 2001-12-19 Robert Dewar <dewar@gnat.com>
4649 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
4650 Add 2001 to copyright date
4652 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
4653 need to force universal inlining for these cases.
4655 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4657 * s-taprob.adb: Minor clean ups so that this unit can be used in
4660 * exp_ch7.adb: Allow use of secondary stack in HI mode.
4661 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
4663 2001-12-19 Vincent Celier <celier@gnat.com>
4665 * prj-tree.ads (Project_Node_Record): Add comments for components
4666 Pkg_Id and Case_Insensitive.
4668 2001-12-19 Pascal Obry <obry@gnat.com>
4670 * g-socket.adb: Minor reformatting. Found while reading code.
4672 2001-12-19 Robert Dewar <dewar@gnat.com>
4674 * prj-tree.ads: Minor reformatting
4676 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
4678 * config-lang.in (diff_excludes): Remove.
4680 2001-12-17 Ed Schonberg <schonber@gnat.com>
4682 * sem_res.adb (Resolve_Selected_Component): do not generate a
4683 discriminant check if the selected component is a component of
4684 the argument of an initialization procedure.
4686 * trans.c (tree_transform, case of arithmetic operators): If result
4687 type is private, the gnu_type is the base type of the full view,
4688 given that the full view itself may be a subtype.
4690 2001-12-17 Robert Dewar <dewar@gnat.com>
4692 * sem_res.adb: Minor reformatting
4694 * trans.c (tree_transform, case N_Real_Literal): Add missing third
4695 parameter in call to Machine (unknown horrible effects from this
4698 * urealp.h: Add definition of Round_Even for call to Machine
4699 Add third parameter for Machine
4701 2001-12-17 Ed Schonberg <schonber@gnat.com>
4703 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
4704 predefined units in No_Run_Time mode.
4706 2001-12-17 Richard Kenner <kenner@gnat.com>
4708 * misc.c (insn-codes.h): Now include.
4710 2001-12-17 Olivier Hainque <hainque@gnat.com>
4712 * a-except.adb: Preparation work for future integration of the GCC 3
4713 exception handling mechanism
4714 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
4715 to factorize previous code sequences and make them externally callable,
4716 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
4717 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
4718 Use the new notification routines.
4720 2001-12-17 Emmanuel Briot <briot@gnat.com>
4722 * prj-tree.ads (First_Choice_Of): Document the when others case
4724 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4726 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
4727 HI-E mode, in order to support Ravenscar profile properly.
4729 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
4730 mode on 32 bits targets.
4732 2001-12-17 Vincent Celier <celier@gnat.com>
4734 * fmap.adb: Initial version.
4736 * fmap.ads: Initial version.
4738 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
4739 If search is successfully done, add to mapping.
4741 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
4744 (Gnatmake): Add new local variable Mapping_File_Name.
4745 Create mapping file when using project file(s).
4746 Delete mapping file before exiting.
4748 * opt.ads (Mapping_File_Name): New variable
4750 * osint.adb (Find_File): Use path name found in mapping, if any.
4752 * prj-env.adb (Create_Mapping_File): New procedure
4754 * prj-env.ads (Create_Mapping_File): New procedure.
4756 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
4759 * usage.adb: Add entry for new switch -gnatem.
4761 * Makefile.in: Add dependencies for fmap.o.
4763 2001-12-17 Ed Schonberg <schonber@gnat.com>
4765 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
4766 is a package instantiation rewritten as a package body.
4767 (Install_Withed_Unit): Undo previous change, now redundant.
4769 2001-12-17 Gary Dismukes <dismukes@gnat.com>
4772 (Compute_Length): Move conversion to Unsigned to callers.
4773 (Get_Max_Size): Convert Len expression to Unsigned after calls to
4774 Compute_Length and Determine_Range.
4775 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
4776 Compute_Length and Determine_Range.
4777 Above changes fix problem with length computation for supernull arrays
4778 where Max (Len, 0) wasn't getting applied due to the Unsigned
4779 conversion used by Compute_Length.
4781 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4784 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
4785 System.Secondary_Stack.
4786 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
4788 Remove unused entity RE_Exception_Data.
4790 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
4792 * rident.ads (No_Secondary_Stack): New restriction.
4794 2001-12-17 Joel Brobecker <brobecke@gnat.com>
4796 * gnat_rm.texi: Fix minor typos. Found while reading the section
4797 regarding "Bit_Order Clauses" that was sent to a customer.
4798 Very interesting documentation!
4800 2001-12-17 Robert Dewar <dewar@gnat.com>
4802 * sem_case.adb (Choice_Image): Avoid creating improper character
4803 literal names by using the routine Set_Character_Literal_Name. This
4804 fixes bombs in certain error message cases.
4806 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4808 * a-reatim.adb: Minor reformatting.
4810 2001-12-17 Ed Schonberg <schonber@gnat.com>
4812 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
4813 case where the formal is an extension of another formal in the current
4814 unit or in a parent generic unit.
4816 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4818 * s-tposen.adb: Update comments. Minor reformatting.
4819 Minor code clean up.
4821 * s-tarest.adb: Update comments. Minor code reorganization.
4823 2001-12-17 Gary Dismukes <dismukes@gnat.com>
4825 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
4828 2001-12-17 Robert Dewar <dewar@gnat.com>
4830 * exp_attr.adb: Minor reformatting
4832 2001-12-17 Ed Schonberg <schonber@gnat.com>
4834 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
4835 derivations nested within a child unit: verify that the parent
4836 type is declared in an outer scope.
4838 2001-12-17 Robert Dewar <dewar@gnat.com>
4840 * sem_ch12.adb: Minor reformatting
4842 2001-12-17 Ed Schonberg <schonber@gnat.com>
4844 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
4845 warning if current unit is a predefined one, from which bodies may
4848 2001-12-17 Robert Dewar <dewar@gnat.com>
4850 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
4851 Fix header format. Add 2001 to copyright date.
4853 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
4854 which caused CE during compilation if checks were enabled.
4856 2001-12-17 Vincent Celier <celier@gnat.com>
4859 (Switches_Of): New function
4860 (Test_If_Relative_Path): New procedure
4861 (Add_Switches): Use new function Switches_Of
4862 (Collect_Arguments_And_Compile): Use new function Switches_Of.
4863 When using a project file, test if there are any relative
4864 search path. Fail if there are any.
4865 (Gnatmake): Only add switches for the primary directory when not using
4866 a project file. When using a project file, change directory to the
4867 object directory of the main project file. When using a project file,
4868 test if there are any relative search path. Fail if there are any.
4869 When using a project file, fail if specified executable is relative
4870 path with directory information, and prepend executable, if not
4871 specified as an absolute path, with the exec directory. Make sure
4872 that only one -o switch is transmitted to the linker.
4874 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
4877 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
4878 when using a non standard naming scheme.
4879 (Check_Ada_Naming_Scheme): Make sure that error messages
4880 do not raise exceptions.
4881 (Is_Illegal_Append): Return True if there is no dot in the suffix.
4882 (Language_Independent_Check): Check the exec directory.
4884 * prj.adb (Project_Empty): Add new component Exec_Directory
4887 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
4888 (Project_Data): Add component Exec_Directory
4890 * snames.adb: Updated to match snames.ads revision 1.215
4892 * snames.ads: Added Exec_Dir
4894 2001-12-17 Robert Dewar <dewar@gnat.com>
4896 * make.adb: Minor reformatting
4898 * prj-nmsc.adb: Minor reformatting
4900 * snames.adb: Updated to match snames.ads
4902 * snames.ads: Alphebetize entries for project file
4904 2001-12-17 Ed Schonberg <schonber@gnat.com>
4906 * trans.c (process_freeze_entity): Do nothing if the entity is a
4907 subprogram that was already elaborated.
4909 2001-12-17 Richard Kenner <kenner@gnat.com>
4911 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
4912 and Esize if object is referenced via pointer.
4914 2001-12-17 Ed Schonberg <schonber@gnat.com>
4916 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
4917 is discrete before analyzing choices.
4919 2001-12-17 Joel Brobecker <brobecke@gnat.com>
4921 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
4922 containing the name of the Ada Main Program. This string is mainly
4923 intended for the debugger.
4924 (Gen_Output_File_C): Do the equivalent change when generating a C file.
4926 2001-12-17 Robert Dewar <dewar@gnat.com>
4928 * ali.adb: Set new Dummy_Entry field in dependency entry
4930 * ali.ads: Add Dummy_Entry field to source dependency table
4932 * bcheck.adb (Check_Consistency): Ignore dummy D lines
4934 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
4936 * lib-writ.ads: Document dummy D lines for missing files.
4938 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
4940 2001-12-17 Robert Dewar <dewar@gnat.com>
4942 * ali.adb: Type reference does not reset current file.
4944 * ali.adb: Recognize and scan renaming reference
4946 * ali.ads: Add spec for storing renaming references.
4948 * lib-xref.ads: Add documentation for handling of renaming references
4950 * lib-xref.adb: Implement output of renaming reference.
4953 (Determine_Range): Document local variables
4954 (Determine_Range): Make sure Hbound is initialized. It looks as though
4955 there could be a real problem here with an uninitialized reference
4956 to Hbound, but no actual example of failure has been found.
4958 2001-12-17 Laurent Pautet <pautet@gnat.com>
4961 Fix comment of Shutdown_Socket and Close_Socket. These functions
4962 should not fail silently because if they are called twice, this
4963 probably means that there is a race condition in the user program.
4964 Anyway, this behaviour is consistent with the rest of this unit.
4965 When an error occurs, an exception is raised with the error message
4966 as exception message.
4968 2001-12-17 Robert Dewar <dewar@gnat.com>
4970 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
4971 that it happens before modification of Sloc values for -gnatD.
4973 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
4974 so that it happens before modification of Sloc values for -gnatD.
4976 * switch.adb: Minor reformatting
4978 2001-12-15 Richard Henderson <rth@redhat.com>
4980 * sem_ch7.adb: Wrap comment.
4982 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4984 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
4985 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
4986 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
4987 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
4988 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
4989 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
4990 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
4991 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
4992 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
4993 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
4994 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
4995 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
4996 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
4997 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
4998 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
4999 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
5000 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
5001 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
5002 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
5003 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
5004 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
5005 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
5006 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
5007 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
5010 2001-12-14 Vincent Celier <celier@gnat.com>
5012 * osint.adb(Create_Debug_File): When an object file is specified,
5013 put the .dg file in the same directory as the object file.
5015 2001-12-14 Robert Dewar <dewar@gnat.com>
5017 * osint.adb: Minor reformatting
5019 * lib-xref.adb (Output_Instantiation): New procedure to generate
5020 instantiation references.
5022 * lib-xref.ads: Add documentation of handling of generic references.
5024 * ali.adb (Read_Instantiation_Ref): New procedure to read
5025 instantiation references
5027 * ali.ads: Add spec for storing instantiation references
5029 * bindusg.adb: Minor reformatting
5031 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
5033 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
5035 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
5037 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
5041 Add 2001 to copyright date
5042 Add entry for Latin-5 (Cyrillic ISO-8859-5)
5044 2001-12-14 Matt Gingell <gingell@gnat.com>
5046 * adaint.c: mktemp is a macro on Lynx and can not be used as an
5049 2001-12-14 Richard Kenner <kenner@gnat.com>
5051 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
5052 if operand is CONSTRUCTOR.
5054 2001-12-14 Ed Schonberg <schonber@gnat.com>
5056 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
5057 before emiting check on right-hand side, so that exception information
5060 2001-12-14 Richard Kenner <kenner@gnat.com>
5062 * utils.c (create_var_decl): Throw away initializing expression
5063 if just annotating types and non-constant.
5065 2001-12-14 Vincent Celier <celier@gnat.com>
5067 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
5070 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
5072 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
5074 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
5076 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
5078 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
5080 * ChangeLog: Remove piece of diff output.
5082 2001-12-14 Geert Bosch <bosch@gnat.com>
5084 * config-lang.in: Update copyright notice
5086 * layout.adb: Remove commented out code.
5088 * mdllfile.ads: Update copyright notice. Fix header format.
5090 * sem_case.ads: Likewise.
5092 * sem_ch3.adb: Minor reformatting.
5094 2001-12-12 Geert Bosch <bosch@gnat.com>
5096 * freeze.ads: Update copyright date.
5098 * g-comlin.ads: Minor reformatting.
5100 * gnat-style.texi: Fix typo.
5102 2001-12-12 Geert Bosch <bosch@gnat.com>
5104 * einfo.h: Regenerate.
5106 2001-12-12 Ed Schonberg <schonber@gnat.com>
5108 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
5109 on known node types, rather than untyped fields. Further cleanups.
5111 2001-12-12 Robert Dewar <dewar@gnat.com>
5114 (Save_Entity_Descendant): Minor comment update.
5115 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
5116 of an N_Attribute_Reference node. As per note below, this does not
5117 eliminate need for Associated_Node in attribute ref nodes.
5118 (Associated_Node): Documentation explicitly mentions attribute
5119 reference nodes, since this field is used in such nodes.
5121 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
5123 2001-12-12 Robert Dewar <dewar@gnat.com>
5125 * s-stalib.adb: Add more comments on with statements being needed
5127 * par-ch12.adb: Minor reformatting
5129 * prj-dect.ads: Fix copyright header
5131 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
5132 inputs fit in 32 bits, but the result still overflows.
5134 * s-fatgen.ads: Minor comment improvement
5136 2001-12-12 Ed Schonberg <schonber@gnat.com>
5138 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
5139 formal derived type, look for an inherited component from the full
5140 view of the parent, if any.
5142 2001-12-12 Robert Dewar <dewar@gnat.com>
5144 * checks.ads (Apply_Alignment_Check): New procedure.
5146 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
5147 ensure that the alignment of objects with address clauses is
5148 appropriate, and raise PE if not.
5150 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
5151 Exp_Pakd.Known_Aligned_Enough
5153 * mdllfile.ads: Minor reformatting
5155 * mlib-fil.ads: Minor reformatting
5157 2001-12-12 Ed Schonberg <schonber@gnat.com>
5159 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
5160 fix to any component reference if enclosing record has non-standard
5163 2001-12-12 Vincent Celier <celier@gnat.com>
5165 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
5168 2001-12-12 Ed Schonberg <schonber@gnat.com>
5170 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
5173 2001-12-12 Robert Dewar <dewar@gnat.com>
5175 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
5177 2001-12-12 Emmanuel Briot <briot@gnat.com>
5179 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
5180 and it adds dependencies to system.io.
5182 2001-12-12 Pascal Obry <obry@gnat.com>
5184 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
5187 2001-12-11 Ed Schonberg <schonber@gnat.com>
5189 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
5190 that is the parent of other generics, the instance body replaces the
5191 instance node. Retrieve the instance of the spec, which is the one
5192 that is visible in clients and within the body.
5194 2001-12-11 Vincent Celier <celier@gnat.com>
5196 * gnatmain.adb: Initial version.
5198 * gnatmain.ads: Initial version.
5200 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
5202 * snames.adb: Updated to match snames.ads.
5204 * snames.ads: Added Gnatstub.
5206 2001-12-11 Vincent Celier <celier@gnat.com>
5208 * prj-attr.adb (Initialization_Data): Change name from
5209 Initialisation_Data.
5211 2001-12-11 Emmanuel Briot <briot@gnat.com>
5213 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
5214 + and * applied to backslashed expressions like \r.
5216 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
5218 * g-os_lib.ads: String_List type added, Argument_List type is now
5219 subtype of String_List.
5221 2001-12-11 Robert Dewar <dewar@gnat.com>
5223 * g-os_lib.ads: Change copyright to FSF
5224 Add comments for String_List type
5226 2001-12-11 Vincent Celier <celier@gnat.com>
5228 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
5229 string to the buffer).
5231 2001-12-11 Ed Schonberg <schonber@gnat.com>
5233 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
5236 * sem_attr.adb: Simplify previous fix for Address.
5237 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
5238 to avoid anomalies where the bound of the type appears to raise
5241 2001-12-11 Robert Dewar <dewar@gnat.com>
5243 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
5246 2001-12-11 Ed Schonberg <schonber@gnat.com>
5248 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
5249 renamed unit before checking for recursive instantiations.
5251 2001-12-11 Emmanuel Briot <briot@gnat.com>
5253 * prj.ads: Add comments for some of the fields.
5255 2001-12-11 Robert Dewar <dewar@gnat.com>
5257 * lib-xref.adb (Output_Refs): Don't output type references outside
5258 the main unit if they are not otherwise referenced.
5260 2001-12-11 Ed Schonberg <schonber@gnat.com>
5262 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
5263 code and diagnose additional illegal uses
5265 * sem_util.adb (Is_Object_Reference): An indexed component is an
5266 object only if the prefix is.
5268 2001-12-11 Vincent Celier <celier@gnat.com>
5270 * g-diopit.adb: Initial version.
5272 * g-diopit.ads: Initial version.
5275 (Expand_Path): Avoid use of Unbounded_String
5276 (Find, Wildcard_Iterator): Moved to child package Iteration
5278 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
5280 2001-12-11 Robert Dewar <dewar@gnat.com>
5282 * sem_attr.adb: Minor reformatting
5284 2001-12-11 Ed Schonberg <schonber@gnat.com>
5286 * sem_ch3.adb: Clarify some ???.
5288 2001-12-11 Robert Dewar <dewar@gnat.com>
5290 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
5291 Exp_Pakd.Known_Aligned_Enough
5293 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
5294 version is moved to Exp_Ch13.
5296 2001-12-11 Robert Dewar <dewar@gnat.com>
5298 * einfo.ads: Minor reformatting
5300 * exp_ch5.adb: Add comment for previous.change
5302 * ali.adb: New interface for extended typeref stuff.
5304 * ali.ads: New interface for typeref stuff.
5306 * checks.adb (Apply_Alignment_Check): New procedure.
5308 * debug.adb: Add -gnatdM for modified ALI output
5310 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
5312 * lib-xref.adb: Extend generation of <..> notation to cover
5313 subtype/object types. Note that this is a complete rewrite,
5314 getting rid of the very nasty quadratic algorithm previously
5315 used for derived type output.
5317 * lib-xref.ads: Extend description of <..> notation to cover
5318 subtype/object types. Uses {..} for these other cases.
5319 Also use (..) for pointer types.
5321 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
5323 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
5324 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
5326 2001-12-11 Vincent Celier <celier@gnat.com>
5329 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
5330 Changed /BIND_ONLY to /ACTIONS=BIND
5331 Changed /LINK_ONLY to /ACTIONS=LINK
5333 2001-12-11 Ed Schonberg <schonber@gnat.com>
5335 * sem_ch8.adb (Find_Selected_Component): improved search for a
5336 candidate package in case of error.
5338 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
5339 chain back on scope stack before reinstalling use clauses.
5341 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
5342 is enabled, do not kill the code for the condition, to preserve
5345 2001-12-11 Robert Dewar <dewar@gnat.com>
5347 * checks.adb (Insert_Valid_Check): Apply validity check to expression
5348 of conversion, not to result of conversion.
5350 2001-12-11 Ed Schonberg <schonber@gnat.com>
5352 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
5353 before freezing parent. If the declarations are mutually recursive,
5354 an access to the current record type may be frozen before the
5355 derivation is complete.
5357 2001-12-05 Vincent Celier <celier@gnat.com>
5359 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
5360 -c /COMPILE_ONLY, -l /LINK_ONLY
5363 (Bind_Only): New Flag
5364 (Link_Only): New flag
5366 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
5369 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
5372 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
5373 (Gnatmake): Set the step flags. Only perform a step if the
5374 corresponding step flag is True.
5375 (Scan_Make_Arg): Reset the bind and link step flags when -u
5376 or -gnatc has been specified.
5378 2001-12-05 Ed Schonberg <schonber@gnat.com>
5380 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
5381 get bounds from right operand.
5383 * sem_eval.adb: Minor reformatting
5385 * exp_util.adb (Make_Literal_Range): use bound of literal rather
5386 than Index'First, its lower bound may be different from 1.
5388 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
5391 2001-12-05 Vincent Celier <celier@gnat.com>
5393 * prj-nmsc.adb Minor reformatting
5395 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
5396 set and libraries are not supported.
5398 2001-12-05 Ed Schonberg <schonber@gnat.com>
5400 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
5401 private view explicitly, so the back-end can treat as a global
5404 2001-12-05 Ed Schonberg <schonber@gnat.com>
5406 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
5407 unit, always replace instance node with new body, for ASIS use.
5409 2001-12-05 Vincent Celier <celier@gnat.com>
5411 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
5412 libraries are not supported and both attributes Library_Name and
5413 Library_Dir are specified.
5415 * prj-proc.adb (Expression): Set location of Result to location of
5418 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
5419 (prj-nmsc is now importing MLib.Tgt)
5421 * prj-proc.adb: Put the change indicated above that was forgotten.
5423 2001-12-05 Robert Dewar <dewar@gnat.com>
5425 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
5427 2001-12-05 Ed Schonberg <schonber@gnat.com>
5429 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
5430 constraint, introduce explicit subtype declaration and derive from it.
5432 * sem_ch3.adb: Minor reformatting
5434 2001-12-05 Robert Dewar <dewar@gnat.com>
5436 * checks.adb (Determine_Range): Increase cache size for checks.
5439 * exp_ch6.adb: Minor reformatting
5440 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
5441 a parameter whose root type is System.Address, since treating such
5442 subprograms as pure in the code generator is almost surely a mistake
5443 that will lead to unexpected results.
5445 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
5446 change handling of conversions.
5448 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
5450 2001-12-05 Ed Schonberg <schonber@gnat.com>
5452 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
5453 aggregate with static wrong size, attach generated Raise node to
5456 2001-12-05 Robert Dewar <dewar@gnat.com>
5458 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
5459 Fixes compilation abandoned bomb in B24009B.
5461 2001-12-05 Ed Schonberg <schonber@gnat.com>
5464 Document use of Associated_Node on Selected_Components.
5465 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
5466 to clarify use of untyped descendant fields.
5468 2001-12-05 Robert Dewar <dewar@gnat.com>
5470 * prj-dect.ads: Add ??? comment
5471 Add 2001 to copyright notice (was not done in after all)
5473 * prj-part.adb: Minor reformatting. Reword one awkward error message.
5475 * prj.ads: Minor reformatting throughout, and add some ??? comments
5477 * snames.ads: Minor reformatting
5479 2001-12-05 Geert Bosch <bosch@gnat.com>
5481 * snames.adb: Autoupdate
5483 2001-12-05 Vincent Celier <celier@gnat.com>
5485 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
5487 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
5489 * prj-env.adb: Minor comment changes (modifying -> extends).
5491 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
5493 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
5496 * prj.adb (Initialize): Change Modifying to Extends.
5498 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
5500 * prj.ads: Minor comment change (Modifying -> extending).
5502 * snames.ads: Change modifying to extends.
5504 2001-12-05 Robert Dewar <dewar@gnat.com>
5506 * sem_warn.adb: Remove stuff for conditionals, we are not going to
5509 * sem_warn.ads: Remove stuff for conditionals, we are not going to
5510 do this after all. Add 2001 to copyright notice
5512 2001-12-04 Geert Bosch <bosch@gnat.com>
5514 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
5516 2001-12-04 Robert Dewar <dewar@gnat.com>
5518 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
5519 location if we already have errors. Stops some cases of cascaded
5522 * errout.adb: Improve comment.
5524 2001-12-04 Robert Dewar <dewar@gnat.com>
5527 (Analyze_Formal_Type_Definition): Defend against Error.
5528 (Analyze_Formal_Subprogram): Defend against Error.
5530 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
5531 remove following semicolon if present. Removes cascaded error.
5533 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5536 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
5537 exceptions equals 0.
5538 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
5539 Fixes PIWG E tests (which have to be run with -gnatL).
5541 2001-12-04 Robert Dewar <dewar@gnat.com>
5543 * einfo.ads: Minor reformatting
5545 2001-12-04 Ed Schonberg <schonber@gnat.com>
5547 * einfo.ads: Block_Node points to the identifier of the block, not to
5548 the block node itself, to preserve the link when the block is
5549 rewritten, e.g. within an if-statement with a static condition.
5551 * inline.adb (Cleanup_Scopes): recover block statement from block
5552 entity using new meaning of Block_Node.
5554 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
5555 identifier of block node, rather than to node itself.
5557 2001-12-04 Gary Dismukes <dismukes@gnat.com>
5560 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
5561 (Discrimify): Go back to setting the Etypes of the selected component
5562 because the Vname component does not exist at this point and will
5563 fail name resolution. Also set Analyzed.
5564 Remove with and use of Sem_Res.
5566 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5568 * Makefile.in: (HIE_SOURCES): add s-fat*.
5570 2001-12-04 Robert Dewar <dewar@gnat.com>
5573 (Compile_Time_Known_Attribute): New procedure.
5574 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
5577 2001-12-04 Ed Schonberg <schonber@gnat.com>
5579 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
5580 processing discriminants to diagnose illegal default values.
5582 2001-12-04 Ed Schonberg <schonber@gnat.com>
5584 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
5585 access discriminant within a type extension that constrains its
5586 parent discriminants.
5588 2001-12-04 Ed Schonberg <schonber@gnat.com>
5590 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
5591 is malformed, use instance of Any_Id to allow analysis to proceed.
5593 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
5594 type definition is illegal.
5595 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
5598 2001-12-04 Ed Schonberg <schonber@gnat.com>
5600 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
5603 2001-12-04 Robert Dewar <dewar@gnat.com>
5605 * errout.adb: Minor reformatting
5607 2001-12-04 Robert Dewar <dewar@gnat.com>
5609 * exp_util.adb: Minor reformatting from last change
5611 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
5612 which is a rewriting of an expression, traverse the original
5613 expression to remove warnings that may have been posted on it.
5615 2001-12-04 Ed Schonberg <schonber@gnat.com>
5617 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
5618 record that has other packed components.
5620 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5622 * adaint.c: Minor cleanups.
5624 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5626 * adaint.c: Do not use utime.h on vxworks.
5628 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5630 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
5631 more confusion than it solves.
5633 2001-12-04 Geert bosch <bosch@gnat.com>
5635 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
5637 2001-12-04 Geert Bosch <bosch@gnat.com>
5639 * Makefile.in (update-sources): New target.
5640 For use by gcc_release script.
5642 2001-12-04 Ed Schonberg <schonber@gnat.com>
5644 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
5645 a configuration pragma, it is now legal wherever a pragma can appear.
5647 2001-12-04 Zack Weinberg <zack@codesourcery.com>
5649 * Makefile.in: Don't set ALL. Delete @cross_defines@,
5650 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
5651 is now @CROSS@ -DIN_GCC; update comment.
5653 2001-12-04 Robert Dewar <dewar@gnat.com>
5655 * einfo.adb (Has_Pragma_Pure_Function): New flag.
5656 Fix problem that stopped ceinfo from working
5658 * einfo.ads (Has_Pragma_Pure_Function): New flag.
5660 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
5662 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5665 (File_Time_Stamp): New procedure.
5666 (Preserve_Mode): New boolean.
5667 (Write_Unit): Pass time stamp.
5668 Implement -p switch (preserve time stamps).
5670 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
5672 * gnatchop.adb: Do usage info for -p switch
5674 * adaint.h (__gnat_set_file_time_name): New function
5676 * adaint.c (__gnat_set_file_time_name): Implement
5678 * adaint.h: Fix typo
5680 2001-12-03 Robert Dewar <dewar@gnat.com>
5682 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
5683 have Associated_Node.
5685 2001-12-03 Robert Dewar <dewar@gnat.com>
5687 * prj-proc.adb: Minor reformatting
5689 * make.adb: Minor reformatting
5691 2001-12-03 Geert Bosch <bosch@gnat.com>
5693 * make.adb: Minor reformatting.
5695 2001-12-03 Robert Dewar <dewar@gnat.com>
5697 * sem_ch12.adb: Minor reformatting
5699 2001-12-03 Ed Schonberg <schonber@gnat.com>
5701 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
5702 push Standard on the stack before analyzing the instance body,
5703 in order to have a clean visibility environment.
5705 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
5707 2001-12-03 Ed Schonberg <schonber@gnat.com>
5709 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
5710 instantiation of a body that contains an inlined body.
5712 2001-12-03 Ed Schonberg <schonber@gnat.com>
5715 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
5716 to prevent freezing within formal packages.
5717 (Freeze_Subprogram_Body): If body comes from another instance that
5718 appeared before its own body, place freeze node at end of current
5719 declarative part, to prevent a back-end crash.
5720 (Inline_Instance_Body): Handle properly a package instance within
5721 a subprogram instance that is a child unit.
5723 2001-12-01 Graham Stott <grahams@redhat.com>
5725 * Makefile.in (misc.o): Add missing $(srcdir) prefix
5726 and add optabs.h dependency.
5728 * misc.c: Include optabs.h
5729 (gnat_tree_code_type): Make static and const.
5730 (gnat_tree_code_length): Likewise.
5731 (gnat_tree_code_name): Likewise.
5732 (update_setjmp_buf): Obtain operands mode from insn_data.
5734 2001-11-29 Richard Henderson <rth@redhat.com>
5736 * init.c: Remove obsolete dwarf2 frame.h section.
5738 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
5740 * Make-lang.in (ada.generated-manpages): New dummy target.
5742 2001-11-29 Ed Schonberg <schonber@gnat.com>
5744 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
5745 into Command, an array conversion is illegal here. Uncovered by
5748 2001/11/28 Geert Bosch <bosch@gnat.com>
5750 * init.c: Minor whitespace changes.
5752 2001-11-28 Doug Rupp <rupp@gnat.com>
5754 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
5757 2001-11-28 Zack Weinberg <zack@codesourcery.com>
5759 * misc.c (gnat_expand_constant): Move declaration above
5760 definition of lang_hooks.
5761 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
5762 (gnat_init): lang_expand_constant no longer exists.
5764 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
5765 always have vprintf.
5766 (gnat_init): Always call set_internal_error_function.
5768 2001-11-27 Andreas Jaeger <aj@suse.de>
5770 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
5772 2001-11-27 Laurent Guerby <guerby@acm.org>
5774 * Makefile.in: Regenerate Ada dependencies.
5776 2001-11-26 Richard Henderson <rth@redhat.com>
5778 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
5779 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
5780 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
5782 2001-11-25 Laurent Guerby <guerby@acm.org>
5784 * sysdep.c (rts_get_*): Fix style.
5786 2001-11-19 Laurent Guerby <guerby@acm.org>
5788 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
5789 since it is of no apparent use and cause warnings.
5791 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
5793 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
5795 (gnat_init): Don't return NULL.
5796 (finish_parse): Remove.
5798 2001-11-17 Laurent Guerby <guerby@acm.org>
5800 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
5801 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
5802 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
5803 * lang-spec.h: Add missing struct field to silence warnings.
5804 * sysdep.c (rts_get_*): Provide K&R prototype.
5805 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
5806 * traceback.c (Unlock_Task, Lock_Task): Likewise.
5807 * tracebak.c (__gnat_backtrace): Remove unused variable.
5808 * utils.c (end_subprog_body): Move to K&R style.
5810 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5812 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
5814 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
5816 * misc.c (gnat_init): Change prototype. Include the
5817 functionality of the old init_parse and init_decl_processing.
5818 (gnat_init_decl_processing): New prototype.
5819 (init_parse): Remove.
5820 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
5822 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5824 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
5825 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
5826 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
5827 set_yydebug): Remove.
5829 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5831 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
5832 (struct lang_hooks): Constify.
5833 (language_string, lang_identify): Remove.
5834 * utils.c (init_decl_processing): Update.
5836 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5838 * misc.c: Include langhooks-def.h.
5839 * Makefile.in: Update.
5841 2001-10-30 Robert Dewar <dewar@gnat.com>
5844 (Check_Identifier): Rewrite circuit to be compatible with use of letters
5845 in the upper half of ASCII.
5846 (Check_Identifier): Minor reformatting
5848 2001-10-30 Geert Bosch <bosch@gnat.com>
5850 * (Associated_Node, Set_Associated_Node): Do not check for
5853 2001-10-30 Robert Dewar <dewar@gnat.com>
5855 * a-reatim.ads: Minor reformatting
5857 2001-10-30 Robert Dewar <dewar@gnat.com>
5859 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
5860 undocumented declarations.
5862 2001-10-30 Pascal Obry <obry@gnat.com>
5864 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5865 to the binder and linker.
5868 * mdll.ads: Fix layout. Update copyright notice.
5870 * mdll.adb: Fix layout. Update copyright notice.
5872 2001-10-30 Robert Dewar <dewar@gnat.com>
5874 * usage.adb: Minor fix to output for -gnaty.
5876 2001-10-30 Ed Schonberg <schonber@gnat.com>
5878 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
5879 to accommodate all its possible values.
5881 * a-reatim.adb (Split): Special-case handling of Time_Span_First
5882 and of small absolute values of T.
5884 2001-10-30 Richard Kenner <kenner@gnat.com>
5886 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
5887 set_mem_attributes since not needed and wrong if RESULT if a REG;
5888 fixes ACATS failures.
5890 2001-10-30 Geert Bosch <bosch@gnat.com>
5892 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
5893 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
5895 2001-10-30 Robert Dewar <dewar@gnat.com>
5897 * bindusg.adb: Undocument -f switch.
5899 * gnatcmd.adb: Remove /FULL_ELABORATION.
5901 * opt.ads (Force_RM_Elaboration_Order): Document that this is
5904 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
5906 * gnatbind.adb: Minor update of warning msg.
5908 2001-10-30 Vincent Celier <celier@gnat.com>
5910 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
5911 for project file switches (-P (/PROJECT_FILE=),
5912 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
5915 2001-10-30 Geert Bosch <bosch@gnat.com>
5917 * decl.c: Minor whitespace fixes.
5919 2001-10-30 Richard Kenner <kenner@gnat.com>
5921 * utils2.c (build_allocator): Test for SIZE overflow in array case too
5923 2001-10-30 Geert Bosch <bosch@gnat.com>
5925 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
5926 Found due to GCC 3.0 warning of using uninitialized value.
5929 (Get_Max_Size): Use variant record for tracking value/expression.
5930 Makes logic clearer and prevents warnings for uninitialized variables.
5931 (Layout_Array_Type): Use variant record for tracking value/expression.
5932 Makes logic clearer and prevents warnings for uninitialized variables.
5934 2001-10-30 Robert Dewar <dewar@gnat.com>
5936 * lib.adb: Minor reformatting
5938 * s-taprop.ads: Minor reformatting
5940 2001-10-29 Laurent Guerby <guerby@acm.org>
5943 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
5945 (_gnat_error_handler): Make MSG const.
5947 2001-10-29 Richard Kenner <kenner@gnat.com>
5949 * sysdep.c: Fix localtime_r problem on LynxOS.
5950 Also remove #elif to avoid warnings.
5952 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
5955 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
5957 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5959 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
5960 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
5961 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
5962 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
5963 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
5964 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
5965 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
5966 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
5967 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
5968 types.ads, urealp.adb: Fix spelling errors.
5970 2001-10-27 Laurent Guerby <guerby@acm.org>
5972 * trans.c (gigi): Fix non determinism leading to bootstrap
5973 comparison failures for debugging information.
5975 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
5977 * gnat_rm.texi: Use @./@: where appropriate.
5979 2001-10-26 Robert Dewar <dewar@gnat.com>
5981 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
5983 2001-10-26 Richard Kenner <kenner@gnat.com>
5985 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
5987 2001-10-26 Richard Kenner <kenner@gnat.com>
5989 * decl.c (validate_size): Modify message for bad size to avoid
5990 implication that compiler is modifying the size.
5992 2001-10-26 Robert Dewar <dewar@gnat.com>
5994 * prj-util.adb: Minor reformatting. Fix bad header format.
5996 2001-10-26 Robert Dewar <dewar@gnat.com>
5998 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
6000 * sinfo.ads: Clarify use of Associated_Node (documentation only).
6002 * sem_ch12.adb: Change Node4 to Associated_Node. Change
6003 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
6004 much more narrowly in places where needed. These are cleanups.
6006 2001-10-26 Joel Brobecker <brobecke@gnat.com>
6008 * 5zosinte.ads (null_pthread): new constant.
6011 (Initialize_TCB): Initialize thread ID to null, to be able to verify
6012 later that this field has been set.
6013 (Finalize_TCB): ditto.
6014 (Suspend_Task): Verify that the thread ID is not null before using it.
6015 (Resume_Task): ditto.
6018 (Resume_All_Tasks): Lock the tasks list before using it.
6019 (Suspend_All_Tasks): ditto.
6021 2001-10-26 Richard Kenner <kenner@gnat.com>
6023 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
6024 Make constant variant of designated type for Is_Access_Constant.
6025 Call update_pointer_to with main variant.
6027 * trans.c (process_freeze_entity, process_type):
6028 Call update_pointer_to on main variant.
6030 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
6031 If main variant, update all other variants.
6033 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
6036 2001-10-26 Robert Dewar <dewar@gnat.com>
6038 * prj-util.adb: Minor reformatting
6040 2001-10-26 Robert Dewar <dewar@gnat.com>
6042 * prj-util.adb: Minor reformatting
6044 2001-10-26 Robert Dewar <dewar@gnat.com>
6046 * prj-attr.adb: Minor reformatting throughout
6048 2001-10-26 Robert Dewar <dewar@gnat.com>
6050 * prj-attr.ads: Minor reformatting
6051 Add ??? comment (this whole spec has almost no comments)
6053 2001-10-26 Vincent Celier <celier@gnat.com>
6055 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
6056 ("//") that precede the drive letter on Interix.
6058 2001-10-26 Geert Bosch <bosch@gnat.com>
6060 * gnat_rm.texi: Add GNAT Reference Manual.
6062 2001-10-25 Robert Dewar <dewar@gnat.com>
6064 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
6065 is Error. Similar change for other renaming cases.
6067 2001-10-25 Robert Dewar <dewar@gnat.com>
6069 * s-atacco.ads: Add pragma Inline_Always for functions.
6070 Fix header format. Add copyright 2001
6072 2001-10-25 Ed Schonberg <schonber@gnat.com>
6074 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
6075 return Error rather than Empty so that analysis can proceed.
6077 2001-10-25 Ed Schonberg <schonber@gnat.com>
6079 * sem_util.adb (Enter_Name): better handling of cascaded error
6080 messages when a unit appears in its own context.
6082 2001-10-25 Ed Schonberg <schonber@gnat.com>
6084 * sem_util.adb (Defining_Entity): in case of error, attach created
6085 entity to specification, so that semantic analysis can proceed.
6087 2001-10-25 Robert Dewar <dewar@gnat.com>
6090 (Defining_Entity): Deal with Error.
6091 (Process_End_Label): Deal with bad end label for.
6093 2001-10-25 Ed Schonberg <schonber@gnat.com>
6095 * sem_elab.adb (Check_A_Call): refine message when call is in an
6096 instance but callee is not declared in the generic unit.
6098 2001-10-25 Ed Schonberg <schonber@gnat.com>
6100 * sem_elab.adb (Check_A_Call): check for renaming before finding the
6101 enclosing unit, which may already be different from the calling unit.
6103 2001-10-25 Geert Bosch <bosch@gnat.com>
6105 * 4gintnam.ads: fix header format.
6107 2001-10-25 Ed Schonberg <schonber@gnat.com>
6109 * sem_res.adb (Resolve_Call): if the call is actually an indexing
6110 operation on the result of a parameterless call, perform elaboration
6111 check after the node has been properly rewritten.
6113 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
6114 inlined within the generic tree, the defining identifier is not a
6117 2001-10-25 Ed Schonberg <schonber@gnat.com>
6119 * sem_res.adb (Resolve): special-case resolution of Null in an
6120 instance or an inlined body to avoid view conflicts.
6122 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
6123 compatibility by retrieving the access type of the generic copy.
6125 2001-10-25 Robert Dewar <dewar@gnat.com>
6128 (Analyze_Number_Declaration): Handle error expression.
6129 (Signed_Integer_Type_Declaration): Handle error bound.
6130 (Analyze_Subtype_Indication): Handle error range.
6132 * sem_util.adb (Get_Index_Bounds): Check for Error.
6134 2001-10-25 Robert Dewar <dewar@gnat.com>
6136 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
6137 in no run time mode.
6139 2001-10-25 Pascal Obry <obry@gnat.com>
6141 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
6142 mode case for ALLOC case.
6144 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
6145 all platforms. Improvement of last change.
6147 2001-10-25 Robert Dewar <dewar@gnat.com>
6149 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
6151 2001-10-25 Geert Bosch <bosch@gnat.com>
6153 * osint.adb (Is_Relative): Remove duplicate.
6155 2001-10-25 Pascal Obry <obry@gnat.com>
6157 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
6158 pathnames in UNIX and DOS style with drive letter.
6159 (Is_Relative): new routine.
6161 * osint.adb: Minor reformatting
6163 * osint.adb (Is_Relative): implementation using
6164 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
6166 2001-10-25 Pascal Obry <obry@gnat.com>
6168 * g-dirope.adb (Basename): correctly compute offset between the
6169 original Path and the translated one.
6171 * g-dirope.adb: (Base_Name): add some comments.
6173 2001-10-25 Robert Dewar <dewar@gnat.com>
6175 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
6176 in HIE mode, avoids compilation abandoned message
6178 * exp_imgv.adb: Correct typo in previous change
6180 * exp_imgv.adb: Correct typo in previous change (not my day!)
6182 2001-10-25 Robert Dewar <dewar@gnat.com>
6184 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
6186 2001-10-25 Pascal Obry <obry@gnat.com>
6188 * g-awk.ads: Move all pragma inlines next to the routine
6189 declarations. This is more uniform with other GNAT spec.
6191 2001-10-22 Geert Bosch <bosch@gnat.com>
6193 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
6195 2001-10-19 Geert Bosch <bosch@gnat.com>
6197 * Makefile.in (tools, gnattools): Remove gnatmem.
6199 2001-10-17 Richard Henderson <rth@redhat.com>
6201 * Makefile.in (misc.o): Depend on langhooks.h.
6202 * misc.c: Include it.
6203 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
6204 (LANG_HOOKS_DECODE_OPTION): New.
6205 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
6207 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6209 * trans.c (tree_transform): Adjust to recent change in
6210 expand_asm_operands to implement named asm operands.
6212 2001-10-11 Ed Schonberg <schonber@gnat.com>
6214 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
6215 renaming of discriminant for mutable record type.
6217 2001-10-11 Robert Dewar <dewar@gnat.com>
6219 * validsw.adb: Properly save -gnatVn status.
6221 2001-10-11 Robert Dewar <dewar@gnat.com>
6223 * usage.adb: Add lines for V switch.
6225 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
6226 (/VALIDITY_CHECKING).
6228 2001-10-11 Ed Schonberg <schonber@gnat.com>
6230 * sem_type.adb (Add_One_Interp): an operator for a type declared in
6231 an extension of System is known to be visible.
6233 2001-10-11 Ed Schonberg <schonber@gnat.com>
6235 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
6236 properly. Fixes regression on ACATS C34005G.
6238 2001-10-11 Robert Dewar <dewar@gnat.com>
6240 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
6241 loop in generic instance, since this is likely not very useful.
6243 2001-10-11 Robert Dewar <dewar@gnat.com>
6245 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
6246 the error message for high integrity mode.
6248 * rtsfind.adb (RTE): Give message if we try to find an entity that
6249 is not available in high integrity mode.
6252 (OK_To_Use_In_HIE_Mode): New array.
6253 (RTE): May return Empty in high integrity mode.
6255 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
6256 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
6258 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
6259 unit if not inlined always and in no runtime mode. Fixes problem
6260 caused by new Rtsfind changes.
6262 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
6265 * rtsfind.adb (RTE): Make sure we do not try to load unit after
6266 giving message for entity not available in high integrity mode.
6268 2001-10-11 Pascal Obry <obry@gnat.com>
6270 * impunit.adb: Add GNAT.CRC32.
6272 2001-10-11 Ed Schonberg <schonber@gnat.com>
6274 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
6275 properly the case where one universal operand in a non-static
6276 exponentiation of a real literal.
6278 2001-10-11 Ed Schonberg <schonber@gnat.com>
6280 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
6281 clause, return the gobal finalization list, for lack of anthing else.
6283 2001-10-11 Ed Schonberg <schonber@gnat.com>
6285 * exp_ch7.adb (Make_Transient_Block): if statement is within
6286 exception handler, always use new transient scope to place Clean
6289 2001-10-11 Pascal Obry <obry@gnat.com>
6292 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6293 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6294 (GNATLS_RTL_OBJS): add g-crc32.o
6295 (GNATMAKE_RTL_OBJS): add g-crc32.o
6298 (CRC_Match): new function.
6299 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
6300 instead of the previous simple checksum algorithm.
6301 (Time_Stamp_Mismatch): use CRC_Match for comparison.
6302 (Set_Source_Table): idem.
6305 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
6306 instead of simple checksum.
6307 (CRC_Match): new function.
6308 (CRC_Error): new constant.
6310 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
6311 a CRC now and not a simple checksum. A CRC uses lower-case hex
6312 letters, fixes ambiguity in parsing.
6314 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
6315 is what this variable will store.
6317 * bcheck.adb: Change reference to chechsum in comments by CRC.
6318 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
6319 rename All_Checksum_Match to All_CRC_Match. Change due to API
6320 renaming since now GNAT does not use a simple checksum but a
6321 CRC using GNAT.CRC32.
6323 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
6324 now and not anymore a simple checksum.
6326 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
6329 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
6332 (Restore_Scan_State): rename Checksum to CRC.
6333 (Save_Scan_State): idem.
6337 (Checksum): rename to CRC.
6338 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
6340 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
6341 GNAT.CRC32). Update copyright notice.
6343 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
6344 GNAT.CRC32). Update copyright notice.
6347 (Accumulate_Checksum): removed.
6348 (Update): new procedure. Add a wide-character into the CRC.
6351 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
6352 (Load_File): fix initialization of S (change Source_Checksum to
6355 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
6356 Source_CRC in S initialization.
6358 * sinput.adb (Source_Checksum): renamed to Source_CRC.
6360 * sinput.ads (Source_Checksum): renamed to Source_CRC.
6361 Update comments for the CRC.
6363 * types.adb (Hex): Use lowercase for the letter part.
6365 * types.ads (Get_Hex_String): Returns the hexadecimal representation
6366 for a word. This is currently used only for CRC. In previous version,
6367 the checksum was using a representation with all letter being
6368 upper-case. With the new implementation (using CRC) we do not remove
6369 the 32th bit of the CRC, so we can have an upper-case starting letter
6370 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
6371 It is ambigous since the CRC was optional and could be followed by
6372 options like EB, EE. So now this routines uses lower-case letter for
6373 the hexadecimal representation. Strange enough only lower case letters
6374 where checked in Scan_ALI (even if this was not a possible case).
6376 * gnatvsn.ads (Library_Version): changed to 3.15a.
6378 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
6381 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
6384 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
6385 Add 2001 to copyright notice
6386 (Accumulate_Checksum): Modify to use System.CRC32.
6388 * ali-util.ads: Redo changes of previous revision to continue to use
6389 the word Checksum. Add 2001 to copyright notice.
6391 * ali.adb: Undo some of previous changes, not needed.
6392 Keep the change for lower case letters in the checksum.
6394 * ali.ads: Undo previous change not needed.
6396 * bcheck.adb: Undo most of previous change, not needed.
6397 But do use Checksums_Match for checksum comparison.
6399 * gnatls.adb: Undo most of previous change, not needed.
6400 But do use Checksums_Match for comparing checksums.
6402 * lib-load.adb: Undo previous change, not needed.
6404 * lib-writ.adb: Undo previous change, not needed.
6406 * lib-writ.ads: Document that checksums use lower case,
6407 not upper case letters.
6409 * scans.adb: Undo previous change, not needed
6411 * scans.ads: Undo previous change, not needed.
6413 * scn-nlit.adb: Undo previous changes, not needed.
6415 * scn-slit.adb: Undo previous change, not needed. Fix header format.
6418 (Accumulate_Checksum): Use System.CRC32.
6419 (Initialize_Checksum): New procedure.
6420 Remove other changes of previous revision.
6422 * sinput-p.adb: Undo previous change, not needed.
6424 * sinput.adb: Undo previous change, not needed.
6426 * sinput-l.adb: Undo previous change, not needed.
6428 * sinput.ads: Undo previous change, not needed. Keep only comment
6429 on new checksum algorithm
6431 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
6432 Also remove a-tags and a-stream from GNAT sources.
6434 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
6436 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
6438 2001-10-11 Geert Bosch <bosch@gnat.com>
6440 * einfo.h: Regenerate.
6442 * nmake.ads: Regenerate.
6444 * nmake.adb: Regenerate.
6446 * sinfo.h: Regenerate.
6448 * treeprs.adb: Regenerate.
6450 2001-10-10 Geert Bosch <bosch@gnat.com>
6452 * gnat-style.texi: New file describing coding guidelines for Ada.
6454 2001-10-10 Ed Schonberg <schonber@gnat.com>
6456 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
6459 2001-10-10 Geert Bosch <bosch@gnat.com>
6461 * snames.ads: Add new names for project facility.
6463 * snames.adb: Update to reflect snames.ads changes.
6465 * snames.h: Update to reflect snames.ads changes.
6467 2001-10-10 Vincent Celier <celier@gnat.com>
6470 (Add_Switches): reflect the changes for the switches attributes
6471 Default_Switches indexed by the programming language,
6472 Switches indexed by the file name.
6473 (Collect_Arguments_And_Compile): Idem.
6474 Reflect the attribute name changes.
6477 (Initialisation_Data): Change the names of some packages and
6479 (Initialize): process case insensitive associative arrays.
6482 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
6485 (Parse_Attribute_Declaration): For case insensitive associative
6486 arrays, set the index string to lower case.
6489 Reflect the changes of the project attributes.
6492 Replace Check_Naming_Scheme by Ada_Check and
6493 Language_Independent_Check.
6496 Replaced Check_Naming_Scheme by 2 procedures:
6497 Ada_Check and Language_Independent_Check.
6500 (Process_Declarative_Items): For case-insensitive associative
6501 arrays, set the index string to lower case.
6502 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
6503 Prj.Nmsc.Check_Naming_Scheme.
6506 (Case_Insensitive): New function
6507 (Set_Case_Insensitive): New procedure
6510 (Case_Insensitive): New function
6511 (Set_Case_Insensitive): New procedure
6512 (Project_Node_Record): New flag Case_Insensitive.
6515 (Value_Of): new function to get the string value of a single
6516 string variable or attribute.
6519 (Value_Of): new function to get the string value of a single
6520 string variable or attribute.
6523 (Ada_Default_Spec_Suffix): New function
6524 (Ada_Default_Impl_Suffix): New function
6525 Change definitions of several constants to reflect
6526 new components of record types.
6529 (Naming_Data): Change several components to reflect new
6530 elements of naming schemes.
6531 (Project_Data): New flags Sources_Present and
6532 Language_Independent_Checked.
6533 (Ada_Default_Spec_Suffix): New function.
6534 (Ada_Default_Impl_Suffix): New function.
6537 Modification of predefined names for project manager: added
6538 Implementation, Specification_Exceptions, Implementation_Exceptions,
6539 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
6540 Default_Switches, _Languages, Builder, Cross_Reference,
6541 Finder. Removed Body_Part, Specification_Append, Body_Append,
6542 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
6545 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6548 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
6549 not that it is Nil_Variable_Value.
6551 * prj.ads: Add ??? for uncommented declarations
6553 2001-10-10 Ed Schonberg <schonber@gnat.com>
6555 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
6556 constant, do not indicate possible modification, so that gigi can
6557 treat it as a bona fide constant.
6559 2001-10-10 Robert Dewar <dewar@gnat.com>
6561 * sem_prag.adb: Add processing for pragma External.
6563 * snames.ads: Add entry for pragma External.
6565 * par-prag.adb: Add pragma External.
6567 * snames.adb: Updated to match snames.ads.
6569 2001-10-10 Ed Schonberg <schonber@gnat.com>
6571 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
6572 a dynamic task if the allocator appears in an indexed assignment
6573 or selected component assignment.
6575 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
6576 For a dynamic task in an assignment statement, use target of
6577 assignment to generate meaningful name.
6579 2001-10-10 Ed Schonberg <schonber@gnat.com>
6581 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
6584 * einfo.ads: Body_Entity is also defined for generic package.
6585 Documentation change only
6587 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
6588 others_choice for a discriminated component initialization,
6589 convert discriminant references into the corresponding discriminals.
6591 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
6592 only if original type is private and expression has to be wrapped
6596 (Apply_Constraint_Check): Do not perform length check
6597 if expression is an aggregate with only an others_choice.
6598 (Length_N_Cond): two references to the same in_parameter
6599 (typically the discriminal in an init_proc) denote the same value.
6600 Two useful optimization uncovered by bugfixes above.
6602 2001-10-10 Robert Dewar <dewar@gnat.com>
6604 * xeinfo.adb: Change int to char in translation of enumeration types.
6605 This fixes a problem in the C representation of component alignment.
6606 Add 2001 to copyright notice
6608 2001-10-10 Richard Kenner <kenner@gnat.com>
6610 * decl.c: (validate_size): Do check size of object of integral type
6611 if it is a packed array type.
6613 2001-10-10 Richard Kenner <kenner@gnat.com>
6615 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
6616 VAR_DECL for constant if not Is_Public but -O0.
6618 2001-10-10 Richard Kenner <kenner@gnat.com>
6620 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
6622 2001-10-10 Geert Bosch <bosch@gnat.com>
6624 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
6625 use '/' as switch character, allowing for absolute file names.
6627 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6629 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
6632 2001-10-08 Geert Bosch <bosch@gnat.com>
6634 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
6635 Automatically build utilities when files need to be regenerated.
6637 2001-10-08 Geert Bosch <bosch@gnat.com>
6639 * xsnames.adb: New utility for updating snames.ads and snames.adb
6641 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6643 * Make-lang.in (ADAFLAGS): Add -W -Wall.
6644 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
6645 (gnat1): Also depend on attribs.o.
6646 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
6647 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
6648 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
6649 (ADAFLAGS): Add -W -Wall.
6650 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
6653 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
6654 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
6655 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
6656 Use $(ADAC), not $(CC), as compilation command.
6658 (gnattools): Depend directly on tools to build, don't use
6660 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
6662 * einfo.h, sinfo.h: New files (autogenerated).
6664 2001-10-08 Richard Henderson <rth@redhat.com>
6666 * comperr.adb (Abort_In_Progress): New.
6667 (Compiler_Abort): Use it to prevent recursion.
6669 2001-10-08 Robert Dewar <dewar@gnat.com>
6671 * atree.adb: Set Error_Posted in Error node, helps error recovery.
6673 * par-endh.adb (Output_End_Expected): We should also not test
6674 Error_Posted on the Error node, since now it is always set.
6676 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
6677 to help error recovery. Part of general work on 9407-004.
6679 * par.adb: Add ??? for misuse of error
6682 (Resolve): Defend against Error, fixes 9407-003.
6683 (Resolve_Discrete_Subtype_Indication): Defend against Error.
6685 * sinfo.ads (N_Error): Now has Etype field (which will be set
6686 to Any_Type to help error recovery).
6688 2001-10-08 Richard Kenner (kenner@gnat.com)
6690 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
6691 Consistently set MEM attributes from expression; fixes
6692 bootstrap failure on x86.
6694 2001-10-08 Geert Bosch (bosch@gnat.com)
6696 * 5oosinte.adb: Add 2001 to copyright notice.
6698 2001-10-08 Geert Bosch (bosch@gnat.com)
6700 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
6702 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
6704 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6706 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
6708 2001-10-05 Geert Bosch (bosch@gnat.com)
6710 * adaint.h: Small formatting fix.
6712 2001-10-04 Geert Bosch <bosch@gnat.com>
6714 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
6715 Arg is int, not FILE *, in dummy version of functions.
6717 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
6718 Arg is int, not FILE *.
6720 2001-10-04 Geert Bosch <bosch@gnat.com>
6722 * 3lsoccon.ads: Added file, missed with initial check ins.
6724 * 4lintnam.ads: Fix header format.
6725 Change Linux to GNU/Linux.
6727 * 5iosinte.adb: Change Linux to GNU/Linux.
6729 * 5iosinte.ads: Change Linux to GNU/Linux.
6731 * 5itaprop.adb: Change Linux to GNU/Linux.
6733 * 5itaspri.ads: Change Linux to GNU/Linux.
6734 Update copyright notice.
6736 * 5lintman.adb: Change Linux to GNU/Linux.
6738 * 5lml-tgt.adb: Change Linux to GNU/Linux.
6740 * 5losinte.ads: Change Linux to GNU/Linux.
6742 * 5lsystem.ads: Change Linux to GNU/Linux.
6744 * 5qosinte.adb: Change Linux to GNU/Linux.
6746 * 5qosinte.ads: Change Linux to GNU/Linux.
6748 * 5qparame.ads: Change Linux to GNU/Linux.
6750 * 5qtaprop.adb: Change Linux to GNU/Linux.
6752 * 5qtaspri.ads: Change Linux to GNU/Linux.
6753 Add 2001 to copyright notice.
6755 * 5vintman.ads: Change Linux to GNU/Linux.
6756 Fix header format. Add 2001 to copyright notice.
6758 * g-soccon.ads: Change Linux to GNU/Linux.
6760 * g-trasym.ads: Change Linux to GNU/Linux.
6761 Add 2001 to copyright notice.
6763 * memtrack.adb: Change Linux to GNU/Linux.
6765 * s-intman.ads: Change Linux to GNU/Linux.
6766 Add 2001 to copyright notice. Fix header format.
6768 * s-stache.adb: Change Linux to GNU/Linux.
6770 * adaint.c: Change Linux to GNU/Linux.
6772 * cio.c: Change Linux to GNU/Linux.
6774 * cstreams.c: Change Linux to GNU/Linux.
6776 * init.c: Change Linux to GNU/Linux.
6778 * gmem.c: Change Linux to GNU/Linux.
6780 * tracebak.c: Change Linux to GNU/Linux.
6783 2001-10-02 Geert Bosch <bosch@gnat.com>
6785 * misc.c (insert_default_attributes): Add dummy version.