1 2004-01-13 Ed Schonberg <schonberg@gnat.com>
3 * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
4 components that are initialized with aggregates.
6 2004-01-13 Vincent Celier <celier@gnat.com>
8 * gnatlink.adb (Process_Binder_File): To find directory of shared
9 libgcc, if "gcc-lib" is not a subdirectory, look for the last
10 subdirectory "lib" in the path of the shared libgnat or libgnarl.
12 * make.adb (Gnatmake): If GCC version is at least 3, link with
13 -shared-libgcc, when there is at least one shared library project.
15 * opt.ads (GCC_Version): New integer constant.
17 * adaint.c (get_gcc_version): New function.
19 2004-01-13 Robert Dewar <dewar@gnat.com>
21 * sem_dist.adb, sem_res.adb, sem_util.adb,
22 sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
23 exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
25 2004-01-13 Thomas Quinot <quinot@act-europe.fr>
27 * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
28 g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
31 2004-01-12 Arnaud Charlet <charlet@act-europe.fr>
33 * misc.c: Remove trailing spaces.
34 Update copyright notice missed in previous change.
37 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
40 * Makefile.generic: Update copyright.
43 * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
46 * Makefile.prolog: Update copyright.
49 2004-01-12 Laurent Pautet <pautet@act-europe.fr>
51 * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
52 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
53 g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
56 * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
59 2004-01-12 Javier Miranda <miranda@gnat.com>
61 * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
62 exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
63 sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
64 sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
65 Component_Definition node.
67 2004-01-12 Ed Falis <falis@gnat.com>
69 * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
71 2004-01-12 Thomas Quinot <quinot@act-europe.fr>
73 * link.c: Change default libgnat kind to STATIC for FreeBSD.
75 2004-01-12 Bernard Banner <banner@gnat.com>
77 * Makefile.in: map 86numaux to a-numaux for x86_64
79 2004-01-12 Ed Schonberg <schonberg@gnat.com>
81 * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
82 generated to rename a generic actual, go to the actual itself, the
83 subtype is not a user-visible entity.
85 * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
86 part is a private subtype, reset the visibility of its full view, if
87 any, to be consistent.
90 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
91 to use a generic package G as a formal package for another generic
94 2004-01-12 Robert Dewar <dewar@gnat.com>
96 * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
98 * usage.adb: Remove mention of obsolete -gnatwb switch
99 Noticed during code reading
101 2004-01-12 Jerome Guitton <guitton@act-europe.fr>
103 * 1ssecsta.adb: Minor changes for -gnatwa warnings
105 2004-01-12 GNAT Script <nobody@gnat.com>
107 * Make-lang.in: Makefile automatically updated
109 2004-01-09 Mark Mitchell <mark@codesourcery.com>
111 * misc.c (gnat_expand_expr): Add alt_rtl parameter.
113 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
115 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
117 2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
119 * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
120 Update comment and copyright date.
121 * stamp-xgnatug: Delete.
123 2004-01-05 Robert Dewar <dewar@gnat.com>
125 * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
126 be modified by the binder generated main program if the -D switch is
129 * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
130 imported functions (since now we expect this to be done for imported
133 * 5vtaprop.adb: Add several ??? for sections requiring more comments
134 Minor reformatting throughout
136 * 5zinit.adb: Minor reformatting
137 Add 2004 to copyright date
138 Minor changes to avoid -gnatwa warnings
139 Correct some instances of using OR instead of OR ELSE (noted while
142 * sprint.adb: Minor updates to avoid -gnatwa warnings
144 * s-secsta.ads, s-secsta.adb:
145 (SS_Get_Max): New function to obtain high water mark for ss stack
146 Default_Secondary_Stack is not a constant since it may be modified by
147 the binder generated main program if the -D switch is used.
149 * switch-b.adb: New -Dnnn switch for binder
152 Make -gnatg imply all warnings currently in -gnatwa
154 * vms_conv.adb: Minor reformatting
155 Add 2004 to copyright notice
156 Add 2004 to printed copyright notice
158 * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
159 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
160 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
161 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
162 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
163 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
164 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
165 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
166 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
167 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
168 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
169 vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
170 xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
171 sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
172 checks.adb, clean.adb, cstand.adb, einfo.ads,
173 einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
174 exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
175 prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
176 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
177 g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
178 lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
179 Minor reformatting and code clean ups.
180 Minor changes to prevent -gnatwa warnings
182 * ali.adb: Minor reformatting and cleanup of code
183 Acquire new SS indication of secondary stack use from ali files
185 * a-numaux.ads: Add Pure_Function pragmas for all imported functions
186 (since now we expect this to be done for imported functions)
188 * bindgen.adb: Generate call to modify default secondary stack size if
191 * bindusg.adb: Add line for new -D switch
193 * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
194 replacement name for Type_May_Have_Non_Bit_Aligned_Components!
195 Add circuitry for both records and arrays to avoid gigi
196 processing if the type involved has non-bit-aligned components
198 * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
199 N_String_Literal node always references an E_String_Literal_Subtype
200 entity. This may not be true in the future.
201 (Possible_Bit_Aligned_Component): Move processing of
202 Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
204 * exp_ch6.adb (Expand_Thread_Body): Pick up
205 Default_Secondary_Stack_Size as variable so that we get value modified
206 by possible -Dnnn binder parameter.
208 * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
209 (Type_May_Have_Bit_Aligned_Components): New function.
211 * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
212 (Type_May_Have_Bit_Aligned_Components): New function.
214 * fe.h: (Set_Identifier_Casing): Fix prototype.
215 Add declaration for Sem_Elim.Eliminate_Error_Msg.
218 * freeze.adb (Freeze_Entity): Add RM reference to error message about
219 importing constant atomic/volatile objects.
220 (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
221 unless explicit Pure_Function pragma given, to avoid insidious bug of
222 call to non-pure imported function getting eliminated.
224 * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
225 gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
226 gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
227 Add 2004 to printed copyright notice
229 * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
232 * Makefile.rtl: Add entry for g-sestin.o
233 g-sestin.ads: New file.
235 * mdll.adb: Minor changes to avoid -gnatwa warnings
237 * mlib-tgt.adb: Minor reformatting
239 * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
240 New switch Sec_Stack_Used (GNAT, GNATBIND)
241 Make Default_Secondary_Stack_Size a variable instead of a constant,
242 so that it can be modified by the new -Dnnn bind switch.
244 * rtsfind.adb (Load_Fail): Give full error message in configurable
245 run-time mode if all_errors mode is set. This was not done in the case
246 of a file not found, which was an oversight.
247 Note if secondary stack unit is used by compiler.
249 * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
250 ineffective elaborate all pragmas on non-visible packages (this
251 happened when a renamed subprogram was called). Now the elaborate all
252 always goes on the package containing the renaming rather than the one
253 containing the renamed subprogram.
255 * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
256 (Process_Eliminate_Pragma): Add parameter to capture pragma location.
258 * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
259 has an Etype that references an E_String_Literal.
260 (Eval_String_Literal): Avoid assumption that N_String_Literal node
261 always references an E_String_Literal_Subtype entity. This may not
262 be true in the future.
264 * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
267 * sem_res.adb (Resolve): Specialize msg for function name used in proc
270 2004-01-05 Ed Falis <falis@gnat.com>
272 * g-debuti.adb: Replaced direct boolean operator with short-circuit
275 2004-01-05 Vincent Celier <celier@gnat.com>
277 * bld.adb: Minor comment updates
278 (Process_Declarative_Items): Correct incorrect name (Index_Name instead
281 * make.adb (Gnatmake): Special process for files to compile/check when
282 -B is specified. Fail when there are only foreign mains in attribute
283 Main of the project file and -B is not specified. Do not skip bind/link
284 steps when -B is specified.
286 * makeusg.adb: Document new switch -B
288 * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
290 * switch-m.adb: (Scan_Make_Switches): Process -B switch
292 * vms_data.ads: Add new GNAT PRETTY qualifier
293 /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
295 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
297 * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
300 * misc.c (gnat_printable_name): If VERBOSITY is 2, call
301 Set_Identifier_Casing.
303 * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
304 has size that overflows.
306 2004-01-05 Gary Dismukes <dismukes@gnat.com>
308 * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
309 -gnatwa warning on static condition.
311 2004-01-05 Doug Rupp <rupp@gnat.com>
313 * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
315 2004-01-05 Arnaud Charlet <charlet@act-europe.fr>
317 * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
318 all attributes, including read-only attribute.
320 2004-01-05 Pascal Obry <obry@gnat.com>
322 * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
323 library naming scheme.
325 * mlib-prj.adb (Build_Library): Generate different names for the static
326 or dynamic version of the GNAT runtime. This is needed to support the
327 new shared library naming scheme.
328 (Process_Binder_File): Add detection of shared library in binder file
329 based on the new naming scheme.
331 * gnatlink.adb (Process_Binder_File): Properly detect the new naming
332 scheme for the shared runtime libraries.
335 (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
337 (install-gnatlib): Do not create symlinks for shared libraries.
338 (gnatlib-shared-default): Idem.
339 (gnatlib-shared-dual-win32): New target. Not used for now as the
340 auto-import feature does not support arrays/records.
341 (gnatlib-shared-win32): Do not create copy for the shared libraries.
342 (gnatlib-shared-vms): Fix shared runtime libraries names.
344 * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
345 dependent runtime shared library name.
347 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
349 * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
352 2004-01-05 Ed Schonberg <schonberg@gnat.com>
354 * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
355 protected objects when allocator has a subtype indication, not a
356 qualified expression. Note that qualified expressions may have to be
357 checked when limited aggregates are implemented.
359 * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
361 (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
362 subprogram is imported, remove warning.
364 2004-01-05 Geert Bosch <bosch@gnat.com>
366 * s-poosiz.adb: Update copyright notice.
367 (Allocate): Use Task_Lock to protect against concurrent access.
368 (Deallocate): Likewise.
370 2004-01-05 Joel Brobecker <brobecker@gnat.com>
372 * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
375 2003-12-23 Kelley Cook <kcook@gcc.gnu.org>
377 * gnat_ug.texi: Force a CVS commit by updating copyright.
378 * gnat_ug_vxw.texi: Regenerate.
379 * gnat_ug_wnt.texi: Regenerate.
380 * gnat_ug_vms.texi: Regenerate.
381 * gnat_ug_unx.texi: Regenerate.
383 2003-12-20 Kazu Hirata <kazu@cs.umass.edu>
385 * trans.c: Remove uses of "register" specifier in
386 declarations of local variables.
388 2003-12-18 Kelley Cook <kcook@gcc.gnu.org>
390 * stamp-xgnatug: New stamp file.
391 * Make-lang.in (stamp-xgnatug): New stamp file and comment.
392 (ada/doctools/xgnatug): Add $(build_exeext).
393 (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
394 ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
396 2003-12-17 Ed Falis <falis@gnat.com>
398 * a-elchha.adb (Tailored_Exception_Information): made Info constant to
401 * a-exextr.adb: Add context clause for
402 Ada.Exceptions.Last_Chance_Handler.
404 2003-12-17 Sergey Rybin <rybin@act-europe.fr>
406 * cstand.adb (Create_Standard): Change the way how the declaration of
407 the Duration type is created (making it the same way as it is for all
408 the other standard types).
410 2003-12-17 Robert Dewar <dewar@gnat.com>
412 * s-crtl.ads: Fix header format
413 Change Pure to Preelaborate
415 2003-12-17 Ed Schonberg <schonberg@gnat.com>
417 * checks.adb (Selected_Length_Checks): Generate an Itype reference for
418 the expression type only if it is declared in the current unit.
420 * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
421 are universal and already analyzed, as can occur in constrained
422 subcomponents that depend on discriminants, when one constraint is a
425 * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
426 type Any_Fixed is legal as the argument of a conversion, if only one
427 fixed-point type is in context.
429 2003-12-17 GNAT Script <nobody@gnat.com>
431 * Make-lang.in: Makefile automatically updated
433 2003-12-15 Robert Dewar <dewar@gnat.com>
435 * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
438 2003-12-15 Vincent Celier <celier@gnat.com>
440 * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
441 (Gnatchop): Do not set failure status when reporting the number of
444 2003-12-15 Doug Rupp <rupp@gnat.com>
446 * s-ctrl.ads: New file.
448 * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
450 * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
451 (GNATBIND_OBJS): Add ada/s-crtl.o.
453 * Makefile.in [VMS]: Clean up ifeq rules.
455 * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
456 a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
457 g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
458 s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
459 s-tasdeb.adb: Update copyright.
461 Make minor modifications to use System.CRTL declared functions instead
462 of importing locally.
464 2003-12-15 GNAT Script <nobody@gnat.com>
466 * Make-lang.in: Makefile automatically updated
468 2003-12-11 Ed Falis <falis@gnat.com>
470 * 5zinit.adb: Clean up.
472 * 5zintman.adb (Notify_Exception): replaced case statement with a call
473 to __gnat_map_signal, imported from init.c to support
474 signal -> exception mappings that depend on the vxWorks version.
477 Created and exported __gnat_map_signal to support signal -> exception
478 mapping that is dependent on the VxWorks version.
479 Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
481 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr>
483 * 5wosinte.ads: Link with -mthreads switch.
485 2003-12-11 Arnaud Charlet <charlet@act-europe.fr>
487 * init.c (__gnat_install_handler [NetBSD]): Set
488 __gnat_handler_installed, as done on all other platforms.
489 Remove duplicated code.
491 2003-12-11 Jerome Guitton <guitton@act-europe.fr>
493 * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
495 2003-12-11 Thomas Quinot <quinot@act-europe.fr>
497 * sinfo.ads: Fix inconsistent example code in comment.
499 2003-12-11 Robert Dewar <dewar@gnat.com>
501 * a-tiinau.adb: Add a couple of comments
503 * sem_ch3.adb: Minor reformatting
506 Fix bad prototype of Same_Base_Type in body (code reading cleanup)
507 Minor reformatting throughout
509 2003-12-11 Ed Schonberg <schonberg@gnat.com>
511 * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
512 bounds of a loop, create a separate block in order to generate proper
513 cleanup actions to prevent memory leaks.
515 * sem_res.adb (Resolve_Call): After a call to
516 Establish_Transient_Scope, the call may be rewritten and relocated, in
517 which case no further processing is needed.
519 * sem_util.adb: (Wrong_Type): Refine previous fix.
520 Fixes ACATS regressions.
524 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
527 2003-12-08 Jerome Guitton <guitton@act-europe.fr>
529 * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
530 i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
533 * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
536 2003-12-08 Robert Dewar <dewar@gnat.com>
538 * 7sintman.adb: Minor reformatting
540 * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
541 standard linker options to get standard libraries linked. We now plan
542 to provide dummy versions of these libraries to match the appropriate
543 configurable run-time (e.g. if a library is not needed at all, provide
544 a dummy empty library).
546 * targparm.ads: Configurable_Run_Time mode no longer affects linker
547 options (-L parameters and standard libraries). What we plan to do is
548 to provide dummy libraries where the libraries are not required.
550 * gnatbind.adb: Minor comment improvement
552 2003-12-08 Javier Miranda <miranda@gnat.com>
554 * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
555 aggregate in the parent. Otherwise constants with limited aggregates
556 are not supported. Add new formal to pass the component type (Ctype).
557 It is required to call the corresponding IP subprogram in case of
558 default initialized components.
559 (Gen_Assign): In case of default-initialized component, generate a
560 call to the IP subprogram associated with the component.
561 (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
562 of aggregate with default initialized components.
563 (Has_Default_Init_Comps): Improve implementation to recursively check
564 all the present expressions.
566 * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
567 to indicate that the initialization call corresponds to a
568 default-initialized component of an aggregate.
569 In case of default initialized aggregate with tasks this parameter is
570 used to generate a null string (this is just a workaround that must be
571 improved later). In case of discriminants, this parameter is used to
572 generate a selected component node that gives access to the discriminant
575 * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
576 subprogram, based on Build_Task_Allocate_Block, but adapted to expand
577 allocated aggregates with default-initialized components.
579 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
580 the box notation is used in positional aggregates.
582 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr>
584 * lib.ads: Fix typo in comment
586 2003-12-08 Vincent Celier <celier@gnat.com>
588 * prj.adb (Project_Empty): New component Unkept_Comments
589 (Scan): Remove procedure; moved to Prj.Err.
591 * prj.ads (Project_Data): New Boolean component Unkept_Comments
592 (Scan): Remove procedure; moved to Prj.Err.
594 * prj-dect.adb: Manage comments for the different declarations.
596 * prj-part.adb (With_Record): New component Node
597 (Parse): New Boolean parameter Store_Comments, defaulted to False.
598 Set the scanner to return ends of line and comments as tokens, if
599 Store_Comments is True.
600 (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
601 comments are associated with these nodes. Store the node IDs in the
603 (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
605 (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
606 the N_Project node. Call Tree.Save and Tree.Reset before scanning the
607 current project. Call Tree.Restore afterwards. Set the various nodes
608 for comment storage (Next_End, End_Of_Line, Previous_Line,
611 * prj-part.ads (Parse): New Boolean parameter Store_Comments,
614 * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
615 to False. When Truncated is True, truncate the string, never go to the
617 (Write_End_Of_Line_Comment): New procedure
618 (Print): Process comments for nodes N_With_Clause,
619 N_Package_Declaration, N_String_Type_Declaration,
620 N_Attribute_Declaration, N_Typed_Variable_Declaration,
621 N_Variable_Declaration, N_Case_Construction, N_Case_Item.
622 Process nodes N_Comment.
624 * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
625 without comments and there are some comments, set the flag
626 Unkept_Comments to True.
627 (Scan): If there are comments, set the flag Unkept_Comments to True and
629 (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
630 (Next_End_Nodes: New table
631 (Comment_Zones_Of): New function
632 (Scan): New procedure; moved from Prj. Accumulate comments in the
633 Comments table and set end of line comments, comments after, after end
635 (Add_Comments): New procedure
636 (Save, Restore, Seset_State): New procedures
637 (There_Are_Unkept_Comments): New function
638 (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
639 (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
641 (First_Comment_After, First_Comment_After_End): New functions
642 (First_Comment_Before, First_Comment_Before_End): New functions
643 (Next_Comment): New function
644 (End_Of_Line_Comment, Follows_Empty_Line,
645 Is_Followed_By_Empty_Line): New functions
646 (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
647 (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
648 (Set_Next_Comment): New procedure
649 (Default_Project_Node): Associate comment before if the node can store
652 * scans.ads (Token_Type): New enumeration value Tok_Comment
653 (Comment_Id): New global variable
655 * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
657 (Scan): Store position of start of comment. If comments are tokens, set
658 Comment_Id and set Token to Tok_Comment when scanning a comment.
659 (Set_Comment_As_Token): New procedure
661 * sinput-p.adb: Update Copyright notice
662 (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
663 that no longer exists.
665 2003-12-08 Javier Miranda <miranda@gnat.com>
667 * sem_aggr.adb: Add dependence on Exp_Tss package
668 Correct typo in comment
669 (Resolve_Aggregate): In case of array aggregates set the estimated
670 type of the aggregate before calling resolve. This is needed to know
671 the name of the corresponding IP in case of limited array aggregates.
672 (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
673 in case of default initialized array components.
675 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
676 types. Required to give support to limited aggregates in generic
679 2003-12-08 Ed Schonberg <schonberg@gnat.com>
681 * sem_ch3.adb (Check_Initialization): For legality purposes, an
682 inlined body functions like an instantiation.
683 (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
684 until bounds are analyzed, to diagnose premature use of type.
686 * sem_util.adb (Wrong_Type): Improve error message when the type of
687 the expression is used prematurely.
689 2003-12-08 GNAT Script <nobody@gnat.com>
691 * Make-lang.in: Makefile automatically updated
693 2003-12-08 Arnaud Charlet <charlet@act-europe.fr>
695 * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
696 they are automatically generated by Make-lang.in and cause nothing but
697 maintenance troubles.
699 2003-12-05 Thomas Quinot <quinot@act-europe.fr>
701 * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
702 version of this unit).
704 2003-12-05 Olivier Hainque <hainque@act-europe.fr>
706 * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
707 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
708 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
709 the body of System.Interrupt_Management common to several targets.
710 Update copyright notice when appropriate.
712 * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
715 * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
716 to ensure that the kernel fills in the interrupted context structure
717 before calling a signal handler, which is necessary to be able to
718 unwind past it. Update the copyright notice.
720 2003-12-05 Jerome Guitton <guitton@act-europe.fr>
722 * a-elchha.ads: New file.
724 * a-elchha.adb: New default last chance handler. Contents taken from
725 Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
727 * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
728 is moved to a-elchha.adb to provide a target-independent default last
731 * Makefile.rtl: Add a-elchha.o
733 * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
735 2003-12-05 Ed Schonberg <schonberg@gnat.com>
737 * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
738 declared in an instance, do not inline the call if the instance is not
739 frozen yet, to prevent order of elaboration problems.
741 * sem_prag.adb: Add comments for previous fix.
743 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr>
745 * g-table.adb: Use the right variable in Set_Item.
746 Update copyright notice.
748 2003-12-05 Arnaud Charlet <charlet@act-europe.fr>
750 * Makefile.in: Remove unused rules.
752 2003-12-05 Vincent Celier <celier@gnat.com>
754 * switch-c.adb (Scan_Front_End_Switches): Remove processing of
755 -nostdlib. Not needed here after all.
757 2003-12-03 Thomas Quinot <quinot@act-europe.fr>
761 * adaint.h, adaint.c, g-os_lib.ads:
762 Do not assume that the offset argument to lseek(2) is a 32 bit integer,
763 on some platforms (including FreeBSD), it is a 64 bit value.
764 Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
766 2003-12-03 Arnaud Charlet <charlet@act-europe.fr>
768 * gnatvsn.ads (Library_Version): Now contain only the relevant
770 (Verbose_Library_Version): New constant.
772 * g-spipat.adb, g-awk.adb, g-debpoo.adb,
773 g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
774 s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
776 * gnatlbr.adb: Clean up: replace Library_Version by
777 Verbose_Library_Version.
779 * make.adb, lib-writ.adb, exp_attr.adb:
780 Clean up: replace Library_Version by Verbose_Library_Version.
782 * 5lintman.adb: Removed.
785 Update and simplify computation of LIBRARY_VERSION.
786 Fix computation of GSMATCH_VERSION.
787 5lintman.adb is no longer used: replaced by 7sintman.adb.
789 2003-12-03 Robert Dewar <dewar@gnat.com>
792 (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
793 name. Modified to consider small non-bit-packed arrays as troublesome
794 and in need of component-by-component assigment expansion.
796 2003-12-03 Vincent Celier <celier@gnat.com>
798 * lang-specs.h: Process nostdlib as nostdinc
800 * back_end.adb: Update Copyright notice
801 (Scan_Compiler_Arguments): Process -nostdlib directly.
803 2003-12-03 Jose Ruiz <ruiz@act-europe.fr>
806 When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
807 redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
808 included in HIE_NONE_TARGET_PAIRS.
810 2003-12-03 Ed Schonberg <schonberg@gnat.com>
813 (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
814 is legal in an instance, because legality is cheched in the template.
817 (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
818 appplied to an unchecked conversion of a formal parameter.
821 (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
824 2003-12-03 Olivier Hainque <hainque@act-europe.fr>
826 * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
827 routines. The second one is new functionality to deal with backtracing
828 through signal handlers.
829 (unwind): Split into the two separate subroutines above.
830 Update the documentation, and deal properly with sizeof (REG) different
833 2003-12-01 Nicolas Setton <setton@act-europe.fr>
835 * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
836 so that the debugger can reliably access the value of the parameter,
837 and therefore is able to display the exception name when an exception
838 breakpoint is reached.
840 2003-12-01 Thomas Quinot <quinot@act-europe.fr>
842 * fmap.adb: Fix typo in warning message.
844 * g-socket.ads, g-socket.adb: Make Free a visible instance of
845 Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
847 2003-12-01 Vincent Celier <celier@gnat.com>
849 * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
851 (Build_Library): Get the switches only if Default_Switches is declared
854 2003-12-01 Ed Schonberg <schonberg@gnat.com>
856 * exp_ch6.adb (Expand_Actuals): When applying validity checks to
857 actuals that are indexed components, reanalyze actual to ensure that
858 packed array references are properly expanded.
860 * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
861 attempted assignment to a discriminant.
863 2003-12-01 Robert Dewar <dewar@gnat.com>
865 * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
868 * switch-c.adb: Minor reformatting of comments
870 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
872 * Makefile.in: Clean ups.
874 2003-12-01 GNAT Script <nobody@gnat.com>
876 * Make-lang.in: Makefile automatically updated
878 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
880 * 5wsystem.ads: Disable zero cost exception, not ready yet.
882 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
884 * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
885 to force serialization.
887 2003-11-26 Thomas Quinot <quinot@act-europe.fr>
889 * g-socket.ads, g-socket.adb:
890 Clarify documentation of function Stream. Introduce a Free procedure
891 to release the returned Stream once it becomes unused.
893 * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
895 2003-11-26 Arnaud Charlet <charlet@act-europe.fr>
897 (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
898 since NT 4 cannot handle timeout values that are too large,
901 2003-11-26 Ed Schonberg <schonberg@gnat.com>
904 (Expand_N_Slice): Recognize all cases of slices that appear as actuals
905 in procedure calls and whose expansion must be deferred.
907 * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
911 (Build_Derived_Array_Type): Create operator for unconstrained type
912 if ancestor is unconstrained.
914 2003-11-26 Vincent Celier <celier@gnat.com>
916 * make.adb (Project_Object_Directory): New global variable
917 (Change_To_Object_Directory): New procedure
918 (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
919 of Change_Dir directly. Do not change working directory to object
920 directory of main project after each compilation.
921 (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
923 Change to object directory of main project before binding step.
924 (Initialize): Initialize Project_Object_Directory to No_Project
927 (Build_Library): Take into account Builder'Default_Switches ("Ada") when
928 binding a Stand-Alone Library.
930 * output.adb: Update Copyright notice
931 (Write_Char): Output buffer when full
933 2003-11-26 Robert Dewar <dewar@gnat.com>
935 * sem_ch13.adb: (Check_Size): Reset size if size is too small
938 (Check_Size): Fix documentation to include bit-packed array case
940 * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
942 * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
944 * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
946 2003-11-24 Arnaud Charlet <charlet@act-europe.fr>
949 * utils.c (init_gigi_decls): Change name of built-in setjmp to
950 __builtin_setjmp, since this is apparently needed by recent
953 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
955 * adadecode.c: Only include ctype.h if not IN_GCC.
956 (__gnat_decode): Use ISDIGIT from safe-ctype.h.
958 2003-11-24 Jose Ruiz <ruiz@act-europe.fr>
961 Use 5zintman.ads for VxWorks targets. This file avoid confusion between
962 signals and interrupts.
964 * 5zintman.ads: New File.
966 * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
967 add exception signals to the set of unmasked signals.
970 Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
971 between signals and interrupts.
972 Add to Unblocked_Signal_Mask the set of signals that are in
976 Adding a check to see whether the Interrupt_ID we want to unmask is in
977 the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
978 reason is that the index type of the Keep_Unmasked array is not always
979 Interrupt_ID; it may be a subtype of Interrupt_ID.
981 2003-11-24 Gary Dismukes <dismukes@gnat.com>
984 (Remove_Side_Effects): Condition constantness of object created for a
985 an unchecked type conversion on the constantness of the expression
986 to ensure the correct value for 'Constrained when passing components
987 of view-converted class-wide objects.
989 2003-11-24 Robert Dewar <dewar@gnat.com>
991 * par-load.adb (Load): Improve handling of misspelled and missing units
992 Removes several cases of compilation abandoned messages
994 * lib.adb: (Remove_Unit): New procedure
996 * lib.ads: (Remove_Unit): New procedure
998 * lib-load.adb: Minor reformatting
1000 2003-11-24 Vincent Celier <celier@gnat.com>
1003 (Gnatmake, Initialize): Call Usage instead of Makeusg directly
1004 (Marking_Label): Label to mark processed source files. Incremented for
1006 (Gnatmake): Increase Marking_Labet for each executable
1007 (Is_Marked): Compare against marking label
1008 (Mark): Mark with marking label
1010 2003-11-24 Jerome Guitton <guitton@act-europe.fr>
1013 Move the declaration of the TSD for System.Threads to System.Soft_Links.
1016 * Makefile.in: Added target pair for s-thread.adb for cert runtime.
1017 (rts-cert): build a single relocatable object for the run-time lib.
1020 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr>
1023 Use gnatls rather than gcc to obtain the location of GNAT RTL for
1026 2003-11-24 Sergey Rybin <rybin@act-europe.fr>
1028 * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
1029 can not use it as before (that is, as a variable) when dumping it into
1030 the tree file. Add a local variable to store the result of this
1031 function and to be used as the string to be written into the tree.
1033 * scn.adb (Initialize_Scanner): Add comments explaining the recent
1036 * sinput.adb (Source_First, Source_Last): In case of
1037 Internal_Source_File, replace returning attributes of
1038 Internal_Source_Ptr (which is wrong) with returning attributes of
1041 2003-11-24 Ed Schonberg <schonberg@gnat.com>
1044 (New_Concatenation_Op): Proper name for New_Binary_Operator, only
1045 used for implicit concatenation operators.
1049 (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
1050 task bodies that are in the scope of a Suppress pragma.
1051 (Check_A Call): Use the flag to prevent spurious elaboration checks.
1053 * sinfo.ads, sinfo.adb:
1054 New flag No_Elaboration_Check on function/procedure calls, to properly
1055 suppress checks on calls in task bodies that are within a local suppress
1059 (Expand_Concatenate_Other): Use the proper integer type for the
1060 expression for the upper bound, to avoid universal_integer computations
1063 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
1065 * .cvsignore: Delete.
1067 2003-11-21 Andreas Schwab <schwab@suse.de>
1069 * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
1071 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr>
1073 * 5wsystem.ads: Enable zero cost exception.
1075 2003-11-21 Jerome Guitton <guitton@act-europe.fr>
1077 * 5ztiitho.adb: Remove an unreferenced variable.
1079 2003-11-21 Thomas Quinot <quinot@act-europe.fr>
1081 * adaint.c: For FreeBSD, use mkstemp.
1083 2003-11-21 Arnaud Charlet <charlet@act-europe.fr>
1085 * gnatlbr.adb: Now reference Gnat_Static_Version_String.
1087 2003-11-21 Robert Dewar <dewar@gnat.com>
1089 * bld.adb: Remove useless USE of gnatvsn
1091 * gnatchop.adb: Minor reformatting
1092 Clean up version handling to be more consistent
1094 * gnatxref.adb: Minor reformatting
1096 * gprcmd.adb: Minor reformatting
1097 Fix output of copyright to be more consistent with other tools
1099 2003-11-21 Vincent Celier <celier@gnat.com>
1101 * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
1103 2003-11-21 Sergey Rybin <rybin@act-europe.fr>
1105 * atree.adb (Initialize): Add initializations for global variables
1106 used in New_Copy_Tree.
1108 * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
1109 Internal_Source_File as the actual).
1110 Put the set of statements creating Any_Character before the set of
1111 statements creating Any_Array to have Any_Character fully initialized
1112 when it is used in creating Any_Array.
1114 * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
1115 not call Scan in case if the actual is Internal_Source_File
1116 Add 2003 to copyright note.
1118 * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
1119 processing Internal_Source_File.
1121 * types.ads: Add the constant Internal_Source_File representing the
1122 source buffer for artificial source-code-like strings created within
1123 the compiler (the definition of Source_File_Index is changed).
1125 2003-11-20 Arnaud Charlet <charlet@act-europe.fr>
1127 * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
1128 56system.ads: New file, FreeBSD version.
1130 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
1132 * Make-lang.in (ada.extraclean): Delete.
1134 2003-11-19 Arnaud Charlet <charlet@act-europe.fr>
1136 * gnatmem.adb: Clean up verbose output.
1138 * gprcmd.adb: Change copyright to FSF.
1140 2003-11-19 Vincent Celier <celier@gnat.com>
1142 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
1143 and Version (ignored).
1145 * symbols.ads: (Policy): New type
1146 (Initialize): New parameter Reference, Symbol_Policy and
1148 Remove parameter Force.
1151 * snames.ads, snames.adbadb: New standard names
1152 Library_Reference_Symbol_File and Library_Symbol_Policy
1155 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
1159 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
1161 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
1163 * prj.adb: (Project_Empty): New component Symbol_Data
1165 * prj.ads: (Policy, Symbol_Record): New types
1166 (Project_Data): New component Symbol_Data
1169 New attributes Library_Symbol_File, Library_Symbol_Policy and
1170 Library_Reference_Symbol_File.
1173 (Ada_Check): When project is a Stand-Alone library project, process
1174 attribute Library_Symbol_File, Library_Symbol_Policy and
1175 Library_Reference_Symbol_File.
1177 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1178 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
1179 5sml-tgt.adb (Build_Dynamic_Library): New parameter
1180 Symbol_Data (ignored).
1182 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
1183 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
1184 functions Option_File_Name and Version_String. Set new options of
1185 gnatsym related to symbol file, symbol policy and reference symbol
1189 Extensive modifications to take into account the reference symbol file,
1190 the symbol policy, the library version and to put in the symbol file the
1191 minor and major IDs.
1193 * bld.adb (Process_Declarative_Items): Put second argument of
1194 gprcmd to_absolute between single quotes, to avoid problems with
1197 * bld-io.adb: Update Copyright notice.
1198 (Flush): Remove last character of a line, if it is a back slash, to
1199 avoid make problems.
1202 Implement new scheme with reference symbol file and symbol policy.
1204 * g-os_lib.ads: (Is_Directory): Clarify comment
1206 2003-11-19 Robert Dewar <dewar@gnat.com>
1208 * atree.adb: Move New_Copy_Tree global variables to head of package
1210 * errout.adb: Minor reformatting
1212 2003-11-19 Javier Miranda <miranda@gnat.com>
1214 * sem_ch4.adb: (Diagnose_Call): Improve error message.
1215 Add reference to Ada0Y (AI-50217)
1217 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
1218 sem_util.adb: Add reference to AI-50217
1220 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
1222 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
1224 * sem_aggr.adb: Complete documentation of AI-287 changes
1226 * par-ch4.adb: Document previous changes.
1228 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
1229 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
1232 * exp_aggr.adb: Add references to AI-287 in previous changes
1234 2003-11-19 Ed Schonberg <schonberg@gnat.com>
1237 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
1238 in the rewriting is the result of an inlined call.
1240 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
1241 parameter is a type conversion, use original node to construct the
1242 post-call assignment, because expression may have been rewritten, e.g.
1243 if it is a packed array.
1246 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
1247 body, just as it is in an instance.
1248 Categorization routines
1250 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
1251 Instantiate_Object): Set proper sloc reference for message on missing
1254 2003-11-19 Thomas Quinot <quinot@act-europe.fr>
1256 * Makefile.in: Add FreeBSD libgnat pairs.
1258 * usage.adb: Fix typo in usage message.
1260 2003-11-19 Jerome Guitton <guitton@act-europe.fr>
1262 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
1263 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
1265 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
1267 * s-thread.adb: This file is now a dummy implementation of
1270 2003-11-19 Sergey Rybin <rybin@act-europe.fr>
1272 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
1274 2003-11-19 Emmanuel Briot <briot@act-europe.fr>
1276 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1277 instanciation references in the parent type description.
1279 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1281 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
1283 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
1284 TYPE_PRECISION directly from esize.
1286 2003-11-18 Thomas Quinot <quinot@act-europe.fr>
1289 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
1291 * init.c: Initialization routines for FreeBSD
1293 * link.c: Link info for FreeBSD
1295 * sysdep.c: Add the case of FreeBSD
1297 2003-11-17 Jerome Guitton <guitton@act-europe.fr>
1299 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
1300 already called in System.Threads.
1302 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
1303 environment task, as it has been moved to System.Threads.Initialization.
1305 2003-11-17 Arnaud Charlet <charlet@act-europe.fr>
1307 * adaint.c (__gnatlib_install_locks): Only reference
1308 __gnat_install_locks on VMS, since other platforms can avoid using
1309 --enable-threads=gnat
1311 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1313 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
1315 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
1316 TYPE_PACKED_ARRAY_TYPE_P.
1317 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
1319 Part of PR ada/12806
1320 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
1321 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
1323 2003-11-17 Vincent Celier <celier@gnat.com>
1325 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
1327 Do not set exit status to Failure when Warning is True.
1328 (Gnatchop): Make errors "no compilation units found" and
1329 "no source files written" warnings only.
1331 * make.adb (Gnatmake): When using a project file, set
1332 Look_In_Primary_Dir to False.
1333 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
1334 and Local_Configuration_Pragmas in the project where they are declared
1335 not an extending project which might have inherited them.
1337 * osint.adb (Locate_File): If Name is already an absolute path, do not
1338 look for a directory.
1340 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
1341 -gnats (Check_Syntax) is used, issue only a warning, not an error.
1343 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
1344 in objects of type Variable_Value.
1346 * prj.ads: (Variable_Value): New component Project
1348 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
1349 is in a project extended by Project.
1351 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
1352 Project of Variable_Values to this new parameter value.
1353 (Expression): Set component Project of Variable_Values.
1354 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
1355 Set the component Project in array elements.
1357 2003-11-17 Sergey Rybin <rybin@act-europe.fr>
1359 * errout.adb: (Initialize): Add initialization for error nodes.
1361 * sem_ch12.adb (Initialize): Add missing initializations for
1362 Exchanged_Views and Hidden_Entities.
1364 2003-11-17 Ed Schonberg <schonberg@gnat.com>
1366 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
1367 already instantiated tree for use in subsequent inlining.
1368 (Analyze_Associations, Instantiate_Formal_Subprogram,
1369 Instantiate_Object): improve error message for mismatch in
1372 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
1373 instantiations of subprograms declared in instances.
1375 2003-11-17 Javier Miranda <miranda@gnat.com>
1377 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
1378 executed only under the Extensions_Allowed flag.
1380 2003-11-17 Robert Dewar <dewar@gnat.com>
1382 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
1384 (Address_Image): Fix bug of returning 0x instead of 0x0
1385 Minor reformatting (function specs).
1387 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
1388 (missed case of 33-63)
1390 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
1392 * s-thread.adb: Add comments for pragma Restriction
1394 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
1395 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
1397 2003-11-17 Ed Falis <falis@gnat.com>
1399 * s-thread.adb: Added No_Tasking restriction for this implementation.
1401 2003-11-17 Emmanuel Briot <briot@act-europe.fr>
1403 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1404 instanciation references in the parent type description.
1406 2003-11-17 GNAT Script <nobody@gnat.com>
1408 * Make-lang.in: Makefile automatically updated
1410 2003-11-16 Jason Merrill <jason@redhat.com>
1412 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
1413 and TAGS files that include them for each front end.
1415 2003-11-14 Andreas Jaeger <aj@suse.de>
1417 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
1418 is the canonical version.
1419 * misc.c (gnat_handle_option): Likewise.
1421 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
1423 * 5nsystem.ads: New file for x86_64-linux-gnu.
1425 2003-11-14 Arnaud Charlet <charlet@act-europe.fr>
1427 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
1429 * comperr.adb: Fix logic in previous change.
1431 2003-11-13 Vincent Celier <celier@gnat.com>
1433 * 5bml-tgt.adb (Build_Dynamic_Library): Use
1434 Osint.Include_Dir_Default_Prefix instead of
1435 Sdefault.Include_Dir_Default_Name.
1437 * gnatlbr.adb: Update Copyright notice
1438 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1439 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1440 instead of Sdefault.Object_Dir_Default_Name
1443 (Process_Binder_File): Never suppress the option following -Xlinker
1446 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1447 Sdefault.Object_Dir_Default_Name.
1449 * osint.ads, osint.adb:
1450 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1453 * vms_conv.ads: Minor reformating
1454 Remove GNAT STANDARD and GNAT PSTA
1457 Allow GNAT MAKE to have several files on the command line.
1458 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1459 Sdefault.Object_Dir_Default_Name.
1461 Remove data for GNAT STANDARD
1464 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1465 Remove data for GNAT STANDARD
1466 Remove options and documentation for -gnatwb/-gnatwB: these warning
1467 options no longer exist.
1469 2003-11-13 Ed Falis <falis@gnat.com>
1471 * 5zthrini.adb: (Init_RTS): Made visible
1474 (Register): Removed unnecessary call to taskVarGet that checked whether
1475 an ATSD was already set as a task var for the argument thread.
1478 Updated comment to reflect that this is a VxWorks version
1479 Added context clause for System.Threads.Initialization
1480 Added call to System.Threads.Initialization.Init_RTS
1482 2003-11-13 Jerome Guitton <guitton@act-europe.fr>
1485 (Init_RTS): New procedure, for the initialization of the run-time lib.
1488 Remove dependancy on System.Init, so that this file can be used in the
1489 AE653 sequential run-time lib.
1491 2003-11-13 Robert Dewar <dewar@gnat.com>
1493 * bindgen.adb: Minor reformatting
1495 2003-11-13 Ed Schonberg <schonberg@gnat.com>
1498 (Apply_Discriminant_Check): Do no apply check if target type is derived
1499 from source type with no applicable constraint.
1502 (Ensure_System_Dependency): Do not apply the style checks that may have
1503 been specified for the main unit.
1506 (Find_Selected_Component): Further improvement in error message, with
1510 (Resolve): Handle properly the case of an illegal overloaded protected
1513 2003-11-13 Javier Miranda <miranda@gnat.com>
1516 (Has_Default_Init_Comps): New function to check the presence of
1517 default initialization in an aggregate.
1518 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1519 extension aggregate of a limited record. In addition, a new formal
1520 was added to do not initialize the record controller (if any) during
1521 this recursive expansion of ancestors.
1522 (Init_Controller): Add support for limited record components.
1523 (Expand_Record_Aggregate): In case of default initialized components
1524 convert the aggregate into a set of assignments.
1526 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1527 describing the new syntax.
1528 Nothing else needed to be done because this subprogram delegates part of
1529 its work to P_Precord_Or_Array_Component_Association.
1530 (P_Record_Or_Array_Component_Association): Give support to the new
1531 syntax for default initialization of components.
1534 (Resolve_Aggregate): Relax the strictness of the frontend in case of
1536 (Resolve_Record_Aggregate): Give support to default initialized
1538 (Get_Value): In case of default initialized components, duplicate
1539 the corresponding default expression (from the record type
1540 declaration). In case of default initialization in the *others*
1541 choice, do not check that all components have the same type.
1542 (Resolve_Extension_Aggregate): Give support to limited extension
1546 (Check_Initialization): Relax the strictness of the front-end in case
1547 of aggregate and extension aggregates. This test is now done in
1548 Get_Value in a per-component manner.
1550 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1551 expression corresponds to a limited aggregate. This test is now done
1554 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1557 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1558 present in an N_Component_Association node
1560 2003-11-13 Thomas Quinot <quinot@act-europe.fr>
1562 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
1563 type-conformant entry only if they are homographs.
1565 2003-11-13 GNAT Script <nobody@gnat.com>
1567 * Make-lang.in: Makefile automatically updated
1569 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1571 * adadecode.c: Use <> form of include for ctype.h.
1572 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
1574 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1576 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
1577 Works around PR middle-end/6552.
1579 2003-11-10 Ed Falis <falis@gnat.com>
1581 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
1583 * 5zinit.adb: (Install_Handler): Moved back to spec
1584 (Install_Signal_Handlers): Deleted
1586 * 5zthrini.adb: Added context clause for System.Storage_Elements
1587 (Register): Only handles creation of taskVar; initialization moved to
1589 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
1590 Added declaration of environment task secondary stack and
1593 * s-thread.adb: Implement bodies for thread body processing
1596 Added comment identifying supported targets for pragma Thread_Body.
1598 2003-11-10 Pascal Obry <obry@gnat.com>
1600 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
1604 (Open): Properly check for string length before copying into the buffer.
1605 Raises Name_Error if buffer is too small. Note that this was a potential
1608 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
1610 * bindgen.adb, comperr.adb: Code clean ups.
1611 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
1613 2003-11-10 Sergey Rybin <rybin@act-europe.fr>
1615 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
1617 2003-11-10 Vincent Celier <celier@gnat.com>
1620 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
1623 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
1625 * prj.adb: (Project_Empty): Add new boolean component Virtual
1627 * prj.ads: (Virtual_Prefix): New constant string
1628 (Project_Data): New boolean component Virtual
1630 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
1631 a library project is extended by a virtual extending project.
1634 Modifications throughout to implement extending-all project, including:
1635 (Virtual_Hash, Processed_Hash): New hash tables
1636 (Create_Virtual_Extending_Project): New procedure
1637 (Look_For_Virtual_Projects_For): New procedure
1640 (Process): After checking the projects, if main project is an
1641 extending-all project, set the object directory of all virtual extending
1642 project to the object directory of the main project.
1643 Adjust error message when a virtual extending project has the same
1644 object directory as an project being extended.
1645 (Recursive_Process): If name starts with the virtual prefix, set Virtual
1646 to True in the project data.
1649 (Default_Project_Node): Add new boolean component Extending_All
1650 (Is_Extending_All): New function
1651 (Set_Is_Extending_All): New procedure
1653 * prj-tree.ads: (Is_Extending_All): New function
1654 (Set_Is_Extending_All): New procedure
1655 (Project_Node_Record): New boolean component Extending_All
1657 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
1660 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
1662 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
1663 "gprcmd prefix" to define it.
1665 2003-11-10 Thomas Quinot <quinot@act-europe.fr>
1667 * einfo.ads: Fix a typo and remove an extraneous word in comments.
1670 (Create_Dummy_Package_Unit): Set the scope of the entity for the
1671 created dummy package to Standard_Standard, not to itself, to
1672 defend other parts of the front-end against encoutering a cycle in
1676 (Analyze_With_Clause): When setting the entities for the successive
1677 N_Expanded_Names that constitute the name of a child unit, do not
1678 attempt to go further than Standard_Standard in the chain of scopes.
1679 This case arises from the placeholder units created by
1680 Create_Dummy_Package_Unit in the case of a with_clause for a
1681 nonexistent child unit.
1683 2003-11-10 Ed Schonberg <schonberg@gnat.com>
1686 (Expand_Thread_Body): Place subprogram on scope stack, so that new
1687 declarations are given the proper scope.
1690 (Check_Expr_Constants): Reject an expression that contains a constant
1691 created during expansion, and that appears after the object to which
1692 the address clause applies.
1694 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
1695 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
1696 that uses 'Range of a function call with controlled components, so
1697 that the function result can be finalized before starting the loop.
1700 (Find_Selected_Component): Improve error message when prefix is
1701 an implicit dereference of an incomplete type.
1703 2003-11-10 Robert Dewar <dewar@gnat.com>
1705 * opt.ads: New Print_Standard flag for -gnatS switch
1707 * sem_ch13.adb: Remove some additional checks for unaligned arrays
1709 * cstand.adb (Create_Standard): Print out package standard if -gnatS
1712 * debug.adb: Update doc for -gnatds to discuss relationship with new
1715 * sinfo.adb: Add new field Entity_Or_Associated_Node
1717 * sinfo.ads: Add new field Entity_Or_Associated_Node
1718 Update documentation for Associated_Node and Entity fields to clarify
1719 relationship and usage.
1722 (Write_Id): Properly process Associated_Node field in generic template
1725 Recognize new -gnatS switch for printing package Standard
1726 This replaces gnatpsta
1729 Add line for new -gnatS switch for printing package Standard
1730 This replaces gnatpsta
1732 2003-11-10 Andreas Jaeger <aj@suse.de>
1734 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
1737 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1739 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
1742 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1744 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
1747 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
1749 * sysdep.c: Add handling of cygwin.
1751 2003-11-10 GNAT Script <nobody@gnat.com>
1753 * Make-lang.in: Makefile automatically updated
1755 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1758 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
1759 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
1760 Replace GNAT_ROOT by GCC_ROOT.
1762 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
1764 2003-11-06 Zack Weinberg <zack@codesourcery.com>
1766 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
1767 and update for changed meaning of GET_MODE_BITSIZE.
1769 2003-11-04 Doug Rupp <rupp@gnat.com>
1771 * sysdep.c: Problem discovered during IA64 VMS port.
1772 [VMS] #include <unixio.h> to get proper prototypes.
1775 Issues discovered/problems fixed during IA64 VMS port.
1776 [VMS] #define _POSIX_EXIT for proper semantics.
1777 [VMS] #include <unixio.h> for proper prototypes.
1778 [VMS] (fork): #define IA64 version.
1779 (__gnat_os_exit): Remove unnecessary VMS specific code.
1781 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1783 Part of PR ada/12806
1785 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
1789 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
1792 * targtyps.c, decl.c, misc.c,
1793 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
1794 routines to work around change in FP sizing semantics in GCC.
1797 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
1799 * gigi.h: (enumerate_modes): New function.
1801 * Make-lang.in: (ada/misc.o): Add real.h.
1803 * misc.c: (enumerate_modes): New function.
1805 2003-11-04 Robert Dewar <dewar@gnat.com>
1807 * 3vtrasym.adb: Minor reformatting
1808 Use terminology encoded/decoded name, rather than C++ specific notion
1809 of mangling (this is the terminology used throughout GNAT).
1811 * einfo.h: Regenerated
1813 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
1816 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
1818 * par-prag.adb: Add dummy entry for Thread_Body pragma
1821 Add entries for System.Threads entities for thread body processing
1824 (Analyze_Pragma, Access attributes): Check these are not applied to a
1825 thread body, since this is not permitted
1827 * sem_prag.adb: Add processing for Thread_Body pragma.
1831 (Resolve_Call): Check for incorrect attempt to call a thread body
1832 procedure with a direct call.
1834 * snames.ads, snames.adb: Add entry for Thread_Body pragma
1835 Add names associated with thread body expansion
1837 * snames.h: Add entry for Thread_Body pragma
1839 * s-thread.adb: Add entries for thread body processing
1840 These are dummy bodies so far
1842 * s-thread.ads: Add documentation on thread body handling.
1843 Add entries for thread body processing.
1845 2003-11-04 Javier Miranda <miranda@gnat.com>
1848 (Build_Limited_Views): Return after posting an error in case of limited
1849 with_clause on subprograms, generics, instances or generic renamings
1850 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
1851 on subprograms, generics, instances or generic renamings
1853 2003-11-04 Arnaud Charlet <charlet@act-europe.fr>
1855 * raise.c (setup_to_install): Correct mistake in last revision; two
1856 arguments out of order.
1858 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
1859 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
1860 notice, missed in previous change.
1861 Remove trailing blanks and other style errors introduced in previous
1864 2003-11-04 Olivier Hainque <hainque@act-europe.fr>
1866 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
1867 rid of the wrapper for a LJM type, ensuring we don't do that if the
1868 field is addressable. This avoids potential low level type view
1869 mismatches later on, for instance in a by-reference argument passing
1872 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1874 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
1875 aligned at byte boundary.
1877 2003-11-04 Joel Brobecker <brobecker@gnat.com>
1879 * decl.c (components_to_record): Do not delete the empty variants from
1880 the end of the union type.
1882 2003-11-04 Ed Schonberg <schonberg@gnat.com>
1884 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
1885 operation for a derived type, an explicit declaration may use a local
1888 2003-11-04 Vincent Celier <celier@gnat.com>
1890 * make.adb (Gnatmake): Allow main sources on the command line with a
1891 library project when it is only for compilation (no binding or
1894 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1896 * Makefile.in: Remove many duplicate variables.
1898 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
1900 * Make-lang.in (dvi): Move targets to $(docobjdir).
1901 (gnat_ug_vms.dvi): Simplify rule and adjust target.
1902 (gnat_ug_wnt.dvi): Likewise.
1903 (gnat_ug_unx.dvi): Likewise.
1904 (gnat_ug_vxw.dvi): Likewise.
1905 (gnat_rm.dvi): Likewise.
1906 (gnat-style.dvi): Likewise.
1908 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
1910 * gigi.h: Missed commit from update for C90.
1912 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
1914 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
1916 2003-10-31 Andreas Schwab <schwab@suse.de>
1918 * raise.c (get_action_description_for): Fix typo in last change.
1920 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
1923 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
1924 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
1926 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
1928 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
1929 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
1930 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
1931 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
1932 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
1934 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
1937 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
1938 numbers when symbol name is too long.
1940 2003-10-30 Ed Falis <falis@gnat.com>
1942 * g-signal.ads, g-signal.adb: New files
1944 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
1946 * Makefile.rtl: Introduce GNAT.Signals
1948 2003-10-30 Robert Dewar <dewar@gnat.com>
1950 * freeze.adb: Minor reformatting
1952 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
1954 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
1955 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
1956 New handling of Id_Check parameter to improve recognition of keywords
1957 used as identifiers.
1958 Update copyright notice to include 2003
1960 2003-10-29 Robert Dewar <dewar@gnat.com>
1962 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
1963 sem_ch10.adb: Minor reformatting
1965 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
1966 (Expand_Assign_Record): Test right hand side for bit unaligned as well
1968 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
1970 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
1971 Support for TBK$SYMBOLIZE-based symbolic traceback.
1973 2003-10-29 Jose Ruiz <ruiz@act-europe.fr>
1976 Revert previous change, that did not work well when pragma No_Run_Time
1977 was used in conjunction with a run-time other than ZFP.
1979 2003-10-29 Vincent Celier <celier@gnat.com>
1982 (Gnatmake): When there are no Ada mains in attribute Main, disable the
1983 bind and link steps only is switch -z is not used.
1985 2003-10-29 Arnaud Charlet <charlet@act-europe.fr>
1987 * Makefile.generic: Remove duplicated setting of CC.
1989 * Makefile.prolog: Set CC to gcc by default, to override make's
1992 * einfo.h: Regenerated.
1994 2003-10-29 Ed Schonberg <schonberg@gnat.com>
1996 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
1997 current body, after compiling subunit.
1999 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
2000 when in deleted code, because gigi needs properly ordered freeze
2001 actions to annotate types.
2003 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
2004 prevent the premature freezing of record type that contains
2005 subcomponents with a private type that does not yet have a completion.
2007 2003-10-29 Javier Miranda <miranda@gnat.com>
2010 (Analyze_Package_Instantiation): Check that instances can not be used in
2011 limited with_clauses.
2014 (Analyze_Package_Renaming): Check that limited withed packages cannot
2015 be renamed. Improve text on error messages related to limited
2018 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
2020 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
2021 Update copyright notice.
2023 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
2024 (Install_Limited_Context_Clauses): New subprogram that isolates all the
2025 checks required for limited context_clauses and installs the limited
2027 (Install_Limited_Withed_Unit): Complete its documentation.
2028 (Analyze_Context): Check that limited with_clauses are only allowed in
2030 (Install_Context): Call Install_Limited_Context_Clauses after the
2031 parents have been installed.
2032 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
2033 package as 'From_With_Type'; this mark indicates that the limited view
2034 is installed. Used to check bad usages of limited with_clauses.
2035 (Build_Limited_Views): Do not add shadow entities to the scope's list
2036 of entities. Do not add real entities to the Non_Limited_Views chain.
2037 Improve error notification.
2038 (Remove_Context_Clauses): Remove context clauses in two phases:
2039 limited views first and regular views later (to maintain the
2041 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
2042 its visible entities.
2044 2003-10-29 Thomas Quinot <quinot@act-europe.fr>
2046 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
2047 with any type that Is_Fixed_Point_Type.
2049 * sinfo.ads: Fix documentation for Associated_Node attribute.
2051 2003-10-29 Sergey Rybin <rybin@act-europe.fr>
2053 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
2054 both '-gnatc' and '-gnatt' are specified.
2056 * atree.adb (Initialize): Add initialization for Node_Count (set to
2059 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2061 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
2062 do not consider as Pure.
2064 Part of implementation of function-at-a-time:
2066 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
2067 (tree_transform): Add new argument to build_component_ref.
2068 (tree_transform, case N_Assignment_Statement): Make and return an
2070 (tree_transform): If result IS_STMT, set flags and return it.
2071 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2073 * utils2.c (build_simple_component_ref, build_component_ref): Add new
2075 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
2076 (build_allocator): Likewise.
2078 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
2079 Add new arg to build_component_ref.
2080 (maybe_unconstrained_array, unchecked_convert): Likewise.
2082 * ada-tree.def (EXPR_STMT): New code.
2084 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
2086 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
2087 build_component_ref calls.
2089 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
2091 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
2092 (build_component_ref): Add new argument, NO_FOLD_P.
2094 2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
2096 * Makefile.generic: Add missing substitution on object_deps handling.
2099 * Make-lang.in (check-ada): Enable ACATS test suite.
2101 2003-10-27 Robert Dewar <dewar@gnat.com>
2104 (Freeze_Array_Type): We do not need an initialization routine for types
2105 derived from String or Wide_String. They should be treated the same
2106 as String and Wide_String themselves. This caused problems with the
2107 use of Initialize_Scalars.
2110 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
2111 composites. This allows use of component clauses that are not byte
2115 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
2116 is an attempt to pack an array of atomic objects.
2118 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
2120 2003-10-27 Pascal Obry <obry@gnat.com>
2123 (Basename): Check for drive letters in a pathname only on DOS based OS.
2125 2003-10-27 Vincent Celier <celier@gnat.com>
2128 (Gnatmake): When unable to change dir to the object dir, display the
2129 content of the parent dir of the obj dir, to try to understand why this
2132 2003-10-27 GNAT Script <nobody@gnat.com>
2134 * Make-lang.in: Makefile automatically updated
2136 2003-10-27 Ed Schonberg <schonberg@gnat.com>
2139 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
2140 should not be done in Save/Restore_Scope_Stack, because it is performed
2144 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2145 whether use clauses should be removed/restored.
2148 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2149 whether use clauses should be removed/restored.
2151 2003-10-26 Andreas Jaeger <aj@suse.de>
2153 * Makefile.in: Remove duplicated lines.
2155 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2157 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
2158 minimize the differences with ACT tree.
2160 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
2161 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
2162 Gnatvsn.Gnat_Static_Version_String to reduce differences between
2165 2003-10-24 Pascal Obry <obry@gnat.com>
2167 * adadecode.c (ostrcpy): New function.
2168 (__gnat_decode): Use ostrcpy of strcpy.
2169 (has_prefix): Set first parameter a const.
2170 (has_suffix): Set first parameter a const.
2171 Update copyright notice. Fix source name in header.
2172 Removes a trailing space.
2175 2003-10-24 Jose Ruiz <ruiz@act-europe.fr>
2178 Remove the test against being in No_Run_Time_Mode before generating a
2179 call to Register_Tag. It is redundant with the test against the
2180 availability of the function Register_Tag.
2182 2003-10-24 Vincent Celier <celier@gnat.com>
2184 * g-catiio.adb: (Month_Name): Correct spelling of February
2186 * make.adb: (Mains): New package
2187 (Initialize): Call Mains.Delete
2188 (Gnatmake): Check that each main on the command line is a source of a
2189 project file and, if there are several mains, each of them is a source
2190 of the same project file.
2191 (Gnatmake): When a foreign language is specified in attribute Languages,
2192 no main is specified on the command line and attribute Mains is not
2193 empty, only build the Ada main. If there is no Ada main, just compile
2194 the Ada sources and their closure.
2195 (Gnatmake): If a main is specified on the command line with directory
2196 information, check that the source exists and, if it does, that the path
2197 is the actual path of a source of a project.
2200 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
2201 Full_Path is True, return the full path instead of the simple file name.
2202 (Project_Of): New function
2205 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
2207 (Project_Of): New function
2209 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2212 Ensure objects of main project are always checked and rebuilt if needed.
2213 Set CC to gcc by default.
2214 Prepare new handling of link by creating a global archive (not activated
2217 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2218 stringt.h: Update copyright notice. Remove trailing blanks.
2219 Fix source name in header.
2221 2003-10-24 Robert Dewar <dewar@gnat.com>
2223 * sem_ch12.adb: Minor reformatting
2226 Minor reformatting (including new function return style throughout)
2229 Minor reformatting (including new function return style throughout)
2231 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2233 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2234 stringt.h: Update copyright notice. Remove trailing blanks.
2235 Fix source name in header.
2237 2003-10-24 GNAT Script <nobody@gnat.com>
2239 * Make-lang.in: Makefile automatically updated
2241 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
2243 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
2244 stringt.h: Convert to ISO C90 declarations and definitions.
2246 2003-10-23 Thomas Quinot <quinot@act-europe.fr>
2249 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
2250 External_Tag attribute definition clauses.
2252 2003-10-23 Ed Schonberg <schonberg@gnat.com>
2255 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
2256 child unit, generate a fully qualified name to avoid spurious errors
2257 when the context contains renamings of different child units with
2258 the same simple name.
2260 * exp_dbug.ads: Add documentation on name qualification for renamings
2263 2003-10-23 Robert Dewar <dewar@gnat.com>
2265 * g-regpat.ads, g-regpat.adb: Minor reformatting
2267 2003-10-23 Jose Ruiz <ruiz@act-europe.fr>
2269 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
2271 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2273 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
2276 * urealp.h: (Machine): Update to proper definition.
2278 2003-10-23 Arnaud Charlet <charlet@act-europe.fr>
2280 * init.c, adaint.c: Minor reformatting.
2282 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
2284 * adaint.c (w32_epoch_offset): Define static const at file level.
2285 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
2286 rather than t_create, t_access in call to GetFileTime. Use union
2287 to convert between FILETIME and unsigned long long.
2288 (__gnat_file_time_name): Test for invalid file handle.
2289 (__gnat_set_filetime_name): Support win32 targets using
2292 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
2294 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
2296 * ctrl_c.c (__gnat_int_handler): Remove declaration.
2298 * decl.c (creat_concat_name): Const-ify prefix.
2300 * adaint.c: Include ctype.h if __MINGW32__.
2301 (__gnat_readlink): Mark arguments as possibly unused.
2302 (__gnat_symlink): Likewise.
2303 (__gnat_is_symbolic_link): Likewise.
2304 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
2306 (__gnat_file_time_name): Don't declare struct stat statbuf when
2308 (__gnat_is_absolute_path): Add parenthesis around condition of
2309 'if' statement to avoid warning.
2310 (__gnat_plist_init): Specify void as parameter.
2311 (plist_enter): Likewise.
2312 (plist_leave): Likewise.
2313 (remove_handle): Make static. Initialize prev.
2315 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2317 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
2318 * cstreams.c (__gnat_full_name): Minor improvements and clean up
2321 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2323 * tracebak.c (MAX): Avoid redefinition warning.
2325 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
2326 Change msg to const char *.
2327 (__gnat_install_handler): Remove ss, unused.
2328 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
2330 * cstreams.c (__gnat_full_name): Declare p only when used.
2331 (__gnat_full_name) [sgi] Return buffer.
2333 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2335 * mingw32.h: New file.
2336 * gnat_wrapper.adb: New file.
2338 2003-10-22 Jerome Roussel <roussel@act-europe.fr>
2340 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
2341 string match a pre compiled regular expression (the corresponding
2342 version of the function working on a raw regular expression)
2343 Fix typos in various comments
2344 Update copyright notice in spec
2346 2003-10-21 Gary Dismukes <dismukes@gnat.com>
2349 (Component_Needs_Simple_Initialization): Return False when the type is a
2350 packed bit array. Revise spec comments to document this case.
2353 (Expand_Pragma_Import): Set any expression on the imported object to
2354 empty to avoid initializing imported objects (in particular this
2355 covers the case of zero-initialization of bit arrays).
2356 Update copyright notice.
2358 2003-10-21 Ed Schonberg <schonberg@gnat.com>
2361 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
2362 a subunit is missing.
2363 (Instantiate_Subprogram_Body): If body of function is missing, set type
2364 of return expression explicitly in dummy body, to prevent cascaded
2365 errors when a subunit is missing.
2369 (Access_Subprogram_Declaration): Verify that return type is valid.
2373 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
2378 (Corresponding_Discriminant): If the scope of the discriminant is a
2379 private type without discriminant, use its full view.
2382 2003-10-21 Arnaud Charlet <charlet@act-europe.fr>
2384 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
2385 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
2386 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
2387 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
2388 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
2389 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
2390 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2391 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
2392 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
2393 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
2394 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
2395 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
2396 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
2397 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
2398 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
2399 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
2400 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
2401 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
2402 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
2403 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
2404 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
2405 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
2406 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
2407 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
2408 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
2409 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
2410 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
2411 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
2412 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
2413 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
2414 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
2415 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
2416 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
2417 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
2418 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
2419 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
2420 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
2421 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
2422 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
2423 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
2424 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
2425 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
2426 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
2427 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
2428 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
2429 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
2430 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
2431 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2432 vms_conv.ads, vms_conv.adb, vms_data.ads,
2433 vxaddr2line.adb: Files added. Merge with ACT tree.
2435 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2436 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2437 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2438 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2439 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2440 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2441 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2442 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2443 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2444 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2446 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2447 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2448 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2449 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2450 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2451 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2452 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2453 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2454 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2455 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2456 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2457 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2458 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2459 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2460 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2461 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2462 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2463 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2464 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2465 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2466 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2467 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2468 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2469 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2470 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2471 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2472 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2473 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2474 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2475 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2476 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2477 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2478 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2479 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2480 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2481 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2482 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2483 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2484 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2485 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2486 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2487 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2488 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2489 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2490 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2491 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2492 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2493 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2494 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2495 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2496 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2497 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2498 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2499 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2500 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2501 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2502 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2503 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2504 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2505 checks.adb, checks.ads, cio.c, comperr.adb,
2506 comperr.ads, csets.adb, cstand.adb, cstreams.c,
2507 debug_a.adb, debug_a.ads, debug.adb, decl.c,
2508 einfo.adb, einfo.ads, errout.adb, errout.ads,
2509 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2510 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2511 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2512 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2513 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2514 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2515 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2516 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2517 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2518 fe.h, fmap.adb, fmap.ads, fname.adb,
2519 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2520 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2521 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2522 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2523 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2524 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2525 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2526 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2527 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2528 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2529 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2530 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2531 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2532 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2533 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2534 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2535 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2536 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2537 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2538 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2539 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2540 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2541 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2542 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2543 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2544 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2545 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2546 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2547 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2548 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2549 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2550 layout.adb, lib.adb, lib.ads, lib-list.adb,
2551 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2552 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2553 link.c, live.adb, make.adb, make.ads,
2554 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2555 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2556 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2557 misc.c, mkdir.c, mlib.adb, mlib.ads,
2558 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2559 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
2560 namet.adb, namet.ads, namet.h, nlists.ads,
2561 nlists.h, nmake.adt, opt.adb, opt.ads,
2562 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
2563 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
2564 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2565 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
2566 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
2567 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
2568 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
2569 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
2570 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
2571 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
2572 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
2573 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
2574 prj-util.adb, prj-util.ads, raise.c, raise.h,
2575 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
2576 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
2577 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
2578 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
2579 scans.ads, scn.adb, scn.ads, s-crc32.adb,
2580 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
2581 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
2582 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
2583 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
2584 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
2585 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2586 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2587 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
2588 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
2589 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
2590 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
2591 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
2592 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
2593 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
2594 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2595 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
2596 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
2597 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
2598 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
2599 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
2600 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
2601 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
2602 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
2603 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
2604 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
2605 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
2606 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
2607 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
2608 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
2609 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
2610 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
2611 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
2612 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
2613 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
2614 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
2615 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
2616 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
2617 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
2618 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
2619 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
2620 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
2621 stringt.adb, stringt.ads, stringt.h, style.ads,
2622 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
2623 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
2624 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
2625 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
2626 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
2627 table.adb, table.ads, targparm.adb, targparm.ads,
2628 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
2629 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
2630 ttypes.ads, types.ads, types.h, uintp.adb,
2631 uintp.ads, uintp.h, uname.adb, urealp.adb,
2632 urealp.ads, urealp.h, usage.adb, utils2.c,
2633 utils.c, validsw.adb, validsw.ads, widechar.adb,
2634 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
2635 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
2636 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
2637 gnatvsn.ads: Merge with ACT tree.
2639 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
2641 2003-10-20 Mark Mitchell <mark@codesourcery.com>
2643 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
2644 (gnat_ug_vmx.info): Likewise.
2645 (gnat_ug_vxw.info): Likewise.
2646 (gnat_ug_wnt.info): Likewise.
2647 (gnat_rm.info): Likewise.
2648 (gnat-style.info): Likewise.
2650 * Make-lang.in (ada.install-info): Remove target.
2652 (install-info): Likewise.
2653 (gnat_ug_unx.info): Simplify rule.
2654 (gnat_ug_vmx.info): Likewise.
2655 (gnat_ug_vxw.info): Likewise.
2656 (gnat_ug_wnt.info): Likewise.
2657 (gnat_rm.info): Likewise.
2658 (gnat-style.info): Likewise.
2660 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
2662 * Make-lang.in: Replace uses of $(target_alias) with
2663 $(target_noncanonical).
2664 * ada/Makefile.in: Remove unused mention of $(target_alias).
2666 2003-10-06 Mark Mitchell <mark@codesourcery.com>
2668 * Make-lang.in (ada.info): Replace with ...
2670 (ada.dvi): Replace with ...
2673 2003-09-29 Zack Weinberg <zack@codesourcery.com>
2675 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
2676 initialize dconstp5 and dconstmp5.
2678 2003-09-28 Richard Henderson <rth@redhat.com>
2680 * trans.c (tree_transform): Update call to expand_asm_operands.
2682 2003-09-21 Richard Henderson <rth@redhat.com>
2684 * trans.c, utils.c: Revert.
2686 2003-09-21 Richard Henderson <rth@redhat.com>
2688 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
2691 2003-09-04 Michael Matz <matz@suse.de>
2693 * misc.c: Include "target.h".
2694 * Make-lang.in (misc.o): Add dependency on target.h.
2696 2003-09-03 DJ Delorie <dj@redhat.com>
2698 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
2701 2003-08-30 Zack Weinberg <zack@codesourcery.com>
2703 * Makefile.in: Update substitutions to match changes to
2704 configure. Use include directives instead of @-insertions
2705 to read in host and target fragments. Add a rule to
2706 regenerate ada/Makefile.
2708 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
2710 * lang-options.h: Remove.
2711 * lang.opt: Add help text.
2713 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
2715 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
2718 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
2720 * misc.c (gnat_handle_option): Don't handle filenames.
2722 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2724 * Make-lang.in: Replace PWD with PWD_COMMAND.
2725 * Makefile.adalib: Likewise.
2726 * Makefile.in: Likewise.
2728 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
2730 * misc.c (gnat_argv): Revert last change.
2731 (gnat_handle_option, gnat_init_options): Copy arguments.
2733 2003-07-03 Neil Booth <neil@daikokuya.co.uk>
2735 * misc.c (gnat_argv): Make const.
2737 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2739 * misc.c (save_argc, save_argv): Keep non-static!
2741 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2743 * misc.c (save_argc, save_argv): Make static.
2744 (gnat_init_options): New prototype.
2745 (gnat_init_options): Update.
2747 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
2749 * gnat_ug.texi: Remove unlikely characters from @vars.
2750 * gnat_ug_vms.texi: Regenerate.
2752 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2754 * misc.c (record_code_position): Adjust emit_note call.
2756 2003-06-26 Neil Booth <neil@daikokuya.co.uk>
2758 * misc.c (gnat_handle_option): Don't check for missing arguments.
2760 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
2762 * utils.c (end_subprog_body): Adjust expand_function_end call.
2764 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
2766 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
2769 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
2771 * lang.opt: Declare Ada.
2772 * misc.c (gnat_init_options): Update.
2774 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
2776 * utils.c (begin_subprog_body): Adjust init_function_start call.
2778 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
2780 * Make-lang.in: Update to use options.c and options.h.
2781 * misc.c: Include options.h not aoptions.h.
2782 (gnat_handle_option): Abort on unrecognized switch.
2783 (gnat_init_options): Request Ada switches.
2785 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
2787 * lang.opt: Add -Wall.
2788 * misc.c (gnat_handle_option): Handle it.
2790 2003-06-12 Neil Booth <neil@daikokuya.co.uk>
2792 * misc.c (gnat_handle_option): Fix warnings.
2794 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
2796 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
2798 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
2800 * Make-lang.in: Update to handle command-line options.
2801 * lang.opt: New file.
2802 * misc.c: Include aoptions.h.
2803 (cl_options_count, cl_options): Remove.
2804 (gnat_handle_option): New.
2805 (gnat_decode_option): Remove.
2806 (LANG_HOOKS_DECODE_OPTION): Remove.
2807 (LANG_HOOKS_HANDLE_OPTION): Override.
2809 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
2811 * init.c, misc.c, trans.c, utils.c: Remove dead code.
2813 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
2815 * Makefile.in: Replace "host_canonical" with "host" for autoconf
2818 2003-06-08 Neil Booth <neil@daikokuya.co.uk>
2820 * Make-lang.in: Update.
2821 * misc.c: Include opts.h. Define cl_options_count and cl_options.
2823 2003-06-07 Neil Booth <neil@daikokuya.co.uk>
2825 * misc.c (gnat_init_options): Update.
2827 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2829 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
2830 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
2831 __attribute__ ((__unused__)).
2833 2003-06-05 Jan Hubicka <jh@suse.cz>
2835 * Make-lang.in: Add support for stageprofile and stagefeedback
2837 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2839 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
2840 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
2842 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
2844 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
2845 Remove non-VMS directive.
2846 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
2848 (Examples of gnatls Usage): Remove VMS alternative.
2850 2003-06-04 Olivier Hainque <hainque@act-europe.fr>
2853 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
2854 and turn ZCX_By_Default back to False since the underlying support
2855 is not quite there yet.
2857 2003-06-01 Andreas Jaeger <aj@suse.de>
2859 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
2860 and ROUND_TYPE_SIZE_UNIT.
2862 2003-05-22 Geert Bosch <bosch@gnat.com>
2864 * gnat_rm.texi : Remove reference to Ada Core Technologies.
2866 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
2868 * trans.c (tree_transform): Use location_t and input_location
2870 (build_unit_elab): Likewise.
2871 * utils.c (create_label_decl): Likewise.
2873 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
2875 * trans.c (tree_transform, build_unit_elab,
2876 set_lineno): Rename lineno to input_line.
2877 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
2878 end_subprog_body): Likewise.
2879 * utils2.c (build_call_raise): Likewise.
2881 2003-05-01 Laurent Guerby <guerby@acm.org>
2884 * 5iosinte.ads: Increase pthread_cond_t size to match recent
2885 LinuxThread and NPTL version, merge from ACT.
2887 2003-04-28 Zack Weinberg <zack@codesourcery.com>
2889 * utils.c (convert): No need to clear TREE_CST_RTL.
2891 2003-04-23 Geert Bosch <bosch@gnat.com>
2893 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
2894 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2895 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2896 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2897 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2898 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
2899 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
2900 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
2901 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2902 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
2903 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
2904 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
2905 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
2906 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
2907 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
2908 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
2909 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
2910 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
2911 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
2912 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
2913 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
2914 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
2915 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2916 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
2917 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
2918 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
2919 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
2920 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
2921 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
2922 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
2923 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
2924 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
2925 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
2926 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
2927 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
2928 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
2929 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
2930 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
2931 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
2932 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
2933 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
2934 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
2935 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
2936 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
2937 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
2938 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
2939 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
2940 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
2941 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
2942 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
2943 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
2944 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
2945 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
2946 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
2947 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
2948 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
2949 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
2950 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
2951 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
2952 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
2953 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
2954 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
2955 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
2956 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
2957 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
2958 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
2959 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
2960 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
2961 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
2962 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
2963 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
2964 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
2965 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
2966 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
2967 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
2968 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
2969 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
2970 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
2971 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
2972 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
2973 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
2974 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
2975 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
2976 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
2977 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
2978 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
2979 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
2980 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
2981 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
2982 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
2983 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
2984 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
2985 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
2986 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
2987 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
2988 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
2989 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
2990 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
2991 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
2992 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
2993 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
2994 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
2995 ali.adb, ali.ads, alloc.ads, argv.c,
2996 atree.adb, atree.ads, atree.h, aux-io.c,
2997 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
2998 binde.adb, binde.ads, binderr.adb, binderr.ads,
2999 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
3000 butil.adb, butil.ads, cal.c, calendar.ads,
3001 casing.adb, casing.ads, ceinfo.adb, checks.adb,
3002 checks.ads, cio.c, comperr.adb, comperr.ads,
3003 config-lang.in, csets.adb, csets.ads, csinfo.adb,
3004 cstand.adb, cstand.ads, cuintp.c, debug.adb,
3005 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
3006 dec-io.ads, dec.ads, deftarg.c, directio.ads,
3007 einfo.adb, einfo.ads, elists.adb, elists.ads,
3008 elists.h, errno.c, errout.adb, errout.ads,
3009 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
3010 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
3011 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
3012 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
3013 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
3014 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
3015 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
3016 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
3017 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
3018 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
3019 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
3020 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
3021 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
3022 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
3023 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
3024 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
3025 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
3026 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
3027 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
3028 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
3029 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
3030 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
3031 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
3032 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
3033 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
3034 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
3035 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
3036 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
3037 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
3038 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
3039 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
3040 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
3041 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
3042 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
3043 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
3044 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
3045 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
3046 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
3047 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
3048 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
3049 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
3050 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
3051 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
3052 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
3053 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
3054 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
3055 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
3056 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
3057 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
3058 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
3059 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
3060 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
3061 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
3062 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
3063 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
3064 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
3065 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
3066 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
3067 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
3068 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
3069 lib.adb, lib.ads, live.adb, live.ads,
3070 machcode.ads, make.adb, make.ads, makeusg.adb,
3071 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
3072 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
3073 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
3074 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
3075 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
3076 mlib.ads, namet.adb, namet.ads, nlists.adb,
3077 nlists.ads, opt.adb, opt.ads, osint-b.adb,
3078 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
3079 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
3080 osint.ads, output.adb, output.ads, par-ch10.adb,
3081 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
3082 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
3083 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
3084 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
3085 par-tchk.adb, par-util.adb, par.adb, par.ads,
3086 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
3087 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
3088 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
3089 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
3090 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
3091 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
3092 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
3093 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
3094 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
3095 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
3096 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
3097 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
3098 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
3099 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
3100 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
3101 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
3102 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
3103 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
3104 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
3105 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
3106 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
3107 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
3108 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
3109 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
3110 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
3111 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
3112 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
3113 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
3114 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
3115 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
3116 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
3117 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
3118 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
3119 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
3120 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
3121 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
3122 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
3123 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
3124 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
3125 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
3126 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
3127 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
3128 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
3129 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
3130 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
3131 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
3132 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
3133 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
3134 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
3135 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
3136 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
3137 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
3138 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
3139 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
3140 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
3141 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
3142 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
3143 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
3144 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
3145 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
3146 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
3147 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
3148 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
3149 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
3150 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
3151 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
3152 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
3153 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
3154 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
3155 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
3156 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
3157 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
3158 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
3159 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
3160 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
3161 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
3162 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
3163 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
3164 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
3165 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
3166 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
3167 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
3168 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
3169 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3170 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
3171 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
3172 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
3173 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
3174 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
3175 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
3176 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
3177 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
3178 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
3179 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
3180 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
3181 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
3182 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
3183 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
3184 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
3185 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
3186 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
3187 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
3188 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
3189 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
3190 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
3191 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
3192 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
3193 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
3194 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
3195 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
3196 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
3197 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
3198 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
3199 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
3200 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
3201 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
3202 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
3203 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
3204 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
3205 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
3206 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
3207 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
3208 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
3209 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
3210 snames.ads, sprint.adb, sprint.ads, stand.adb,
3211 stand.ads, stringt.adb, stringt.ads, style.adb,
3212 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
3213 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
3214 switch-m.ads, switch.adb, switch.ads, system.ads,
3215 table.adb, table.ads, targparm.adb, targparm.ads,
3216 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
3217 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
3218 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
3219 ttypef.ads, ttypes.ads, types.adb, types.ads,
3220 uintp.adb, uintp.ads, uname.adb, uname.ads,
3221 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
3222 usage.adb, usage.ads, validsw.adb, validsw.ads,
3223 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
3224 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
3225 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
3226 formatting and other trivial changes from ACT.
3228 2003-04-12 Zack Weinberg <zack@codesourcery.com>
3230 * gigi.h, utils2.c (build_constructor):
3231 Rename gnat_build_constructor. Use build_constructor.
3232 * decl.c (gnat_to_gnu_entity)
3233 * trans.c (tree_transform, pos_to_constructor, extract_values)
3234 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
3236 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
3237 (fill_vms_descriptor):
3240 2003-04-06 Zack Weinberg <zack@codesourcery.com>
3242 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
3243 * misc.c (gnat_tree_size): New function.
3244 (LANG_HOOKS_TREE_SIZE): Override.
3246 2003-04-03 Jason Merrill <jason@redhat.com>
3248 * misc.c (gnat_adjust_rli): #if 0.
3250 2003-03-31 Geert Bosch <bosch@gnat.com>
3253 * link.c : Fix misspelled "const" keyword
3255 2003-03-23 Mark Mitchell <mark@codesourcery.com>
3258 * utils2.c: Adjust calls to put_var_into_stack.
3260 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
3262 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
3264 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
3266 * misc.c (gnat_init): Update for new prototype.
3268 2003-03-05 Olivier Hainque <hainque@gnat.com>
3271 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
3272 warning, and fix return type for the IN_RTS && !SJLJ case.
3274 2003-03-04 Tom Tromey <tromey@redhat.com>
3276 * Make-lang.in (ada.tags): New target.
3278 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
3281 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
3282 wrapper, which name remains constant whatever underlying GCC
3285 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
3286 the stable interface needed for a-except.
3288 2003-03-02 Andreas Jaeger <aj@suse.de>
3290 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3291 gnat_ug_wnt.texi: Regenerate.
3293 2003-03-02 Laurent Guerby <guerby@acm.org>
3295 * Makefile.in (install-gnatlib): Match previous change there
3298 2003-02-28 Andreas Schwab <schwab@suse.de>
3300 * Make-lang.in (install-gnatlib): Change to ada directory before
3301 running make instead of using ada/Makefile directly.
3303 2003-02-18 Ben Elliston <bje@redhat.com>
3305 Part of fix for PR ada/9406
3306 * gnat_ug.texi (Binder output file): Grammar fix.
3308 2003-02-18 Ben Elliston <bje@redhat.com>
3311 * 5qtaprop.adb (Sleep): Fix typo in comment.
3313 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3315 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
3316 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3317 gnat_ug_wnt.texi: Regenerate.
3319 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3321 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
3322 be created if necessary.
3323 (ada.install-common): Let $(DESTDIR)$(bindir) be created
3324 if necessary. Remove erroneous and redundant gnatchop
3325 installation commands. Test for gnatdll before attempting
3327 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
3328 and gnatdll from all plausible locations.
3330 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
3332 * utils2.c (build_unary_op): Don't check flag_volatile.
3333 * gnat_ug.texi: Remove -fvolatile from example.
3334 * gnat_ug_vxw.texi: Likewise.
3336 2003-01-29 Laurent Guerby <guerby@acm.org>
3339 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
3340 * Makefile.in: match previous change.
3341 * Make-lang.in: match previous change.
3343 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3345 * 5rosinte.ads: Add SIGXCPU.
3346 * 5rtpopsp.adb: New file.
3347 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
3348 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
3349 specific file 5rtpopsp.adb.
3350 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
3351 is likely needed for all newlib targets.
3352 * init.c: Add RTEMS specific version of __gnat_initialize().
3354 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3356 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
3358 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3360 * init.c (__gnat_error_handler): Make msg const.
3362 * gmem.c (convert_addresses): Move declaration ...
3363 * adaint.h: ... here.
3364 * adaint.c (convert_addresses): Adapt addrs type to match
3367 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
3369 2003-01-24 Andreas Schwab <schwab@suse.de>
3371 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
3372 size_t to avoid warning.
3374 2003-01-21 Zack Weinberg <zack@codesourcery.com>
3376 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
3378 2003-01-09 Geoffrey Keating <geoffk@apple.com>
3380 * gnat_rm.texi: Remove RCS version number.
3382 * ada-tree.h (union lang_tree_node): Add chain_next option.
3384 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3386 * Make-lang.in (ada.install-info, ada.install-common,
3387 ada.uninstall): Prepend $(DESTDIR) to the destination
3388 directory in all (un)installation commands.
3389 * Makefile.in (install-gnatlib, install-rts): Ditto.
3391 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
3393 * gnat_rm.texi, gnat_ug.texi: Use @copying.
3394 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3395 gnat_ug_wnt.texi: Regenerate.
3397 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
3399 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
3401 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
3402 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
3403 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
3404 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
3405 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
3406 $(srcdir)/doc/include/gcc-common.texi.
3408 2002-12-15 Geert Bosch <bosch@gnat.com>
3410 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
3412 2002-12-14 Geert Bosch <bosch@gnat.com>
3414 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
3415 case of a body created for a Renaming_As_Body, on which
3416 conformance checks are not performed. Fixes PR ada/5690.
3418 2002-11-30 Zack Weinberg <zack@codesourcery.com>
3420 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
3421 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
3422 not already included.
3423 * Make-lang.in: Update dependencies.
3425 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
3426 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
3427 solution to buffer overflow bug on GNU/Linux.
3429 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
3430 Closes PR ada/5856 and PR ada/6919 !
3431 * bindgen.adb: Remove all references to Public_Version.
3432 * comperr.adb: Remove all references to Public_Version and
3433 GNATPRO_Version; correct bug reporting instructions.
3434 * comperr.ads: Change to match bug box.
3435 * gnatvsn.ads: Remove all references to Public version and
3438 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
3440 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
3444 * config-lang.in: Remove diff_excludes.
3446 2002-11-05 Graham Stott <graham.stott@btinternet.com>
3448 * trans.c (gnu_pending_elaboration_lists): New GC root.
3449 (build_unit_elab): Use..
3451 2002-10-30 Geert Bosch <bosch@gnat.com>
3453 * misc.c : Include optabs.h
3455 * Make-lang.in (misc.o): Add dependency on optabs.h
3457 2002-10-29 Geert Bosch <bosch@gnat.com>
3459 * Make-lang.in (gnatbind): Depend on CONFIG_H
3461 2002-10-29 Geert bosch <bosch@gnat.com>
3463 * misc.c: Unrevert misc.c (1.13)
3465 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
3467 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
3468 maintainership comments.
3470 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
3472 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
3473 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
3474 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
3475 7staprop.adb: Correct statements in comments about
3476 maintainership of GNAT.
3479 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
3480 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
3481 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
3482 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
3483 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
3484 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
3485 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
3486 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
3487 comments about maintainership of GNAT.
3489 PR ada/6919 (forward port of patch for PR ada/5904)
3490 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
3491 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
3492 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
3493 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
3494 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
3495 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
3496 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
3497 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
3498 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
3499 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
3500 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
3501 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
3502 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
3503 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
3504 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
3505 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
3506 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
3507 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
3508 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
3509 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
3510 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
3511 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
3512 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
3513 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
3514 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
3515 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
3516 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
3517 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
3518 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
3519 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
3520 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
3521 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
3522 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
3523 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
3524 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
3525 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
3526 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
3527 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
3528 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
3529 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
3530 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
3531 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
3532 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
3533 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
3534 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
3535 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
3536 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
3537 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
3538 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
3539 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
3540 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
3541 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
3542 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
3543 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
3544 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
3545 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
3546 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
3547 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
3548 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
3549 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
3550 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
3551 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
3552 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
3553 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
3554 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
3555 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
3556 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
3557 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
3558 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
3559 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
3560 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
3561 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
3562 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
3563 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
3564 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
3565 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
3566 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
3567 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
3568 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
3569 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
3570 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
3571 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
3572 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
3573 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
3574 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
3575 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
3576 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
3577 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
3578 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
3579 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
3580 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
3581 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
3582 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
3583 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
3584 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
3585 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
3586 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
3587 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
3588 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
3589 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
3590 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
3591 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
3592 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
3593 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
3594 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
3595 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
3596 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
3597 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
3598 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
3599 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
3600 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
3601 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
3602 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
3603 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
3604 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
3605 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
3606 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
3607 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
3608 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
3609 par-endh.adb par-labl.adb par-load.adb par-prag.adb
3610 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
3611 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
3612 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
3613 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
3614 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
3615 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
3616 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
3617 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
3618 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
3619 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
3620 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
3621 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
3622 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
3623 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
3624 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
3625 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
3626 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
3627 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
3628 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
3629 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
3630 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
3631 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
3632 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
3633 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
3634 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
3635 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
3636 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
3637 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
3638 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
3639 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
3640 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
3641 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
3642 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
3643 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
3644 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
3645 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
3646 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
3647 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
3648 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
3649 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
3650 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
3651 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
3652 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
3653 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
3654 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
3655 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
3656 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
3657 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
3658 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
3659 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
3660 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
3661 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
3662 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
3663 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
3664 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
3665 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
3666 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
3667 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
3668 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
3669 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
3670 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
3671 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
3672 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
3673 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
3674 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
3675 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
3676 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
3677 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
3678 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
3679 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
3680 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
3681 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
3682 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
3683 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
3684 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
3685 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
3686 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
3687 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
3688 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
3689 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
3690 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
3691 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
3692 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
3693 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
3694 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
3695 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
3696 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
3697 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
3698 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
3699 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
3700 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
3701 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
3702 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
3703 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
3704 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
3705 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
3706 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
3707 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
3708 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
3709 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
3710 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
3711 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
3712 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
3713 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
3714 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
3715 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
3716 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
3717 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
3718 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
3719 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
3720 stringt.ads stringt.h style.adb style.ads stylesw.adb
3721 stylesw.ads switch.adb switch.ads sysdep.c system.ads
3722 table.adb table.ads targparm.adb targparm.ads targtyps.c
3723 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
3724 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
3725 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
3726 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
3727 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
3728 usage.ads utils.c utils2.c validsw.adb validsw.ads
3729 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
3730 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
3731 xtreeprs.adb: Correct statements in comments about maintainership
3734 2002-09-23 Zack Weinberg <zack@codesourcery.com>
3736 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
3737 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
3738 * gnatvsn.ads: Gnat_Version_String is now a function.
3739 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
3740 copy the C version_string into a String and return it.
3741 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
3742 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
3743 Remove pragma Ident (Gnat_Version_String). If this was the
3744 sole use of package Gnatvsn, remove the with statement too.
3745 * gnat1drv.adb: Tweak -gnatv output.
3747 2002-09-17 Richard Henderson <rth@redhat.com>
3749 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
3750 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
3751 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
3752 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
3753 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
3754 and real_2expN instead of a loop.
3755 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
3756 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
3758 2002-08-25 Andre Leis <a.leis@gmx.net>
3759 David Billinghurst (David.Billinghurst@riotinto.com>
3761 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
3763 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3765 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
3766 Remove $(CONFIG_H) dependency.
3768 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
3770 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
3772 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3774 * adadecode.c (ada_demangle): Use xstrdup in lieu of
3776 * misc.c (gnat_decode_option): Likewise.
3778 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
3780 * make.adb (Add_Switch): Make Generic_Position a procedure. The
3781 function approach did not work well because of a side effect (the
3782 function call could reallocate the table which was being indexed
3783 using its result). Fixes ada/4851. [RESURRECTED]
3785 2002-07-01 Roger Sayle <roger@eyesopen.com>
3787 * ada/utils.c (builtin_function): Accept an additional parameter.
3789 2002-06-28 Andreas Jaeger <aj@suse.de>
3792 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
3795 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3797 * Makefile.in (SHELL): Set to @SHELL@.
3799 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3801 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
3802 array size calculation.
3804 2002-06-04 Andreas Jaeger <aj@suse.de>
3806 * Make-lang.in (gnatbind): Readd rule that has been lost in last
3809 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
3811 Merge from pch-branch:
3813 * config-lang.in (gtfiles): Add ada-tree.h.
3814 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
3815 (SET_TYPE_MODULUS): New.
3816 (SET_TYPE_INDEX): New.
3817 (SET_TYPE_DIGITS_VALUE): New.
3818 (SET_TYPE_RM_SIZE): New.
3819 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
3820 (SET_TYPE_ADA_SIZE): New.
3821 (SET_TYPE_ACTUAL_BOUNDS): New.
3822 (SET_DECL_CONST_CORRESPONDING_VAR): New.
3823 (SET_DECL_ORIGINAL_FIELD): New.
3824 (TREE_LOOP_ID): Correct typo.
3825 * decl.c: Use new macros.
3826 * utils.c: Include debug.h, use new macros.
3827 * utils2.c: Use new macros.
3829 * ada-tree.h: Update all macros for new tree description.
3830 (struct tree_loop_id): New.
3831 (union lang_tree_node): New.
3832 (struct lang_decl): New.
3833 (struct lang_type): New.
3834 * misc.c (gnat_mark_tree): Delete.
3835 (LANG_HOOKS_MARK_TREE): Delete.
3836 * trans.c (tree_transform): No longer any need to cast
3839 * utils.c (struct language_function): New dummy structure.
3841 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
3843 (utils.o): Likewise; also gtype-ada.h.
3844 * Make-lang.in (gnat1): Add dependency on s-gtype.
3845 (gnatbind): Add dependency on $(CONFIG_H).
3846 * utils.c: Correct last #include.
3847 (stuct e_stack): Remove unnecessary 'static'.
3848 (mark_e_stack): Remove unused prototype.
3850 * scn-nlit.adb: Remove whitespace after version number to
3851 keep lines under 80 chars.
3852 * snames.adb: Likewise.
3853 * treepr.ads: Likewise.
3855 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
3857 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
3858 * config-lang.in (gtfiles): New.
3859 * decl.c: Use gengtype for roots.
3860 * gigi.h: Use gengtype for roots.
3861 * trans.c: Use gengtype for roots.
3862 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
3864 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
3866 * misc.c (gnat_init): Adjust setting of internal_error_function.
3868 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
3870 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
3871 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3872 gnat_ug_wnt.texi: Regenerate.
3874 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
3876 * 5ntaprop.adb (with System.OS_Primitives): Remove.
3878 * cstreams.c (max_path_len): Move from here ...
3879 * adaint.c (__gnat_max_path_len): ... to here.
3880 * adaint.c (__gnat_max_path_len): Declare.
3881 * g-dirope.adb (Max_Path): Adjust.
3882 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
3883 * i-cstrea.ads (max_path_len): Adjust.
3884 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
3885 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
3887 * Makefile.in, Make-lang.in: Documentation is now built in
3888 Make-lang.in. Store Info and generated Texinfo files in the
3890 * gnat_ug.texi: Remove CVS keywords, correct version number.
3891 Set file name correctly.
3893 * gnat_ug_*.texi: Add.
3894 * .cvsignore: Ignore generated Texinfo files.
3896 2002-05-30 Zack Weinberg <zack@codesourcery.com>
3898 * ada.h: Add MI guard macro.
3899 (SUBTYPE): Define constants with an anonymous enum, not static
3901 (IN): Cast constants to appropriate type before use.
3903 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
3905 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
3908 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3910 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
3911 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
3912 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
3913 (ALL_ADA_CFLAGS): Likewise.
3914 (ADA_INCLUDES): Likewise.
3915 Adapt for new working dir.
3916 (GNATBIND): Use Makefile.in version.
3917 (.SUFFIXES): Copy from Makefile.in.
3919 (.adb.o, .ads.o): Copy from Makefile.in.
3920 Added $(OUTPUT_OPTION).
3921 (GNAT1_C_OBJS): Moved from Makefile.in.
3922 Prefix with ada subdir.
3923 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
3924 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
3925 Adapt for new working dir.
3926 (EXTRA_GNATBIND_OBJS): Likewise.
3927 (ADA_BACKEND): Moved from Makefile.in.
3928 Renamed to avoid conflict with global BACKEND.
3930 (TARGET_ADA_SRCS): Moved from Makefile.in.
3931 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
3933 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
3934 (ada_extra_files): Moved from Makefile.in.
3935 Prefix with ada subdir.
3936 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
3937 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
3938 (ada/nmake.ads): Likewise.
3939 (update-sources): Moved from Makefile.in.
3940 Prefix with ada subdir.
3941 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
3942 (ADA_TREE_H): Likewise.
3943 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
3944 (ada/memtrack.o): Likewise.
3945 (ada/adadecode.o): Likewise.
3946 Update dependencies.
3947 (ada/adaint.o): New.
3948 (ada/argv.o): Moved from Makefile.in.
3949 Prefix with ada subdir.
3950 Update dependencies.
3951 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
3952 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
3953 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
3954 Prefix with ada subdir.
3955 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
3956 (GNAT DEPENDENCIES): Regenerate.
3957 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
3958 toplevel Makefile.in.
3959 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
3960 (TARGET_ADA_SRCS): Removed.
3961 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
3962 (GNATBIND_OBJS): Likewise.
3963 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
3965 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
3967 (ada_extra_files): Likewise.
3968 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
3969 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
3970 (update-sources): Likewise.
3971 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
3972 (ADA_TREE_H): Likewise.
3973 (adadecoce.o): Likewise.
3974 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
3975 (GNAT DEPENDENCIES): Likewise.
3977 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3979 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
3980 * Makefile.in: Likewise.
3982 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3984 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
3985 Restore $(CONFIG_H) and prefix.o dependencies.
3986 (ada.stage[1-4]): Depend on stage?-start.
3988 * Makefile.in (b_gnatb.c): Depend on interfac.o.
3990 2002-05-02 Jim Wilson <wilson@redhat.com>
3992 * utils.c (finish_record_type): Change record_size to record_type.
3994 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
3996 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
3997 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
3998 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
4000 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
4002 * misc.c (gnat_parse_file): Update.
4004 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
4006 * misc.c (gnat_init): Don't set lang_attribute_common.
4008 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
4010 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
4012 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
4014 * gnat_ug.texi: New file.
4016 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
4017 instead of gfdl.texi
4019 * xgnatug.adb, ug_words: New files.
4021 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
4022 gnat_rm and gnat-style manuals.
4024 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
4026 * gigi.h (incomplete_type_error): Remove.
4027 * utils.c (incomplete_type_error): Remove.
4029 2002-04-16 Mark Mitchell <mark@codesourcery.com>
4031 * trans.c (tree_transform): Add has_scope argument to
4032 expand_start_stmt_expr.
4034 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4036 * gigi.h (truthvalue_conversion): Rename.
4037 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4038 * trans.c (tree_transform): Update.
4039 * utils2.c (truthvalue_conversion): Rename, update.
4040 (build_binary_op, build_unary_op): Update.
4042 2002-04-04 Laurent Guerby <guerby@acm.org>
4044 * make.adb: Implement -margs, remove restriction about file name placement.
4045 * makeusg.adb: Documentation update.
4046 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
4047 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
4049 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4051 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
4052 (builtin_function): Similarly.
4054 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4056 * decl.c (gnat_to_gnu_entity): Update.
4057 * gigi.h (mark_addressable): Rename.
4058 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
4059 * trans.c (tree_transform): Update.
4060 * utils.c (create_var_decl): Update.
4061 * util2.c (build_binary_op, build_unary_op,
4062 fill_vms_descriptor): Update.
4063 (mark_addressable): Rename, update.
4065 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4067 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
4069 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
4070 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
4071 * trans.c (tree_transform, convert_with_check): Update.
4072 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
4075 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
4077 * gigi.h (finish_incomplete_decl): Rename.
4078 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
4079 * utils.c (gnat_init_decl_processing): Don't set hook.
4080 (finish_incomplete_decl): Rename.
4082 2002-03-29 Andreas Schwab <schwab@suse.de>
4084 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
4087 2001-03-28 Robert Dewar <dewar@gnat.com>
4090 (Remove_Checks): New procedure
4093 (Remove_Checks): New procedure
4096 Use new Duplicate_Subexpr functions
4097 (Duplicate_Subexpr_No_Checks): New procedure
4098 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4099 (Duplicate_Subexpr): Restore original form (checks duplicated)
4100 (Duplicate_Subexpr): Call Remove_Checks
4103 (Duplicate_Subexpr_No_Checks): New procedure
4104 (Duplicate_Subexpr_No_Checks_Orig): New procedure
4105 Add 2002 to copyright notice
4107 * sem_util.adb: Use new Duplicate_Subexpr functions
4110 (Eval_Indexed_Component): This is the place to call
4111 Constant_Array_Ref and to replace the value. We simply merge
4112 the code of this function in here, since it is now no longer
4113 used elsewhere. This fixes the problem of the back end not
4114 realizing we were clever enough to see that this was
4116 (Expr_Val): Remove call to Constant_Array_Ref
4117 (Expr_Rep_Val): Remove call to Constant_Array_Ref
4119 (Constant_Array_Ref): Deal with string literals (patch
4120 suggested by Zack Weinberg on the gcc list)
4122 2001-03-28 Ed Schonberg <schonber@gnat.com>
4124 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
4125 Duplicate_Subexpr_Move_Checks.
4127 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
4128 Duplicate_Subexpr_Move_Checks.
4130 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
4131 value of array exists before retrieving it (it may a private
4132 protected component in a function).
4134 2002-03-28 Geert Bosch <bosch@gnat.com>
4136 * prj-pp.adb : New file.
4138 * prj-pp.ads : New file.
4140 2002-03-28 Andreas Jaeger <aj@suse.de>
4142 * Makefile.in (stamp-sdefault): Fix path for Makefile.
4144 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
4146 * misc.c (gnat_expand_expr): Move prototype.
4148 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4150 * misc.c (insert_default_attributes): Remove.
4152 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4154 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
4155 (gnat_init): Don't set hook.
4156 (gnat_expand_expr): Fix prototype.
4158 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4160 * misc.c (ggc_p): Remove.
4162 2002-03-27 Geert Bosch <bosch@gnat.com>
4164 * prj-makr.ads, prj-makr.adb : New files.
4166 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
4168 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
4169 (lang_mark_tree): Make static, rename.
4171 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
4173 * misc.c (maybe_build_cleanup): Remove.
4175 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
4177 * gigi.h (yyparse): Remove.
4179 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
4181 * gnat_rm.texi: Sync with ACT version.
4182 (From Ben Brosgol <brosgol@gnat.com>)
4184 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
4186 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
4187 (gnat_init): Remove old hook.
4189 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
4191 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
4192 (yyparse): Rename gnat_parse_file.
4194 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
4196 Delete all lines containing "$Revision:".
4197 * xeinfo.adb: Don't look for revision numbers.
4198 * xnmake.adb: Likewise.
4199 * xsinfo.adb: Likewise.
4200 * xsnames.adb: Likewise.
4201 * xtreeprs.adb: Likewise.
4203 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4205 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
4206 gnat_tree_code_name): Delete.
4207 (tree_code_type, tree_code_length, tree_code_name): Define.
4208 (gnat_init): Don't try to copy into the various tree_code
4211 2002-03-11 Richard Henderson <rth@redhat.com>
4213 * Makefile.in (.NOTPARALLEL): Add fake tag.
4215 2002-03-07 Geert Bosch <bosch@gnat.com>
4217 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
4218 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
4219 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
4220 switch-m.adb, switch-m.ads : New files.
4222 2002-03-07 Geert Bosch <bosch@gnat.com>
4224 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4225 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4226 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4227 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
4228 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
4229 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
4230 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
4231 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
4232 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
4233 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
4234 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
4235 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
4236 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
4237 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
4238 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
4239 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
4240 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
4241 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
4242 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
4243 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
4244 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
4245 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
4246 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
4247 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
4248 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
4249 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
4250 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
4251 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
4252 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
4253 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
4254 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
4255 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
4256 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
4257 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
4258 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4259 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
4260 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
4261 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
4262 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
4263 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
4264 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
4265 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
4266 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
4267 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
4268 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
4269 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
4270 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
4271 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
4272 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
4273 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
4274 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
4275 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
4276 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
4277 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
4278 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
4279 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
4280 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
4281 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
4282 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
4283 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
4284 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
4285 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
4286 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
4287 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
4288 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
4289 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
4290 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
4291 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
4292 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
4293 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
4294 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
4295 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
4296 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
4297 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
4298 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
4299 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
4300 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
4301 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
4302 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
4303 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
4304 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
4305 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
4306 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
4307 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
4308 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
4309 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
4310 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
4311 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
4312 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
4313 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
4314 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
4315 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
4316 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
4317 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
4318 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
4319 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
4320 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
4322 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
4323 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
4324 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
4325 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
4327 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
4328 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
4330 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
4331 to mdll-fil.ad[bs] and mdll-util.ad[bs]
4333 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
4334 from mdllfile.ad[bs] and mdlltool.ad[bs]
4336 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4338 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
4339 lieu of explicit sizeof/sizeof.
4341 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4343 * misc.c (copy_lang_decl): Remove.
4345 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4347 * misc.c: Delete traditional-mode-related code copied from the
4348 C front end but not used, or used only to permit the compiler
4351 2002-02-07 Richard Henderson <rth@redhat.com>
4353 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
4354 * adaint.h (__gnat_to_gm_time): Update prototype.
4356 2002-01-30 Richard Henderson <rth@redhat.com>
4358 * trans.c (tree_transform) [N_Loop_Statement]: Use
4359 expand_exit_loop_top_cond.
4361 2001-12-23 Richard Henderson <rth@redhat.com>
4363 * utils.c (end_subprog_body): Push GC context around
4364 rest_of_compilation for nested functions.
4366 2001-12-23 Richard Henderson <rth@redhat.com>
4368 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
4370 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
4372 * gnat-style.texi (Declarations and Types): Remove ancient style
4373 rule which was mandated by code generation issues.
4375 * gnat-style.texi (header): Add @dircategory, @direntry.
4376 (title page): Remove date.
4377 (general) Add @./@: where approriate, and two spaces after the
4378 full stop at the end of a sentence. Use @samp markup when
4379 referring concrete lexical entities (keywords, attribute names
4380 etc.), and @syntax for ARM grammar elements. Use @r for English
4381 text in comments. Use @emph for emphasis. Change "if-statements"
4382 etc. to "if statements" (without @samp). Break long lines. Make
4383 casing of section names consistent.
4384 (Identifiers): Use @samp markup for variable names.
4385 (Comments): Use @samp markup for comment characters. Line-end
4386 comments may follow any Ada code, not just statements. Fix
4387 misspelling of "Integer" as "integer".
4388 (Loop statements): Do not use variable name "I", use "J".
4389 (Subprogram Declarations): Document alignment.
4390 (Subprogram Bodies, Block statements): Document empty line before
4393 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
4395 * make.adb (Add_Switch): Make Generic_Position a procedure. The
4396 function approach did not work well because of a side effect (the
4397 function call could reallocate the table which was being indexed
4398 using its result). Fixes ada/4851.
4400 2001-12-19 Robert Dewar <dewar@gnat.com>
4402 * bindgen.adb: Minor reformatting
4404 * cstand.adb: Minor reformatting
4406 * fmap.adb: Minor reformatting
4407 Change name from Add for Add_To_File_Map (Add is much too generic)
4408 Change Path_Name_Of to Mapped_Path_Name
4409 Change File_Name_Of to Mapped_File_Name
4410 Fix copyright dates in header
4413 Change name from Add for Add_To_File_Map (Add is much too generic)
4414 Change Path_Name_Of to Mapped_Path_Name
4415 Change File_Name_Of to Mapped_File_Name
4416 Fix copyright dates in header
4418 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
4419 Add use clause for Fmap.
4421 * make.adb: Minor reformatting
4423 * osint.adb: Minor reformatting. Change of names in Fmap.
4424 Add use clause for Fmap.
4426 * prj-env.adb: Minor reformatting
4428 * prj-env.ads: Minor reformatting
4430 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
4431 error found (there were odd exceptions to this general rule in
4432 -gnatec/-gnatem processing)
4434 2001-12-19 Olivier Hainque <hainque@gnat.com>
4436 * raise.c (__gnat_eh_personality): Exception handling personality
4437 routine for Ada. Still in rough state, inspired from the C++ version
4438 and still containing a bunch of debugging artifacts.
4439 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
4440 inspired from the C++ library.
4442 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
4443 exception handling integration.
4445 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4447 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
4448 (HIE_SOURCES): Add s-secsta.ad{s,b}.
4449 (HIE_OBJS): Add s-fat*.o
4450 (RAVEN_SOURCES): Remove files that are no longer required. Add
4451 interrupt handling files.
4452 (RAVEN_MOD): Removed, no longer needed.
4454 2001-12-19 Robert Dewar <dewar@gnat.com>
4456 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
4457 Add 2001 to copyright date
4459 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
4460 need to force universal inlining for these cases.
4462 2001-12-19 Arnaud Charlet <charlet@gnat.com>
4464 * s-taprob.adb: Minor clean ups so that this unit can be used in
4467 * exp_ch7.adb: Allow use of secondary stack in HI mode.
4468 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
4470 2001-12-19 Vincent Celier <celier@gnat.com>
4472 * prj-tree.ads (Project_Node_Record): Add comments for components
4473 Pkg_Id and Case_Insensitive.
4475 2001-12-19 Pascal Obry <obry@gnat.com>
4477 * g-socket.adb: Minor reformatting. Found while reading code.
4479 2001-12-19 Robert Dewar <dewar@gnat.com>
4481 * prj-tree.ads: Minor reformatting
4483 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
4485 * config-lang.in (diff_excludes): Remove.
4487 2001-12-17 Ed Schonberg <schonber@gnat.com>
4489 * sem_res.adb (Resolve_Selected_Component): do not generate a
4490 discriminant check if the selected component is a component of
4491 the argument of an initialization procedure.
4493 * trans.c (tree_transform, case of arithmetic operators): If result
4494 type is private, the gnu_type is the base type of the full view,
4495 given that the full view itself may be a subtype.
4497 2001-12-17 Robert Dewar <dewar@gnat.com>
4499 * sem_res.adb: Minor reformatting
4501 * trans.c (tree_transform, case N_Real_Literal): Add missing third
4502 parameter in call to Machine (unknown horrible effects from this
4505 * urealp.h: Add definition of Round_Even for call to Machine
4506 Add third parameter for Machine
4508 2001-12-17 Ed Schonberg <schonber@gnat.com>
4510 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
4511 predefined units in No_Run_Time mode.
4513 2001-12-17 Richard Kenner <kenner@gnat.com>
4515 * misc.c (insn-codes.h): Now include.
4517 2001-12-17 Olivier Hainque <hainque@gnat.com>
4519 * a-except.adb: Preparation work for future integration of the GCC 3
4520 exception handling mechanism
4521 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
4522 to factorize previous code sequences and make them externally callable,
4523 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
4524 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
4525 Use the new notification routines.
4527 2001-12-17 Emmanuel Briot <briot@gnat.com>
4529 * prj-tree.ads (First_Choice_Of): Document the when others case
4531 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4533 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
4534 HI-E mode, in order to support Ravenscar profile properly.
4536 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
4537 mode on 32 bits targets.
4539 2001-12-17 Vincent Celier <celier@gnat.com>
4541 * fmap.adb: Initial version.
4543 * fmap.ads: Initial version.
4545 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
4546 If search is successfully done, add to mapping.
4548 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
4551 (Gnatmake): Add new local variable Mapping_File_Name.
4552 Create mapping file when using project file(s).
4553 Delete mapping file before exiting.
4555 * opt.ads (Mapping_File_Name): New variable
4557 * osint.adb (Find_File): Use path name found in mapping, if any.
4559 * prj-env.adb (Create_Mapping_File): New procedure
4561 * prj-env.ads (Create_Mapping_File): New procedure.
4563 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
4566 * usage.adb: Add entry for new switch -gnatem.
4568 * Makefile.in: Add dependencies for fmap.o.
4570 2001-12-17 Ed Schonberg <schonber@gnat.com>
4572 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
4573 is a package instantiation rewritten as a package body.
4574 (Install_Withed_Unit): Undo previous change, now redundant.
4576 2001-12-17 Gary Dismukes <dismukes@gnat.com>
4579 (Compute_Length): Move conversion to Unsigned to callers.
4580 (Get_Max_Size): Convert Len expression to Unsigned after calls to
4581 Compute_Length and Determine_Range.
4582 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
4583 Compute_Length and Determine_Range.
4584 Above changes fix problem with length computation for supernull arrays
4585 where Max (Len, 0) wasn't getting applied due to the Unsigned
4586 conversion used by Compute_Length.
4588 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4591 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
4592 System.Secondary_Stack.
4593 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
4595 Remove unused entity RE_Exception_Data.
4597 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
4599 * rident.ads (No_Secondary_Stack): New restriction.
4601 2001-12-17 Joel Brobecker <brobecke@gnat.com>
4603 * gnat_rm.texi: Fix minor typos. Found while reading the section
4604 regarding "Bit_Order Clauses" that was sent to a customer.
4605 Very interesting documentation!
4607 2001-12-17 Robert Dewar <dewar@gnat.com>
4609 * sem_case.adb (Choice_Image): Avoid creating improper character
4610 literal names by using the routine Set_Character_Literal_Name. This
4611 fixes bombs in certain error message cases.
4613 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4615 * a-reatim.adb: Minor reformatting.
4617 2001-12-17 Ed Schonberg <schonber@gnat.com>
4619 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
4620 case where the formal is an extension of another formal in the current
4621 unit or in a parent generic unit.
4623 2001-12-17 Arnaud Charlet <charlet@gnat.com>
4625 * s-tposen.adb: Update comments. Minor reformatting.
4626 Minor code clean up.
4628 * s-tarest.adb: Update comments. Minor code reorganization.
4630 2001-12-17 Gary Dismukes <dismukes@gnat.com>
4632 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
4635 2001-12-17 Robert Dewar <dewar@gnat.com>
4637 * exp_attr.adb: Minor reformatting
4639 2001-12-17 Ed Schonberg <schonber@gnat.com>
4641 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
4642 derivations nested within a child unit: verify that the parent
4643 type is declared in an outer scope.
4645 2001-12-17 Robert Dewar <dewar@gnat.com>
4647 * sem_ch12.adb: Minor reformatting
4649 2001-12-17 Ed Schonberg <schonber@gnat.com>
4651 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
4652 warning if current unit is a predefined one, from which bodies may
4655 2001-12-17 Robert Dewar <dewar@gnat.com>
4657 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
4658 Fix header format. Add 2001 to copyright date.
4660 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
4661 which caused CE during compilation if checks were enabled.
4663 2001-12-17 Vincent Celier <celier@gnat.com>
4666 (Switches_Of): New function
4667 (Test_If_Relative_Path): New procedure
4668 (Add_Switches): Use new function Switches_Of
4669 (Collect_Arguments_And_Compile): Use new function Switches_Of.
4670 When using a project file, test if there are any relative
4671 search path. Fail if there are any.
4672 (Gnatmake): Only add switches for the primary directory when not using
4673 a project file. When using a project file, change directory to the
4674 object directory of the main project file. When using a project file,
4675 test if there are any relative search path. Fail if there are any.
4676 When using a project file, fail if specified executable is relative
4677 path with directory information, and prepend executable, if not
4678 specified as an absolute path, with the exec directory. Make sure
4679 that only one -o switch is transmitted to the linker.
4681 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
4684 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
4685 when using a non standard naming scheme.
4686 (Check_Ada_Naming_Scheme): Make sure that error messages
4687 do not raise exceptions.
4688 (Is_Illegal_Append): Return True if there is no dot in the suffix.
4689 (Language_Independent_Check): Check the exec directory.
4691 * prj.adb (Project_Empty): Add new component Exec_Directory
4694 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
4695 (Project_Data): Add component Exec_Directory
4697 * snames.adb: Updated to match snames.ads revision 1.215
4699 * snames.ads: Added Exec_Dir
4701 2001-12-17 Robert Dewar <dewar@gnat.com>
4703 * make.adb: Minor reformatting
4705 * prj-nmsc.adb: Minor reformatting
4707 * snames.adb: Updated to match snames.ads
4709 * snames.ads: Alphebetize entries for project file
4711 2001-12-17 Ed Schonberg <schonber@gnat.com>
4713 * trans.c (process_freeze_entity): Do nothing if the entity is a
4714 subprogram that was already elaborated.
4716 2001-12-17 Richard Kenner <kenner@gnat.com>
4718 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
4719 and Esize if object is referenced via pointer.
4721 2001-12-17 Ed Schonberg <schonber@gnat.com>
4723 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
4724 is discrete before analyzing choices.
4726 2001-12-17 Joel Brobecker <brobecke@gnat.com>
4728 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
4729 containing the name of the Ada Main Program. This string is mainly
4730 intended for the debugger.
4731 (Gen_Output_File_C): Do the equivalent change when generating a C file.
4733 2001-12-17 Robert Dewar <dewar@gnat.com>
4735 * ali.adb: Set new Dummy_Entry field in dependency entry
4737 * ali.ads: Add Dummy_Entry field to source dependency table
4739 * bcheck.adb (Check_Consistency): Ignore dummy D lines
4741 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
4743 * lib-writ.ads: Document dummy D lines for missing files.
4745 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
4747 2001-12-17 Robert Dewar <dewar@gnat.com>
4749 * ali.adb: Type reference does not reset current file.
4751 * ali.adb: Recognize and scan renaming reference
4753 * ali.ads: Add spec for storing renaming references.
4755 * lib-xref.ads: Add documentation for handling of renaming references
4757 * lib-xref.adb: Implement output of renaming reference.
4760 (Determine_Range): Document local variables
4761 (Determine_Range): Make sure Hbound is initialized. It looks as though
4762 there could be a real problem here with an uninitialized reference
4763 to Hbound, but no actual example of failure has been found.
4765 2001-12-17 Laurent Pautet <pautet@gnat.com>
4768 Fix comment of Shutdown_Socket and Close_Socket. These functions
4769 should not fail silently because if they are called twice, this
4770 probably means that there is a race condition in the user program.
4771 Anyway, this behaviour is consistent with the rest of this unit.
4772 When an error occurs, an exception is raised with the error message
4773 as exception message.
4775 2001-12-17 Robert Dewar <dewar@gnat.com>
4777 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
4778 that it happens before modification of Sloc values for -gnatD.
4780 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
4781 so that it happens before modification of Sloc values for -gnatD.
4783 * switch.adb: Minor reformatting
4785 2001-12-15 Richard Henderson <rth@redhat.com>
4787 * sem_ch7.adb: Wrap comment.
4789 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4791 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
4792 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
4793 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
4794 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
4795 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
4796 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
4797 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
4798 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
4799 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
4800 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
4801 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
4802 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
4803 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
4804 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
4805 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
4806 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
4807 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
4808 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
4809 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
4810 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
4811 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
4812 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
4813 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
4814 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
4817 2001-12-14 Vincent Celier <celier@gnat.com>
4819 * osint.adb(Create_Debug_File): When an object file is specified,
4820 put the .dg file in the same directory as the object file.
4822 2001-12-14 Robert Dewar <dewar@gnat.com>
4824 * osint.adb: Minor reformatting
4826 * lib-xref.adb (Output_Instantiation): New procedure to generate
4827 instantiation references.
4829 * lib-xref.ads: Add documentation of handling of generic references.
4831 * ali.adb (Read_Instantiation_Ref): New procedure to read
4832 instantiation references
4834 * ali.ads: Add spec for storing instantiation references
4836 * bindusg.adb: Minor reformatting
4838 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4840 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4842 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4844 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4848 Add 2001 to copyright date
4849 Add entry for Latin-5 (Cyrillic ISO-8859-5)
4851 2001-12-14 Matt Gingell <gingell@gnat.com>
4853 * adaint.c: mktemp is a macro on Lynx and can not be used as an
4856 2001-12-14 Richard Kenner <kenner@gnat.com>
4858 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
4859 if operand is CONSTRUCTOR.
4861 2001-12-14 Ed Schonberg <schonber@gnat.com>
4863 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
4864 before emiting check on right-hand side, so that exception information
4867 2001-12-14 Richard Kenner <kenner@gnat.com>
4869 * utils.c (create_var_decl): Throw away initializing expression
4870 if just annotating types and non-constant.
4872 2001-12-14 Vincent Celier <celier@gnat.com>
4874 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
4877 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4879 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
4881 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4883 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
4885 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4887 * ChangeLog: Remove piece of diff output.
4889 2001-12-14 Geert Bosch <bosch@gnat.com>
4891 * config-lang.in: Update copyright notice
4893 * layout.adb: Remove commented out code.
4895 * mdllfile.ads: Update copyright notice. Fix header format.
4897 * sem_case.ads: Likewise.
4899 * sem_ch3.adb: Minor reformatting.
4901 2001-12-12 Geert Bosch <bosch@gnat.com>
4903 * freeze.ads: Update copyright date.
4905 * g-comlin.ads: Minor reformatting.
4907 * gnat-style.texi: Fix typo.
4909 2001-12-12 Geert Bosch <bosch@gnat.com>
4911 * einfo.h: Regenerate.
4913 2001-12-12 Ed Schonberg <schonber@gnat.com>
4915 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
4916 on known node types, rather than untyped fields. Further cleanups.
4918 2001-12-12 Robert Dewar <dewar@gnat.com>
4921 (Save_Entity_Descendant): Minor comment update.
4922 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
4923 of an N_Attribute_Reference node. As per note below, this does not
4924 eliminate need for Associated_Node in attribute ref nodes.
4925 (Associated_Node): Documentation explicitly mentions attribute
4926 reference nodes, since this field is used in such nodes.
4928 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
4930 2001-12-12 Robert Dewar <dewar@gnat.com>
4932 * s-stalib.adb: Add more comments on with statements being needed
4934 * par-ch12.adb: Minor reformatting
4936 * prj-dect.ads: Fix copyright header
4938 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
4939 inputs fit in 32 bits, but the result still overflows.
4941 * s-fatgen.ads: Minor comment improvement
4943 2001-12-12 Ed Schonberg <schonber@gnat.com>
4945 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
4946 formal derived type, look for an inherited component from the full
4947 view of the parent, if any.
4949 2001-12-12 Robert Dewar <dewar@gnat.com>
4951 * checks.ads (Apply_Alignment_Check): New procedure.
4953 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
4954 ensure that the alignment of objects with address clauses is
4955 appropriate, and raise PE if not.
4957 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
4958 Exp_Pakd.Known_Aligned_Enough
4960 * mdllfile.ads: Minor reformatting
4962 * mlib-fil.ads: Minor reformatting
4964 2001-12-12 Ed Schonberg <schonber@gnat.com>
4966 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
4967 fix to any component reference if enclosing record has non-standard
4970 2001-12-12 Vincent Celier <celier@gnat.com>
4972 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
4975 2001-12-12 Ed Schonberg <schonber@gnat.com>
4977 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
4980 2001-12-12 Robert Dewar <dewar@gnat.com>
4982 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
4984 2001-12-12 Emmanuel Briot <briot@gnat.com>
4986 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
4987 and it adds dependencies to system.io.
4989 2001-12-12 Pascal Obry <obry@gnat.com>
4991 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
4994 2001-12-11 Ed Schonberg <schonber@gnat.com>
4996 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
4997 that is the parent of other generics, the instance body replaces the
4998 instance node. Retrieve the instance of the spec, which is the one
4999 that is visible in clients and within the body.
5001 2001-12-11 Vincent Celier <celier@gnat.com>
5003 * gnatmain.adb: Initial version.
5005 * gnatmain.ads: Initial version.
5007 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
5009 * snames.adb: Updated to match snames.ads.
5011 * snames.ads: Added Gnatstub.
5013 2001-12-11 Vincent Celier <celier@gnat.com>
5015 * prj-attr.adb (Initialization_Data): Change name from
5016 Initialisation_Data.
5018 2001-12-11 Emmanuel Briot <briot@gnat.com>
5020 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
5021 + and * applied to backslashed expressions like \r.
5023 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
5025 * g-os_lib.ads: String_List type added, Argument_List type is now
5026 subtype of String_List.
5028 2001-12-11 Robert Dewar <dewar@gnat.com>
5030 * g-os_lib.ads: Change copyright to FSF
5031 Add comments for String_List type
5033 2001-12-11 Vincent Celier <celier@gnat.com>
5035 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
5036 string to the buffer).
5038 2001-12-11 Ed Schonberg <schonber@gnat.com>
5040 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
5043 * sem_attr.adb: Simplify previous fix for Address.
5044 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
5045 to avoid anomalies where the bound of the type appears to raise
5048 2001-12-11 Robert Dewar <dewar@gnat.com>
5050 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
5053 2001-12-11 Ed Schonberg <schonber@gnat.com>
5055 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
5056 renamed unit before checking for recursive instantiations.
5058 2001-12-11 Emmanuel Briot <briot@gnat.com>
5060 * prj.ads: Add comments for some of the fields.
5062 2001-12-11 Robert Dewar <dewar@gnat.com>
5064 * lib-xref.adb (Output_Refs): Don't output type references outside
5065 the main unit if they are not otherwise referenced.
5067 2001-12-11 Ed Schonberg <schonber@gnat.com>
5069 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
5070 code and diagnose additional illegal uses
5072 * sem_util.adb (Is_Object_Reference): An indexed component is an
5073 object only if the prefix is.
5075 2001-12-11 Vincent Celier <celier@gnat.com>
5077 * g-diopit.adb: Initial version.
5079 * g-diopit.ads: Initial version.
5082 (Expand_Path): Avoid use of Unbounded_String
5083 (Find, Wildcard_Iterator): Moved to child package Iteration
5085 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
5087 2001-12-11 Robert Dewar <dewar@gnat.com>
5089 * sem_attr.adb: Minor reformatting
5091 2001-12-11 Ed Schonberg <schonber@gnat.com>
5093 * sem_ch3.adb: Clarify some ???.
5095 2001-12-11 Robert Dewar <dewar@gnat.com>
5097 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
5098 Exp_Pakd.Known_Aligned_Enough
5100 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
5101 version is moved to Exp_Ch13.
5103 2001-12-11 Robert Dewar <dewar@gnat.com>
5105 * einfo.ads: Minor reformatting
5107 * exp_ch5.adb: Add comment for previous.change
5109 * ali.adb: New interface for extended typeref stuff.
5111 * ali.ads: New interface for typeref stuff.
5113 * checks.adb (Apply_Alignment_Check): New procedure.
5115 * debug.adb: Add -gnatdM for modified ALI output
5117 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
5119 * lib-xref.adb: Extend generation of <..> notation to cover
5120 subtype/object types. Note that this is a complete rewrite,
5121 getting rid of the very nasty quadratic algorithm previously
5122 used for derived type output.
5124 * lib-xref.ads: Extend description of <..> notation to cover
5125 subtype/object types. Uses {..} for these other cases.
5126 Also use (..) for pointer types.
5128 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
5130 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
5131 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
5133 2001-12-11 Vincent Celier <celier@gnat.com>
5136 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
5137 Changed /BIND_ONLY to /ACTIONS=BIND
5138 Changed /LINK_ONLY to /ACTIONS=LINK
5140 2001-12-11 Ed Schonberg <schonber@gnat.com>
5142 * sem_ch8.adb (Find_Selected_Component): improved search for a
5143 candidate package in case of error.
5145 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
5146 chain back on scope stack before reinstalling use clauses.
5148 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
5149 is enabled, do not kill the code for the condition, to preserve
5152 2001-12-11 Robert Dewar <dewar@gnat.com>
5154 * checks.adb (Insert_Valid_Check): Apply validity check to expression
5155 of conversion, not to result of conversion.
5157 2001-12-11 Ed Schonberg <schonber@gnat.com>
5159 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
5160 before freezing parent. If the declarations are mutually recursive,
5161 an access to the current record type may be frozen before the
5162 derivation is complete.
5164 2001-12-05 Vincent Celier <celier@gnat.com>
5166 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
5167 -c /COMPILE_ONLY, -l /LINK_ONLY
5170 (Bind_Only): New Flag
5171 (Link_Only): New flag
5173 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
5176 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
5179 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
5180 (Gnatmake): Set the step flags. Only perform a step if the
5181 corresponding step flag is True.
5182 (Scan_Make_Arg): Reset the bind and link step flags when -u
5183 or -gnatc has been specified.
5185 2001-12-05 Ed Schonberg <schonber@gnat.com>
5187 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
5188 get bounds from right operand.
5190 * sem_eval.adb: Minor reformatting
5192 * exp_util.adb (Make_Literal_Range): use bound of literal rather
5193 than Index'First, its lower bound may be different from 1.
5195 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
5198 2001-12-05 Vincent Celier <celier@gnat.com>
5200 * prj-nmsc.adb Minor reformatting
5202 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
5203 set and libraries are not supported.
5205 2001-12-05 Ed Schonberg <schonber@gnat.com>
5207 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
5208 private view explicitly, so the back-end can treat as a global
5211 2001-12-05 Ed Schonberg <schonber@gnat.com>
5213 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
5214 unit, always replace instance node with new body, for ASIS use.
5216 2001-12-05 Vincent Celier <celier@gnat.com>
5218 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
5219 libraries are not supported and both attributes Library_Name and
5220 Library_Dir are specified.
5222 * prj-proc.adb (Expression): Set location of Result to location of
5225 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
5226 (prj-nmsc is now importing MLib.Tgt)
5228 * prj-proc.adb: Put the change indicated above that was forgotten.
5230 2001-12-05 Robert Dewar <dewar@gnat.com>
5232 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
5234 2001-12-05 Ed Schonberg <schonber@gnat.com>
5236 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
5237 constraint, introduce explicit subtype declaration and derive from it.
5239 * sem_ch3.adb: Minor reformatting
5241 2001-12-05 Robert Dewar <dewar@gnat.com>
5243 * checks.adb (Determine_Range): Increase cache size for checks.
5246 * exp_ch6.adb: Minor reformatting
5247 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
5248 a parameter whose root type is System.Address, since treating such
5249 subprograms as pure in the code generator is almost surely a mistake
5250 that will lead to unexpected results.
5252 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
5253 change handling of conversions.
5255 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
5257 2001-12-05 Ed Schonberg <schonber@gnat.com>
5259 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
5260 aggregate with static wrong size, attach generated Raise node to
5263 2001-12-05 Robert Dewar <dewar@gnat.com>
5265 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
5266 Fixes compilation abandoned bomb in B24009B.
5268 2001-12-05 Ed Schonberg <schonber@gnat.com>
5271 Document use of Associated_Node on Selected_Components.
5272 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
5273 to clarify use of untyped descendant fields.
5275 2001-12-05 Robert Dewar <dewar@gnat.com>
5277 * prj-dect.ads: Add ??? comment
5278 Add 2001 to copyright notice (was not done in after all)
5280 * prj-part.adb: Minor reformatting. Reword one awkward error message.
5282 * prj.ads: Minor reformatting throughout, and add some ??? comments
5284 * snames.ads: Minor reformatting
5286 2001-12-05 Geert Bosch <bosch@gnat.com>
5288 * snames.adb: Autoupdate
5290 2001-12-05 Vincent Celier <celier@gnat.com>
5292 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
5294 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
5296 * prj-env.adb: Minor comment changes (modifying -> extends).
5298 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
5300 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
5303 * prj.adb (Initialize): Change Modifying to Extends.
5305 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
5307 * prj.ads: Minor comment change (Modifying -> extending).
5309 * snames.ads: Change modifying to extends.
5311 2001-12-05 Robert Dewar <dewar@gnat.com>
5313 * sem_warn.adb: Remove stuff for conditionals, we are not going to
5316 * sem_warn.ads: Remove stuff for conditionals, we are not going to
5317 do this after all. Add 2001 to copyright notice
5319 2001-12-04 Geert Bosch <bosch@gnat.com>
5321 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
5323 2001-12-04 Robert Dewar <dewar@gnat.com>
5325 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
5326 location if we already have errors. Stops some cases of cascaded
5329 * errout.adb: Improve comment.
5331 2001-12-04 Robert Dewar <dewar@gnat.com>
5334 (Analyze_Formal_Type_Definition): Defend against Error.
5335 (Analyze_Formal_Subprogram): Defend against Error.
5337 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
5338 remove following semicolon if present. Removes cascaded error.
5340 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5343 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
5344 exceptions equals 0.
5345 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
5346 Fixes PIWG E tests (which have to be run with -gnatL).
5348 2001-12-04 Robert Dewar <dewar@gnat.com>
5350 * einfo.ads: Minor reformatting
5352 2001-12-04 Ed Schonberg <schonber@gnat.com>
5354 * einfo.ads: Block_Node points to the identifier of the block, not to
5355 the block node itself, to preserve the link when the block is
5356 rewritten, e.g. within an if-statement with a static condition.
5358 * inline.adb (Cleanup_Scopes): recover block statement from block
5359 entity using new meaning of Block_Node.
5361 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
5362 identifier of block node, rather than to node itself.
5364 2001-12-04 Gary Dismukes <dismukes@gnat.com>
5367 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
5368 (Discrimify): Go back to setting the Etypes of the selected component
5369 because the Vname component does not exist at this point and will
5370 fail name resolution. Also set Analyzed.
5371 Remove with and use of Sem_Res.
5373 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5375 * Makefile.in: (HIE_SOURCES): add s-fat*.
5377 2001-12-04 Robert Dewar <dewar@gnat.com>
5380 (Compile_Time_Known_Attribute): New procedure.
5381 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
5384 2001-12-04 Ed Schonberg <schonber@gnat.com>
5386 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
5387 processing discriminants to diagnose illegal default values.
5389 2001-12-04 Ed Schonberg <schonber@gnat.com>
5391 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
5392 access discriminant within a type extension that constrains its
5393 parent discriminants.
5395 2001-12-04 Ed Schonberg <schonber@gnat.com>
5397 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
5398 is malformed, use instance of Any_Id to allow analysis to proceed.
5400 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
5401 type definition is illegal.
5402 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
5405 2001-12-04 Ed Schonberg <schonber@gnat.com>
5407 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
5410 2001-12-04 Robert Dewar <dewar@gnat.com>
5412 * errout.adb: Minor reformatting
5414 2001-12-04 Robert Dewar <dewar@gnat.com>
5416 * exp_util.adb: Minor reformatting from last change
5418 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
5419 which is a rewriting of an expression, traverse the original
5420 expression to remove warnings that may have been posted on it.
5422 2001-12-04 Ed Schonberg <schonber@gnat.com>
5424 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
5425 record that has other packed components.
5427 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5429 * adaint.c: Minor cleanups.
5431 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
5433 * adaint.c: Do not use utime.h on vxworks.
5435 2001-12-04 Arnaud Charlet <charlet@gnat.com>
5437 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
5438 more confusion than it solves.
5440 2001-12-04 Geert bosch <bosch@gnat.com>
5442 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
5444 2001-12-04 Geert Bosch <bosch@gnat.com>
5446 * Makefile.in (update-sources): New target.
5447 For use by gcc_release script.
5449 2001-12-04 Ed Schonberg <schonber@gnat.com>
5451 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
5452 a configuration pragma, it is now legal wherever a pragma can appear.
5454 2001-12-04 Zack Weinberg <zack@codesourcery.com>
5456 * Makefile.in: Don't set ALL. Delete @cross_defines@,
5457 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
5458 is now @CROSS@ -DIN_GCC; update comment.
5460 2001-12-04 Robert Dewar <dewar@gnat.com>
5462 * einfo.adb (Has_Pragma_Pure_Function): New flag.
5463 Fix problem that stopped ceinfo from working
5465 * einfo.ads (Has_Pragma_Pure_Function): New flag.
5467 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
5469 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
5472 (File_Time_Stamp): New procedure.
5473 (Preserve_Mode): New boolean.
5474 (Write_Unit): Pass time stamp.
5475 Implement -p switch (preserve time stamps).
5477 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
5479 * gnatchop.adb: Do usage info for -p switch
5481 * adaint.h (__gnat_set_file_time_name): New function
5483 * adaint.c (__gnat_set_file_time_name): Implement
5485 * adaint.h: Fix typo
5487 2001-12-03 Robert Dewar <dewar@gnat.com>
5489 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
5490 have Associated_Node.
5492 2001-12-03 Robert Dewar <dewar@gnat.com>
5494 * prj-proc.adb: Minor reformatting
5496 * make.adb: Minor reformatting
5498 2001-12-03 Geert Bosch <bosch@gnat.com>
5500 * make.adb: Minor reformatting.
5502 2001-12-03 Robert Dewar <dewar@gnat.com>
5504 * sem_ch12.adb: Minor reformatting
5506 2001-12-03 Ed Schonberg <schonber@gnat.com>
5508 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
5509 push Standard on the stack before analyzing the instance body,
5510 in order to have a clean visibility environment.
5512 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
5514 2001-12-03 Ed Schonberg <schonber@gnat.com>
5516 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
5517 instantiation of a body that contains an inlined body.
5519 2001-12-03 Ed Schonberg <schonber@gnat.com>
5522 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
5523 to prevent freezing within formal packages.
5524 (Freeze_Subprogram_Body): If body comes from another instance that
5525 appeared before its own body, place freeze node at end of current
5526 declarative part, to prevent a back-end crash.
5527 (Inline_Instance_Body): Handle properly a package instance within
5528 a subprogram instance that is a child unit.
5530 2001-12-01 Graham Stott <grahams@redhat.com>
5532 * Makefile.in (misc.o): Add missing $(srcdir) prefix
5533 and add optabs.h dependency.
5535 * misc.c: Include optabs.h
5536 (gnat_tree_code_type): Make static and const.
5537 (gnat_tree_code_length): Likewise.
5538 (gnat_tree_code_name): Likewise.
5539 (update_setjmp_buf): Obtain operands mode from insn_data.
5541 2001-11-29 Richard Henderson <rth@redhat.com>
5543 * init.c: Remove obsolete dwarf2 frame.h section.
5545 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
5547 * Make-lang.in (ada.generated-manpages): New dummy target.
5549 2001-11-29 Ed Schonberg <schonber@gnat.com>
5551 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
5552 into Command, an array conversion is illegal here. Uncovered by
5555 2001/11/28 Geert Bosch <bosch@gnat.com>
5557 * init.c: Minor whitespace changes.
5559 2001-11-28 Doug Rupp <rupp@gnat.com>
5561 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
5564 2001-11-28 Zack Weinberg <zack@codesourcery.com>
5566 * misc.c (gnat_expand_constant): Move declaration above
5567 definition of lang_hooks.
5568 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
5569 (gnat_init): lang_expand_constant no longer exists.
5571 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
5572 always have vprintf.
5573 (gnat_init): Always call set_internal_error_function.
5575 2001-11-27 Andreas Jaeger <aj@suse.de>
5577 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
5579 2001-11-27 Laurent Guerby <guerby@acm.org>
5581 * Makefile.in: Regenerate Ada dependencies.
5583 2001-11-26 Richard Henderson <rth@redhat.com>
5585 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
5586 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
5587 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
5589 2001-11-25 Laurent Guerby <guerby@acm.org>
5591 * sysdep.c (rts_get_*): Fix style.
5593 2001-11-19 Laurent Guerby <guerby@acm.org>
5595 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
5596 since it is of no apparent use and cause warnings.
5598 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
5600 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
5602 (gnat_init): Don't return NULL.
5603 (finish_parse): Remove.
5605 2001-11-17 Laurent Guerby <guerby@acm.org>
5607 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
5608 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
5609 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
5610 * lang-spec.h: Add missing struct field to silence warnings.
5611 * sysdep.c (rts_get_*): Provide K&R prototype.
5612 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
5613 * traceback.c (Unlock_Task, Lock_Task): Likewise.
5614 * tracebak.c (__gnat_backtrace): Remove unused variable.
5615 * utils.c (end_subprog_body): Move to K&R style.
5617 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5619 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
5621 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
5623 * misc.c (gnat_init): Change prototype. Include the
5624 functionality of the old init_parse and init_decl_processing.
5625 (gnat_init_decl_processing): New prototype.
5626 (init_parse): Remove.
5627 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
5629 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5631 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
5632 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
5633 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
5634 set_yydebug): Remove.
5636 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5638 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
5639 (struct lang_hooks): Constify.
5640 (language_string, lang_identify): Remove.
5641 * utils.c (init_decl_processing): Update.
5643 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5645 * misc.c: Include langhooks-def.h.
5646 * Makefile.in: Update.
5648 2001-10-30 Robert Dewar <dewar@gnat.com>
5651 (Check_Identifier): Rewrite circuit to be compatible with use of letters
5652 in the upper half of ASCII.
5653 (Check_Identifier): Minor reformatting
5655 2001-10-30 Geert Bosch <bosch@gnat.com>
5657 * (Associated_Node, Set_Associated_Node): Do not check for
5660 2001-10-30 Robert Dewar <dewar@gnat.com>
5662 * a-reatim.ads: Minor reformatting
5664 2001-10-30 Robert Dewar <dewar@gnat.com>
5666 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
5667 undocumented declarations.
5669 2001-10-30 Pascal Obry <obry@gnat.com>
5671 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5672 to the binder and linker.
5675 * mdll.ads: Fix layout. Update copyright notice.
5677 * mdll.adb: Fix layout. Update copyright notice.
5679 2001-10-30 Robert Dewar <dewar@gnat.com>
5681 * usage.adb: Minor fix to output for -gnaty.
5683 2001-10-30 Ed Schonberg <schonber@gnat.com>
5685 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
5686 to accommodate all its possible values.
5688 * a-reatim.adb (Split): Special-case handling of Time_Span_First
5689 and of small absolute values of T.
5691 2001-10-30 Richard Kenner <kenner@gnat.com>
5693 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
5694 set_mem_attributes since not needed and wrong if RESULT if a REG;
5695 fixes ACATS failures.
5697 2001-10-30 Geert Bosch <bosch@gnat.com>
5699 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
5700 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
5702 2001-10-30 Robert Dewar <dewar@gnat.com>
5704 * bindusg.adb: Undocument -f switch.
5706 * gnatcmd.adb: Remove /FULL_ELABORATION.
5708 * opt.ads (Force_RM_Elaboration_Order): Document that this is
5711 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
5713 * gnatbind.adb: Minor update of warning msg.
5715 2001-10-30 Vincent Celier <celier@gnat.com>
5717 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
5718 for project file switches (-P (/PROJECT_FILE=),
5719 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
5722 2001-10-30 Geert Bosch <bosch@gnat.com>
5724 * decl.c: Minor whitespace fixes.
5726 2001-10-30 Richard Kenner <kenner@gnat.com>
5728 * utils2.c (build_allocator): Test for SIZE overflow in array case too
5730 2001-10-30 Geert Bosch <bosch@gnat.com>
5732 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
5733 Found due to GCC 3.0 warning of using uninitialized value.
5736 (Get_Max_Size): Use variant record for tracking value/expression.
5737 Makes logic clearer and prevents warnings for uninitialized variables.
5738 (Layout_Array_Type): Use variant record for tracking value/expression.
5739 Makes logic clearer and prevents warnings for uninitialized variables.
5741 2001-10-30 Robert Dewar <dewar@gnat.com>
5743 * lib.adb: Minor reformatting
5745 * s-taprop.ads: Minor reformatting
5747 2001-10-29 Laurent Guerby <guerby@acm.org>
5750 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
5752 (_gnat_error_handler): Make MSG const.
5754 2001-10-29 Richard Kenner <kenner@gnat.com>
5756 * sysdep.c: Fix localtime_r problem on LynxOS.
5757 Also remove #elif to avoid warnings.
5759 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
5762 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
5764 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5766 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
5767 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
5768 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
5769 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
5770 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
5771 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
5772 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
5773 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
5774 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
5775 types.ads, urealp.adb: Fix spelling errors.
5777 2001-10-27 Laurent Guerby <guerby@acm.org>
5779 * trans.c (gigi): Fix non determinism leading to bootstrap
5780 comparison failures for debugging information.
5782 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
5784 * gnat_rm.texi: Use @./@: where appropriate.
5786 2001-10-26 Robert Dewar <dewar@gnat.com>
5788 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
5790 2001-10-26 Richard Kenner <kenner@gnat.com>
5792 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
5794 2001-10-26 Richard Kenner <kenner@gnat.com>
5796 * decl.c (validate_size): Modify message for bad size to avoid
5797 implication that compiler is modifying the size.
5799 2001-10-26 Robert Dewar <dewar@gnat.com>
5801 * prj-util.adb: Minor reformatting. Fix bad header format.
5803 2001-10-26 Robert Dewar <dewar@gnat.com>
5805 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
5807 * sinfo.ads: Clarify use of Associated_Node (documentation only).
5809 * sem_ch12.adb: Change Node4 to Associated_Node. Change
5810 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
5811 much more narrowly in places where needed. These are cleanups.
5813 2001-10-26 Joel Brobecker <brobecke@gnat.com>
5815 * 5zosinte.ads (null_pthread): new constant.
5818 (Initialize_TCB): Initialize thread ID to null, to be able to verify
5819 later that this field has been set.
5820 (Finalize_TCB): ditto.
5821 (Suspend_Task): Verify that the thread ID is not null before using it.
5822 (Resume_Task): ditto.
5825 (Resume_All_Tasks): Lock the tasks list before using it.
5826 (Suspend_All_Tasks): ditto.
5828 2001-10-26 Richard Kenner <kenner@gnat.com>
5830 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
5831 Make constant variant of designated type for Is_Access_Constant.
5832 Call update_pointer_to with main variant.
5834 * trans.c (process_freeze_entity, process_type):
5835 Call update_pointer_to on main variant.
5837 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
5838 If main variant, update all other variants.
5840 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
5843 2001-10-26 Robert Dewar <dewar@gnat.com>
5845 * prj-util.adb: Minor reformatting
5847 2001-10-26 Robert Dewar <dewar@gnat.com>
5849 * prj-util.adb: Minor reformatting
5851 2001-10-26 Robert Dewar <dewar@gnat.com>
5853 * prj-attr.adb: Minor reformatting throughout
5855 2001-10-26 Robert Dewar <dewar@gnat.com>
5857 * prj-attr.ads: Minor reformatting
5858 Add ??? comment (this whole spec has almost no comments)
5860 2001-10-26 Vincent Celier <celier@gnat.com>
5862 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
5863 ("//") that precede the drive letter on Interix.
5865 2001-10-26 Geert Bosch <bosch@gnat.com>
5867 * gnat_rm.texi: Add GNAT Reference Manual.
5869 2001-10-25 Robert Dewar <dewar@gnat.com>
5871 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
5872 is Error. Similar change for other renaming cases.
5874 2001-10-25 Robert Dewar <dewar@gnat.com>
5876 * s-atacco.ads: Add pragma Inline_Always for functions.
5877 Fix header format. Add copyright 2001
5879 2001-10-25 Ed Schonberg <schonber@gnat.com>
5881 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
5882 return Error rather than Empty so that analysis can proceed.
5884 2001-10-25 Ed Schonberg <schonber@gnat.com>
5886 * sem_util.adb (Enter_Name): better handling of cascaded error
5887 messages when a unit appears in its own context.
5889 2001-10-25 Ed Schonberg <schonber@gnat.com>
5891 * sem_util.adb (Defining_Entity): in case of error, attach created
5892 entity to specification, so that semantic analysis can proceed.
5894 2001-10-25 Robert Dewar <dewar@gnat.com>
5897 (Defining_Entity): Deal with Error.
5898 (Process_End_Label): Deal with bad end label for.
5900 2001-10-25 Ed Schonberg <schonber@gnat.com>
5902 * sem_elab.adb (Check_A_Call): refine message when call is in an
5903 instance but callee is not declared in the generic unit.
5905 2001-10-25 Ed Schonberg <schonber@gnat.com>
5907 * sem_elab.adb (Check_A_Call): check for renaming before finding the
5908 enclosing unit, which may already be different from the calling unit.
5910 2001-10-25 Geert Bosch <bosch@gnat.com>
5912 * 4gintnam.ads: fix header format.
5914 2001-10-25 Ed Schonberg <schonber@gnat.com>
5916 * sem_res.adb (Resolve_Call): if the call is actually an indexing
5917 operation on the result of a parameterless call, perform elaboration
5918 check after the node has been properly rewritten.
5920 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
5921 inlined within the generic tree, the defining identifier is not a
5924 2001-10-25 Ed Schonberg <schonber@gnat.com>
5926 * sem_res.adb (Resolve): special-case resolution of Null in an
5927 instance or an inlined body to avoid view conflicts.
5929 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
5930 compatibility by retrieving the access type of the generic copy.
5932 2001-10-25 Robert Dewar <dewar@gnat.com>
5935 (Analyze_Number_Declaration): Handle error expression.
5936 (Signed_Integer_Type_Declaration): Handle error bound.
5937 (Analyze_Subtype_Indication): Handle error range.
5939 * sem_util.adb (Get_Index_Bounds): Check for Error.
5941 2001-10-25 Robert Dewar <dewar@gnat.com>
5943 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
5944 in no run time mode.
5946 2001-10-25 Pascal Obry <obry@gnat.com>
5948 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
5949 mode case for ALLOC case.
5951 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
5952 all platforms. Improvement of last change.
5954 2001-10-25 Robert Dewar <dewar@gnat.com>
5956 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
5958 2001-10-25 Geert Bosch <bosch@gnat.com>
5960 * osint.adb (Is_Relative): Remove duplicate.
5962 2001-10-25 Pascal Obry <obry@gnat.com>
5964 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
5965 pathnames in UNIX and DOS style with drive letter.
5966 (Is_Relative): new routine.
5968 * osint.adb: Minor reformatting
5970 * osint.adb (Is_Relative): implementation using
5971 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
5973 2001-10-25 Pascal Obry <obry@gnat.com>
5975 * g-dirope.adb (Basename): correctly compute offset between the
5976 original Path and the translated one.
5978 * g-dirope.adb: (Base_Name): add some comments.
5980 2001-10-25 Robert Dewar <dewar@gnat.com>
5982 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
5983 in HIE mode, avoids compilation abandoned message
5985 * exp_imgv.adb: Correct typo in previous change
5987 * exp_imgv.adb: Correct typo in previous change (not my day!)
5989 2001-10-25 Robert Dewar <dewar@gnat.com>
5991 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
5993 2001-10-25 Pascal Obry <obry@gnat.com>
5995 * g-awk.ads: Move all pragma inlines next to the routine
5996 declarations. This is more uniform with other GNAT spec.
5998 2001-10-22 Geert Bosch <bosch@gnat.com>
6000 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
6002 2001-10-19 Geert Bosch <bosch@gnat.com>
6004 * Makefile.in (tools, gnattools): Remove gnatmem.
6006 2001-10-17 Richard Henderson <rth@redhat.com>
6008 * Makefile.in (misc.o): Depend on langhooks.h.
6009 * misc.c: Include it.
6010 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
6011 (LANG_HOOKS_DECODE_OPTION): New.
6012 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
6014 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6016 * trans.c (tree_transform): Adjust to recent change in
6017 expand_asm_operands to implement named asm operands.
6019 2001-10-11 Ed Schonberg <schonber@gnat.com>
6021 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
6022 renaming of discriminant for mutable record type.
6024 2001-10-11 Robert Dewar <dewar@gnat.com>
6026 * validsw.adb: Properly save -gnatVn status.
6028 2001-10-11 Robert Dewar <dewar@gnat.com>
6030 * usage.adb: Add lines for V switch.
6032 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
6033 (/VALIDITY_CHECKING).
6035 2001-10-11 Ed Schonberg <schonber@gnat.com>
6037 * sem_type.adb (Add_One_Interp): an operator for a type declared in
6038 an extension of System is known to be visible.
6040 2001-10-11 Ed Schonberg <schonber@gnat.com>
6042 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
6043 properly. Fixes regression on ACATS C34005G.
6045 2001-10-11 Robert Dewar <dewar@gnat.com>
6047 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
6048 loop in generic instance, since this is likely not very useful.
6050 2001-10-11 Robert Dewar <dewar@gnat.com>
6052 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
6053 the error message for high integrity mode.
6055 * rtsfind.adb (RTE): Give message if we try to find an entity that
6056 is not available in high integrity mode.
6059 (OK_To_Use_In_HIE_Mode): New array.
6060 (RTE): May return Empty in high integrity mode.
6062 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
6063 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
6065 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
6066 unit if not inlined always and in no runtime mode. Fixes problem
6067 caused by new Rtsfind changes.
6069 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
6072 * rtsfind.adb (RTE): Make sure we do not try to load unit after
6073 giving message for entity not available in high integrity mode.
6075 2001-10-11 Pascal Obry <obry@gnat.com>
6077 * impunit.adb: Add GNAT.CRC32.
6079 2001-10-11 Ed Schonberg <schonber@gnat.com>
6081 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
6082 properly the case where one universal operand in a non-static
6083 exponentiation of a real literal.
6085 2001-10-11 Ed Schonberg <schonber@gnat.com>
6087 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
6088 clause, return the gobal finalization list, for lack of anthing else.
6090 2001-10-11 Ed Schonberg <schonber@gnat.com>
6092 * exp_ch7.adb (Make_Transient_Block): if statement is within
6093 exception handler, always use new transient scope to place Clean
6096 2001-10-11 Pascal Obry <obry@gnat.com>
6099 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6100 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
6101 (GNATLS_RTL_OBJS): add g-crc32.o
6102 (GNATMAKE_RTL_OBJS): add g-crc32.o
6105 (CRC_Match): new function.
6106 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
6107 instead of the previous simple checksum algorithm.
6108 (Time_Stamp_Mismatch): use CRC_Match for comparison.
6109 (Set_Source_Table): idem.
6112 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
6113 instead of simple checksum.
6114 (CRC_Match): new function.
6115 (CRC_Error): new constant.
6117 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
6118 a CRC now and not a simple checksum. A CRC uses lower-case hex
6119 letters, fixes ambiguity in parsing.
6121 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
6122 is what this variable will store.
6124 * bcheck.adb: Change reference to chechsum in comments by CRC.
6125 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
6126 rename All_Checksum_Match to All_CRC_Match. Change due to API
6127 renaming since now GNAT does not use a simple checksum but a
6128 CRC using GNAT.CRC32.
6130 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
6131 now and not anymore a simple checksum.
6133 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
6136 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
6139 (Restore_Scan_State): rename Checksum to CRC.
6140 (Save_Scan_State): idem.
6144 (Checksum): rename to CRC.
6145 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
6147 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
6148 GNAT.CRC32). Update copyright notice.
6150 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
6151 GNAT.CRC32). Update copyright notice.
6154 (Accumulate_Checksum): removed.
6155 (Update): new procedure. Add a wide-character into the CRC.
6158 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
6159 (Load_File): fix initialization of S (change Source_Checksum to
6162 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
6163 Source_CRC in S initialization.
6165 * sinput.adb (Source_Checksum): renamed to Source_CRC.
6167 * sinput.ads (Source_Checksum): renamed to Source_CRC.
6168 Update comments for the CRC.
6170 * types.adb (Hex): Use lowercase for the letter part.
6172 * types.ads (Get_Hex_String): Returns the hexadecimal representation
6173 for a word. This is currently used only for CRC. In previous version,
6174 the checksum was using a representation with all letter being
6175 upper-case. With the new implementation (using CRC) we do not remove
6176 the 32th bit of the CRC, so we can have an upper-case starting letter
6177 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
6178 It is ambigous since the CRC was optional and could be followed by
6179 options like EB, EE. So now this routines uses lower-case letter for
6180 the hexadecimal representation. Strange enough only lower case letters
6181 where checked in Scan_ALI (even if this was not a possible case).
6183 * gnatvsn.ads (Library_Version): changed to 3.15a.
6185 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
6188 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
6191 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
6192 Add 2001 to copyright notice
6193 (Accumulate_Checksum): Modify to use System.CRC32.
6195 * ali-util.ads: Redo changes of previous revision to continue to use
6196 the word Checksum. Add 2001 to copyright notice.
6198 * ali.adb: Undo some of previous changes, not needed.
6199 Keep the change for lower case letters in the checksum.
6201 * ali.ads: Undo previous change not needed.
6203 * bcheck.adb: Undo most of previous change, not needed.
6204 But do use Checksums_Match for checksum comparison.
6206 * gnatls.adb: Undo most of previous change, not needed.
6207 But do use Checksums_Match for comparing checksums.
6209 * lib-load.adb: Undo previous change, not needed.
6211 * lib-writ.adb: Undo previous change, not needed.
6213 * lib-writ.ads: Document that checksums use lower case,
6214 not upper case letters.
6216 * scans.adb: Undo previous change, not needed
6218 * scans.ads: Undo previous change, not needed.
6220 * scn-nlit.adb: Undo previous changes, not needed.
6222 * scn-slit.adb: Undo previous change, not needed. Fix header format.
6225 (Accumulate_Checksum): Use System.CRC32.
6226 (Initialize_Checksum): New procedure.
6227 Remove other changes of previous revision.
6229 * sinput-p.adb: Undo previous change, not needed.
6231 * sinput.adb: Undo previous change, not needed.
6233 * sinput-l.adb: Undo previous change, not needed.
6235 * sinput.ads: Undo previous change, not needed. Keep only comment
6236 on new checksum algorithm
6238 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
6239 Also remove a-tags and a-stream from GNAT sources.
6241 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
6243 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
6245 2001-10-11 Geert Bosch <bosch@gnat.com>
6247 * einfo.h: Regenerate.
6249 * nmake.ads: Regenerate.
6251 * nmake.adb: Regenerate.
6253 * sinfo.h: Regenerate.
6255 * treeprs.adb: Regenerate.
6257 2001-10-10 Geert Bosch <bosch@gnat.com>
6259 * gnat-style.texi: New file describing coding guidelines for Ada.
6261 2001-10-10 Ed Schonberg <schonber@gnat.com>
6263 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
6266 2001-10-10 Geert Bosch <bosch@gnat.com>
6268 * snames.ads: Add new names for project facility.
6270 * snames.adb: Update to reflect snames.ads changes.
6272 * snames.h: Update to reflect snames.ads changes.
6274 2001-10-10 Vincent Celier <celier@gnat.com>
6277 (Add_Switches): reflect the changes for the switches attributes
6278 Default_Switches indexed by the programming language,
6279 Switches indexed by the file name.
6280 (Collect_Arguments_And_Compile): Idem.
6281 Reflect the attribute name changes.
6284 (Initialisation_Data): Change the names of some packages and
6286 (Initialize): process case insensitive associative arrays.
6289 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
6292 (Parse_Attribute_Declaration): For case insensitive associative
6293 arrays, set the index string to lower case.
6296 Reflect the changes of the project attributes.
6299 Replace Check_Naming_Scheme by Ada_Check and
6300 Language_Independent_Check.
6303 Replaced Check_Naming_Scheme by 2 procedures:
6304 Ada_Check and Language_Independent_Check.
6307 (Process_Declarative_Items): For case-insensitive associative
6308 arrays, set the index string to lower case.
6309 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
6310 Prj.Nmsc.Check_Naming_Scheme.
6313 (Case_Insensitive): New function
6314 (Set_Case_Insensitive): New procedure
6317 (Case_Insensitive): New function
6318 (Set_Case_Insensitive): New procedure
6319 (Project_Node_Record): New flag Case_Insensitive.
6322 (Value_Of): new function to get the string value of a single
6323 string variable or attribute.
6326 (Value_Of): new function to get the string value of a single
6327 string variable or attribute.
6330 (Ada_Default_Spec_Suffix): New function
6331 (Ada_Default_Impl_Suffix): New function
6332 Change definitions of several constants to reflect
6333 new components of record types.
6336 (Naming_Data): Change several components to reflect new
6337 elements of naming schemes.
6338 (Project_Data): New flags Sources_Present and
6339 Language_Independent_Checked.
6340 (Ada_Default_Spec_Suffix): New function.
6341 (Ada_Default_Impl_Suffix): New function.
6344 Modification of predefined names for project manager: added
6345 Implementation, Specification_Exceptions, Implementation_Exceptions,
6346 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
6347 Default_Switches, _Languages, Builder, Cross_Reference,
6348 Finder. Removed Body_Part, Specification_Append, Body_Append,
6349 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
6352 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6355 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
6356 not that it is Nil_Variable_Value.
6358 * prj.ads: Add ??? for uncommented declarations
6360 2001-10-10 Ed Schonberg <schonber@gnat.com>
6362 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
6363 constant, do not indicate possible modification, so that gigi can
6364 treat it as a bona fide constant.
6366 2001-10-10 Robert Dewar <dewar@gnat.com>
6368 * sem_prag.adb: Add processing for pragma External.
6370 * snames.ads: Add entry for pragma External.
6372 * par-prag.adb: Add pragma External.
6374 * snames.adb: Updated to match snames.ads.
6376 2001-10-10 Ed Schonberg <schonber@gnat.com>
6378 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
6379 a dynamic task if the allocator appears in an indexed assignment
6380 or selected component assignment.
6382 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
6383 For a dynamic task in an assignment statement, use target of
6384 assignment to generate meaningful name.
6386 2001-10-10 Ed Schonberg <schonber@gnat.com>
6388 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
6391 * einfo.ads: Body_Entity is also defined for generic package.
6392 Documentation change only
6394 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
6395 others_choice for a discriminated component initialization,
6396 convert discriminant references into the corresponding discriminals.
6398 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
6399 only if original type is private and expression has to be wrapped
6403 (Apply_Constraint_Check): Do not perform length check
6404 if expression is an aggregate with only an others_choice.
6405 (Length_N_Cond): two references to the same in_parameter
6406 (typically the discriminal in an init_proc) denote the same value.
6407 Two useful optimization uncovered by bugfixes above.
6409 2001-10-10 Robert Dewar <dewar@gnat.com>
6411 * xeinfo.adb: Change int to char in translation of enumeration types.
6412 This fixes a problem in the C representation of component alignment.
6413 Add 2001 to copyright notice
6415 2001-10-10 Richard Kenner <kenner@gnat.com>
6417 * decl.c: (validate_size): Do check size of object of integral type
6418 if it is a packed array type.
6420 2001-10-10 Richard Kenner <kenner@gnat.com>
6422 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
6423 VAR_DECL for constant if not Is_Public but -O0.
6425 2001-10-10 Richard Kenner <kenner@gnat.com>
6427 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
6429 2001-10-10 Geert Bosch <bosch@gnat.com>
6431 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
6432 use '/' as switch character, allowing for absolute file names.
6434 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6436 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
6439 2001-10-08 Geert Bosch <bosch@gnat.com>
6441 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
6442 Automatically build utilities when files need to be regenerated.
6444 2001-10-08 Geert Bosch <bosch@gnat.com>
6446 * xsnames.adb: New utility for updating snames.ads and snames.adb
6448 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6450 * Make-lang.in (ADAFLAGS): Add -W -Wall.
6451 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
6452 (gnat1): Also depend on attribs.o.
6453 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
6454 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
6455 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
6456 (ADAFLAGS): Add -W -Wall.
6457 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
6460 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
6461 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
6462 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
6463 Use $(ADAC), not $(CC), as compilation command.
6465 (gnattools): Depend directly on tools to build, don't use
6467 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
6469 * einfo.h, sinfo.h: New files (autogenerated).
6471 2001-10-08 Richard Henderson <rth@redhat.com>
6473 * comperr.adb (Abort_In_Progress): New.
6474 (Compiler_Abort): Use it to prevent recursion.
6476 2001-10-08 Robert Dewar <dewar@gnat.com>
6478 * atree.adb: Set Error_Posted in Error node, helps error recovery.
6480 * par-endh.adb (Output_End_Expected): We should also not test
6481 Error_Posted on the Error node, since now it is always set.
6483 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
6484 to help error recovery. Part of general work on 9407-004.
6486 * par.adb: Add ??? for misuse of error
6489 (Resolve): Defend against Error, fixes 9407-003.
6490 (Resolve_Discrete_Subtype_Indication): Defend against Error.
6492 * sinfo.ads (N_Error): Now has Etype field (which will be set
6493 to Any_Type to help error recovery).
6495 2001-10-08 Richard Kenner (kenner@gnat.com)
6497 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
6498 Consistently set MEM attributes from expression; fixes
6499 bootstrap failure on x86.
6501 2001-10-08 Geert Bosch (bosch@gnat.com)
6503 * 5oosinte.adb: Add 2001 to copyright notice.
6505 2001-10-08 Geert Bosch (bosch@gnat.com)
6507 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
6509 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
6511 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6513 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
6515 2001-10-05 Geert Bosch (bosch@gnat.com)
6517 * adaint.h: Small formatting fix.
6519 2001-10-04 Geert Bosch <bosch@gnat.com>
6521 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
6522 Arg is int, not FILE *, in dummy version of functions.
6524 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
6525 Arg is int, not FILE *.
6527 2001-10-04 Geert Bosch <bosch@gnat.com>
6529 * 3lsoccon.ads: Added file, missed with initial check ins.
6531 * 4lintnam.ads: Fix header format.
6532 Change Linux to GNU/Linux.
6534 * 5iosinte.adb: Change Linux to GNU/Linux.
6536 * 5iosinte.ads: Change Linux to GNU/Linux.
6538 * 5itaprop.adb: Change Linux to GNU/Linux.
6540 * 5itaspri.ads: Change Linux to GNU/Linux.
6541 Update copyright notice.
6543 * 5lintman.adb: Change Linux to GNU/Linux.
6545 * 5lml-tgt.adb: Change Linux to GNU/Linux.
6547 * 5losinte.ads: Change Linux to GNU/Linux.
6549 * 5lsystem.ads: Change Linux to GNU/Linux.
6551 * 5qosinte.adb: Change Linux to GNU/Linux.
6553 * 5qosinte.ads: Change Linux to GNU/Linux.
6555 * 5qparame.ads: Change Linux to GNU/Linux.
6557 * 5qtaprop.adb: Change Linux to GNU/Linux.
6559 * 5qtaspri.ads: Change Linux to GNU/Linux.
6560 Add 2001 to copyright notice.
6562 * 5vintman.ads: Change Linux to GNU/Linux.
6563 Fix header format. Add 2001 to copyright notice.
6565 * g-soccon.ads: Change Linux to GNU/Linux.
6567 * g-trasym.ads: Change Linux to GNU/Linux.
6568 Add 2001 to copyright notice.
6570 * memtrack.adb: Change Linux to GNU/Linux.
6572 * s-intman.ads: Change Linux to GNU/Linux.
6573 Add 2001 to copyright notice. Fix header format.
6575 * s-stache.adb: Change Linux to GNU/Linux.
6577 * adaint.c: Change Linux to GNU/Linux.
6579 * cio.c: Change Linux to GNU/Linux.
6581 * cstreams.c: Change Linux to GNU/Linux.
6583 * init.c: Change Linux to GNU/Linux.
6585 * gmem.c: Change Linux to GNU/Linux.
6587 * tracebak.c: Change Linux to GNU/Linux.
6590 2001-10-02 Geert Bosch <bosch@gnat.com>
6592 * misc.c (insert_default_attributes): Add dummy version.