1 2004-02-03 Kazu Hirata <kazu@cs.umass.edu>
3 * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
6 2004-02-02 Arnaud Charlet <charlet@gnat.com>
8 * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.
10 2004-02-02 Vincent Celier <celier@gnat.com>
12 * gprcmd.adb (Check_Args): If condition is false, print the invoked
13 comment before the usage.
14 Gprcmd: Fail when command is not recognized.
15 (Usage): Document command "prefix"
17 * g-md5.adb (Digest): Process last block.
18 (Update): Do not process last block. Store remaining characters and
21 * g-md5.ads (Update): Document that several call to update are
22 equivalent to one call with the concatenated string.
23 (Context): Add fields to allow new Update behaviour.
25 * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail,
27 When May_Fail is True and no existing file can be found, return No_File.
29 * 6vcstrea.adb: Inlined functions are now wrappers to implementation
32 * lib-writ.adb (Write_With_Lines): When body file does not exist, use
33 spec file name instead on the W line.
35 2004-02-02 Robert Dewar <dewar@gnat.com>
37 * ali.adb: Read and acquire info from new format restrictions lines
39 * bcheck.adb: Add circuits for checking restrictions with parameters
41 * bindgen.adb: Output dummy restrictions data
44 * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
45 exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb,
46 freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb,
47 sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb,
48 sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling.
50 * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses
51 the warning message on access to possibly uninitialized variable S)
52 Minor changes for new restrictions handling.
54 * gnatbind.adb: Minor reformatting
55 Minor changes for new restrictions handling
56 Move circuit for -r processing here from bcheck (cleaner)
58 * gnatcmd.adb, gnatlink.adb: Minor reformatting
60 * lib-writ.adb: Output new format restrictions lines
62 * lib-writ.ads: Document new R format lines for new restrictions
65 * s-restri.ads/adb: New files
67 * Makefile.rtl: Add entry for s-restri.ads/adb
69 * par-ch3.adb: Fix bad error messages starting with upper case letter
72 * restrict.adb: Major rewrite throughout for new restrictions handling
73 Major point is to handle restrictions with parameters
75 * restrict.ads: Major changes in interface to handle restrictions with
76 parameters. Also generally simplifies setting of restrictions.
78 * snames.ads/adb: New entry for proper handling of No_Requeue
80 * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks
82 Other minor changes for new restrictions handling
84 * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements.
85 Restriction_Warnings now allows full parameter notation
86 Major rewrite of Restrictions for new restrictions handling
88 2004-02-02 Javier Miranda <miranda@gnat.com>
90 * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y
91 syntax rule for object renaming declarations.
92 (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for
93 component definitions.
95 * sem_ch3.adb (Analyze_Component_Declaration): Give support to access
97 (Array_Type_Declaration): Give support to access components. In addition
98 it was also modified to reflect the name of the object in anonymous
99 array types. The old code did not take into account that it is possible
100 to have an unconstrained anonymous array with an initial value.
101 (Check_Or_Process_Discriminants): Allow access discriminant in
103 (Process_Discriminants): Allow access discriminant in non-limited types
104 Initialize the new Access_Definition field in N_Object_Renaming_Decl
105 node. Change Ada0Y to Ada 0Y in comments
107 * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in
109 Change Ada0Y to Ada 0Y in comments
111 * sem_ch8.adb (Analyze_Object_Renaming): Give support to access
112 renamings Change Ada0Y to Ada 0Y in comments
114 * sem_type.adb (Find_Unique_Type): Give support to the equality
115 operators for universal access types
116 Change Ada0Y to Ada 0Y in comments
118 * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms
120 * sinfo.ads (N_Component_Definition): Addition of Access_Definition
122 (N_Object_Renaming_Declaration): Addition of Access_Definition field
123 Change Ada0Y to Ada 0Y in comments
125 * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for
126 component definition and object renaming nodes
127 Change Ada0Y to Ada 0Y in comments
129 2004-02-02 Jose Ruiz <ruiz@act-europe.fr>
131 * restrict.adb: Use the new restriction identifier
132 No_Requeue_Statements instead of the old No_Requeue for defining the
135 * sem_ch9.adb (Analyze_Requeue): Check the new restriction
136 No_Requeue_Statements.
138 * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249)
139 that supersedes the GNAT specific restriction No_Requeue. The later is
140 kept for backward compatibility.
142 2004-02-02 Ed Schonberg <schonberg@gnat.com>
144 * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads,
145 5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant
146 pragma and fix incorrect ones.
148 * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a
149 warning if the pragma is redundant.
151 2004-02-02 Thomas Quinot <quinot@act-europe.fr>
153 * 5staprop.adb: Add missing 'constant' keywords.
155 * Makefile.in: use consistent value for SYMLIB on
156 platforms where libaddr2line is supported.
158 2004-02-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
160 * utils.c (end_subprog_body): Do not call rest_of_compilation if just
163 2004-02-02 Olivier Hainque <hainque@act-europe.fr>
165 * init.c (__gnat_install_handler): Setup an alternate stack for signal
166 handlers in the environment thread. This allows proper propagation of
167 an exception on stack overflows in this thread even when the builtin
168 ABI stack-checking scheme is used without support for a stack reserve
171 * utils.c (create_field_decl): Augment the head comment about bitfield
172 creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P
173 here, because the former is not accurate enough at this point.
174 Let finish_record_type decide instead.
175 Don't make a bitfield if the field is to be addressable.
176 Always set a size for the field if the record is packed, to ensure the
177 checks for bitfield creation are triggered.
178 (finish_record_type): During last pass over the fields, clear
179 DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is
180 not covered by the calls to layout_decl. Adjust DECL_NONADDRESSABLE_P
183 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
185 * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir).
186 (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
187 (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
189 2004-01-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
191 * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.
193 * 5fsystem.ads (Functions_Return_By_DSP): Set to False.
194 (ZCX_By_Default): Likewise.
195 (Front_End_ZCX_Support): Likewise.
197 * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced.
198 (Initialize_Lock): Mark Level unreferenced.
199 (Sleep): Mark Reason unreferenced.
200 (Timed_Sleep): Likewise.
202 (Exit_Task): Use Result.
203 (Check_No_Locks): Mark Self_ID unreferenced.
205 * 5gtasinf.adb (New_Sproc): Make Attr constant.
206 (Bound_Thread_Attributes): Make Sproc constant.
207 (New_Bound_Thread_Attributes): Likewise.
209 2004-01-26 Ed Schonberg <schonberg@gnat.com>
211 * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for
212 one-dimensional array an slice assignments, when component type is
215 * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional,
216 component type is controlled, and control_actions are in effect, use
217 TSS procedure rather than generating inline code.
219 * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional
220 arrays with controlled components.
222 2004-01-26 Vincent Celier <celier@gnat.com>
224 * gnatcmd.adb (GNATCmd): Add specification of argument file on the
225 command line for the non VMS case.
227 * gnatlink.adb (Process_Binder_File): When building object file, if
228 GNU linker is used, put all object paths between quotes, to prevent ld
229 error when there are unusual characters (such as '!') in the paths.
231 * Makefile.generic: When there are sources in Ada and the main is in
232 C/C++, invoke gnatmake with -B, instead of -z.
234 * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted
236 (Process_Argument): New procedure, extracted from VMS_Conversion. Add
237 specification of argument file on the command line.
239 2004-01-26 Bernard Banner <banner@gnat.com>
241 * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64
243 2004-01-26 Ed Schonberg <schonberg@gnat.com>
245 * snames.adb: Update copyright notice.
246 Add info on slice assignment for controlled arrays.
248 2004-01-23 Robert Dewar <dewar@gnat.com>
250 * exp_aggr.adb: Minor reformatting
252 * exp_ch9.adb: Minor code clean up
254 Fix bad character in comment
257 * targparm.adb (Get_Target_Parameters): Give clean abort error on
258 unexpected end of file, along with more detailed message.
260 2004-01-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
262 * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
265 * decl.c (copy_alias_set): New function.
266 (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.
268 2004-01-23 Doug Rupp <rupp@gnat.com>
270 * Makefile.in (install-gnatlib): Change occurrences of lib$$file to
271 lib$${file} in case subsequent character is not a separator.
273 2004-01-23 Vincent Celier <celier@gnat.com>
275 * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
276 when the GCC version is at least 3.
278 * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
279 Remove all "Opt.", to prepare for opt split
281 * prj-part.adb (Parse_Single_Project): New Boolean out parameter
282 Extends_All. Set to True when the project parsed is an extending all
283 project. Fails for importing an extending all project only when the
284 imported project is an extending all project.
285 (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
286 depending on the value of Extends_All returned.
288 * prj-proc.adb (Process): Check that no project shares its object
289 directory with a project that extends it, directly or indirectly,
290 including a virtual project.
291 Check that no project extended by another project shares its object
292 directory with another also extended project.
294 * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
297 * prj-tree.ads: Minor reformatting
298 Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).
300 2004-01-23 Ed Schonberg <schonberg@gnat.com>
302 * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
303 applies to a type with an incomplete view, use full view in Name of
304 clause, for consistency with uses of Get_Attribute_Definition_Clause.
306 2004-01-23 Arnaud Charlet <charlet@act-europe.fr>
308 * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
309 SCHED_RR, since other values are not supported by this policy.
310 (Initialize): Move initialization of mutex attribute to package
311 elaboration, to prevent early access to this variable.
313 * Makefile.in: Remove mention of Makefile.adalib, unused.
315 * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
316 1ssecsta.ads: Removed, unused.
318 2004-01-21 Javier Miranda <miranda@gnat.com>
320 * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
321 entity if already built in the current scope.
323 * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
324 reminder in internal scopes. Required for nested limited aggregates.
326 2004-01-21 Doug Rupp <rupp@gnat.com>
328 * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
329 VMS. Replace all occurences of libgnat- and libgnarl- with
330 libgnat$(hyphen) and libgnarl$(hyphen).
331 Fixed shared library build problem on VMS.
333 2004-01-21 Robert Dewar <dewar@gnat.com>
335 * mlib-prj.adb: Minor reformatting
337 2004-01-21 Thomas Quinot <quinot@act-europe.fr>
339 * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
340 'constant' keywords for declaration of pointers that are not modified.
342 * exp_pakd.adb: Fix English in comment.
344 2004-01-21 Ed Schonberg <schonberg@gnat.com>
347 * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
348 copy all attributes of the parent, including the foreign language
351 2004-01-21 Sergey Rybin <rybin@act-europe.fr>
354 * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
355 for 'delay until' statement.
357 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
359 * Make-lang.in: Replace $(docdir) with doc.
360 (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
361 doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
362 to use consistent MAKEINFO rule.
363 (ada.man, ada.srcman): Dummy entry.
364 (ADA_INFOFILES): Define.
365 (ada.info, ada.srcinfo): New rules.
367 2004-01-19 Arnaud Charlet <charlet@act-europe.fr>
369 * utils.c: Update copyright notice, missed in previous change.
371 2004-01-19 Vincent Celier <celier@gnat.com>
373 * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
374 args if Bind is True. Set First_ALI, if not already done.
375 (Build_Library): For Stand Alone Libraries, extract from one ALI file
376 an eventual --RTS switch, for gnatbind, and all backend switches +
379 2004-01-19 Robert Dewar <dewar@gnat.com>
381 * sem_attr.adb, memtrack.adb: Minor reformatting
383 2004-01-19 Ed Schonberg <schonberg@gnat.com>
385 * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
386 that rename enumeration literals. This is properly done in sem_eval.
388 * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
389 to functions that rename enumeration literals.
391 * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
392 functions that rename enumeration literals.
394 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
396 * Make-lang.in (utils.o): Depend on target.h.
397 * utils.c: Include target.h.
398 (process_attributes): Use targetm.have_named_sections instead
399 of ASM_OUTPUT_SECTION_NAME.
401 2004-01-16 Andreas Jaeger <aj@suse.de>
403 * Makefile.in: Add $(DESTDIR).
405 2004-01-15 Olivier Hainque <hainque@act-europe.fr>
407 * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
408 also when not defining if a Size clause applies. That information is
411 2004-01-15 Arnaud Charlet <charlet@act-europe.fr>
413 * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
414 symbolic links for the shared gnat run time when needed.
416 2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr>
418 * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
419 for writing, and terminate with an error message if not.
421 2004-01-15 Ed Schonberg <schonberg@gnat.com>
423 * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
424 warning on an access to subprogram in an instance, when the target
425 type is declared in the same generic unit.
426 (Eval_Attribute): If 'access is known to fail accessibility check,
427 rewrite as a raise statement.
429 2004-01-15 GNAT Script <nobody@gnat.com>
431 * Make-lang.in: Makefile automatically updated
433 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
435 * Make-lang.in (ada.srcextra): Dummy entry.
437 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
439 * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
441 2004-01-13 Ed Schonberg <schonberg@gnat.com>
443 * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
444 components that are initialized with aggregates.
446 2004-01-13 Vincent Celier <celier@gnat.com>
448 * gnatlink.adb (Process_Binder_File): To find directory of shared
449 libgcc, if "gcc-lib" is not a subdirectory, look for the last
450 subdirectory "lib" in the path of the shared libgnat or libgnarl.
452 * make.adb (Gnatmake): If GCC version is at least 3, link with
453 -shared-libgcc, when there is at least one shared library project.
455 * opt.ads (GCC_Version): New integer constant.
457 * adaint.c (get_gcc_version): New function.
459 2004-01-13 Robert Dewar <dewar@gnat.com>
461 * sem_dist.adb, sem_res.adb, sem_util.adb,
462 sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
463 exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
465 2004-01-13 Thomas Quinot <quinot@act-europe.fr>
467 * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
468 g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
471 2004-01-12 Arnaud Charlet <charlet@act-europe.fr>
473 * misc.c: Remove trailing spaces.
474 Update copyright notice missed in previous change.
477 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
480 * Makefile.generic: Update copyright.
483 * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
484 of prefix/share/make.
486 * Makefile.prolog: Update copyright.
489 2004-01-12 Laurent Pautet <pautet@act-europe.fr>
491 * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
492 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
493 g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
496 * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
499 2004-01-12 Javier Miranda <miranda@gnat.com>
501 * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
502 exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
503 sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
504 sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
505 Component_Definition node.
507 2004-01-12 Ed Falis <falis@gnat.com>
509 * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
511 2004-01-12 Thomas Quinot <quinot@act-europe.fr>
513 * link.c: Change default libgnat kind to STATIC for FreeBSD.
515 2004-01-12 Bernard Banner <banner@gnat.com>
517 * Makefile.in: map 86numaux to a-numaux for x86_64
519 2004-01-12 Ed Schonberg <schonberg@gnat.com>
521 * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
522 generated to rename a generic actual, go to the actual itself, the
523 subtype is not a user-visible entity.
525 * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
526 part is a private subtype, reset the visibility of its full view, if
527 any, to be consistent.
530 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
531 to use a generic package G as a formal package for another generic
534 2004-01-12 Robert Dewar <dewar@gnat.com>
536 * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
538 * usage.adb: Remove mention of obsolete -gnatwb switch
539 Noticed during code reading
541 2004-01-12 Jerome Guitton <guitton@act-europe.fr>
543 * 1ssecsta.adb: Minor changes for -gnatwa warnings
545 2004-01-12 GNAT Script <nobody@gnat.com>
547 * Make-lang.in: Makefile automatically updated
549 2004-01-09 Mark Mitchell <mark@codesourcery.com>
551 * misc.c (gnat_expand_expr): Add alt_rtl parameter.
553 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
555 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
557 2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
559 * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
560 Update comment and copyright date.
561 * stamp-xgnatug: Delete.
563 2004-01-05 Robert Dewar <dewar@gnat.com>
565 * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
566 be modified by the binder generated main program if the -D switch is
569 * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
570 imported functions (since now we expect this to be done for imported
573 * 5vtaprop.adb: Add several ??? for sections requiring more comments
574 Minor reformatting throughout
576 * 5zinit.adb: Minor reformatting
577 Add 2004 to copyright date
578 Minor changes to avoid -gnatwa warnings
579 Correct some instances of using OR instead of OR ELSE (noted while
582 * sprint.adb: Minor updates to avoid -gnatwa warnings
584 * s-secsta.ads, s-secsta.adb:
585 (SS_Get_Max): New function to obtain high water mark for ss stack
586 Default_Secondary_Stack is not a constant since it may be modified by
587 the binder generated main program if the -D switch is used.
589 * switch-b.adb: New -Dnnn switch for binder
592 Make -gnatg imply all warnings currently in -gnatwa
594 * vms_conv.adb: Minor reformatting
595 Add 2004 to copyright notice
596 Add 2004 to printed copyright notice
598 * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
599 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
600 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
601 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
602 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
603 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
604 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
605 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
606 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
607 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
608 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
609 vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
610 xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
611 sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
612 checks.adb, clean.adb, cstand.adb, einfo.ads,
613 einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
614 exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
615 prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
616 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
617 g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
618 lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
619 Minor reformatting and code clean ups.
620 Minor changes to prevent -gnatwa warnings
622 * ali.adb: Minor reformatting and cleanup of code
623 Acquire new SS indication of secondary stack use from ali files
625 * a-numaux.ads: Add Pure_Function pragmas for all imported functions
626 (since now we expect this to be done for imported functions)
628 * bindgen.adb: Generate call to modify default secondary stack size if
631 * bindusg.adb: Add line for new -D switch
633 * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
634 replacement name for Type_May_Have_Non_Bit_Aligned_Components!
635 Add circuitry for both records and arrays to avoid gigi
636 processing if the type involved has non-bit-aligned components
638 * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
639 N_String_Literal node always references an E_String_Literal_Subtype
640 entity. This may not be true in the future.
641 (Possible_Bit_Aligned_Component): Move processing of
642 Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
644 * exp_ch6.adb (Expand_Thread_Body): Pick up
645 Default_Secondary_Stack_Size as variable so that we get value modified
646 by possible -Dnnn binder parameter.
648 * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
649 (Type_May_Have_Bit_Aligned_Components): New function.
651 * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
652 (Type_May_Have_Bit_Aligned_Components): New function.
654 * fe.h: (Set_Identifier_Casing): Fix prototype.
655 Add declaration for Sem_Elim.Eliminate_Error_Msg.
658 * freeze.adb (Freeze_Entity): Add RM reference to error message about
659 importing constant atomic/volatile objects.
660 (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
661 unless explicit Pure_Function pragma given, to avoid insidious bug of
662 call to non-pure imported function getting eliminated.
664 * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
665 gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
666 gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
667 Add 2004 to printed copyright notice
669 * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
672 * Makefile.rtl: Add entry for g-sestin.o
673 g-sestin.ads: New file.
675 * mdll.adb: Minor changes to avoid -gnatwa warnings
677 * mlib-tgt.adb: Minor reformatting
679 * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
680 New switch Sec_Stack_Used (GNAT, GNATBIND)
681 Make Default_Secondary_Stack_Size a variable instead of a constant,
682 so that it can be modified by the new -Dnnn bind switch.
684 * rtsfind.adb (Load_Fail): Give full error message in configurable
685 run-time mode if all_errors mode is set. This was not done in the case
686 of a file not found, which was an oversight.
687 Note if secondary stack unit is used by compiler.
689 * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
690 ineffective elaborate all pragmas on non-visible packages (this
691 happened when a renamed subprogram was called). Now the elaborate all
692 always goes on the package containing the renaming rather than the one
693 containing the renamed subprogram.
695 * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
696 (Process_Eliminate_Pragma): Add parameter to capture pragma location.
698 * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
699 has an Etype that references an E_String_Literal.
700 (Eval_String_Literal): Avoid assumption that N_String_Literal node
701 always references an E_String_Literal_Subtype entity. This may not
702 be true in the future.
704 * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
707 * sem_res.adb (Resolve): Specialize msg for function name used in proc
710 2004-01-05 Ed Falis <falis@gnat.com>
712 * g-debuti.adb: Replaced direct boolean operator with short-circuit
715 2004-01-05 Vincent Celier <celier@gnat.com>
717 * bld.adb: Minor comment updates
718 (Process_Declarative_Items): Correct incorrect name (Index_Name instead
721 * make.adb (Gnatmake): Special process for files to compile/check when
722 -B is specified. Fail when there are only foreign mains in attribute
723 Main of the project file and -B is not specified. Do not skip bind/link
724 steps when -B is specified.
726 * makeusg.adb: Document new switch -B
728 * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
730 * switch-m.adb: (Scan_Make_Switches): Process -B switch
732 * vms_data.ads: Add new GNAT PRETTY qualifier
733 /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
735 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
737 * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
740 * misc.c (gnat_printable_name): If VERBOSITY is 2, call
741 Set_Identifier_Casing.
743 * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
744 has size that overflows.
746 2004-01-05 Gary Dismukes <dismukes@gnat.com>
748 * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
749 -gnatwa warning on static condition.
751 2004-01-05 Doug Rupp <rupp@gnat.com>
753 * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
755 2004-01-05 Arnaud Charlet <charlet@act-europe.fr>
757 * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
758 all attributes, including read-only attribute.
760 2004-01-05 Pascal Obry <obry@gnat.com>
762 * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
763 library naming scheme.
765 * mlib-prj.adb (Build_Library): Generate different names for the static
766 or dynamic version of the GNAT runtime. This is needed to support the
767 new shared library naming scheme.
768 (Process_Binder_File): Add detection of shared library in binder file
769 based on the new naming scheme.
771 * gnatlink.adb (Process_Binder_File): Properly detect the new naming
772 scheme for the shared runtime libraries.
775 (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
777 (install-gnatlib): Do not create symlinks for shared libraries.
778 (gnatlib-shared-default): Idem.
779 (gnatlib-shared-dual-win32): New target. Not used for now as the
780 auto-import feature does not support arrays/records.
781 (gnatlib-shared-win32): Do not create copy for the shared libraries.
782 (gnatlib-shared-vms): Fix shared runtime libraries names.
784 * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
785 dependent runtime shared library name.
787 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
789 * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
792 2004-01-05 Ed Schonberg <schonberg@gnat.com>
794 * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
795 protected objects when allocator has a subtype indication, not a
796 qualified expression. Note that qualified expressions may have to be
797 checked when limited aggregates are implemented.
799 * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
801 (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
802 subprogram is imported, remove warning.
804 2004-01-05 Geert Bosch <bosch@gnat.com>
806 * s-poosiz.adb: Update copyright notice.
807 (Allocate): Use Task_Lock to protect against concurrent access.
808 (Deallocate): Likewise.
810 2004-01-05 Joel Brobecker <brobecker@gnat.com>
812 * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
815 2003-12-23 Kelley Cook <kcook@gcc.gnu.org>
817 * gnat_ug.texi: Force a CVS commit by updating copyright.
818 * gnat_ug_vxw.texi: Regenerate.
819 * gnat_ug_wnt.texi: Regenerate.
820 * gnat_ug_vms.texi: Regenerate.
821 * gnat_ug_unx.texi: Regenerate.
823 2003-12-20 Kazu Hirata <kazu@cs.umass.edu>
825 * trans.c: Remove uses of "register" specifier in
826 declarations of local variables.
828 2003-12-18 Kelley Cook <kcook@gcc.gnu.org>
830 * stamp-xgnatug: New stamp file.
831 * Make-lang.in (stamp-xgnatug): New stamp file and comment.
832 (ada/doctools/xgnatug): Add $(build_exeext).
833 (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
834 ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
836 2003-12-17 Ed Falis <falis@gnat.com>
838 * a-elchha.adb (Tailored_Exception_Information): made Info constant to
841 * a-exextr.adb: Add context clause for
842 Ada.Exceptions.Last_Chance_Handler.
844 2003-12-17 Sergey Rybin <rybin@act-europe.fr>
846 * cstand.adb (Create_Standard): Change the way how the declaration of
847 the Duration type is created (making it the same way as it is for all
848 the other standard types).
850 2003-12-17 Robert Dewar <dewar@gnat.com>
852 * s-crtl.ads: Fix header format
853 Change Pure to Preelaborate
855 2003-12-17 Ed Schonberg <schonberg@gnat.com>
857 * checks.adb (Selected_Length_Checks): Generate an Itype reference for
858 the expression type only if it is declared in the current unit.
860 * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
861 are universal and already analyzed, as can occur in constrained
862 subcomponents that depend on discriminants, when one constraint is a
865 * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
866 type Any_Fixed is legal as the argument of a conversion, if only one
867 fixed-point type is in context.
869 2003-12-17 GNAT Script <nobody@gnat.com>
871 * Make-lang.in: Makefile automatically updated
873 2003-12-15 Robert Dewar <dewar@gnat.com>
875 * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
878 2003-12-15 Vincent Celier <celier@gnat.com>
880 * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
881 (Gnatchop): Do not set failure status when reporting the number of
884 2003-12-15 Doug Rupp <rupp@gnat.com>
886 * s-ctrl.ads: New file.
888 * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
890 * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
891 (GNATBIND_OBJS): Add ada/s-crtl.o.
893 * Makefile.in [VMS]: Clean up ifeq rules.
895 * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
896 a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
897 g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
898 s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
899 s-tasdeb.adb: Update copyright.
901 Make minor modifications to use System.CRTL declared functions instead
902 of importing locally.
904 2003-12-15 GNAT Script <nobody@gnat.com>
906 * Make-lang.in: Makefile automatically updated
908 2003-12-11 Ed Falis <falis@gnat.com>
910 * 5zinit.adb: Clean up.
912 * 5zintman.adb (Notify_Exception): replaced case statement with a call
913 to __gnat_map_signal, imported from init.c to support
914 signal -> exception mappings that depend on the vxWorks version.
917 Created and exported __gnat_map_signal to support signal -> exception
918 mapping that is dependent on the VxWorks version.
919 Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
921 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr>
923 * 5wosinte.ads: Link with -mthreads switch.
925 2003-12-11 Arnaud Charlet <charlet@act-europe.fr>
927 * init.c (__gnat_install_handler [NetBSD]): Set
928 __gnat_handler_installed, as done on all other platforms.
929 Remove duplicated code.
931 2003-12-11 Jerome Guitton <guitton@act-europe.fr>
933 * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
935 2003-12-11 Thomas Quinot <quinot@act-europe.fr>
937 * sinfo.ads: Fix inconsistent example code in comment.
939 2003-12-11 Robert Dewar <dewar@gnat.com>
941 * a-tiinau.adb: Add a couple of comments
943 * sem_ch3.adb: Minor reformatting
946 Fix bad prototype of Same_Base_Type in body (code reading cleanup)
947 Minor reformatting throughout
949 2003-12-11 Ed Schonberg <schonberg@gnat.com>
951 * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
952 bounds of a loop, create a separate block in order to generate proper
953 cleanup actions to prevent memory leaks.
955 * sem_res.adb (Resolve_Call): After a call to
956 Establish_Transient_Scope, the call may be rewritten and relocated, in
957 which case no further processing is needed.
959 * sem_util.adb: (Wrong_Type): Refine previous fix.
960 Fixes ACATS regressions.
964 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
967 2003-12-08 Jerome Guitton <guitton@act-europe.fr>
969 * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
970 i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
973 * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
976 2003-12-08 Robert Dewar <dewar@gnat.com>
978 * 7sintman.adb: Minor reformatting
980 * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
981 standard linker options to get standard libraries linked. We now plan
982 to provide dummy versions of these libraries to match the appropriate
983 configurable run-time (e.g. if a library is not needed at all, provide
984 a dummy empty library).
986 * targparm.ads: Configurable_Run_Time mode no longer affects linker
987 options (-L parameters and standard libraries). What we plan to do is
988 to provide dummy libraries where the libraries are not required.
990 * gnatbind.adb: Minor comment improvement
992 2003-12-08 Javier Miranda <miranda@gnat.com>
994 * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
995 aggregate in the parent. Otherwise constants with limited aggregates
996 are not supported. Add new formal to pass the component type (Ctype).
997 It is required to call the corresponding IP subprogram in case of
998 default initialized components.
999 (Gen_Assign): In case of default-initialized component, generate a
1000 call to the IP subprogram associated with the component.
1001 (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
1002 of aggregate with default initialized components.
1003 (Has_Default_Init_Comps): Improve implementation to recursively check
1004 all the present expressions.
1006 * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
1007 to indicate that the initialization call corresponds to a
1008 default-initialized component of an aggregate.
1009 In case of default initialized aggregate with tasks this parameter is
1010 used to generate a null string (this is just a workaround that must be
1011 improved later). In case of discriminants, this parameter is used to
1012 generate a selected component node that gives access to the discriminant
1015 * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
1016 subprogram, based on Build_Task_Allocate_Block, but adapted to expand
1017 allocated aggregates with default-initialized components.
1019 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
1020 the box notation is used in positional aggregates.
1022 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr>
1024 * lib.ads: Fix typo in comment
1026 2003-12-08 Vincent Celier <celier@gnat.com>
1028 * prj.adb (Project_Empty): New component Unkept_Comments
1029 (Scan): Remove procedure; moved to Prj.Err.
1031 * prj.ads (Project_Data): New Boolean component Unkept_Comments
1032 (Scan): Remove procedure; moved to Prj.Err.
1034 * prj-dect.adb: Manage comments for the different declarations.
1036 * prj-part.adb (With_Record): New component Node
1037 (Parse): New Boolean parameter Store_Comments, defaulted to False.
1038 Set the scanner to return ends of line and comments as tokens, if
1039 Store_Comments is True.
1040 (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
1041 comments are associated with these nodes. Store the node IDs in the
1043 (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
1045 (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
1046 the N_Project node. Call Tree.Save and Tree.Reset before scanning the
1047 current project. Call Tree.Restore afterwards. Set the various nodes
1048 for comment storage (Next_End, End_Of_Line, Previous_Line,
1051 * prj-part.ads (Parse): New Boolean parameter Store_Comments,
1054 * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
1055 to False. When Truncated is True, truncate the string, never go to the
1057 (Write_End_Of_Line_Comment): New procedure
1058 (Print): Process comments for nodes N_With_Clause,
1059 N_Package_Declaration, N_String_Type_Declaration,
1060 N_Attribute_Declaration, N_Typed_Variable_Declaration,
1061 N_Variable_Declaration, N_Case_Construction, N_Case_Item.
1062 Process nodes N_Comment.
1064 * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
1065 without comments and there are some comments, set the flag
1066 Unkept_Comments to True.
1067 (Scan): If there are comments, set the flag Unkept_Comments to True and
1069 (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
1070 (Next_End_Nodes: New table
1071 (Comment_Zones_Of): New function
1072 (Scan): New procedure; moved from Prj. Accumulate comments in the
1073 Comments table and set end of line comments, comments after, after end
1075 (Add_Comments): New procedure
1076 (Save, Restore, Seset_State): New procedures
1077 (There_Are_Unkept_Comments): New function
1078 (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
1079 (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
1081 (First_Comment_After, First_Comment_After_End): New functions
1082 (First_Comment_Before, First_Comment_Before_End): New functions
1083 (Next_Comment): New function
1084 (End_Of_Line_Comment, Follows_Empty_Line,
1085 Is_Followed_By_Empty_Line): New functions
1086 (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
1087 (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
1088 (Set_Next_Comment): New procedure
1089 (Default_Project_Node): Associate comment before if the node can store
1092 * scans.ads (Token_Type): New enumeration value Tok_Comment
1093 (Comment_Id): New global variable
1095 * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
1097 (Scan): Store position of start of comment. If comments are tokens, set
1098 Comment_Id and set Token to Tok_Comment when scanning a comment.
1099 (Set_Comment_As_Token): New procedure
1101 * sinput-p.adb: Update Copyright notice
1102 (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
1103 that no longer exists.
1105 2003-12-08 Javier Miranda <miranda@gnat.com>
1107 * sem_aggr.adb: Add dependence on Exp_Tss package
1108 Correct typo in comment
1109 (Resolve_Aggregate): In case of array aggregates set the estimated
1110 type of the aggregate before calling resolve. This is needed to know
1111 the name of the corresponding IP in case of limited array aggregates.
1112 (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
1113 in case of default initialized array components.
1115 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
1116 types. Required to give support to limited aggregates in generic
1119 2003-12-08 Ed Schonberg <schonberg@gnat.com>
1121 * sem_ch3.adb (Check_Initialization): For legality purposes, an
1122 inlined body functions like an instantiation.
1123 (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
1124 until bounds are analyzed, to diagnose premature use of type.
1126 * sem_util.adb (Wrong_Type): Improve error message when the type of
1127 the expression is used prematurely.
1129 2003-12-08 GNAT Script <nobody@gnat.com>
1131 * Make-lang.in: Makefile automatically updated
1133 2003-12-08 Arnaud Charlet <charlet@act-europe.fr>
1135 * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
1136 they are automatically generated by Make-lang.in and cause nothing but
1137 maintenance troubles.
1139 2003-12-05 Thomas Quinot <quinot@act-europe.fr>
1141 * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
1142 version of this unit).
1144 2003-12-05 Olivier Hainque <hainque@act-europe.fr>
1146 * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
1147 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
1148 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
1149 the body of System.Interrupt_Management common to several targets.
1150 Update copyright notice when appropriate.
1152 * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
1155 * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
1156 to ensure that the kernel fills in the interrupted context structure
1157 before calling a signal handler, which is necessary to be able to
1158 unwind past it. Update the copyright notice.
1160 2003-12-05 Jerome Guitton <guitton@act-europe.fr>
1162 * a-elchha.ads: New file.
1164 * a-elchha.adb: New default last chance handler. Contents taken from
1165 Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
1167 * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
1168 is moved to a-elchha.adb to provide a target-independent default last
1171 * Makefile.rtl: Add a-elchha.o
1173 * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
1175 2003-12-05 Ed Schonberg <schonberg@gnat.com>
1177 * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
1178 declared in an instance, do not inline the call if the instance is not
1179 frozen yet, to prevent order of elaboration problems.
1181 * sem_prag.adb: Add comments for previous fix.
1183 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr>
1185 * g-table.adb: Use the right variable in Set_Item.
1186 Update copyright notice.
1188 2003-12-05 Arnaud Charlet <charlet@act-europe.fr>
1190 * Makefile.in: Remove unused rules.
1192 2003-12-05 Vincent Celier <celier@gnat.com>
1194 * switch-c.adb (Scan_Front_End_Switches): Remove processing of
1195 -nostdlib. Not needed here after all.
1197 2003-12-03 Thomas Quinot <quinot@act-europe.fr>
1201 * adaint.h, adaint.c, g-os_lib.ads:
1202 Do not assume that the offset argument to lseek(2) is a 32 bit integer,
1203 on some platforms (including FreeBSD), it is a 64 bit value.
1204 Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
1206 2003-12-03 Arnaud Charlet <charlet@act-europe.fr>
1208 * gnatvsn.ads (Library_Version): Now contain only the relevant
1210 (Verbose_Library_Version): New constant.
1212 * g-spipat.adb, g-awk.adb, g-debpoo.adb,
1213 g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
1214 s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
1216 * gnatlbr.adb: Clean up: replace Library_Version by
1217 Verbose_Library_Version.
1219 * make.adb, lib-writ.adb, exp_attr.adb:
1220 Clean up: replace Library_Version by Verbose_Library_Version.
1222 * 5lintman.adb: Removed.
1225 Update and simplify computation of LIBRARY_VERSION.
1226 Fix computation of GSMATCH_VERSION.
1227 5lintman.adb is no longer used: replaced by 7sintman.adb.
1229 2003-12-03 Robert Dewar <dewar@gnat.com>
1232 (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
1233 name. Modified to consider small non-bit-packed arrays as troublesome
1234 and in need of component-by-component assigment expansion.
1236 2003-12-03 Vincent Celier <celier@gnat.com>
1238 * lang-specs.h: Process nostdlib as nostdinc
1240 * back_end.adb: Update Copyright notice
1241 (Scan_Compiler_Arguments): Process -nostdlib directly.
1243 2003-12-03 Jose Ruiz <ruiz@act-europe.fr>
1246 When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
1247 redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
1248 included in HIE_NONE_TARGET_PAIRS.
1250 2003-12-03 Ed Schonberg <schonberg@gnat.com>
1253 (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
1254 is legal in an instance, because legality is cheched in the template.
1257 (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
1258 appplied to an unchecked conversion of a formal parameter.
1261 (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
1264 2003-12-03 Olivier Hainque <hainque@act-europe.fr>
1266 * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
1267 routines. The second one is new functionality to deal with backtracing
1268 through signal handlers.
1269 (unwind): Split into the two separate subroutines above.
1270 Update the documentation, and deal properly with sizeof (REG) different
1271 from sizeof (void*).
1273 2003-12-01 Nicolas Setton <setton@act-europe.fr>
1275 * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
1276 so that the debugger can reliably access the value of the parameter,
1277 and therefore is able to display the exception name when an exception
1278 breakpoint is reached.
1280 2003-12-01 Thomas Quinot <quinot@act-europe.fr>
1282 * fmap.adb: Fix typo in warning message.
1284 * g-socket.ads, g-socket.adb: Make Free a visible instance of
1285 Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
1287 2003-12-01 Vincent Celier <celier@gnat.com>
1289 * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
1291 (Build_Library): Get the switches only if Default_Switches is declared
1294 2003-12-01 Ed Schonberg <schonberg@gnat.com>
1296 * exp_ch6.adb (Expand_Actuals): When applying validity checks to
1297 actuals that are indexed components, reanalyze actual to ensure that
1298 packed array references are properly expanded.
1300 * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
1301 attempted assignment to a discriminant.
1303 2003-12-01 Robert Dewar <dewar@gnat.com>
1305 * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
1308 * switch-c.adb: Minor reformatting of comments
1310 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
1312 * Makefile.in: Clean ups.
1314 2003-12-01 GNAT Script <nobody@gnat.com>
1316 * Make-lang.in: Makefile automatically updated
1318 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
1320 * 5wsystem.ads: Disable zero cost exception, not ready yet.
1322 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
1324 * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
1325 to force serialization.
1327 2003-11-26 Thomas Quinot <quinot@act-europe.fr>
1329 * g-socket.ads, g-socket.adb:
1330 Clarify documentation of function Stream. Introduce a Free procedure
1331 to release the returned Stream once it becomes unused.
1333 * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
1335 2003-11-26 Arnaud Charlet <charlet@act-europe.fr>
1337 (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
1338 since NT 4 cannot handle timeout values that are too large,
1339 e.g. DWORD'Last - 1.
1341 2003-11-26 Ed Schonberg <schonberg@gnat.com>
1344 (Expand_N_Slice): Recognize all cases of slices that appear as actuals
1345 in procedure calls and whose expansion must be deferred.
1347 * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
1351 (Build_Derived_Array_Type): Create operator for unconstrained type
1352 if ancestor is unconstrained.
1354 2003-11-26 Vincent Celier <celier@gnat.com>
1356 * make.adb (Project_Object_Directory): New global variable
1357 (Change_To_Object_Directory): New procedure
1358 (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
1359 of Change_Dir directly. Do not change working directory to object
1360 directory of main project after each compilation.
1361 (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
1363 Change to object directory of main project before binding step.
1364 (Initialize): Initialize Project_Object_Directory to No_Project
1367 (Build_Library): Take into account Builder'Default_Switches ("Ada") when
1368 binding a Stand-Alone Library.
1370 * output.adb: Update Copyright notice
1371 (Write_Char): Output buffer when full
1373 2003-11-26 Robert Dewar <dewar@gnat.com>
1375 * sem_ch13.adb: (Check_Size): Reset size if size is too small
1378 (Check_Size): Fix documentation to include bit-packed array case
1380 * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
1382 * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
1384 * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
1386 2003-11-24 Arnaud Charlet <charlet@act-europe.fr>
1389 * utils.c (init_gigi_decls): Change name of built-in setjmp to
1390 __builtin_setjmp, since this is apparently needed by recent
1393 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1395 * adadecode.c: Only include ctype.h if not IN_GCC.
1396 (__gnat_decode): Use ISDIGIT from safe-ctype.h.
1398 2003-11-24 Jose Ruiz <ruiz@act-europe.fr>
1401 Use 5zintman.ads for VxWorks targets. This file avoid confusion between
1402 signals and interrupts.
1404 * 5zintman.ads: New File.
1406 * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
1407 add exception signals to the set of unmasked signals.
1410 Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
1411 between signals and interrupts.
1412 Add to Unblocked_Signal_Mask the set of signals that are in
1416 Adding a check to see whether the Interrupt_ID we want to unmask is in
1417 the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
1418 reason is that the index type of the Keep_Unmasked array is not always
1419 Interrupt_ID; it may be a subtype of Interrupt_ID.
1421 2003-11-24 Gary Dismukes <dismukes@gnat.com>
1424 (Remove_Side_Effects): Condition constantness of object created for a
1425 an unchecked type conversion on the constantness of the expression
1426 to ensure the correct value for 'Constrained when passing components
1427 of view-converted class-wide objects.
1429 2003-11-24 Robert Dewar <dewar@gnat.com>
1431 * par-load.adb (Load): Improve handling of misspelled and missing units
1432 Removes several cases of compilation abandoned messages
1434 * lib.adb: (Remove_Unit): New procedure
1436 * lib.ads: (Remove_Unit): New procedure
1438 * lib-load.adb: Minor reformatting
1440 2003-11-24 Vincent Celier <celier@gnat.com>
1443 (Gnatmake, Initialize): Call Usage instead of Makeusg directly
1444 (Marking_Label): Label to mark processed source files. Incremented for
1446 (Gnatmake): Increase Marking_Labet for each executable
1447 (Is_Marked): Compare against marking label
1448 (Mark): Mark with marking label
1450 2003-11-24 Jerome Guitton <guitton@act-europe.fr>
1453 Move the declaration of the TSD for System.Threads to System.Soft_Links.
1456 * Makefile.in: Added target pair for s-thread.adb for cert runtime.
1457 (rts-cert): build a single relocatable object for the run-time lib.
1460 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr>
1463 Use gnatls rather than gcc to obtain the location of GNAT RTL for
1466 2003-11-24 Sergey Rybin <rybin@act-europe.fr>
1468 * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
1469 can not use it as before (that is, as a variable) when dumping it into
1470 the tree file. Add a local variable to store the result of this
1471 function and to be used as the string to be written into the tree.
1473 * scn.adb (Initialize_Scanner): Add comments explaining the recent
1476 * sinput.adb (Source_First, Source_Last): In case of
1477 Internal_Source_File, replace returning attributes of
1478 Internal_Source_Ptr (which is wrong) with returning attributes of
1481 2003-11-24 Ed Schonberg <schonberg@gnat.com>
1484 (New_Concatenation_Op): Proper name for New_Binary_Operator, only
1485 used for implicit concatenation operators.
1489 (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
1490 task bodies that are in the scope of a Suppress pragma.
1491 (Check_A Call): Use the flag to prevent spurious elaboration checks.
1493 * sinfo.ads, sinfo.adb:
1494 New flag No_Elaboration_Check on function/procedure calls, to properly
1495 suppress checks on calls in task bodies that are within a local suppress
1499 (Expand_Concatenate_Other): Use the proper integer type for the
1500 expression for the upper bound, to avoid universal_integer computations
1503 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
1505 * .cvsignore: Delete.
1507 2003-11-21 Andreas Schwab <schwab@suse.de>
1509 * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
1511 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr>
1513 * 5wsystem.ads: Enable zero cost exception.
1515 2003-11-21 Jerome Guitton <guitton@act-europe.fr>
1517 * 5ztiitho.adb: Remove an unreferenced variable.
1519 2003-11-21 Thomas Quinot <quinot@act-europe.fr>
1521 * adaint.c: For FreeBSD, use mkstemp.
1523 2003-11-21 Arnaud Charlet <charlet@act-europe.fr>
1525 * gnatlbr.adb: Now reference Gnat_Static_Version_String.
1527 2003-11-21 Robert Dewar <dewar@gnat.com>
1529 * bld.adb: Remove useless USE of gnatvsn
1531 * gnatchop.adb: Minor reformatting
1532 Clean up version handling to be more consistent
1534 * gnatxref.adb: Minor reformatting
1536 * gprcmd.adb: Minor reformatting
1537 Fix output of copyright to be more consistent with other tools
1539 2003-11-21 Vincent Celier <celier@gnat.com>
1541 * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
1543 2003-11-21 Sergey Rybin <rybin@act-europe.fr>
1545 * atree.adb (Initialize): Add initializations for global variables
1546 used in New_Copy_Tree.
1548 * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
1549 Internal_Source_File as the actual).
1550 Put the set of statements creating Any_Character before the set of
1551 statements creating Any_Array to have Any_Character fully initialized
1552 when it is used in creating Any_Array.
1554 * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
1555 not call Scan in case if the actual is Internal_Source_File
1556 Add 2003 to copyright note.
1558 * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
1559 processing Internal_Source_File.
1561 * types.ads: Add the constant Internal_Source_File representing the
1562 source buffer for artificial source-code-like strings created within
1563 the compiler (the definition of Source_File_Index is changed).
1565 2003-11-20 Arnaud Charlet <charlet@act-europe.fr>
1567 * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
1568 56system.ads: New file, FreeBSD version.
1570 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
1572 * Make-lang.in (ada.extraclean): Delete.
1574 2003-11-19 Arnaud Charlet <charlet@act-europe.fr>
1576 * gnatmem.adb: Clean up verbose output.
1578 * gprcmd.adb: Change copyright to FSF.
1580 2003-11-19 Vincent Celier <celier@gnat.com>
1582 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
1583 and Version (ignored).
1585 * symbols.ads: (Policy): New type
1586 (Initialize): New parameter Reference, Symbol_Policy and
1588 Remove parameter Force.
1591 * snames.ads, snames.adbadb: New standard names
1592 Library_Reference_Symbol_File and Library_Symbol_Policy
1595 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
1599 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
1601 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
1603 * prj.adb: (Project_Empty): New component Symbol_Data
1605 * prj.ads: (Policy, Symbol_Record): New types
1606 (Project_Data): New component Symbol_Data
1609 New attributes Library_Symbol_File, Library_Symbol_Policy and
1610 Library_Reference_Symbol_File.
1613 (Ada_Check): When project is a Stand-Alone library project, process
1614 attribute Library_Symbol_File, Library_Symbol_Policy and
1615 Library_Reference_Symbol_File.
1617 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1618 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
1619 5sml-tgt.adb (Build_Dynamic_Library): New parameter
1620 Symbol_Data (ignored).
1622 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
1623 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
1624 functions Option_File_Name and Version_String. Set new options of
1625 gnatsym related to symbol file, symbol policy and reference symbol
1629 Extensive modifications to take into account the reference symbol file,
1630 the symbol policy, the library version and to put in the symbol file the
1631 minor and major IDs.
1633 * bld.adb (Process_Declarative_Items): Put second argument of
1634 gprcmd to_absolute between single quotes, to avoid problems with
1637 * bld-io.adb: Update Copyright notice.
1638 (Flush): Remove last character of a line, if it is a back slash, to
1639 avoid make problems.
1642 Implement new scheme with reference symbol file and symbol policy.
1644 * g-os_lib.ads: (Is_Directory): Clarify comment
1646 2003-11-19 Robert Dewar <dewar@gnat.com>
1648 * atree.adb: Move New_Copy_Tree global variables to head of package
1650 * errout.adb: Minor reformatting
1652 2003-11-19 Javier Miranda <miranda@gnat.com>
1654 * sem_ch4.adb: (Diagnose_Call): Improve error message.
1655 Add reference to Ada0Y (AI-50217)
1657 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
1658 sem_util.adb: Add reference to AI-50217
1660 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
1662 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
1664 * sem_aggr.adb: Complete documentation of AI-287 changes
1666 * par-ch4.adb: Document previous changes.
1668 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
1669 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
1672 * exp_aggr.adb: Add references to AI-287 in previous changes
1674 2003-11-19 Ed Schonberg <schonberg@gnat.com>
1677 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
1678 in the rewriting is the result of an inlined call.
1680 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
1681 parameter is a type conversion, use original node to construct the
1682 post-call assignment, because expression may have been rewritten, e.g.
1683 if it is a packed array.
1686 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
1687 body, just as it is in an instance.
1688 Categorization routines
1690 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
1691 Instantiate_Object): Set proper sloc reference for message on missing
1694 2003-11-19 Thomas Quinot <quinot@act-europe.fr>
1696 * Makefile.in: Add FreeBSD libgnat pairs.
1698 * usage.adb: Fix typo in usage message.
1700 2003-11-19 Jerome Guitton <guitton@act-europe.fr>
1702 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
1703 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
1705 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
1707 * s-thread.adb: This file is now a dummy implementation of
1710 2003-11-19 Sergey Rybin <rybin@act-europe.fr>
1712 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
1714 2003-11-19 Emmanuel Briot <briot@act-europe.fr>
1716 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1717 instanciation references in the parent type description.
1719 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1721 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
1723 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
1724 TYPE_PRECISION directly from esize.
1726 2003-11-18 Thomas Quinot <quinot@act-europe.fr>
1729 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
1731 * init.c: Initialization routines for FreeBSD
1733 * link.c: Link info for FreeBSD
1735 * sysdep.c: Add the case of FreeBSD
1737 2003-11-17 Jerome Guitton <guitton@act-europe.fr>
1739 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
1740 already called in System.Threads.
1742 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
1743 environment task, as it has been moved to System.Threads.Initialization.
1745 2003-11-17 Arnaud Charlet <charlet@act-europe.fr>
1747 * adaint.c (__gnatlib_install_locks): Only reference
1748 __gnat_install_locks on VMS, since other platforms can avoid using
1749 --enable-threads=gnat
1751 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1753 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
1755 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
1756 TYPE_PACKED_ARRAY_TYPE_P.
1757 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
1759 Part of PR ada/12806
1760 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
1761 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
1763 2003-11-17 Vincent Celier <celier@gnat.com>
1765 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
1767 Do not set exit status to Failure when Warning is True.
1768 (Gnatchop): Make errors "no compilation units found" and
1769 "no source files written" warnings only.
1771 * make.adb (Gnatmake): When using a project file, set
1772 Look_In_Primary_Dir to False.
1773 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
1774 and Local_Configuration_Pragmas in the project where they are declared
1775 not an extending project which might have inherited them.
1777 * osint.adb (Locate_File): If Name is already an absolute path, do not
1778 look for a directory.
1780 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
1781 -gnats (Check_Syntax) is used, issue only a warning, not an error.
1783 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
1784 in objects of type Variable_Value.
1786 * prj.ads: (Variable_Value): New component Project
1788 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
1789 is in a project extended by Project.
1791 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
1792 Project of Variable_Values to this new parameter value.
1793 (Expression): Set component Project of Variable_Values.
1794 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
1795 Set the component Project in array elements.
1797 2003-11-17 Sergey Rybin <rybin@act-europe.fr>
1799 * errout.adb: (Initialize): Add initialization for error nodes.
1801 * sem_ch12.adb (Initialize): Add missing initializations for
1802 Exchanged_Views and Hidden_Entities.
1804 2003-11-17 Ed Schonberg <schonberg@gnat.com>
1806 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
1807 already instantiated tree for use in subsequent inlining.
1808 (Analyze_Associations, Instantiate_Formal_Subprogram,
1809 Instantiate_Object): improve error message for mismatch in
1812 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
1813 instantiations of subprograms declared in instances.
1815 2003-11-17 Javier Miranda <miranda@gnat.com>
1817 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
1818 executed only under the Extensions_Allowed flag.
1820 2003-11-17 Robert Dewar <dewar@gnat.com>
1822 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
1824 (Address_Image): Fix bug of returning 0x instead of 0x0
1825 Minor reformatting (function specs).
1827 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
1828 (missed case of 33-63)
1830 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
1832 * s-thread.adb: Add comments for pragma Restriction
1834 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
1835 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
1837 2003-11-17 Ed Falis <falis@gnat.com>
1839 * s-thread.adb: Added No_Tasking restriction for this implementation.
1841 2003-11-17 Emmanuel Briot <briot@act-europe.fr>
1843 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1844 instanciation references in the parent type description.
1846 2003-11-17 GNAT Script <nobody@gnat.com>
1848 * Make-lang.in: Makefile automatically updated
1850 2003-11-16 Jason Merrill <jason@redhat.com>
1852 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
1853 and TAGS files that include them for each front end.
1855 2003-11-14 Andreas Jaeger <aj@suse.de>
1857 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
1858 is the canonical version.
1859 * misc.c (gnat_handle_option): Likewise.
1861 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
1863 * 5nsystem.ads: New file for x86_64-linux-gnu.
1865 2003-11-14 Arnaud Charlet <charlet@act-europe.fr>
1867 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
1869 * comperr.adb: Fix logic in previous change.
1871 2003-11-13 Vincent Celier <celier@gnat.com>
1873 * 5bml-tgt.adb (Build_Dynamic_Library): Use
1874 Osint.Include_Dir_Default_Prefix instead of
1875 Sdefault.Include_Dir_Default_Name.
1877 * gnatlbr.adb: Update Copyright notice
1878 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1879 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1880 instead of Sdefault.Object_Dir_Default_Name
1883 (Process_Binder_File): Never suppress the option following -Xlinker
1886 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1887 Sdefault.Object_Dir_Default_Name.
1889 * osint.ads, osint.adb:
1890 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1893 * vms_conv.ads: Minor reformating
1894 Remove GNAT STANDARD and GNAT PSTA
1897 Allow GNAT MAKE to have several files on the command line.
1898 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1899 Sdefault.Object_Dir_Default_Name.
1901 Remove data for GNAT STANDARD
1904 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1905 Remove data for GNAT STANDARD
1906 Remove options and documentation for -gnatwb/-gnatwB: these warning
1907 options no longer exist.
1909 2003-11-13 Ed Falis <falis@gnat.com>
1911 * 5zthrini.adb: (Init_RTS): Made visible
1914 (Register): Removed unnecessary call to taskVarGet that checked whether
1915 an ATSD was already set as a task var for the argument thread.
1918 Updated comment to reflect that this is a VxWorks version
1919 Added context clause for System.Threads.Initialization
1920 Added call to System.Threads.Initialization.Init_RTS
1922 2003-11-13 Jerome Guitton <guitton@act-europe.fr>
1925 (Init_RTS): New procedure, for the initialization of the run-time lib.
1928 Remove dependancy on System.Init, so that this file can be used in the
1929 AE653 sequential run-time lib.
1931 2003-11-13 Robert Dewar <dewar@gnat.com>
1933 * bindgen.adb: Minor reformatting
1935 2003-11-13 Ed Schonberg <schonberg@gnat.com>
1938 (Apply_Discriminant_Check): Do no apply check if target type is derived
1939 from source type with no applicable constraint.
1942 (Ensure_System_Dependency): Do not apply the style checks that may have
1943 been specified for the main unit.
1946 (Find_Selected_Component): Further improvement in error message, with
1950 (Resolve): Handle properly the case of an illegal overloaded protected
1953 2003-11-13 Javier Miranda <miranda@gnat.com>
1956 (Has_Default_Init_Comps): New function to check the presence of
1957 default initialization in an aggregate.
1958 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1959 extension aggregate of a limited record. In addition, a new formal
1960 was added to do not initialize the record controller (if any) during
1961 this recursive expansion of ancestors.
1962 (Init_Controller): Add support for limited record components.
1963 (Expand_Record_Aggregate): In case of default initialized components
1964 convert the aggregate into a set of assignments.
1966 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1967 describing the new syntax.
1968 Nothing else needed to be done because this subprogram delegates part of
1969 its work to P_Precord_Or_Array_Component_Association.
1970 (P_Record_Or_Array_Component_Association): Give support to the new
1971 syntax for default initialization of components.
1974 (Resolve_Aggregate): Relax the strictness of the frontend in case of
1976 (Resolve_Record_Aggregate): Give support to default initialized
1978 (Get_Value): In case of default initialized components, duplicate
1979 the corresponding default expression (from the record type
1980 declaration). In case of default initialization in the *others*
1981 choice, do not check that all components have the same type.
1982 (Resolve_Extension_Aggregate): Give support to limited extension
1986 (Check_Initialization): Relax the strictness of the front-end in case
1987 of aggregate and extension aggregates. This test is now done in
1988 Get_Value in a per-component manner.
1990 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1991 expression corresponds to a limited aggregate. This test is now done
1994 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1997 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1998 present in an N_Component_Association node
2000 2003-11-13 Thomas Quinot <quinot@act-europe.fr>
2002 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
2003 type-conformant entry only if they are homographs.
2005 2003-11-13 GNAT Script <nobody@gnat.com>
2007 * Make-lang.in: Makefile automatically updated
2009 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2011 * adadecode.c: Use <> form of include for ctype.h.
2012 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
2014 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2016 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
2017 Works around PR middle-end/6552.
2019 2003-11-10 Ed Falis <falis@gnat.com>
2021 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
2023 * 5zinit.adb: (Install_Handler): Moved back to spec
2024 (Install_Signal_Handlers): Deleted
2026 * 5zthrini.adb: Added context clause for System.Storage_Elements
2027 (Register): Only handles creation of taskVar; initialization moved to
2029 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
2030 Added declaration of environment task secondary stack and
2033 * s-thread.adb: Implement bodies for thread body processing
2036 Added comment identifying supported targets for pragma Thread_Body.
2038 2003-11-10 Pascal Obry <obry@gnat.com>
2040 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
2044 (Open): Properly check for string length before copying into the buffer.
2045 Raises Name_Error if buffer is too small. Note that this was a potential
2048 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
2050 * bindgen.adb, comperr.adb: Code clean ups.
2051 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
2053 2003-11-10 Sergey Rybin <rybin@act-europe.fr>
2055 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
2057 2003-11-10 Vincent Celier <celier@gnat.com>
2060 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
2063 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
2065 * prj.adb: (Project_Empty): Add new boolean component Virtual
2067 * prj.ads: (Virtual_Prefix): New constant string
2068 (Project_Data): New boolean component Virtual
2070 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
2071 a library project is extended by a virtual extending project.
2074 Modifications throughout to implement extending-all project, including:
2075 (Virtual_Hash, Processed_Hash): New hash tables
2076 (Create_Virtual_Extending_Project): New procedure
2077 (Look_For_Virtual_Projects_For): New procedure
2080 (Process): After checking the projects, if main project is an
2081 extending-all project, set the object directory of all virtual extending
2082 project to the object directory of the main project.
2083 Adjust error message when a virtual extending project has the same
2084 object directory as an project being extended.
2085 (Recursive_Process): If name starts with the virtual prefix, set Virtual
2086 to True in the project data.
2089 (Default_Project_Node): Add new boolean component Extending_All
2090 (Is_Extending_All): New function
2091 (Set_Is_Extending_All): New procedure
2093 * prj-tree.ads: (Is_Extending_All): New function
2094 (Set_Is_Extending_All): New procedure
2095 (Project_Node_Record): New boolean component Extending_All
2097 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
2100 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
2102 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
2103 "gprcmd prefix" to define it.
2105 2003-11-10 Thomas Quinot <quinot@act-europe.fr>
2107 * einfo.ads: Fix a typo and remove an extraneous word in comments.
2110 (Create_Dummy_Package_Unit): Set the scope of the entity for the
2111 created dummy package to Standard_Standard, not to itself, to
2112 defend other parts of the front-end against encoutering a cycle in
2116 (Analyze_With_Clause): When setting the entities for the successive
2117 N_Expanded_Names that constitute the name of a child unit, do not
2118 attempt to go further than Standard_Standard in the chain of scopes.
2119 This case arises from the placeholder units created by
2120 Create_Dummy_Package_Unit in the case of a with_clause for a
2121 nonexistent child unit.
2123 2003-11-10 Ed Schonberg <schonberg@gnat.com>
2126 (Expand_Thread_Body): Place subprogram on scope stack, so that new
2127 declarations are given the proper scope.
2130 (Check_Expr_Constants): Reject an expression that contains a constant
2131 created during expansion, and that appears after the object to which
2132 the address clause applies.
2134 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
2135 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
2136 that uses 'Range of a function call with controlled components, so
2137 that the function result can be finalized before starting the loop.
2140 (Find_Selected_Component): Improve error message when prefix is
2141 an implicit dereference of an incomplete type.
2143 2003-11-10 Robert Dewar <dewar@gnat.com>
2145 * opt.ads: New Print_Standard flag for -gnatS switch
2147 * sem_ch13.adb: Remove some additional checks for unaligned arrays
2149 * cstand.adb (Create_Standard): Print out package standard if -gnatS
2152 * debug.adb: Update doc for -gnatds to discuss relationship with new
2155 * sinfo.adb: Add new field Entity_Or_Associated_Node
2157 * sinfo.ads: Add new field Entity_Or_Associated_Node
2158 Update documentation for Associated_Node and Entity fields to clarify
2159 relationship and usage.
2162 (Write_Id): Properly process Associated_Node field in generic template
2165 Recognize new -gnatS switch for printing package Standard
2166 This replaces gnatpsta
2169 Add line for new -gnatS switch for printing package Standard
2170 This replaces gnatpsta
2172 2003-11-10 Andreas Jaeger <aj@suse.de>
2174 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
2177 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
2179 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
2182 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
2184 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
2187 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
2189 * sysdep.c: Add handling of cygwin.
2191 2003-11-10 GNAT Script <nobody@gnat.com>
2193 * Make-lang.in: Makefile automatically updated
2195 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
2198 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
2199 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
2200 Replace GNAT_ROOT by GCC_ROOT.
2202 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
2204 2003-11-06 Zack Weinberg <zack@codesourcery.com>
2206 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
2207 and update for changed meaning of GET_MODE_BITSIZE.
2209 2003-11-04 Doug Rupp <rupp@gnat.com>
2211 * sysdep.c: Problem discovered during IA64 VMS port.
2212 [VMS] #include <unixio.h> to get proper prototypes.
2215 Issues discovered/problems fixed during IA64 VMS port.
2216 [VMS] #define _POSIX_EXIT for proper semantics.
2217 [VMS] #include <unixio.h> for proper prototypes.
2218 [VMS] (fork): #define IA64 version.
2219 (__gnat_os_exit): Remove unnecessary VMS specific code.
2221 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2223 Part of PR ada/12806
2225 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
2229 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
2232 * targtyps.c, decl.c, misc.c,
2233 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
2234 routines to work around change in FP sizing semantics in GCC.
2237 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
2239 * gigi.h: (enumerate_modes): New function.
2241 * Make-lang.in: (ada/misc.o): Add real.h.
2243 * misc.c: (enumerate_modes): New function.
2245 2003-11-04 Robert Dewar <dewar@gnat.com>
2247 * 3vtrasym.adb: Minor reformatting
2248 Use terminology encoded/decoded name, rather than C++ specific notion
2249 of mangling (this is the terminology used throughout GNAT).
2251 * einfo.h: Regenerated
2253 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
2256 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
2258 * par-prag.adb: Add dummy entry for Thread_Body pragma
2261 Add entries for System.Threads entities for thread body processing
2264 (Analyze_Pragma, Access attributes): Check these are not applied to a
2265 thread body, since this is not permitted
2267 * sem_prag.adb: Add processing for Thread_Body pragma.
2271 (Resolve_Call): Check for incorrect attempt to call a thread body
2272 procedure with a direct call.
2274 * snames.ads, snames.adb: Add entry for Thread_Body pragma
2275 Add names associated with thread body expansion
2277 * snames.h: Add entry for Thread_Body pragma
2279 * s-thread.adb: Add entries for thread body processing
2280 These are dummy bodies so far
2282 * s-thread.ads: Add documentation on thread body handling.
2283 Add entries for thread body processing.
2285 2003-11-04 Javier Miranda <miranda@gnat.com>
2288 (Build_Limited_Views): Return after posting an error in case of limited
2289 with_clause on subprograms, generics, instances or generic renamings
2290 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
2291 on subprograms, generics, instances or generic renamings
2293 2003-11-04 Arnaud Charlet <charlet@act-europe.fr>
2295 * raise.c (setup_to_install): Correct mistake in last revision; two
2296 arguments out of order.
2298 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
2299 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
2300 notice, missed in previous change.
2301 Remove trailing blanks and other style errors introduced in previous
2304 2003-11-04 Olivier Hainque <hainque@act-europe.fr>
2306 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
2307 rid of the wrapper for a LJM type, ensuring we don't do that if the
2308 field is addressable. This avoids potential low level type view
2309 mismatches later on, for instance in a by-reference argument passing
2312 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2314 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
2315 aligned at byte boundary.
2317 2003-11-04 Joel Brobecker <brobecker@gnat.com>
2319 * decl.c (components_to_record): Do not delete the empty variants from
2320 the end of the union type.
2322 2003-11-04 Ed Schonberg <schonberg@gnat.com>
2324 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
2325 operation for a derived type, an explicit declaration may use a local
2328 2003-11-04 Vincent Celier <celier@gnat.com>
2330 * make.adb (Gnatmake): Allow main sources on the command line with a
2331 library project when it is only for compilation (no binding or
2334 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2336 * Makefile.in: Remove many duplicate variables.
2338 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
2340 * Make-lang.in (dvi): Move targets to $(docobjdir).
2341 (gnat_ug_vms.dvi): Simplify rule and adjust target.
2342 (gnat_ug_wnt.dvi): Likewise.
2343 (gnat_ug_unx.dvi): Likewise.
2344 (gnat_ug_vxw.dvi): Likewise.
2345 (gnat_rm.dvi): Likewise.
2346 (gnat-style.dvi): Likewise.
2348 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
2350 * gigi.h: Missed commit from update for C90.
2352 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
2354 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
2356 2003-10-31 Andreas Schwab <schwab@suse.de>
2358 * raise.c (get_action_description_for): Fix typo in last change.
2360 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
2363 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
2364 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
2366 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
2368 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
2369 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
2370 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
2371 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
2372 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
2374 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
2377 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
2378 numbers when symbol name is too long.
2380 2003-10-30 Ed Falis <falis@gnat.com>
2382 * g-signal.ads, g-signal.adb: New files
2384 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
2386 * Makefile.rtl: Introduce GNAT.Signals
2388 2003-10-30 Robert Dewar <dewar@gnat.com>
2390 * freeze.adb: Minor reformatting
2392 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
2394 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
2395 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
2396 New handling of Id_Check parameter to improve recognition of keywords
2397 used as identifiers.
2398 Update copyright notice to include 2003
2400 2003-10-29 Robert Dewar <dewar@gnat.com>
2402 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
2403 sem_ch10.adb: Minor reformatting
2405 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
2406 (Expand_Assign_Record): Test right hand side for bit unaligned as well
2408 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
2410 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
2411 Support for TBK$SYMBOLIZE-based symbolic traceback.
2413 2003-10-29 Jose Ruiz <ruiz@act-europe.fr>
2416 Revert previous change, that did not work well when pragma No_Run_Time
2417 was used in conjunction with a run-time other than ZFP.
2419 2003-10-29 Vincent Celier <celier@gnat.com>
2422 (Gnatmake): When there are no Ada mains in attribute Main, disable the
2423 bind and link steps only is switch -z is not used.
2425 2003-10-29 Arnaud Charlet <charlet@act-europe.fr>
2427 * Makefile.generic: Remove duplicated setting of CC.
2429 * Makefile.prolog: Set CC to gcc by default, to override make's
2432 * einfo.h: Regenerated.
2434 2003-10-29 Ed Schonberg <schonberg@gnat.com>
2436 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
2437 current body, after compiling subunit.
2439 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
2440 when in deleted code, because gigi needs properly ordered freeze
2441 actions to annotate types.
2443 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
2444 prevent the premature freezing of record type that contains
2445 subcomponents with a private type that does not yet have a completion.
2447 2003-10-29 Javier Miranda <miranda@gnat.com>
2450 (Analyze_Package_Instantiation): Check that instances can not be used in
2451 limited with_clauses.
2454 (Analyze_Package_Renaming): Check that limited withed packages cannot
2455 be renamed. Improve text on error messages related to limited
2458 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
2460 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
2461 Update copyright notice.
2463 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
2464 (Install_Limited_Context_Clauses): New subprogram that isolates all the
2465 checks required for limited context_clauses and installs the limited
2467 (Install_Limited_Withed_Unit): Complete its documentation.
2468 (Analyze_Context): Check that limited with_clauses are only allowed in
2470 (Install_Context): Call Install_Limited_Context_Clauses after the
2471 parents have been installed.
2472 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
2473 package as 'From_With_Type'; this mark indicates that the limited view
2474 is installed. Used to check bad usages of limited with_clauses.
2475 (Build_Limited_Views): Do not add shadow entities to the scope's list
2476 of entities. Do not add real entities to the Non_Limited_Views chain.
2477 Improve error notification.
2478 (Remove_Context_Clauses): Remove context clauses in two phases:
2479 limited views first and regular views later (to maintain the
2481 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
2482 its visible entities.
2484 2003-10-29 Thomas Quinot <quinot@act-europe.fr>
2486 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
2487 with any type that Is_Fixed_Point_Type.
2489 * sinfo.ads: Fix documentation for Associated_Node attribute.
2491 2003-10-29 Sergey Rybin <rybin@act-europe.fr>
2493 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
2494 both '-gnatc' and '-gnatt' are specified.
2496 * atree.adb (Initialize): Add initialization for Node_Count (set to
2499 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2501 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
2502 do not consider as Pure.
2504 Part of implementation of function-at-a-time:
2506 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
2507 (tree_transform): Add new argument to build_component_ref.
2508 (tree_transform, case N_Assignment_Statement): Make and return an
2510 (tree_transform): If result IS_STMT, set flags and return it.
2511 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2513 * utils2.c (build_simple_component_ref, build_component_ref): Add new
2515 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
2516 (build_allocator): Likewise.
2518 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
2519 Add new arg to build_component_ref.
2520 (maybe_unconstrained_array, unchecked_convert): Likewise.
2522 * ada-tree.def (EXPR_STMT): New code.
2524 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
2526 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
2527 build_component_ref calls.
2529 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
2531 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2532 (build_component_ref): Add new argument, NO_FOLD_P.
2534 2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
2536 * Makefile.generic: Add missing substitution on object_deps handling.
2539 * Make-lang.in (check-ada): Enable ACATS test suite.
2541 2003-10-27 Robert Dewar <dewar@gnat.com>
2544 (Freeze_Array_Type): We do not need an initialization routine for types
2545 derived from String or Wide_String. They should be treated the same
2546 as String and Wide_String themselves. This caused problems with the
2547 use of Initialize_Scalars.
2550 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
2551 composites. This allows use of component clauses that are not byte
2555 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
2556 is an attempt to pack an array of atomic objects.
2558 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
2560 2003-10-27 Pascal Obry <obry@gnat.com>
2563 (Basename): Check for drive letters in a pathname only on DOS based OS.
2565 2003-10-27 Vincent Celier <celier@gnat.com>
2568 (Gnatmake): When unable to change dir to the object dir, display the
2569 content of the parent dir of the obj dir, to try to understand why this
2572 2003-10-27 GNAT Script <nobody@gnat.com>
2574 * Make-lang.in: Makefile automatically updated
2576 2003-10-27 Ed Schonberg <schonberg@gnat.com>
2579 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
2580 should not be done in Save/Restore_Scope_Stack, because it is performed
2584 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2585 whether use clauses should be removed/restored.
2588 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2589 whether use clauses should be removed/restored.
2591 2003-10-26 Andreas Jaeger <aj@suse.de>
2593 * Makefile.in: Remove duplicated lines.
2595 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2597 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
2598 minimize the differences with ACT tree.
2600 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
2601 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
2602 Gnatvsn.Gnat_Static_Version_String to reduce differences between
2605 2003-10-24 Pascal Obry <obry@gnat.com>
2607 * adadecode.c (ostrcpy): New function.
2608 (__gnat_decode): Use ostrcpy of strcpy.
2609 (has_prefix): Set first parameter a const.
2610 (has_suffix): Set first parameter a const.
2611 Update copyright notice. Fix source name in header.
2612 Removes a trailing space.
2615 2003-10-24 Jose Ruiz <ruiz@act-europe.fr>
2618 Remove the test against being in No_Run_Time_Mode before generating a
2619 call to Register_Tag. It is redundant with the test against the
2620 availability of the function Register_Tag.
2622 2003-10-24 Vincent Celier <celier@gnat.com>
2624 * g-catiio.adb: (Month_Name): Correct spelling of February
2626 * make.adb: (Mains): New package
2627 (Initialize): Call Mains.Delete
2628 (Gnatmake): Check that each main on the command line is a source of a
2629 project file and, if there are several mains, each of them is a source
2630 of the same project file.
2631 (Gnatmake): When a foreign language is specified in attribute Languages,
2632 no main is specified on the command line and attribute Mains is not
2633 empty, only build the Ada main. If there is no Ada main, just compile
2634 the Ada sources and their closure.
2635 (Gnatmake): If a main is specified on the command line with directory
2636 information, check that the source exists and, if it does, that the path
2637 is the actual path of a source of a project.
2640 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
2641 Full_Path is True, return the full path instead of the simple file name.
2642 (Project_Of): New function
2645 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
2647 (Project_Of): New function
2649 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2652 Ensure objects of main project are always checked and rebuilt if needed.
2653 Set CC to gcc by default.
2654 Prepare new handling of link by creating a global archive (not activated
2657 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2658 stringt.h: Update copyright notice. Remove trailing blanks.
2659 Fix source name in header.
2661 2003-10-24 Robert Dewar <dewar@gnat.com>
2663 * sem_ch12.adb: Minor reformatting
2666 Minor reformatting (including new function return style throughout)
2669 Minor reformatting (including new function return style throughout)
2671 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2673 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2674 stringt.h: Update copyright notice. Remove trailing blanks.
2675 Fix source name in header.
2677 2003-10-24 GNAT Script <nobody@gnat.com>
2679 * Make-lang.in: Makefile automatically updated
2681 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
2683 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
2684 stringt.h: Convert to ISO C90 declarations and definitions.
2686 2003-10-23 Thomas Quinot <quinot@act-europe.fr>
2689 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
2690 External_Tag attribute definition clauses.
2692 2003-10-23 Ed Schonberg <schonberg@gnat.com>
2695 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
2696 child unit, generate a fully qualified name to avoid spurious errors
2697 when the context contains renamings of different child units with
2698 the same simple name.
2700 * exp_dbug.ads: Add documentation on name qualification for renamings
2703 2003-10-23 Robert Dewar <dewar@gnat.com>
2705 * g-regpat.ads, g-regpat.adb: Minor reformatting
2707 2003-10-23 Jose Ruiz <ruiz@act-europe.fr>
2709 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
2711 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2713 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
2716 * urealp.h: (Machine): Update to proper definition.
2718 2003-10-23 Arnaud Charlet <charlet@act-europe.fr>
2720 * init.c, adaint.c: Minor reformatting.
2722 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
2724 * adaint.c (w32_epoch_offset): Define static const at file level.
2725 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
2726 rather than t_create, t_access in call to GetFileTime. Use union
2727 to convert between FILETIME and unsigned long long.
2728 (__gnat_file_time_name): Test for invalid file handle.
2729 (__gnat_set_filetime_name): Support win32 targets using
2732 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
2734 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
2736 * ctrl_c.c (__gnat_int_handler): Remove declaration.
2738 * decl.c (creat_concat_name): Const-ify prefix.
2740 * adaint.c: Include ctype.h if __MINGW32__.
2741 (__gnat_readlink): Mark arguments as possibly unused.
2742 (__gnat_symlink): Likewise.
2743 (__gnat_is_symbolic_link): Likewise.
2744 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
2746 (__gnat_file_time_name): Don't declare struct stat statbuf when
2748 (__gnat_is_absolute_path): Add parenthesis around condition of
2749 'if' statement to avoid warning.
2750 (__gnat_plist_init): Specify void as parameter.
2751 (plist_enter): Likewise.
2752 (plist_leave): Likewise.
2753 (remove_handle): Make static. Initialize prev.
2755 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2757 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
2758 * cstreams.c (__gnat_full_name): Minor improvements and clean up
2761 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2763 * tracebak.c (MAX): Avoid redefinition warning.
2765 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
2766 Change msg to const char *.
2767 (__gnat_install_handler): Remove ss, unused.
2768 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
2770 * cstreams.c (__gnat_full_name): Declare p only when used.
2771 (__gnat_full_name) [sgi] Return buffer.
2773 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2775 * mingw32.h: New file.
2776 * gnat_wrapper.adb: New file.
2778 2003-10-22 Jerome Roussel <roussel@act-europe.fr>
2780 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
2781 string match a pre compiled regular expression (the corresponding
2782 version of the function working on a raw regular expression)
2783 Fix typos in various comments
2784 Update copyright notice in spec
2786 2003-10-21 Gary Dismukes <dismukes@gnat.com>
2789 (Component_Needs_Simple_Initialization): Return False when the type is a
2790 packed bit array. Revise spec comments to document this case.
2793 (Expand_Pragma_Import): Set any expression on the imported object to
2794 empty to avoid initializing imported objects (in particular this
2795 covers the case of zero-initialization of bit arrays).
2796 Update copyright notice.
2798 2003-10-21 Ed Schonberg <schonberg@gnat.com>
2801 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
2802 a subunit is missing.
2803 (Instantiate_Subprogram_Body): If body of function is missing, set type
2804 of return expression explicitly in dummy body, to prevent cascaded
2805 errors when a subunit is missing.
2809 (Access_Subprogram_Declaration): Verify that return type is valid.
2813 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
2818 (Corresponding_Discriminant): If the scope of the discriminant is a
2819 private type without discriminant, use its full view.
2822 2003-10-21 Arnaud Charlet <charlet@act-europe.fr>
2824 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
2825 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
2826 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
2827 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
2828 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
2829 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
2830 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2831 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
2832 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
2833 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
2834 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
2835 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
2836 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
2837 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
2838 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
2839 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
2840 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
2841 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
2842 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
2843 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
2844 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
2845 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
2846 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
2847 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
2848 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
2849 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
2850 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
2851 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
2852 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
2853 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
2854 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
2855 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
2856 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
2857 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
2858 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
2859 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
2860 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
2861 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
2862 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
2863 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
2864 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
2865 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
2866 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
2867 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
2868 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
2869 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
2870 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
2871 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2872 vms_conv.ads, vms_conv.adb, vms_data.ads,
2873 vxaddr2line.adb: Files added. Merge with ACT tree.
2875 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2876 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2877 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2878 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2879 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2880 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2881 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2882 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2883 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2884 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2886 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2887 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2888 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2889 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2890 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2891 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2892 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2893 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2894 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2895 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2896 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2897 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2898 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2899 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2900 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2901 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2902 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2903 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2904 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2905 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2906 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2907 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2908 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2909 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2910 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2911 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2912 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2913 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2914 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2915 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2916 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2917 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2918 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2919 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2920 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2921 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2922 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2923 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2924 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2925 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2926 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2927 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2928 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2929 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2930 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2931 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2932 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2933 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2934 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2935 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2936 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2937 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2938 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2939 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2940 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2941 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2942 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2943 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2944 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2945 checks.adb, checks.ads, cio.c, comperr.adb,
2946 comperr.ads, csets.adb, cstand.adb, cstreams.c,
2947 debug_a.adb, debug_a.ads, debug.adb, decl.c,
2948 einfo.adb, einfo.ads, errout.adb, errout.ads,
2949 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2950 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2951 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2952 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2953 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2954 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2955 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2956 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2957 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2958 fe.h, fmap.adb, fmap.ads, fname.adb,
2959 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2960 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2961 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2962 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2963 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2964 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2965 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2966 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2967 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2968 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2969 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2970 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2971 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2972 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2973 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2974 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2975 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2976 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2977 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2978 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2979 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2980 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2981 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2982 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2983 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2984 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2985 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2986 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2987 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2988 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2989 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2990 layout.adb, lib.adb, lib.ads, lib-list.adb,
2991 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2992 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2993 link.c, live.adb, make.adb, make.ads,
2994 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2995 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2996 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2997 misc.c, mkdir.c, mlib.adb, mlib.ads,
2998 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2999 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
3000 namet.adb, namet.ads, namet.h, nlists.ads,
3001 nlists.h, nmake.adt, opt.adb, opt.ads,
3002 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
3003 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
3004 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
3005 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
3006 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
3007 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
3008 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
3009 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
3010 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
3011 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
3012 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
3013 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
3014 prj-util.adb, prj-util.ads, raise.c, raise.h,
3015 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
3016 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
3017 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
3018 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
3019 scans.ads, scn.adb, scn.ads, s-crc32.adb,
3020 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
3021 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
3022 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
3023 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
3024 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
3025 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
3026 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
3027 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
3028 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
3029 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
3030 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
3031 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
3032 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
3033 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
3034 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
3035 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
3036 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
3037 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
3038 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
3039 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
3040 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
3041 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
3042 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
3043 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
3044 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
3045 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
3046 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
3047 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
3048 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
3049 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
3050 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
3051 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
3052 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
3053 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
3054 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
3055 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
3056 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
3057 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
3058 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
3059 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
3060 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
3061 stringt.adb, stringt.ads, stringt.h, style.ads,
3062 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
3063 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
3064 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
3065 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
3066 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
3067 table.adb, table.ads, targparm.adb, targparm.ads,
3068 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
3069 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
3070 ttypes.ads, types.ads, types.h, uintp.adb,
3071 uintp.ads, uintp.h, uname.adb, urealp.adb,
3072 urealp.ads, urealp.h, usage.adb, utils2.c,
3073 utils.c, validsw.adb, validsw.ads, widechar.adb,
3074 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
3075 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
3076 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
3077 gnatvsn.ads: Merge with ACT tree.
3079 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
3081 2003-10-20 Mark Mitchell <mark@codesourcery.com>
3083 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
3084 (gnat_ug_vmx.info): Likewise.
3085 (gnat_ug_vxw.info): Likewise.
3086 (gnat_ug_wnt.info): Likewise.
3087 (gnat_rm.info): Likewise.
3088 (gnat-style.info): Likewise.
3090 * Make-lang.in (ada.install-info): Remove target.
3092 (install-info): Likewise.
3093 (gnat_ug_unx.info): Simplify rule.
3094 (gnat_ug_vmx.info): Likewise.
3095 (gnat_ug_vxw.info): Likewise.
3096 (gnat_ug_wnt.info): Likewise.
3097 (gnat_rm.info): Likewise.
3098 (gnat-style.info): Likewise.
3100 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
3102 * Make-lang.in: Replace uses of $(target_alias) with
3103 $(target_noncanonical).
3104 * ada/Makefile.in: Remove unused mention of $(target_alias).
3106 2003-10-06 Mark Mitchell <mark@codesourcery.com>
3108 * Make-lang.in (ada.info): Replace with ...
3110 (ada.dvi): Replace with ...
3113 2003-09-29 Zack Weinberg <zack@codesourcery.com>
3115 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
3116 initialize dconstp5 and dconstmp5.
3118 2003-09-28 Richard Henderson <rth@redhat.com>
3120 * trans.c (tree_transform): Update call to expand_asm_operands.
3122 2003-09-21 Richard Henderson <rth@redhat.com>
3124 * trans.c, utils.c: Revert.
3126 2003-09-21 Richard Henderson <rth@redhat.com>
3128 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
3131 2003-09-04 Michael Matz <matz@suse.de>
3133 * misc.c: Include "target.h".
3134 * Make-lang.in (misc.o): Add dependency on target.h.
3136 2003-09-03 DJ Delorie <dj@redhat.com>
3138 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
3141 2003-08-30 Zack Weinberg <zack@codesourcery.com>
3143 * Makefile.in: Update substitutions to match changes to
3144 configure. Use include directives instead of @-insertions
3145 to read in host and target fragments. Add a rule to
3146 regenerate ada/Makefile.
3148 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
3150 * lang-options.h: Remove.
3151 * lang.opt: Add help text.
3153 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
3155 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
3158 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
3160 * misc.c (gnat_handle_option): Don't handle filenames.
3162 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
3164 * Make-lang.in: Replace PWD with PWD_COMMAND.
3165 * Makefile.adalib: Likewise.
3166 * Makefile.in: Likewise.
3168 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
3170 * misc.c (gnat_argv): Revert last change.
3171 (gnat_handle_option, gnat_init_options): Copy arguments.
3173 2003-07-03 Neil Booth <neil@daikokuya.co.uk>
3175 * misc.c (gnat_argv): Make const.
3177 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
3179 * misc.c (save_argc, save_argv): Keep non-static!
3181 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
3183 * misc.c (save_argc, save_argv): Make static.
3184 (gnat_init_options): New prototype.
3185 (gnat_init_options): Update.
3187 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
3189 * gnat_ug.texi: Remove unlikely characters from @vars.
3190 * gnat_ug_vms.texi: Regenerate.
3192 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
3194 * misc.c (record_code_position): Adjust emit_note call.
3196 2003-06-26 Neil Booth <neil@daikokuya.co.uk>
3198 * misc.c (gnat_handle_option): Don't check for missing arguments.
3200 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
3202 * utils.c (end_subprog_body): Adjust expand_function_end call.
3204 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
3206 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
3209 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
3211 * lang.opt: Declare Ada.
3212 * misc.c (gnat_init_options): Update.
3214 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
3216 * utils.c (begin_subprog_body): Adjust init_function_start call.
3218 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
3220 * Make-lang.in: Update to use options.c and options.h.
3221 * misc.c: Include options.h not aoptions.h.
3222 (gnat_handle_option): Abort on unrecognized switch.
3223 (gnat_init_options): Request Ada switches.
3225 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
3227 * lang.opt: Add -Wall.
3228 * misc.c (gnat_handle_option): Handle it.
3230 2003-06-12 Neil Booth <neil@daikokuya.co.uk>
3232 * misc.c (gnat_handle_option): Fix warnings.
3234 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
3236 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
3238 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
3240 * Make-lang.in: Update to handle command-line options.
3241 * lang.opt: New file.
3242 * misc.c: Include aoptions.h.
3243 (cl_options_count, cl_options): Remove.
3244 (gnat_handle_option): New.
3245 (gnat_decode_option): Remove.
3246 (LANG_HOOKS_DECODE_OPTION): Remove.
3247 (LANG_HOOKS_HANDLE_OPTION): Override.
3249 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
3251 * init.c, misc.c, trans.c, utils.c: Remove dead code.
3253 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
3255 * Makefile.in: Replace "host_canonical" with "host" for autoconf
3258 2003-06-08 Neil Booth <neil@daikokuya.co.uk>
3260 * Make-lang.in: Update.
3261 * misc.c: Include opts.h. Define cl_options_count and cl_options.
3263 2003-06-07 Neil Booth <neil@daikokuya.co.uk>
3265 * misc.c (gnat_init_options): Update.
3267 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
3269 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
3270 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
3271 __attribute__ ((__unused__)).
3273 2003-06-05 Jan Hubicka <jh@suse.cz>
3275 * Make-lang.in: Add support for stageprofile and stagefeedback
3277 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
3279 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
3280 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
3282 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
3284 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
3285 Remove non-VMS directive.
3286 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
3288 (Examples of gnatls Usage): Remove VMS alternative.
3290 2003-06-04 Olivier Hainque <hainque@act-europe.fr>
3293 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
3294 and turn ZCX_By_Default back to False since the underlying support
3295 is not quite there yet.
3297 2003-06-01 Andreas Jaeger <aj@suse.de>
3299 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
3300 and ROUND_TYPE_SIZE_UNIT.
3302 2003-05-22 Geert Bosch <bosch@gnat.com>
3304 * gnat_rm.texi : Remove reference to Ada Core Technologies.
3306 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
3308 * trans.c (tree_transform): Use location_t and input_location
3310 (build_unit_elab): Likewise.
3311 * utils.c (create_label_decl): Likewise.
3313 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
3315 * trans.c (tree_transform, build_unit_elab,
3316 set_lineno): Rename lineno to input_line.
3317 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
3318 end_subprog_body): Likewise.
3319 * utils2.c (build_call_raise): Likewise.
3321 2003-05-01 Laurent Guerby <guerby@acm.org>
3324 * 5iosinte.ads: Increase pthread_cond_t size to match recent
3325 LinuxThread and NPTL version, merge from ACT.
3327 2003-04-28 Zack Weinberg <zack@codesourcery.com>
3329 * utils.c (convert): No need to clear TREE_CST_RTL.
3331 2003-04-23 Geert Bosch <bosch@gnat.com>
3333 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
3334 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
3335 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
3336 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
3337 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
3338 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
3339 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
3340 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
3341 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
3342 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
3343 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
3344 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
3345 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
3346 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
3347 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
3348 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
3349 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
3350 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
3351 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
3352 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
3353 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
3354 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
3355 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
3356 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
3357 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
3358 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
3359 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
3360 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
3361 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
3362 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
3363 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
3364 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
3365 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
3366 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
3367 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
3368 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
3369 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
3370 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
3371 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
3372 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
3373 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
3374 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
3375 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
3376 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
3377 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
3378 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
3379 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
3380 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
3381 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
3382 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
3383 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
3384 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
3385 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
3386 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
3387 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
3388 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
3389 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
3390 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
3391 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
3392 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
3393 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
3394 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
3395 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
3396 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
3397 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
3398 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
3399 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
3400 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
3401 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
3402 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
3403 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
3404 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
3405 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
3406 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
3407 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
3408 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
3409 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
3410 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
3411 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
3412 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
3413 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
3414 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
3415 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
3416 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
3417 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
3418 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
3419 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
3420 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
3421 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
3422 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
3423 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
3424 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
3425 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
3426 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
3427 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
3428 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
3429 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
3430 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
3431 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
3432 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
3433 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
3434 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
3435 ali.adb, ali.ads, alloc.ads, argv.c,
3436 atree.adb, atree.ads, atree.h, aux-io.c,
3437 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
3438 binde.adb, binde.ads, binderr.adb, binderr.ads,
3439 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
3440 butil.adb, butil.ads, cal.c, calendar.ads,
3441 casing.adb, casing.ads, ceinfo.adb, checks.adb,
3442 checks.ads, cio.c, comperr.adb, comperr.ads,
3443 config-lang.in, csets.adb, csets.ads, csinfo.adb,
3444 cstand.adb, cstand.ads, cuintp.c, debug.adb,
3445 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
3446 dec-io.ads, dec.ads, deftarg.c, directio.ads,
3447 einfo.adb, einfo.ads, elists.adb, elists.ads,
3448 elists.h, errno.c, errout.adb, errout.ads,
3449 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
3450 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
3451 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
3452 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
3453 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
3454 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
3455 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
3456 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
3457 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
3458 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
3459 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
3460 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
3461 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
3462 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
3463 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
3464 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
3465 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
3466 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
3467 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
3468 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
3469 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
3470 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
3471 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
3472 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
3473 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
3474 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
3475 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
3476 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
3477 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
3478 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
3479 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
3480 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
3481 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
3482 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
3483 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
3484 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
3485 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
3486 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
3487 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
3488 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
3489 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
3490 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
3491 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
3492 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
3493 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
3494 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
3495 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
3496 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
3497 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
3498 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
3499 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
3500 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
3501 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
3502 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
3503 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
3504 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
3505 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
3506 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
3507 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
3508 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
3509 lib.adb, lib.ads, live.adb, live.ads,
3510 machcode.ads, make.adb, make.ads, makeusg.adb,
3511 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
3512 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
3513 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
3514 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
3515 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
3516 mlib.ads, namet.adb, namet.ads, nlists.adb,
3517 nlists.ads, opt.adb, opt.ads, osint-b.adb,
3518 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
3519 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
3520 osint.ads, output.adb, output.ads, par-ch10.adb,
3521 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
3522 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
3523 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
3524 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
3525 par-tchk.adb, par-util.adb, par.adb, par.ads,
3526 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
3527 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
3528 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
3529 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
3530 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
3531 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
3532 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
3533 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
3534 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
3535 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
3536 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
3537 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
3538 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
3539 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
3540 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
3541 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
3542 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
3543 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
3544 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
3545 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
3546 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
3547 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
3548 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
3549 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
3550 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
3551 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
3552 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
3553 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
3554 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
3555 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
3556 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
3557 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
3558 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
3559 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
3560 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
3561 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
3562 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
3563 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
3564 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
3565 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
3566 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
3567 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
3568 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
3569 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
3570 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
3571 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
3572 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
3573 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
3574 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
3575 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
3576 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
3577 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
3578 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
3579 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
3580 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
3581 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
3582 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
3583 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
3584 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
3585 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
3586 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
3587 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
3588 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
3589 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
3590 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
3591 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
3592 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
3593 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
3594 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
3595 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
3596 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
3597 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
3598 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
3599 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
3600 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
3601 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
3602 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
3603 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
3604 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
3605 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
3606 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
3607 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
3608 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
3609 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3610 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
3611 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
3612 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
3613 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
3614 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
3615 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
3616 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
3617 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
3618 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
3619 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
3620 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
3621 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
3622 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
3623 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
3624 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
3625 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
3626 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
3627 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
3628 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
3629 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
3630 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
3631 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
3632 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
3633 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
3634 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
3635 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
3636 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
3637 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
3638 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
3639 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
3640 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
3641 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
3642 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
3643 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
3644 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
3645 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
3646 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
3647 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
3648 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
3649 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
3650 snames.ads, sprint.adb, sprint.ads, stand.adb,
3651 stand.ads, stringt.adb, stringt.ads, style.adb,
3652 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
3653 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
3654 switch-m.ads, switch.adb, switch.ads, system.ads,
3655 table.adb, table.ads, targparm.adb, targparm.ads,
3656 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
3657 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
3658 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
3659 ttypef.ads, ttypes.ads, types.adb, types.ads,
3660 uintp.adb, uintp.ads, uname.adb, uname.ads,
3661 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
3662 usage.adb, usage.ads, validsw.adb, validsw.ads,
3663 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
3664 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
3665 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
3666 formatting and other trivial changes from ACT.
3668 2003-04-12 Zack Weinberg <zack@codesourcery.com>
3670 * gigi.h, utils2.c (build_constructor):
3671 Rename gnat_build_constructor. Use build_constructor.
3672 * decl.c (gnat_to_gnu_entity)
3673 * trans.c (tree_transform, pos_to_constructor, extract_values)
3674 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
3676 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
3677 (fill_vms_descriptor):
3680 2003-04-06 Zack Weinberg <zack@codesourcery.com>
3682 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
3683 * misc.c (gnat_tree_size): New function.
3684 (LANG_HOOKS_TREE_SIZE): Override.
3686 2003-04-03 Jason Merrill <jason@redhat.com>
3688 * misc.c (gnat_adjust_rli): #if 0.
3690 2003-03-31 Geert Bosch <bosch@gnat.com>
3693 * link.c : Fix misspelled "const" keyword
3695 2003-03-23 Mark Mitchell <mark@codesourcery.com>
3698 * utils2.c: Adjust calls to put_var_into_stack.
3700 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
3702 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
3704 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
3706 * misc.c (gnat_init): Update for new prototype.
3708 2003-03-05 Olivier Hainque <hainque@gnat.com>
3711 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
3712 warning, and fix return type for the IN_RTS && !SJLJ case.
3714 2003-03-04 Tom Tromey <tromey@redhat.com>
3716 * Make-lang.in (ada.tags): New target.
3718 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
3721 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
3722 wrapper, which name remains constant whatever underlying GCC
3725 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
3726 the stable interface needed for a-except.
3728 2003-03-02 Andreas Jaeger <aj@suse.de>
3730 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3731 gnat_ug_wnt.texi: Regenerate.
3733 2003-03-02 Laurent Guerby <guerby@acm.org>
3735 * Makefile.in (install-gnatlib): Match previous change there
3738 2003-02-28 Andreas Schwab <schwab@suse.de>
3740 * Make-lang.in (install-gnatlib): Change to ada directory before
3741 running make instead of using ada/Makefile directly.
3743 2003-02-18 Ben Elliston <bje@redhat.com>
3745 Part of fix for PR ada/9406
3746 * gnat_ug.texi (Binder output file): Grammar fix.
3748 2003-02-18 Ben Elliston <bje@redhat.com>
3751 * 5qtaprop.adb (Sleep): Fix typo in comment.
3753 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3755 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
3756 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3757 gnat_ug_wnt.texi: Regenerate.
3759 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3761 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
3762 be created if necessary.
3763 (ada.install-common): Let $(DESTDIR)$(bindir) be created
3764 if necessary. Remove erroneous and redundant gnatchop
3765 installation commands. Test for gnatdll before attempting
3767 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
3768 and gnatdll from all plausible locations.
3770 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
3772 * utils2.c (build_unary_op): Don't check flag_volatile.
3773 * gnat_ug.texi: Remove -fvolatile from example.
3774 * gnat_ug_vxw.texi: Likewise.
3776 2003-01-29 Laurent Guerby <guerby@acm.org>
3779 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
3780 * Makefile.in: match previous change.
3781 * Make-lang.in: match previous change.
3783 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3785 * 5rosinte.ads: Add SIGXCPU.
3786 * 5rtpopsp.adb: New file.
3787 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
3788 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
3789 specific file 5rtpopsp.adb.
3790 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
3791 is likely needed for all newlib targets.
3792 * init.c: Add RTEMS specific version of __gnat_initialize().
3794 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3796 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
3798 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3800 * init.c (__gnat_error_handler): Make msg const.
3802 * gmem.c (convert_addresses): Move declaration ...
3803 * adaint.h: ... here.
3804 * adaint.c (convert_addresses): Adapt addrs type to match
3807 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
3809 2003-01-24 Andreas Schwab <schwab@suse.de>
3811 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
3812 size_t to avoid warning.
3814 2003-01-21 Zack Weinberg <zack@codesourcery.com>
3816 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
3818 2003-01-09 Geoffrey Keating <geoffk@apple.com>
3820 * gnat_rm.texi: Remove RCS version number.
3822 * ada-tree.h (union lang_tree_node): Add chain_next option.
3824 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3826 * Make-lang.in (ada.install-info, ada.install-common,
3827 ada.uninstall): Prepend $(DESTDIR) to the destination
3828 directory in all (un)installation commands.
3829 * Makefile.in (install-gnatlib, install-rts): Ditto.
3831 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
3833 * gnat_rm.texi, gnat_ug.texi: Use @copying.
3834 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3835 gnat_ug_wnt.texi: Regenerate.
3837 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
3839 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
3841 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
3842 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
3843 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
3844 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
3845 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
3846 $(srcdir)/doc/include/gcc-common.texi.
3848 2002-12-15 Geert Bosch <bosch@gnat.com>
3850 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
3852 2002-12-14 Geert Bosch <bosch@gnat.com>
3854 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
3855 case of a body created for a Renaming_As_Body, on which
3856 conformance checks are not performed. Fixes PR ada/5690.
3858 2002-11-30 Zack Weinberg <zack@codesourcery.com>
3860 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
3861 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
3862 not already included.
3863 * Make-lang.in: Update dependencies.
3865 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
3866 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
3867 solution to buffer overflow bug on GNU/Linux.
3869 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
3870 Closes PR ada/5856 and PR ada/6919 !
3871 * bindgen.adb: Remove all references to Public_Version.
3872 * comperr.adb: Remove all references to Public_Version and
3873 GNATPRO_Version; correct bug reporting instructions.
3874 * comperr.ads: Change to match bug box.
3875 * gnatvsn.ads: Remove all references to Public version and
3878 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
3880 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
3884 * config-lang.in: Remove diff_excludes.
3886 2002-11-05 Graham Stott <graham.stott@btinternet.com>
3888 * trans.c (gnu_pending_elaboration_lists): New GC root.
3889 (build_unit_elab): Use..
3891 2002-10-30 Geert Bosch <bosch@gnat.com>
3893 * misc.c : Include optabs.h
3895 * Make-lang.in (misc.o): Add dependency on optabs.h
3897 2002-10-29 Geert Bosch <bosch@gnat.com>
3899 * Make-lang.in (gnatbind): Depend on CONFIG_H
3901 2002-10-29 Geert bosch <bosch@gnat.com>
3903 * misc.c: Unrevert misc.c (1.13)
3905 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
3907 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
3908 maintainership comments.
3910 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
3912 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
3913 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
3914 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
3915 7staprop.adb: Correct statements in comments about
3916 maintainership of GNAT.
3919 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
3920 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
3921 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
3922 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
3923 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
3924 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
3925 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
3926 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
3927 comments about maintainership of GNAT.
3929 PR ada/6919 (forward port of patch for PR ada/5904)
3930 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
3931 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
3932 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
3933 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
3934 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
3935 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
3936 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
3937 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
3938 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
3939 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
3940 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
3941 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
3942 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
3943 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
3944 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
3945 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
3946 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
3947 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
3948 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
3949 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
3950 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
3951 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
3952 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
3953 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
3954 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
3955 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
3956 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
3957 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
3958 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
3959 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
3960 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
3961 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
3962 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
3963 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
3964 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
3965 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
3966 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
3967 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
3968 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
3969 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
3970 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
3971 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
3972 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
3973 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
3974 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
3975 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
3976 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
3977 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
3978 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
3979 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
3980 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
3981 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
3982 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
3983 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
3984 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
3985 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
3986 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
3987 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
3988 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
3989 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
3990 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
3991 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
3992 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
3993 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
3994 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
3995 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
3996 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
3997 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
3998 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
3999 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
4000 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
4001 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
4002 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
4003 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
4004 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
4005 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
4006 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
4007 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
4008 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
4009 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
4010 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
4011 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
4012 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
4013 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
4014 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
4015 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
4016 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
4017 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
4018 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
4019 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
4020 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
4021 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
4022 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
4023 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
4024 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
4025 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
4026 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
4027 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
4028 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
4029 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
4030 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
4031 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
4032 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
4033 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
4034 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
4035 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
4036 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
4037 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
4038 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
4039 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
4040 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
4041 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
4042 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
4043 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
4044 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
4045 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
4046 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
4047 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
4048 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
4049 par-endh.adb par-labl.adb par-load.adb par-prag.adb
4050 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
4051 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
4052 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
4053 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
4054 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
4055 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
4056 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
4057 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
4058 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
4059 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
4060 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
4061 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
4062 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
4063 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
4064 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
4065 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
4066 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
4067 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
4068 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
4069 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
4070 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
4071 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
4072 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
4073 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
4074 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
4075 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
4076 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
4077 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
4078 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
4079 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
4080 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
4081 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
4082 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
4083 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
4084 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
4085 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
4086 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
4087 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
4088 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
4089 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
4090 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
4091 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
4092 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
4093 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
4094 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
4095 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
4096 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
4097 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
4098 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
4099 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
4100 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
4101 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
4102 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
4103 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
4104 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
4105 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
4106 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
4107 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
4108 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
4109 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
4110 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
4111 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
4112 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
4113 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
4114 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
4115 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
4116 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
4117 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
4118 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
4119 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
4120 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
4121 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
4122 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
4123 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
4124 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
4125 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
4126 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
4127 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
4128 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
4129 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
4130 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
4131 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
4132 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
4133 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
4134 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
4135 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
4136 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
4137 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
4138 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
4139 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
4140 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
4141 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
4142 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
4143 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
4144 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
4145 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
4146 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
4147 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
4148 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
4149 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
4150 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
4151 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
4152 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
4153 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
4154 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
4155 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
4156 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
4157 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
4158 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
4159 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
4160 stringt.ads stringt.h style.adb style.ads stylesw.adb
4161 stylesw.ads switch.adb switch.ads sysdep.c system.ads
4162 table.adb table.ads targparm.adb targparm.ads targtyps.c
4163 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
4164 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
4165 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
4166 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
4167 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
4168 usage.ads utils.c utils2.c validsw.adb validsw.ads
4169 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
4170 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
4171 xtreeprs.adb: Correct statements in comments about maintainership
4174 2002-09-23 Zack Weinberg <zack@codesourcery.com>
4176 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
4177 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
4178 * gnatvsn.ads: Gnat_Version_String is now a function.
4179 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
4180 copy the C version_string into a String and return it.
4181 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
4182 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
4183 Remove pragma Ident (Gnat_Version_String). If this was the
4184 sole use of package Gnatvsn, remove the with statement too.
4185 * gnat1drv.adb: Tweak -gnatv output.
4187 2002-09-17 Richard Henderson <rth@redhat.com>
4189 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
4190 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
4191 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
4192 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
4193 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
4194 and real_2expN instead of a loop.
4195 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
4196 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
4198 2002-08-25 Andre Leis <a.leis@gmx.net>
4199 David Billinghurst (David.Billinghurst@riotinto.com>
4201 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
4203 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4205 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
4206 Remove $(CONFIG_H) dependency.
4208 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
4210 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
4212 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4214 * adadecode.c (ada_demangle): Use xstrdup in lieu of
4216 * misc.c (gnat_decode_option): Likewise.
4218 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
4220 * make.adb (Add_Switch): Make Generic_Position a procedure. The
4221 function approach did not work well because of a side effect (the
4222 function call could reallocate the table which was being indexed
4223 using its result). Fixes ada/4851. [RESURRECTED]
4225 2002-07-01 Roger Sayle <roger@eyesopen.com>
4227 * ada/utils.c (builtin_function): Accept an additional parameter.
4229 2002-06-28 Andreas Jaeger <aj@suse.de>
4232 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
4235 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4237 * Makefile.in (SHELL): Set to @SHELL@.
4239 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4241 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
4242 array size calculation.
4244 2002-06-04 Andreas Jaeger <aj@suse.de>
4246 * Make-lang.in (gnatbind): Readd rule that has been lost in last
4249 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
4251 Merge from pch-branch:
4253 * config-lang.in (gtfiles): Add ada-tree.h.
4254 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
4255 (SET_TYPE_MODULUS): New.
4256 (SET_TYPE_INDEX): New.
4257 (SET_TYPE_DIGITS_VALUE): New.
4258 (SET_TYPE_RM_SIZE): New.
4259 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
4260 (SET_TYPE_ADA_SIZE): New.
4261 (SET_TYPE_ACTUAL_BOUNDS): New.
4262 (SET_DECL_CONST_CORRESPONDING_VAR): New.
4263 (SET_DECL_ORIGINAL_FIELD): New.
4264 (TREE_LOOP_ID): Correct typo.
4265 * decl.c: Use new macros.
4266 * utils.c: Include debug.h, use new macros.
4267 * utils2.c: Use new macros.
4269 * ada-tree.h: Update all macros for new tree description.
4270 (struct tree_loop_id): New.
4271 (union lang_tree_node): New.
4272 (struct lang_decl): New.
4273 (struct lang_type): New.
4274 * misc.c (gnat_mark_tree): Delete.
4275 (LANG_HOOKS_MARK_TREE): Delete.
4276 * trans.c (tree_transform): No longer any need to cast
4279 * utils.c (struct language_function): New dummy structure.
4281 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
4283 (utils.o): Likewise; also gtype-ada.h.
4284 * Make-lang.in (gnat1): Add dependency on s-gtype.
4285 (gnatbind): Add dependency on $(CONFIG_H).
4286 * utils.c: Correct last #include.
4287 (stuct e_stack): Remove unnecessary 'static'.
4288 (mark_e_stack): Remove unused prototype.
4290 * scn-nlit.adb: Remove whitespace after version number to
4291 keep lines under 80 chars.
4292 * snames.adb: Likewise.
4293 * treepr.ads: Likewise.
4295 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
4297 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
4298 * config-lang.in (gtfiles): New.
4299 * decl.c: Use gengtype for roots.
4300 * gigi.h: Use gengtype for roots.
4301 * trans.c: Use gengtype for roots.
4302 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
4304 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
4306 * misc.c (gnat_init): Adjust setting of internal_error_function.
4308 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
4310 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
4311 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
4312 gnat_ug_wnt.texi: Regenerate.
4314 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
4316 * 5ntaprop.adb (with System.OS_Primitives): Remove.
4318 * cstreams.c (max_path_len): Move from here ...
4319 * adaint.c (__gnat_max_path_len): ... to here.
4320 * adaint.c (__gnat_max_path_len): Declare.
4321 * g-dirope.adb (Max_Path): Adjust.
4322 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
4323 * i-cstrea.ads (max_path_len): Adjust.
4324 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
4325 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
4327 * Makefile.in, Make-lang.in: Documentation is now built in
4328 Make-lang.in. Store Info and generated Texinfo files in the
4330 * gnat_ug.texi: Remove CVS keywords, correct version number.
4331 Set file name correctly.
4333 * gnat_ug_*.texi: Add.
4334 * .cvsignore: Ignore generated Texinfo files.
4336 2002-05-30 Zack Weinberg <zack@codesourcery.com>
4338 * ada.h: Add MI guard macro.
4339 (SUBTYPE): Define constants with an anonymous enum, not static
4341 (IN): Cast constants to appropriate type before use.
4343 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
4345 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
4348 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4350 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
4351 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
4352 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
4353 (ALL_ADA_CFLAGS): Likewise.
4354 (ADA_INCLUDES): Likewise.
4355 Adapt for new working dir.
4356 (GNATBIND): Use Makefile.in version.
4357 (.SUFFIXES): Copy from Makefile.in.
4359 (.adb.o, .ads.o): Copy from Makefile.in.
4360 Added $(OUTPUT_OPTION).
4361 (GNAT1_C_OBJS): Moved from Makefile.in.
4362 Prefix with ada subdir.
4363 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
4364 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
4365 Adapt for new working dir.
4366 (EXTRA_GNATBIND_OBJS): Likewise.
4367 (ADA_BACKEND): Moved from Makefile.in.
4368 Renamed to avoid conflict with global BACKEND.
4370 (TARGET_ADA_SRCS): Moved from Makefile.in.
4371 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
4373 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
4374 (ada_extra_files): Moved from Makefile.in.
4375 Prefix with ada subdir.
4376 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
4377 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
4378 (ada/nmake.ads): Likewise.
4379 (update-sources): Moved from Makefile.in.
4380 Prefix with ada subdir.
4381 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
4382 (ADA_TREE_H): Likewise.
4383 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
4384 (ada/memtrack.o): Likewise.
4385 (ada/adadecode.o): Likewise.
4386 Update dependencies.
4387 (ada/adaint.o): New.
4388 (ada/argv.o): Moved from Makefile.in.
4389 Prefix with ada subdir.
4390 Update dependencies.
4391 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
4392 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
4393 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
4394 Prefix with ada subdir.
4395 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
4396 (GNAT DEPENDENCIES): Regenerate.
4397 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
4398 toplevel Makefile.in.
4399 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
4400 (TARGET_ADA_SRCS): Removed.
4401 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
4402 (GNATBIND_OBJS): Likewise.
4403 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
4405 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
4407 (ada_extra_files): Likewise.
4408 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
4409 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
4410 (update-sources): Likewise.
4411 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
4412 (ADA_TREE_H): Likewise.
4413 (adadecoce.o): Likewise.
4414 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
4415 (GNAT DEPENDENCIES): Likewise.
4417 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4419 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
4420 * Makefile.in: Likewise.
4422 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4424 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
4425 Restore $(CONFIG_H) and prefix.o dependencies.
4426 (ada.stage[1-4]): Depend on stage?-start.
4428 * Makefile.in (b_gnatb.c): Depend on interfac.o.
4430 2002-05-02 Jim Wilson <wilson@redhat.com>
4432 * utils.c (finish_record_type): Change record_size to record_type.
4434 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4436 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
4437 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
4438 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
4440 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
4442 * misc.c (gnat_parse_file): Update.
4444 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
4446 * misc.c (gnat_init): Don't set lang_attribute_common.
4448 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
4450 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
4452 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
4454 * gnat_ug.texi: New file.
4456 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
4457 instead of gfdl.texi
4459 * xgnatug.adb, ug_words: New files.
4461 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
4462 gnat_rm and gnat-style manuals.
4464 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
4466 * gigi.h (incomplete_type_error): Remove.
4467 * utils.c (incomplete_type_error): Remove.
4469 2002-04-16 Mark Mitchell <mark@codesourcery.com>
4471 * trans.c (tree_transform): Add has_scope argument to
4472 expand_start_stmt_expr.
4474 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4476 * gigi.h (truthvalue_conversion): Rename.
4477 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4478 * trans.c (tree_transform): Update.
4479 * utils2.c (truthvalue_conversion): Rename, update.
4480 (build_binary_op, build_unary_op): Update.
4482 2002-04-04 Laurent Guerby <guerby@acm.org>
4484 * make.adb: Implement -margs, remove restriction about file name placement.
4485 * makeusg.adb: Documentation update.
4486 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
4487 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
4489 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4491 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
4492 (builtin_function): Similarly.
4494 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4496 * decl.c (gnat_to_gnu_entity): Update.
4497 * gigi.h (mark_addressable): Rename.
4498 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
4499 * trans.c (tree_transform): Update.
4500 * utils.c (create_var_decl): Update.
4501 * util2.c (build_binary_op, build_unary_op,
4502 fill_vms_descriptor): Update.
4503 (mark_addressable): Rename, update.
4505 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4507 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
4509 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
4510 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
4511 * trans.c (tree_transform, convert_with_check): Update.
4512 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
4515 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
4517 * gigi.h (finish_incomplete_decl): Rename.
4518 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
4519 * utils.c (gnat_init_decl_processing): Don't set hook.
4520 (finish_incomplete_decl): Rename.
4522 2002-03-29 Andreas Schwab <schwab@suse.de>
4524 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
4527 2001-03-28 Robert Dewar <dewar@gnat.com>
4530 (Remove_Checks): New procedure
4533 (Remove_Checks): New procedure
4536 Use new Duplicate_Subexpr functions
4537 (Duplicate_Subexpr_No_Checks): New procedure
4538 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4539 (Duplicate_Subexpr): Restore original form (checks duplicated)
4540 (Duplicate_Subexpr): Call Remove_Checks
4543 (Duplicate_Subexpr_No_Checks): New procedure
4544 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4545 Add 2002 to copyright notice
4547 * sem_util.adb: Use new Duplicate_Subexpr functions
4550 (Eval_Indexed_Component): This is the place to call
4551 Constant_Array_Ref and to replace the value. We simply merge
4552 the code of this function in here, since it is now no longer
4553 used elsewhere. This fixes the problem of the back end not
4554 realizing we were clever enough to see that this was
4556 (Expr_Val): Remove call to Constant_Array_Ref
4557 (Expr_Rep_Val): Remove call to Constant_Array_Ref
4559 (Constant_Array_Ref): Deal with string literals (patch
4560 suggested by Zack Weinberg on the gcc list)
4562 2001-03-28 Ed Schonberg <schonber@gnat.com>
4564 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
4565 Duplicate_Subexpr_Move_Checks.
4567 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
4568 Duplicate_Subexpr_Move_Checks.
4570 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
4571 value of array exists before retrieving it (it may a private
4572 protected component in a function).
4574 2002-03-28 Geert Bosch <bosch@gnat.com>
4576 * prj-pp.adb : New file.
4578 * prj-pp.ads : New file.
4580 2002-03-28 Andreas Jaeger <aj@suse.de>
4582 * Makefile.in (stamp-sdefault): Fix path for Makefile.
4584 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
4586 * misc.c (gnat_expand_expr): Move prototype.
4588 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4590 * misc.c (insert_default_attributes): Remove.
4592 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4594 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
4595 (gnat_init): Don't set hook.
4596 (gnat_expand_expr): Fix prototype.
4598 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4600 * misc.c (ggc_p): Remove.
4602 2002-03-27 Geert Bosch <bosch@gnat.com>
4604 * prj-makr.ads, prj-makr.adb : New files.
4606 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
4608 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
4609 (lang_mark_tree): Make static, rename.
4611 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
4613 * misc.c (maybe_build_cleanup): Remove.
4615 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
4617 * gigi.h (yyparse): Remove.
4619 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
4621 * gnat_rm.texi: Sync with ACT version.
4622 (From Ben Brosgol <brosgol@gnat.com>)
4624 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
4626 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
4627 (gnat_init): Remove old hook.
4629 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
4631 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
4632 (yyparse): Rename gnat_parse_file.
4634 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
4636 Delete all lines containing "$Revision:".
4637 * xeinfo.adb: Don't look for revision numbers.
4638 * xnmake.adb: Likewise.
4639 * xsinfo.adb: Likewise.
4640 * xsnames.adb: Likewise.
4641 * xtreeprs.adb: Likewise.
4643 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4645 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
4646 gnat_tree_code_name): Delete.
4647 (tree_code_type, tree_code_length, tree_code_name): Define.
4648 (gnat_init): Don't try to copy into the various tree_code
4651 2002-03-11 Richard Henderson <rth@redhat.com>
4653 * Makefile.in (.NOTPARALLEL): Add fake tag.
4655 2002-03-07 Geert Bosch <bosch@gnat.com>
4657 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
4658 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
4659 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
4660 switch-m.adb, switch-m.ads : New files.
4662 2002-03-07 Geert Bosch <bosch@gnat.com>
4664 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4665 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4666 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4667 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
4668 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
4669 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
4670 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
4671 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
4672 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
4673 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
4674 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
4675 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
4676 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
4677 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
4678 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
4679 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
4680 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
4681 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
4682 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
4683 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
4684 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
4685 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
4686 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
4687 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
4688 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
4689 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
4690 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
4691 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
4692 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
4693 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
4694 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
4695 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
4696 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
4697 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
4698 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4699 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
4700 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
4701 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
4702 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
4703 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
4704 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
4705 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
4706 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
4707 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
4708 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
4709 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
4710 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
4711 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
4712 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
4713 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
4714 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
4715 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
4716 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
4717 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
4718 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
4719 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
4720 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
4721 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
4722 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
4723 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
4724 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
4725 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
4726 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
4727 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
4728 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
4729 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
4730 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
4731 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
4732 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
4733 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
4734 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
4735 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
4736 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
4737 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
4738 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
4739 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
4740 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
4741 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
4742 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
4743 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
4744 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
4745 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
4746 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
4747 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
4748 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
4749 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
4750 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
4751 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
4752 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
4753 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
4754 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
4755 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
4756 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
4757 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
4758 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
4759 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
4760 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
4762 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
4763 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
4764 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
4765 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
4767 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
4768 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
4770 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
4771 to mdll-fil.ad[bs] and mdll-util.ad[bs]
4773 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
4774 from mdllfile.ad[bs] and mdlltool.ad[bs]
4776 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4778 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
4779 lieu of explicit sizeof/sizeof.
4781 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4783 * misc.c (copy_lang_decl): Remove.
4785 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4787 * misc.c: Delete traditional-mode-related code copied from the
4788 C front end but not used, or used only to permit the compiler
4791 2002-02-07 Richard Henderson <rth@redhat.com>
4793 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
4794 * adaint.h (__gnat_to_gm_time): Update prototype.
4796 2002-01-30 Richard Henderson <rth@redhat.com>
4798 * trans.c (tree_transform) [N_Loop_Statement]: Use
4799 expand_exit_loop_top_cond.
4801 2001-12-23 Richard Henderson <rth@redhat.com>
4803 * utils.c (end_subprog_body): Push GC context around
4804 rest_of_compilation for nested functions.
4806 2001-12-23 Richard Henderson <rth@redhat.com>
4808 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
4810 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
4812 * gnat-style.texi (Declarations and Types): Remove ancient style
4813 rule which was mandated by code generation issues.
4815 * gnat-style.texi (header): Add @dircategory, @direntry.
4816 (title page): Remove date.
4817 (general) Add @./@: where approriate, and two spaces after the
4818 full stop at the end of a sentence. Use @samp markup when
4819 referring concrete lexical entities (keywords, attribute names
4820 etc.), and @syntax for ARM grammar elements. Use @r for English
4821 text in comments. Use @emph for emphasis. Change "if-statements"
4822 etc. to "if statements" (without @samp). Break long lines. Make
4823 casing of section names consistent.
4824 (Identifiers): Use @samp markup for variable names.
4825 (Comments): Use @samp markup for comment characters. Line-end
4826 comments may follow any Ada code, not just statements. Fix
4827 misspelling of "Integer" as "integer".
4828 (Loop statements): Do not use variable name "I", use "J".
4829 (Subprogram Declarations): Document alignment.
4830 (Subprogram Bodies, Block statements): Document empty line before
4833 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
4835 * make.adb (Add_Switch): Make Generic_Position a procedure. The
4836 function approach did not work well because of a side effect (the
4837 function call could reallocate the table which was being indexed
4838 using its result). Fixes ada/4851.
4840 2001-12-19 Robert Dewar <dewar@gnat.com>
4842 * bindgen.adb: Minor reformatting
4844 * cstand.adb: Minor reformatting
4846 * fmap.adb: Minor reformatting
4847 Change name from Add for Add_To_File_Map (Add is much too generic)
4848 Change Path_Name_Of to Mapped_Path_Name
4849 Change File_Name_Of to Mapped_File_Name
4850 Fix copyright dates in header
4853 Change name from Add for Add_To_File_Map (Add is much too generic)
4854 Change Path_Name_Of to Mapped_Path_Name
4855 Change File_Name_Of to Mapped_File_Name
4856 Fix copyright dates in header
4858 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
4859 Add use clause for Fmap.
4861 * make.adb: Minor reformatting
4863 * osint.adb: Minor reformatting. Change of names in Fmap.
4864 Add use clause for Fmap.
4866 * prj-env.adb: Minor reformatting
4868 * prj-env.ads: Minor reformatting
4870 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
4871 error found (there were odd exceptions to this general rule in
4872 -gnatec/-gnatem processing)
4874 2001-12-19 Olivier Hainque <hainque@gnat.com>
4876 * raise.c (__gnat_eh_personality): Exception handling personality
4877 routine for Ada. Still in rough state, inspired from the C++ version
4878 and still containing a bunch of debugging artifacts.
4879 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
4880 inspired from the C++ library.
4882 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
4883 exception handling integration.
4885 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4887 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
4888 (HIE_SOURCES): Add s-secsta.ad{s,b}.
4889 (HIE_OBJS): Add s-fat*.o
4890 (RAVEN_SOURCES): Remove files that are no longer required. Add
4891 interrupt handling files.
4892 (RAVEN_MOD): Removed, no longer needed.
4894 2001-12-19 Robert Dewar <dewar@gnat.com>
4896 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
4897 Add 2001 to copyright date
4899 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
4900 need to force universal inlining for these cases.
4902 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4904 * s-taprob.adb: Minor clean ups so that this unit can be used in
4907 * exp_ch7.adb: Allow use of secondary stack in HI mode.
4908 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
4910 2001-12-19 Vincent Celier <celier@gnat.com>
4912 * prj-tree.ads (Project_Node_Record): Add comments for components
4913 Pkg_Id and Case_Insensitive.
4915 2001-12-19 Pascal Obry <obry@gnat.com>
4917 * g-socket.adb: Minor reformatting. Found while reading code.
4919 2001-12-19 Robert Dewar <dewar@gnat.com>
4921 * prj-tree.ads: Minor reformatting
4923 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
4925 * config-lang.in (diff_excludes): Remove.
4927 2001-12-17 Ed Schonberg <schonber@gnat.com>
4929 * sem_res.adb (Resolve_Selected_Component): do not generate a
4930 discriminant check if the selected component is a component of
4931 the argument of an initialization procedure.
4933 * trans.c (tree_transform, case of arithmetic operators): If result
4934 type is private, the gnu_type is the base type of the full view,
4935 given that the full view itself may be a subtype.
4937 2001-12-17 Robert Dewar <dewar@gnat.com>
4939 * sem_res.adb: Minor reformatting
4941 * trans.c (tree_transform, case N_Real_Literal): Add missing third
4942 parameter in call to Machine (unknown horrible effects from this
4945 * urealp.h: Add definition of Round_Even for call to Machine
4946 Add third parameter for Machine
4948 2001-12-17 Ed Schonberg <schonber@gnat.com>
4950 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
4951 predefined units in No_Run_Time mode.
4953 2001-12-17 Richard Kenner <kenner@gnat.com>
4955 * misc.c (insn-codes.h): Now include.
4957 2001-12-17 Olivier Hainque <hainque@gnat.com>
4959 * a-except.adb: Preparation work for future integration of the GCC 3
4960 exception handling mechanism
4961 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
4962 to factorize previous code sequences and make them externally callable,
4963 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
4964 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
4965 Use the new notification routines.
4967 2001-12-17 Emmanuel Briot <briot@gnat.com>
4969 * prj-tree.ads (First_Choice_Of): Document the when others case
4971 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4973 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
4974 HI-E mode, in order to support Ravenscar profile properly.
4976 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
4977 mode on 32 bits targets.
4979 2001-12-17 Vincent Celier <celier@gnat.com>
4981 * fmap.adb: Initial version.
4983 * fmap.ads: Initial version.
4985 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
4986 If search is successfully done, add to mapping.
4988 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
4991 (Gnatmake): Add new local variable Mapping_File_Name.
4992 Create mapping file when using project file(s).
4993 Delete mapping file before exiting.
4995 * opt.ads (Mapping_File_Name): New variable
4997 * osint.adb (Find_File): Use path name found in mapping, if any.
4999 * prj-env.adb (Create_Mapping_File): New procedure
5001 * prj-env.ads (Create_Mapping_File): New procedure.
5003 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
5006 * usage.adb: Add entry for new switch -gnatem.
5008 * Makefile.in: Add dependencies for fmap.o.
5010 2001-12-17 Ed Schonberg <schonber@gnat.com>
5012 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
5013 is a package instantiation rewritten as a package body.
5014 (Install_Withed_Unit): Undo previous change, now redundant.
5016 2001-12-17 Gary Dismukes <dismukes@gnat.com>
5019 (Compute_Length): Move conversion to Unsigned to callers.
5020 (Get_Max_Size): Convert Len expression to Unsigned after calls to
5021 Compute_Length and Determine_Range.
5022 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
5023 Compute_Length and Determine_Range.
5024 Above changes fix problem with length computation for supernull arrays
5025 where Max (Len, 0) wasn't getting applied due to the Unsigned
5026 conversion used by Compute_Length.
5028 2001-12-17 Arnaud Charlet <charlet@gnat.com>
5031 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
5032 System.Secondary_Stack.
5033 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
5035 Remove unused entity RE_Exception_Data.
5037 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
5039 * rident.ads (No_Secondary_Stack): New restriction.
5041 2001-12-17 Joel Brobecker <brobecke@gnat.com>
5043 * gnat_rm.texi: Fix minor typos. Found while reading the section
5044 regarding "Bit_Order Clauses" that was sent to a customer.
5045 Very interesting documentation!
5047 2001-12-17 Robert Dewar <dewar@gnat.com>
5049 * sem_case.adb (Choice_Image): Avoid creating improper character
5050 literal names by using the routine Set_Character_Literal_Name. This
5051 fixes bombs in certain error message cases.
5053 2001-12-17 Arnaud Charlet <charlet@gnat.com>
5055 * a-reatim.adb: Minor reformatting.
5057 2001-12-17 Ed Schonberg <schonber@gnat.com>
5059 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
5060 case where the formal is an extension of another formal in the current
5061 unit or in a parent generic unit.
5063 2001-12-17 Arnaud Charlet <charlet@gnat.com>
5065 * s-tposen.adb: Update comments. Minor reformatting.
5066 Minor code clean up.
5068 * s-tarest.adb: Update comments. Minor code reorganization.
5070 2001-12-17 Gary Dismukes <dismukes@gnat.com>
5072 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
5075 2001-12-17 Robert Dewar <dewar@gnat.com>
5077 * exp_attr.adb: Minor reformatting
5079 2001-12-17 Ed Schonberg <schonber@gnat.com>
5081 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
5082 derivations nested within a child unit: verify that the parent
5083 type is declared in an outer scope.
5085 2001-12-17 Robert Dewar <dewar@gnat.com>
5087 * sem_ch12.adb: Minor reformatting
5089 2001-12-17 Ed Schonberg <schonber@gnat.com>
5091 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
5092 warning if current unit is a predefined one, from which bodies may
5095 2001-12-17 Robert Dewar <dewar@gnat.com>
5097 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
5098 Fix header format. Add 2001 to copyright date.
5100 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
5101 which caused CE during compilation if checks were enabled.
5103 2001-12-17 Vincent Celier <celier@gnat.com>
5106 (Switches_Of): New function
5107 (Test_If_Relative_Path): New procedure
5108 (Add_Switches): Use new function Switches_Of
5109 (Collect_Arguments_And_Compile): Use new function Switches_Of.
5110 When using a project file, test if there are any relative
5111 search path. Fail if there are any.
5112 (Gnatmake): Only add switches for the primary directory when not using
5113 a project file. When using a project file, change directory to the
5114 object directory of the main project file. When using a project file,
5115 test if there are any relative search path. Fail if there are any.
5116 When using a project file, fail if specified executable is relative
5117 path with directory information, and prepend executable, if not
5118 specified as an absolute path, with the exec directory. Make sure
5119 that only one -o switch is transmitted to the linker.
5121 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
5124 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
5125 when using a non standard naming scheme.
5126 (Check_Ada_Naming_Scheme): Make sure that error messages
5127 do not raise exceptions.
5128 (Is_Illegal_Append): Return True if there is no dot in the suffix.
5129 (Language_Independent_Check): Check the exec directory.
5131 * prj.adb (Project_Empty): Add new component Exec_Directory
5134 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
5135 (Project_Data): Add component Exec_Directory
5137 * snames.adb: Updated to match snames.ads revision 1.215
5139 * snames.ads: Added Exec_Dir
5141 2001-12-17 Robert Dewar <dewar@gnat.com>
5143 * make.adb: Minor reformatting
5145 * prj-nmsc.adb: Minor reformatting
5147 * snames.adb: Updated to match snames.ads
5149 * snames.ads: Alphebetize entries for project file
5151 2001-12-17 Ed Schonberg <schonber@gnat.com>
5153 * trans.c (process_freeze_entity): Do nothing if the entity is a
5154 subprogram that was already elaborated.
5156 2001-12-17 Richard Kenner <kenner@gnat.com>
5158 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
5159 and Esize if object is referenced via pointer.
5161 2001-12-17 Ed Schonberg <schonber@gnat.com>
5163 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
5164 is discrete before analyzing choices.
5166 2001-12-17 Joel Brobecker <brobecke@gnat.com>
5168 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
5169 containing the name of the Ada Main Program. This string is mainly
5170 intended for the debugger.
5171 (Gen_Output_File_C): Do the equivalent change when generating a C file.
5173 2001-12-17 Robert Dewar <dewar@gnat.com>
5175 * ali.adb: Set new Dummy_Entry field in dependency entry
5177 * ali.ads: Add Dummy_Entry field to source dependency table
5179 * bcheck.adb (Check_Consistency): Ignore dummy D lines
5181 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
5183 * lib-writ.ads: Document dummy D lines for missing files.
5185 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
5187 2001-12-17 Robert Dewar <dewar@gnat.com>
5189 * ali.adb: Type reference does not reset current file.
5191 * ali.adb: Recognize and scan renaming reference
5193 * ali.ads: Add spec for storing renaming references.
5195 * lib-xref.ads: Add documentation for handling of renaming references
5197 * lib-xref.adb: Implement output of renaming reference.
5200 (Determine_Range): Document local variables
5201 (Determine_Range): Make sure Hbound is initialized. It looks as though
5202 there could be a real problem here with an uninitialized reference
5203 to Hbound, but no actual example of failure has been found.
5205 2001-12-17 Laurent Pautet <pautet@gnat.com>
5208 Fix comment of Shutdown_Socket and Close_Socket. These functions
5209 should not fail silently because if they are called twice, this
5210 probably means that there is a race condition in the user program.
5211 Anyway, this behaviour is consistent with the rest of this unit.
5212 When an error occurs, an exception is raised with the error message
5213 as exception message.
5215 2001-12-17 Robert Dewar <dewar@gnat.com>
5217 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
5218 that it happens before modification of Sloc values for -gnatD.
5220 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
5221 so that it happens before modification of Sloc values for -gnatD.
5223 * switch.adb: Minor reformatting
5225 2001-12-15 Richard Henderson <rth@redhat.com>
5227 * sem_ch7.adb: Wrap comment.
5229 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
5231 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
5232 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
5233 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
5234 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
5235 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
5236 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
5237 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
5238 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
5239 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
5240 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
5241 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
5242 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
5243 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
5244 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
5245 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
5246 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
5247 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
5248 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
5249 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
5250 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
5251 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
5252 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
5253 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
5254 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
5257 2001-12-14 Vincent Celier <celier@gnat.com>
5259 * osint.adb(Create_Debug_File): When an object file is specified,
5260 put the .dg file in the same directory as the object file.
5262 2001-12-14 Robert Dewar <dewar@gnat.com>
5264 * osint.adb: Minor reformatting
5266 * lib-xref.adb (Output_Instantiation): New procedure to generate
5267 instantiation references.
5269 * lib-xref.ads: Add documentation of handling of generic references.
5271 * ali.adb (Read_Instantiation_Ref): New procedure to read
5272 instantiation references
5274 * ali.ads: Add spec for storing instantiation references
5276 * bindusg.adb: Minor reformatting
5278 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
5280 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
5282 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
5284 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
5288 Add 2001 to copyright date
5289 Add entry for Latin-5 (Cyrillic ISO-8859-5)
5291 2001-12-14 Matt Gingell <gingell@gnat.com>
5293 * adaint.c: mktemp is a macro on Lynx and can not be used as an
5296 2001-12-14 Richard Kenner <kenner@gnat.com>
5298 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
5299 if operand is CONSTRUCTOR.
5301 2001-12-14 Ed Schonberg <schonber@gnat.com>
5303 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
5304 before emiting check on right-hand side, so that exception information
5307 2001-12-14 Richard Kenner <kenner@gnat.com>
5309 * utils.c (create_var_decl): Throw away initializing expression
5310 if just annotating types and non-constant.
5312 2001-12-14 Vincent Celier <celier@gnat.com>
5314 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
5317 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
5319 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
5321 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
5323 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
5325 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
5327 * ChangeLog: Remove piece of diff output.
5329 2001-12-14 Geert Bosch <bosch@gnat.com>
5331 * config-lang.in: Update copyright notice
5333 * layout.adb: Remove commented out code.
5335 * mdllfile.ads: Update copyright notice. Fix header format.
5337 * sem_case.ads: Likewise.
5339 * sem_ch3.adb: Minor reformatting.
5341 2001-12-12 Geert Bosch <bosch@gnat.com>
5343 * freeze.ads: Update copyright date.
5345 * g-comlin.ads: Minor reformatting.
5347 * gnat-style.texi: Fix typo.
5349 2001-12-12 Geert Bosch <bosch@gnat.com>
5351 * einfo.h: Regenerate.
5353 2001-12-12 Ed Schonberg <schonber@gnat.com>
5355 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
5356 on known node types, rather than untyped fields. Further cleanups.
5358 2001-12-12 Robert Dewar <dewar@gnat.com>
5361 (Save_Entity_Descendant): Minor comment update.
5362 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
5363 of an N_Attribute_Reference node. As per note below, this does not
5364 eliminate need for Associated_Node in attribute ref nodes.
5365 (Associated_Node): Documentation explicitly mentions attribute
5366 reference nodes, since this field is used in such nodes.
5368 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
5370 2001-12-12 Robert Dewar <dewar@gnat.com>
5372 * s-stalib.adb: Add more comments on with statements being needed
5374 * par-ch12.adb: Minor reformatting
5376 * prj-dect.ads: Fix copyright header
5378 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
5379 inputs fit in 32 bits, but the result still overflows.
5381 * s-fatgen.ads: Minor comment improvement
5383 2001-12-12 Ed Schonberg <schonber@gnat.com>
5385 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
5386 formal derived type, look for an inherited component from the full
5387 view of the parent, if any.
5389 2001-12-12 Robert Dewar <dewar@gnat.com>
5391 * checks.ads (Apply_Alignment_Check): New procedure.
5393 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
5394 ensure that the alignment of objects with address clauses is
5395 appropriate, and raise PE if not.
5397 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
5398 Exp_Pakd.Known_Aligned_Enough
5400 * mdllfile.ads: Minor reformatting
5402 * mlib-fil.ads: Minor reformatting
5404 2001-12-12 Ed Schonberg <schonber@gnat.com>
5406 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
5407 fix to any component reference if enclosing record has non-standard
5410 2001-12-12 Vincent Celier <celier@gnat.com>
5412 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
5415 2001-12-12 Ed Schonberg <schonber@gnat.com>
5417 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
5420 2001-12-12 Robert Dewar <dewar@gnat.com>
5422 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
5424 2001-12-12 Emmanuel Briot <briot@gnat.com>
5426 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
5427 and it adds dependencies to system.io.
5429 2001-12-12 Pascal Obry <obry@gnat.com>
5431 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
5434 2001-12-11 Ed Schonberg <schonber@gnat.com>
5436 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
5437 that is the parent of other generics, the instance body replaces the
5438 instance node. Retrieve the instance of the spec, which is the one
5439 that is visible in clients and within the body.
5441 2001-12-11 Vincent Celier <celier@gnat.com>
5443 * gnatmain.adb: Initial version.
5445 * gnatmain.ads: Initial version.
5447 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
5449 * snames.adb: Updated to match snames.ads.
5451 * snames.ads: Added Gnatstub.
5453 2001-12-11 Vincent Celier <celier@gnat.com>
5455 * prj-attr.adb (Initialization_Data): Change name from
5456 Initialisation_Data.
5458 2001-12-11 Emmanuel Briot <briot@gnat.com>
5460 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
5461 + and * applied to backslashed expressions like \r.
5463 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
5465 * g-os_lib.ads: String_List type added, Argument_List type is now
5466 subtype of String_List.
5468 2001-12-11 Robert Dewar <dewar@gnat.com>
5470 * g-os_lib.ads: Change copyright to FSF
5471 Add comments for String_List type
5473 2001-12-11 Vincent Celier <celier@gnat.com>
5475 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
5476 string to the buffer).
5478 2001-12-11 Ed Schonberg <schonber@gnat.com>
5480 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
5483 * sem_attr.adb: Simplify previous fix for Address.
5484 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
5485 to avoid anomalies where the bound of the type appears to raise
5488 2001-12-11 Robert Dewar <dewar@gnat.com>
5490 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
5493 2001-12-11 Ed Schonberg <schonber@gnat.com>
5495 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
5496 renamed unit before checking for recursive instantiations.
5498 2001-12-11 Emmanuel Briot <briot@gnat.com>
5500 * prj.ads: Add comments for some of the fields.
5502 2001-12-11 Robert Dewar <dewar@gnat.com>
5504 * lib-xref.adb (Output_Refs): Don't output type references outside
5505 the main unit if they are not otherwise referenced.
5507 2001-12-11 Ed Schonberg <schonber@gnat.com>
5509 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
5510 code and diagnose additional illegal uses
5512 * sem_util.adb (Is_Object_Reference): An indexed component is an
5513 object only if the prefix is.
5515 2001-12-11 Vincent Celier <celier@gnat.com>
5517 * g-diopit.adb: Initial version.
5519 * g-diopit.ads: Initial version.
5522 (Expand_Path): Avoid use of Unbounded_String
5523 (Find, Wildcard_Iterator): Moved to child package Iteration
5525 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
5527 2001-12-11 Robert Dewar <dewar@gnat.com>
5529 * sem_attr.adb: Minor reformatting
5531 2001-12-11 Ed Schonberg <schonber@gnat.com>
5533 * sem_ch3.adb: Clarify some ???.
5535 2001-12-11 Robert Dewar <dewar@gnat.com>
5537 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
5538 Exp_Pakd.Known_Aligned_Enough
5540 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
5541 version is moved to Exp_Ch13.
5543 2001-12-11 Robert Dewar <dewar@gnat.com>
5545 * einfo.ads: Minor reformatting
5547 * exp_ch5.adb: Add comment for previous.change
5549 * ali.adb: New interface for extended typeref stuff.
5551 * ali.ads: New interface for typeref stuff.
5553 * checks.adb (Apply_Alignment_Check): New procedure.
5555 * debug.adb: Add -gnatdM for modified ALI output
5557 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
5559 * lib-xref.adb: Extend generation of <..> notation to cover
5560 subtype/object types. Note that this is a complete rewrite,
5561 getting rid of the very nasty quadratic algorithm previously
5562 used for derived type output.
5564 * lib-xref.ads: Extend description of <..> notation to cover
5565 subtype/object types. Uses {..} for these other cases.
5566 Also use (..) for pointer types.
5568 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
5570 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
5571 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
5573 2001-12-11 Vincent Celier <celier@gnat.com>
5576 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
5577 Changed /BIND_ONLY to /ACTIONS=BIND
5578 Changed /LINK_ONLY to /ACTIONS=LINK
5580 2001-12-11 Ed Schonberg <schonber@gnat.com>
5582 * sem_ch8.adb (Find_Selected_Component): improved search for a
5583 candidate package in case of error.
5585 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
5586 chain back on scope stack before reinstalling use clauses.
5588 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
5589 is enabled, do not kill the code for the condition, to preserve
5592 2001-12-11 Robert Dewar <dewar@gnat.com>
5594 * checks.adb (Insert_Valid_Check): Apply validity check to expression
5595 of conversion, not to result of conversion.
5597 2001-12-11 Ed Schonberg <schonber@gnat.com>
5599 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
5600 before freezing parent. If the declarations are mutually recursive,
5601 an access to the current record type may be frozen before the
5602 derivation is complete.
5604 2001-12-05 Vincent Celier <celier@gnat.com>
5606 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
5607 -c /COMPILE_ONLY, -l /LINK_ONLY
5610 (Bind_Only): New Flag
5611 (Link_Only): New flag
5613 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
5616 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
5619 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
5620 (Gnatmake): Set the step flags. Only perform a step if the
5621 corresponding step flag is True.
5622 (Scan_Make_Arg): Reset the bind and link step flags when -u
5623 or -gnatc has been specified.
5625 2001-12-05 Ed Schonberg <schonber@gnat.com>
5627 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
5628 get bounds from right operand.
5630 * sem_eval.adb: Minor reformatting
5632 * exp_util.adb (Make_Literal_Range): use bound of literal rather
5633 than Index'First, its lower bound may be different from 1.
5635 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
5638 2001-12-05 Vincent Celier <celier@gnat.com>
5640 * prj-nmsc.adb Minor reformatting
5642 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
5643 set and libraries are not supported.
5645 2001-12-05 Ed Schonberg <schonber@gnat.com>
5647 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
5648 private view explicitly, so the back-end can treat as a global
5651 2001-12-05 Ed Schonberg <schonber@gnat.com>
5653 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
5654 unit, always replace instance node with new body, for ASIS use.
5656 2001-12-05 Vincent Celier <celier@gnat.com>
5658 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
5659 libraries are not supported and both attributes Library_Name and
5660 Library_Dir are specified.
5662 * prj-proc.adb (Expression): Set location of Result to location of
5665 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
5666 (prj-nmsc is now importing MLib.Tgt)
5668 * prj-proc.adb: Put the change indicated above that was forgotten.
5670 2001-12-05 Robert Dewar <dewar@gnat.com>
5672 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
5674 2001-12-05 Ed Schonberg <schonber@gnat.com>
5676 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
5677 constraint, introduce explicit subtype declaration and derive from it.
5679 * sem_ch3.adb: Minor reformatting
5681 2001-12-05 Robert Dewar <dewar@gnat.com>
5683 * checks.adb (Determine_Range): Increase cache size for checks.
5686 * exp_ch6.adb: Minor reformatting
5687 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
5688 a parameter whose root type is System.Address, since treating such
5689 subprograms as pure in the code generator is almost surely a mistake
5690 that will lead to unexpected results.
5692 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
5693 change handling of conversions.
5695 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
5697 2001-12-05 Ed Schonberg <schonber@gnat.com>
5699 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
5700 aggregate with static wrong size, attach generated Raise node to
5703 2001-12-05 Robert Dewar <dewar@gnat.com>
5705 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
5706 Fixes compilation abandoned bomb in B24009B.
5708 2001-12-05 Ed Schonberg <schonber@gnat.com>
5711 Document use of Associated_Node on Selected_Components.
5712 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
5713 to clarify use of untyped descendant fields.
5715 2001-12-05 Robert Dewar <dewar@gnat.com>
5717 * prj-dect.ads: Add ??? comment
5718 Add 2001 to copyright notice (was not done in after all)
5720 * prj-part.adb: Minor reformatting. Reword one awkward error message.
5722 * prj.ads: Minor reformatting throughout, and add some ??? comments
5724 * snames.ads: Minor reformatting
5726 2001-12-05 Geert Bosch <bosch@gnat.com>
5728 * snames.adb: Autoupdate
5730 2001-12-05 Vincent Celier <celier@gnat.com>
5732 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
5734 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
5736 * prj-env.adb: Minor comment changes (modifying -> extends).
5738 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
5740 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
5743 * prj.adb (Initialize): Change Modifying to Extends.
5745 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
5747 * prj.ads: Minor comment change (Modifying -> extending).
5749 * snames.ads: Change modifying to extends.
5751 2001-12-05 Robert Dewar <dewar@gnat.com>
5753 * sem_warn.adb: Remove stuff for conditionals, we are not going to
5756 * sem_warn.ads: Remove stuff for conditionals, we are not going to
5757 do this after all. Add 2001 to copyright notice
5759 2001-12-04 Geert Bosch <bosch@gnat.com>
5761 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
5763 2001-12-04 Robert Dewar <dewar@gnat.com>
5765 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
5766 location if we already have errors. Stops some cases of cascaded
5769 * errout.adb: Improve comment.
5771 2001-12-04 Robert Dewar <dewar@gnat.com>
5774 (Analyze_Formal_Type_Definition): Defend against Error.
5775 (Analyze_Formal_Subprogram): Defend against Error.
5777 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
5778 remove following semicolon if present. Removes cascaded error.
5780 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5783 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
5784 exceptions equals 0.
5785 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
5786 Fixes PIWG E tests (which have to be run with -gnatL).
5788 2001-12-04 Robert Dewar <dewar@gnat.com>
5790 * einfo.ads: Minor reformatting
5792 2001-12-04 Ed Schonberg <schonber@gnat.com>
5794 * einfo.ads: Block_Node points to the identifier of the block, not to
5795 the block node itself, to preserve the link when the block is
5796 rewritten, e.g. within an if-statement with a static condition.
5798 * inline.adb (Cleanup_Scopes): recover block statement from block
5799 entity using new meaning of Block_Node.
5801 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
5802 identifier of block node, rather than to node itself.
5804 2001-12-04 Gary Dismukes <dismukes@gnat.com>
5807 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
5808 (Discrimify): Go back to setting the Etypes of the selected component
5809 because the Vname component does not exist at this point and will
5810 fail name resolution. Also set Analyzed.
5811 Remove with and use of Sem_Res.
5813 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5815 * Makefile.in: (HIE_SOURCES): add s-fat*.
5817 2001-12-04 Robert Dewar <dewar@gnat.com>
5820 (Compile_Time_Known_Attribute): New procedure.
5821 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
5824 2001-12-04 Ed Schonberg <schonber@gnat.com>
5826 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
5827 processing discriminants to diagnose illegal default values.
5829 2001-12-04 Ed Schonberg <schonber@gnat.com>
5831 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
5832 access discriminant within a type extension that constrains its
5833 parent discriminants.
5835 2001-12-04 Ed Schonberg <schonber@gnat.com>
5837 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
5838 is malformed, use instance of Any_Id to allow analysis to proceed.
5840 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
5841 type definition is illegal.
5842 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
5845 2001-12-04 Ed Schonberg <schonber@gnat.com>
5847 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
5850 2001-12-04 Robert Dewar <dewar@gnat.com>
5852 * errout.adb: Minor reformatting
5854 2001-12-04 Robert Dewar <dewar@gnat.com>
5856 * exp_util.adb: Minor reformatting from last change
5858 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
5859 which is a rewriting of an expression, traverse the original
5860 expression to remove warnings that may have been posted on it.
5862 2001-12-04 Ed Schonberg <schonber@gnat.com>
5864 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
5865 record that has other packed components.
5867 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5869 * adaint.c: Minor cleanups.
5871 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5873 * adaint.c: Do not use utime.h on vxworks.
5875 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5877 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
5878 more confusion than it solves.
5880 2001-12-04 Geert bosch <bosch@gnat.com>
5882 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
5884 2001-12-04 Geert Bosch <bosch@gnat.com>
5886 * Makefile.in (update-sources): New target.
5887 For use by gcc_release script.
5889 2001-12-04 Ed Schonberg <schonber@gnat.com>
5891 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
5892 a configuration pragma, it is now legal wherever a pragma can appear.
5894 2001-12-04 Zack Weinberg <zack@codesourcery.com>
5896 * Makefile.in: Don't set ALL. Delete @cross_defines@,
5897 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
5898 is now @CROSS@ -DIN_GCC; update comment.
5900 2001-12-04 Robert Dewar <dewar@gnat.com>
5902 * einfo.adb (Has_Pragma_Pure_Function): New flag.
5903 Fix problem that stopped ceinfo from working
5905 * einfo.ads (Has_Pragma_Pure_Function): New flag.
5907 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
5909 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5912 (File_Time_Stamp): New procedure.
5913 (Preserve_Mode): New boolean.
5914 (Write_Unit): Pass time stamp.
5915 Implement -p switch (preserve time stamps).
5917 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
5919 * gnatchop.adb: Do usage info for -p switch
5921 * adaint.h (__gnat_set_file_time_name): New function
5923 * adaint.c (__gnat_set_file_time_name): Implement
5925 * adaint.h: Fix typo
5927 2001-12-03 Robert Dewar <dewar@gnat.com>
5929 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
5930 have Associated_Node.
5932 2001-12-03 Robert Dewar <dewar@gnat.com>
5934 * prj-proc.adb: Minor reformatting
5936 * make.adb: Minor reformatting
5938 2001-12-03 Geert Bosch <bosch@gnat.com>
5940 * make.adb: Minor reformatting.
5942 2001-12-03 Robert Dewar <dewar@gnat.com>
5944 * sem_ch12.adb: Minor reformatting
5946 2001-12-03 Ed Schonberg <schonber@gnat.com>
5948 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
5949 push Standard on the stack before analyzing the instance body,
5950 in order to have a clean visibility environment.
5952 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
5954 2001-12-03 Ed Schonberg <schonber@gnat.com>
5956 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
5957 instantiation of a body that contains an inlined body.
5959 2001-12-03 Ed Schonberg <schonber@gnat.com>
5962 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
5963 to prevent freezing within formal packages.
5964 (Freeze_Subprogram_Body): If body comes from another instance that
5965 appeared before its own body, place freeze node at end of current
5966 declarative part, to prevent a back-end crash.
5967 (Inline_Instance_Body): Handle properly a package instance within
5968 a subprogram instance that is a child unit.
5970 2001-12-01 Graham Stott <grahams@redhat.com>
5972 * Makefile.in (misc.o): Add missing $(srcdir) prefix
5973 and add optabs.h dependency.
5975 * misc.c: Include optabs.h
5976 (gnat_tree_code_type): Make static and const.
5977 (gnat_tree_code_length): Likewise.
5978 (gnat_tree_code_name): Likewise.
5979 (update_setjmp_buf): Obtain operands mode from insn_data.
5981 2001-11-29 Richard Henderson <rth@redhat.com>
5983 * init.c: Remove obsolete dwarf2 frame.h section.
5985 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
5987 * Make-lang.in (ada.generated-manpages): New dummy target.
5989 2001-11-29 Ed Schonberg <schonber@gnat.com>
5991 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
5992 into Command, an array conversion is illegal here. Uncovered by
5995 2001/11/28 Geert Bosch <bosch@gnat.com>
5997 * init.c: Minor whitespace changes.
5999 2001-11-28 Doug Rupp <rupp@gnat.com>
6001 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
6004 2001-11-28 Zack Weinberg <zack@codesourcery.com>
6006 * misc.c (gnat_expand_constant): Move declaration above
6007 definition of lang_hooks.
6008 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
6009 (gnat_init): lang_expand_constant no longer exists.
6011 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
6012 always have vprintf.
6013 (gnat_init): Always call set_internal_error_function.
6015 2001-11-27 Andreas Jaeger <aj@suse.de>
6017 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
6019 2001-11-27 Laurent Guerby <guerby@acm.org>
6021 * Makefile.in: Regenerate Ada dependencies.
6023 2001-11-26 Richard Henderson <rth@redhat.com>
6025 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
6026 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
6027 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
6029 2001-11-25 Laurent Guerby <guerby@acm.org>
6031 * sysdep.c (rts_get_*): Fix style.
6033 2001-11-19 Laurent Guerby <guerby@acm.org>
6035 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
6036 since it is of no apparent use and cause warnings.
6038 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
6040 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
6042 (gnat_init): Don't return NULL.
6043 (finish_parse): Remove.
6045 2001-11-17 Laurent Guerby <guerby@acm.org>
6047 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
6048 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
6049 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
6050 * lang-spec.h: Add missing struct field to silence warnings.
6051 * sysdep.c (rts_get_*): Provide K&R prototype.
6052 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
6053 * traceback.c (Unlock_Task, Lock_Task): Likewise.
6054 * tracebak.c (__gnat_backtrace): Remove unused variable.
6055 * utils.c (end_subprog_body): Move to K&R style.
6057 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6059 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
6061 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
6063 * misc.c (gnat_init): Change prototype. Include the
6064 functionality of the old init_parse and init_decl_processing.
6065 (gnat_init_decl_processing): New prototype.
6066 (init_parse): Remove.
6067 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
6069 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
6071 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
6072 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
6073 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
6074 set_yydebug): Remove.
6076 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
6078 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
6079 (struct lang_hooks): Constify.
6080 (language_string, lang_identify): Remove.
6081 * utils.c (init_decl_processing): Update.
6083 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6085 * misc.c: Include langhooks-def.h.
6086 * Makefile.in: Update.
6088 2001-10-30 Robert Dewar <dewar@gnat.com>
6091 (Check_Identifier): Rewrite circuit to be compatible with use of letters
6092 in the upper half of ASCII.
6093 (Check_Identifier): Minor reformatting
6095 2001-10-30 Geert Bosch <bosch@gnat.com>
6097 * (Associated_Node, Set_Associated_Node): Do not check for
6100 2001-10-30 Robert Dewar <dewar@gnat.com>
6102 * a-reatim.ads: Minor reformatting
6104 2001-10-30 Robert Dewar <dewar@gnat.com>
6106 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
6107 undocumented declarations.
6109 2001-10-30 Pascal Obry <obry@gnat.com>
6111 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
6112 to the binder and linker.
6115 * mdll.ads: Fix layout. Update copyright notice.
6117 * mdll.adb: Fix layout. Update copyright notice.
6119 2001-10-30 Robert Dewar <dewar@gnat.com>
6121 * usage.adb: Minor fix to output for -gnaty.
6123 2001-10-30 Ed Schonberg <schonber@gnat.com>
6125 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
6126 to accommodate all its possible values.
6128 * a-reatim.adb (Split): Special-case handling of Time_Span_First
6129 and of small absolute values of T.
6131 2001-10-30 Richard Kenner <kenner@gnat.com>
6133 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
6134 set_mem_attributes since not needed and wrong if RESULT if a REG;
6135 fixes ACATS failures.
6137 2001-10-30 Geert Bosch <bosch@gnat.com>
6139 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
6140 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
6142 2001-10-30 Robert Dewar <dewar@gnat.com>
6144 * bindusg.adb: Undocument -f switch.
6146 * gnatcmd.adb: Remove /FULL_ELABORATION.
6148 * opt.ads (Force_RM_Elaboration_Order): Document that this is
6151 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
6153 * gnatbind.adb: Minor update of warning msg.
6155 2001-10-30 Vincent Celier <celier@gnat.com>
6157 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
6158 for project file switches (-P (/PROJECT_FILE=),
6159 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
6162 2001-10-30 Geert Bosch <bosch@gnat.com>
6164 * decl.c: Minor whitespace fixes.
6166 2001-10-30 Richard Kenner <kenner@gnat.com>
6168 * utils2.c (build_allocator): Test for SIZE overflow in array case too
6170 2001-10-30 Geert Bosch <bosch@gnat.com>
6172 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
6173 Found due to GCC 3.0 warning of using uninitialized value.
6176 (Get_Max_Size): Use variant record for tracking value/expression.
6177 Makes logic clearer and prevents warnings for uninitialized variables.
6178 (Layout_Array_Type): Use variant record for tracking value/expression.
6179 Makes logic clearer and prevents warnings for uninitialized variables.
6181 2001-10-30 Robert Dewar <dewar@gnat.com>
6183 * lib.adb: Minor reformatting
6185 * s-taprop.ads: Minor reformatting
6187 2001-10-29 Laurent Guerby <guerby@acm.org>
6190 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
6192 (_gnat_error_handler): Make MSG const.
6194 2001-10-29 Richard Kenner <kenner@gnat.com>
6196 * sysdep.c: Fix localtime_r problem on LynxOS.
6197 Also remove #elif to avoid warnings.
6199 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
6202 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
6204 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
6206 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
6207 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
6208 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
6209 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
6210 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
6211 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
6212 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
6213 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
6214 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
6215 types.ads, urealp.adb: Fix spelling errors.
6217 2001-10-27 Laurent Guerby <guerby@acm.org>
6219 * trans.c (gigi): Fix non determinism leading to bootstrap
6220 comparison failures for debugging information.
6222 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
6224 * gnat_rm.texi: Use @./@: where appropriate.
6226 2001-10-26 Robert Dewar <dewar@gnat.com>
6228 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
6230 2001-10-26 Richard Kenner <kenner@gnat.com>
6232 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
6234 2001-10-26 Richard Kenner <kenner@gnat.com>
6236 * decl.c (validate_size): Modify message for bad size to avoid
6237 implication that compiler is modifying the size.
6239 2001-10-26 Robert Dewar <dewar@gnat.com>
6241 * prj-util.adb: Minor reformatting. Fix bad header format.
6243 2001-10-26 Robert Dewar <dewar@gnat.com>
6245 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
6247 * sinfo.ads: Clarify use of Associated_Node (documentation only).
6249 * sem_ch12.adb: Change Node4 to Associated_Node. Change
6250 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
6251 much more narrowly in places where needed. These are cleanups.
6253 2001-10-26 Joel Brobecker <brobecke@gnat.com>
6255 * 5zosinte.ads (null_pthread): new constant.
6258 (Initialize_TCB): Initialize thread ID to null, to be able to verify
6259 later that this field has been set.
6260 (Finalize_TCB): ditto.
6261 (Suspend_Task): Verify that the thread ID is not null before using it.
6262 (Resume_Task): ditto.
6265 (Resume_All_Tasks): Lock the tasks list before using it.
6266 (Suspend_All_Tasks): ditto.
6268 2001-10-26 Richard Kenner <kenner@gnat.com>
6270 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
6271 Make constant variant of designated type for Is_Access_Constant.
6272 Call update_pointer_to with main variant.
6274 * trans.c (process_freeze_entity, process_type):
6275 Call update_pointer_to on main variant.
6277 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
6278 If main variant, update all other variants.
6280 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
6283 2001-10-26 Robert Dewar <dewar@gnat.com>
6285 * prj-util.adb: Minor reformatting
6287 2001-10-26 Robert Dewar <dewar@gnat.com>
6289 * prj-util.adb: Minor reformatting
6291 2001-10-26 Robert Dewar <dewar@gnat.com>
6293 * prj-attr.adb: Minor reformatting throughout
6295 2001-10-26 Robert Dewar <dewar@gnat.com>
6297 * prj-attr.ads: Minor reformatting
6298 Add ??? comment (this whole spec has almost no comments)
6300 2001-10-26 Vincent Celier <celier@gnat.com>
6302 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
6303 ("//") that precede the drive letter on Interix.
6305 2001-10-26 Geert Bosch <bosch@gnat.com>
6307 * gnat_rm.texi: Add GNAT Reference Manual.
6309 2001-10-25 Robert Dewar <dewar@gnat.com>
6311 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
6312 is Error. Similar change for other renaming cases.
6314 2001-10-25 Robert Dewar <dewar@gnat.com>
6316 * s-atacco.ads: Add pragma Inline_Always for functions.
6317 Fix header format. Add copyright 2001
6319 2001-10-25 Ed Schonberg <schonber@gnat.com>
6321 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
6322 return Error rather than Empty so that analysis can proceed.
6324 2001-10-25 Ed Schonberg <schonber@gnat.com>
6326 * sem_util.adb (Enter_Name): better handling of cascaded error
6327 messages when a unit appears in its own context.
6329 2001-10-25 Ed Schonberg <schonber@gnat.com>
6331 * sem_util.adb (Defining_Entity): in case of error, attach created
6332 entity to specification, so that semantic analysis can proceed.
6334 2001-10-25 Robert Dewar <dewar@gnat.com>
6337 (Defining_Entity): Deal with Error.
6338 (Process_End_Label): Deal with bad end label for.
6340 2001-10-25 Ed Schonberg <schonber@gnat.com>
6342 * sem_elab.adb (Check_A_Call): refine message when call is in an
6343 instance but callee is not declared in the generic unit.
6345 2001-10-25 Ed Schonberg <schonber@gnat.com>
6347 * sem_elab.adb (Check_A_Call): check for renaming before finding the
6348 enclosing unit, which may already be different from the calling unit.
6350 2001-10-25 Geert Bosch <bosch@gnat.com>
6352 * 4gintnam.ads: fix header format.
6354 2001-10-25 Ed Schonberg <schonber@gnat.com>
6356 * sem_res.adb (Resolve_Call): if the call is actually an indexing
6357 operation on the result of a parameterless call, perform elaboration
6358 check after the node has been properly rewritten.
6360 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
6361 inlined within the generic tree, the defining identifier is not a
6364 2001-10-25 Ed Schonberg <schonber@gnat.com>
6366 * sem_res.adb (Resolve): special-case resolution of Null in an
6367 instance or an inlined body to avoid view conflicts.
6369 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
6370 compatibility by retrieving the access type of the generic copy.
6372 2001-10-25 Robert Dewar <dewar@gnat.com>
6375 (Analyze_Number_Declaration): Handle error expression.
6376 (Signed_Integer_Type_Declaration): Handle error bound.
6377 (Analyze_Subtype_Indication): Handle error range.
6379 * sem_util.adb (Get_Index_Bounds): Check for Error.
6381 2001-10-25 Robert Dewar <dewar@gnat.com>
6383 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
6384 in no run time mode.
6386 2001-10-25 Pascal Obry <obry@gnat.com>
6388 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
6389 mode case for ALLOC case.
6391 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
6392 all platforms. Improvement of last change.
6394 2001-10-25 Robert Dewar <dewar@gnat.com>
6396 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
6398 2001-10-25 Geert Bosch <bosch@gnat.com>
6400 * osint.adb (Is_Relative): Remove duplicate.
6402 2001-10-25 Pascal Obry <obry@gnat.com>
6404 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
6405 pathnames in UNIX and DOS style with drive letter.
6406 (Is_Relative): new routine.
6408 * osint.adb: Minor reformatting
6410 * osint.adb (Is_Relative): implementation using
6411 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
6413 2001-10-25 Pascal Obry <obry@gnat.com>
6415 * g-dirope.adb (Basename): correctly compute offset between the
6416 original Path and the translated one.
6418 * g-dirope.adb: (Base_Name): add some comments.
6420 2001-10-25 Robert Dewar <dewar@gnat.com>
6422 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
6423 in HIE mode, avoids compilation abandoned message
6425 * exp_imgv.adb: Correct typo in previous change
6427 * exp_imgv.adb: Correct typo in previous change (not my day!)
6429 2001-10-25 Robert Dewar <dewar@gnat.com>
6431 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
6433 2001-10-25 Pascal Obry <obry@gnat.com>
6435 * g-awk.ads: Move all pragma inlines next to the routine
6436 declarations. This is more uniform with other GNAT spec.
6438 2001-10-22 Geert Bosch <bosch@gnat.com>
6440 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
6442 2001-10-19 Geert Bosch <bosch@gnat.com>
6444 * Makefile.in (tools, gnattools): Remove gnatmem.
6446 2001-10-17 Richard Henderson <rth@redhat.com>
6448 * Makefile.in (misc.o): Depend on langhooks.h.
6449 * misc.c: Include it.
6450 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
6451 (LANG_HOOKS_DECODE_OPTION): New.
6452 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
6454 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6456 * trans.c (tree_transform): Adjust to recent change in
6457 expand_asm_operands to implement named asm operands.
6459 2001-10-11 Ed Schonberg <schonber@gnat.com>
6461 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
6462 renaming of discriminant for mutable record type.
6464 2001-10-11 Robert Dewar <dewar@gnat.com>
6466 * validsw.adb: Properly save -gnatVn status.
6468 2001-10-11 Robert Dewar <dewar@gnat.com>
6470 * usage.adb: Add lines for V switch.
6472 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
6473 (/VALIDITY_CHECKING).
6475 2001-10-11 Ed Schonberg <schonber@gnat.com>
6477 * sem_type.adb (Add_One_Interp): an operator for a type declared in
6478 an extension of System is known to be visible.
6480 2001-10-11 Ed Schonberg <schonber@gnat.com>
6482 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
6483 properly. Fixes regression on ACATS C34005G.
6485 2001-10-11 Robert Dewar <dewar@gnat.com>
6487 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
6488 loop in generic instance, since this is likely not very useful.
6490 2001-10-11 Robert Dewar <dewar@gnat.com>
6492 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
6493 the error message for high integrity mode.
6495 * rtsfind.adb (RTE): Give message if we try to find an entity that
6496 is not available in high integrity mode.
6499 (OK_To_Use_In_HIE_Mode): New array.
6500 (RTE): May return Empty in high integrity mode.
6502 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
6503 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
6505 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
6506 unit if not inlined always and in no runtime mode. Fixes problem
6507 caused by new Rtsfind changes.
6509 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
6512 * rtsfind.adb (RTE): Make sure we do not try to load unit after
6513 giving message for entity not available in high integrity mode.
6515 2001-10-11 Pascal Obry <obry@gnat.com>
6517 * impunit.adb: Add GNAT.CRC32.
6519 2001-10-11 Ed Schonberg <schonber@gnat.com>
6521 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
6522 properly the case where one universal operand in a non-static
6523 exponentiation of a real literal.
6525 2001-10-11 Ed Schonberg <schonber@gnat.com>
6527 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
6528 clause, return the gobal finalization list, for lack of anthing else.
6530 2001-10-11 Ed Schonberg <schonber@gnat.com>
6532 * exp_ch7.adb (Make_Transient_Block): if statement is within
6533 exception handler, always use new transient scope to place Clean
6536 2001-10-11 Pascal Obry <obry@gnat.com>
6539 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6540 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6541 (GNATLS_RTL_OBJS): add g-crc32.o
6542 (GNATMAKE_RTL_OBJS): add g-crc32.o
6545 (CRC_Match): new function.
6546 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
6547 instead of the previous simple checksum algorithm.
6548 (Time_Stamp_Mismatch): use CRC_Match for comparison.
6549 (Set_Source_Table): idem.
6552 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
6553 instead of simple checksum.
6554 (CRC_Match): new function.
6555 (CRC_Error): new constant.
6557 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
6558 a CRC now and not a simple checksum. A CRC uses lower-case hex
6559 letters, fixes ambiguity in parsing.
6561 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
6562 is what this variable will store.
6564 * bcheck.adb: Change reference to chechsum in comments by CRC.
6565 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
6566 rename All_Checksum_Match to All_CRC_Match. Change due to API
6567 renaming since now GNAT does not use a simple checksum but a
6568 CRC using GNAT.CRC32.
6570 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
6571 now and not anymore a simple checksum.
6573 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
6576 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
6579 (Restore_Scan_State): rename Checksum to CRC.
6580 (Save_Scan_State): idem.
6584 (Checksum): rename to CRC.
6585 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
6587 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
6588 GNAT.CRC32). Update copyright notice.
6590 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
6591 GNAT.CRC32). Update copyright notice.
6594 (Accumulate_Checksum): removed.
6595 (Update): new procedure. Add a wide-character into the CRC.
6598 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
6599 (Load_File): fix initialization of S (change Source_Checksum to
6602 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
6603 Source_CRC in S initialization.
6605 * sinput.adb (Source_Checksum): renamed to Source_CRC.
6607 * sinput.ads (Source_Checksum): renamed to Source_CRC.
6608 Update comments for the CRC.
6610 * types.adb (Hex): Use lowercase for the letter part.
6612 * types.ads (Get_Hex_String): Returns the hexadecimal representation
6613 for a word. This is currently used only for CRC. In previous version,
6614 the checksum was using a representation with all letter being
6615 upper-case. With the new implementation (using CRC) we do not remove
6616 the 32th bit of the CRC, so we can have an upper-case starting letter
6617 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
6618 It is ambigous since the CRC was optional and could be followed by
6619 options like EB, EE. So now this routines uses lower-case letter for
6620 the hexadecimal representation. Strange enough only lower case letters
6621 where checked in Scan_ALI (even if this was not a possible case).
6623 * gnatvsn.ads (Library_Version): changed to 3.15a.
6625 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
6628 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
6631 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
6632 Add 2001 to copyright notice
6633 (Accumulate_Checksum): Modify to use System.CRC32.
6635 * ali-util.ads: Redo changes of previous revision to continue to use
6636 the word Checksum. Add 2001 to copyright notice.
6638 * ali.adb: Undo some of previous changes, not needed.
6639 Keep the change for lower case letters in the checksum.
6641 * ali.ads: Undo previous change not needed.
6643 * bcheck.adb: Undo most of previous change, not needed.
6644 But do use Checksums_Match for checksum comparison.
6646 * gnatls.adb: Undo most of previous change, not needed.
6647 But do use Checksums_Match for comparing checksums.
6649 * lib-load.adb: Undo previous change, not needed.
6651 * lib-writ.adb: Undo previous change, not needed.
6653 * lib-writ.ads: Document that checksums use lower case,
6654 not upper case letters.
6656 * scans.adb: Undo previous change, not needed
6658 * scans.ads: Undo previous change, not needed.
6660 * scn-nlit.adb: Undo previous changes, not needed.
6662 * scn-slit.adb: Undo previous change, not needed. Fix header format.
6665 (Accumulate_Checksum): Use System.CRC32.
6666 (Initialize_Checksum): New procedure.
6667 Remove other changes of previous revision.
6669 * sinput-p.adb: Undo previous change, not needed.
6671 * sinput.adb: Undo previous change, not needed.
6673 * sinput-l.adb: Undo previous change, not needed.
6675 * sinput.ads: Undo previous change, not needed. Keep only comment
6676 on new checksum algorithm
6678 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
6679 Also remove a-tags and a-stream from GNAT sources.
6681 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
6683 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
6685 2001-10-11 Geert Bosch <bosch@gnat.com>
6687 * einfo.h: Regenerate.
6689 * nmake.ads: Regenerate.
6691 * nmake.adb: Regenerate.
6693 * sinfo.h: Regenerate.
6695 * treeprs.adb: Regenerate.
6697 2001-10-10 Geert Bosch <bosch@gnat.com>
6699 * gnat-style.texi: New file describing coding guidelines for Ada.
6701 2001-10-10 Ed Schonberg <schonber@gnat.com>
6703 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
6706 2001-10-10 Geert Bosch <bosch@gnat.com>
6708 * snames.ads: Add new names for project facility.
6710 * snames.adb: Update to reflect snames.ads changes.
6712 * snames.h: Update to reflect snames.ads changes.
6714 2001-10-10 Vincent Celier <celier@gnat.com>
6717 (Add_Switches): reflect the changes for the switches attributes
6718 Default_Switches indexed by the programming language,
6719 Switches indexed by the file name.
6720 (Collect_Arguments_And_Compile): Idem.
6721 Reflect the attribute name changes.
6724 (Initialisation_Data): Change the names of some packages and
6726 (Initialize): process case insensitive associative arrays.
6729 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
6732 (Parse_Attribute_Declaration): For case insensitive associative
6733 arrays, set the index string to lower case.
6736 Reflect the changes of the project attributes.
6739 Replace Check_Naming_Scheme by Ada_Check and
6740 Language_Independent_Check.
6743 Replaced Check_Naming_Scheme by 2 procedures:
6744 Ada_Check and Language_Independent_Check.
6747 (Process_Declarative_Items): For case-insensitive associative
6748 arrays, set the index string to lower case.
6749 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
6750 Prj.Nmsc.Check_Naming_Scheme.
6753 (Case_Insensitive): New function
6754 (Set_Case_Insensitive): New procedure
6757 (Case_Insensitive): New function
6758 (Set_Case_Insensitive): New procedure
6759 (Project_Node_Record): New flag Case_Insensitive.
6762 (Value_Of): new function to get the string value of a single
6763 string variable or attribute.
6766 (Value_Of): new function to get the string value of a single
6767 string variable or attribute.
6770 (Ada_Default_Spec_Suffix): New function
6771 (Ada_Default_Impl_Suffix): New function
6772 Change definitions of several constants to reflect
6773 new components of record types.
6776 (Naming_Data): Change several components to reflect new
6777 elements of naming schemes.
6778 (Project_Data): New flags Sources_Present and
6779 Language_Independent_Checked.
6780 (Ada_Default_Spec_Suffix): New function.
6781 (Ada_Default_Impl_Suffix): New function.
6784 Modification of predefined names for project manager: added
6785 Implementation, Specification_Exceptions, Implementation_Exceptions,
6786 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
6787 Default_Switches, _Languages, Builder, Cross_Reference,
6788 Finder. Removed Body_Part, Specification_Append, Body_Append,
6789 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
6792 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6795 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
6796 not that it is Nil_Variable_Value.
6798 * prj.ads: Add ??? for uncommented declarations
6800 2001-10-10 Ed Schonberg <schonber@gnat.com>
6802 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
6803 constant, do not indicate possible modification, so that gigi can
6804 treat it as a bona fide constant.
6806 2001-10-10 Robert Dewar <dewar@gnat.com>
6808 * sem_prag.adb: Add processing for pragma External.
6810 * snames.ads: Add entry for pragma External.
6812 * par-prag.adb: Add pragma External.
6814 * snames.adb: Updated to match snames.ads.
6816 2001-10-10 Ed Schonberg <schonber@gnat.com>
6818 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
6819 a dynamic task if the allocator appears in an indexed assignment
6820 or selected component assignment.
6822 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
6823 For a dynamic task in an assignment statement, use target of
6824 assignment to generate meaningful name.
6826 2001-10-10 Ed Schonberg <schonber@gnat.com>
6828 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
6831 * einfo.ads: Body_Entity is also defined for generic package.
6832 Documentation change only
6834 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
6835 others_choice for a discriminated component initialization,
6836 convert discriminant references into the corresponding discriminals.
6838 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
6839 only if original type is private and expression has to be wrapped
6843 (Apply_Constraint_Check): Do not perform length check
6844 if expression is an aggregate with only an others_choice.
6845 (Length_N_Cond): two references to the same in_parameter
6846 (typically the discriminal in an init_proc) denote the same value.
6847 Two useful optimization uncovered by bugfixes above.
6849 2001-10-10 Robert Dewar <dewar@gnat.com>
6851 * xeinfo.adb: Change int to char in translation of enumeration types.
6852 This fixes a problem in the C representation of component alignment.
6853 Add 2001 to copyright notice
6855 2001-10-10 Richard Kenner <kenner@gnat.com>
6857 * decl.c: (validate_size): Do check size of object of integral type
6858 if it is a packed array type.
6860 2001-10-10 Richard Kenner <kenner@gnat.com>
6862 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
6863 VAR_DECL for constant if not Is_Public but -O0.
6865 2001-10-10 Richard Kenner <kenner@gnat.com>
6867 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
6869 2001-10-10 Geert Bosch <bosch@gnat.com>
6871 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
6872 use '/' as switch character, allowing for absolute file names.
6874 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6876 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
6879 2001-10-08 Geert Bosch <bosch@gnat.com>
6881 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
6882 Automatically build utilities when files need to be regenerated.
6884 2001-10-08 Geert Bosch <bosch@gnat.com>
6886 * xsnames.adb: New utility for updating snames.ads and snames.adb
6888 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6890 * Make-lang.in (ADAFLAGS): Add -W -Wall.
6891 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
6892 (gnat1): Also depend on attribs.o.
6893 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
6894 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
6895 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
6896 (ADAFLAGS): Add -W -Wall.
6897 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
6900 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
6901 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
6902 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
6903 Use $(ADAC), not $(CC), as compilation command.
6905 (gnattools): Depend directly on tools to build, don't use
6907 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
6909 * einfo.h, sinfo.h: New files (autogenerated).
6911 2001-10-08 Richard Henderson <rth@redhat.com>
6913 * comperr.adb (Abort_In_Progress): New.
6914 (Compiler_Abort): Use it to prevent recursion.
6916 2001-10-08 Robert Dewar <dewar@gnat.com>
6918 * atree.adb: Set Error_Posted in Error node, helps error recovery.
6920 * par-endh.adb (Output_End_Expected): We should also not test
6921 Error_Posted on the Error node, since now it is always set.
6923 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
6924 to help error recovery. Part of general work on 9407-004.
6926 * par.adb: Add ??? for misuse of error
6929 (Resolve): Defend against Error, fixes 9407-003.
6930 (Resolve_Discrete_Subtype_Indication): Defend against Error.
6932 * sinfo.ads (N_Error): Now has Etype field (which will be set
6933 to Any_Type to help error recovery).
6935 2001-10-08 Richard Kenner (kenner@gnat.com)
6937 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
6938 Consistently set MEM attributes from expression; fixes
6939 bootstrap failure on x86.
6941 2001-10-08 Geert Bosch (bosch@gnat.com)
6943 * 5oosinte.adb: Add 2001 to copyright notice.
6945 2001-10-08 Geert Bosch (bosch@gnat.com)
6947 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
6949 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
6951 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6953 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
6955 2001-10-05 Geert Bosch (bosch@gnat.com)
6957 * adaint.h: Small formatting fix.
6959 2001-10-04 Geert Bosch <bosch@gnat.com>
6961 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
6962 Arg is int, not FILE *, in dummy version of functions.
6964 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
6965 Arg is int, not FILE *.
6967 2001-10-04 Geert Bosch <bosch@gnat.com>
6969 * 3lsoccon.ads: Added file, missed with initial check ins.
6971 * 4lintnam.ads: Fix header format.
6972 Change Linux to GNU/Linux.
6974 * 5iosinte.adb: Change Linux to GNU/Linux.
6976 * 5iosinte.ads: Change Linux to GNU/Linux.
6978 * 5itaprop.adb: Change Linux to GNU/Linux.
6980 * 5itaspri.ads: Change Linux to GNU/Linux.
6981 Update copyright notice.
6983 * 5lintman.adb: Change Linux to GNU/Linux.
6985 * 5lml-tgt.adb: Change Linux to GNU/Linux.
6987 * 5losinte.ads: Change Linux to GNU/Linux.
6989 * 5lsystem.ads: Change Linux to GNU/Linux.
6991 * 5qosinte.adb: Change Linux to GNU/Linux.
6993 * 5qosinte.ads: Change Linux to GNU/Linux.
6995 * 5qparame.ads: Change Linux to GNU/Linux.
6997 * 5qtaprop.adb: Change Linux to GNU/Linux.
6999 * 5qtaspri.ads: Change Linux to GNU/Linux.
7000 Add 2001 to copyright notice.
7002 * 5vintman.ads: Change Linux to GNU/Linux.
7003 Fix header format. Add 2001 to copyright notice.
7005 * g-soccon.ads: Change Linux to GNU/Linux.
7007 * g-trasym.ads: Change Linux to GNU/Linux.
7008 Add 2001 to copyright notice.
7010 * memtrack.adb: Change Linux to GNU/Linux.
7012 * s-intman.ads: Change Linux to GNU/Linux.
7013 Add 2001 to copyright notice. Fix header format.
7015 * s-stache.adb: Change Linux to GNU/Linux.
7017 * adaint.c: Change Linux to GNU/Linux.
7019 * cio.c: Change Linux to GNU/Linux.
7021 * cstreams.c: Change Linux to GNU/Linux.
7023 * init.c: Change Linux to GNU/Linux.
7025 * gmem.c: Change Linux to GNU/Linux.
7027 * tracebak.c: Change Linux to GNU/Linux.
7030 2001-10-02 Geert Bosch <bosch@gnat.com>
7032 * misc.c (insert_default_attributes): Add dummy version.