]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ada/ChangeLog
libjava.exp (bytecompile_file): Log compile command.
[thirdparty/gcc.git] / gcc / ada / ChangeLog
CommitLineData
47527624
RO
12004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2
3 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
4
dedebde1
KC
52004-01-05 Kelley Cook <kcook@gcc.gnu.org>
6
7 * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
8 Update comment and copyright date.
9 * stamp-xgnatug: Delete.
10
91b1417d
AC
112004-01-05 Robert Dewar <dewar@gnat.com>
12
13 * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
14 be modified by the binder generated main program if the -D switch is
15 used.
16
17 * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
18 imported functions (since now we expect this to be done for imported
19 functions)
20
21 * 5vtaprop.adb: Add several ??? for sections requiring more comments
22 Minor reformatting throughout
23
24 * 5zinit.adb: Minor reformatting
25 Add 2004 to copyright date
26 Minor changes to avoid -gnatwa warnings
27 Correct some instances of using OR instead of OR ELSE (noted while
28 doing reformatting)
29
30 * sprint.adb: Minor updates to avoid -gnatwa warnings
31
32 * s-secsta.ads, s-secsta.adb:
33 (SS_Get_Max): New function to obtain high water mark for ss stack
34 Default_Secondary_Stack is not a constant since it may be modified by
35 the binder generated main program if the -D switch is used.
36
37 * switch-b.adb: New -Dnnn switch for binder
38
39 * switch-c.adb:
40 Make -gnatg imply all warnings currently in -gnatwa
41
42 * vms_conv.adb: Minor reformatting
43 Add 2004 to copyright notice
44 Add 2004 to printed copyright notice
45
46 * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
47 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
48 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
49 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
50 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
51 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
52 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
53 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
54 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
55 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
56 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
57 vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
58 xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
59 sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
60 checks.adb, clean.adb, cstand.adb, einfo.ads,
61 einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
62 exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
63 prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
64 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
65 g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
66 lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
67 Minor reformatting and code clean ups.
68 Minor changes to prevent -gnatwa warnings
69
70 * ali.adb: Minor reformatting and cleanup of code
71 Acquire new SS indication of secondary stack use from ali files
72
73 * a-numaux.ads: Add Pure_Function pragmas for all imported functions
74 (since now we expect this to be done for imported functions)
75
76 * bindgen.adb: Generate call to modify default secondary stack size if
77 -Dnnn switch given
78
79 * bindusg.adb: Add line for new -D switch
80
81 * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
82 replacement name for Type_May_Have_Non_Bit_Aligned_Components!
83 Add circuitry for both records and arrays to avoid gigi
84 processing if the type involved has non-bit-aligned components
85
86 * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
87 N_String_Literal node always references an E_String_Literal_Subtype
88 entity. This may not be true in the future.
89 (Possible_Bit_Aligned_Component): Move processing of
90 Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
91
92 * exp_ch6.adb (Expand_Thread_Body): Pick up
93 Default_Secondary_Stack_Size as variable so that we get value modified
94 by possible -Dnnn binder parameter.
95
96 * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
97 (Type_May_Have_Bit_Aligned_Components): New function.
98
99 * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
100 (Type_May_Have_Bit_Aligned_Components): New function.
101
102 * fe.h: (Set_Identifier_Casing): Fix prototype.
103 Add declaration for Sem_Elim.Eliminate_Error_Msg.
104 Minor reformatting.
105
106 * freeze.adb (Freeze_Entity): Add RM reference to error message about
107 importing constant atomic/volatile objects.
108 (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
109 unless explicit Pure_Function pragma given, to avoid insidious bug of
110 call to non-pure imported function getting eliminated.
111
112 * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
113 gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
114 gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
115 Add 2004 to printed copyright notice
116
117 * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
118 stack used.
119
120 * Makefile.rtl: Add entry for g-sestin.o
121 g-sestin.ads: New file.
122
123 * mdll.adb: Minor changes to avoid -gnatwa warnings
124
125 * mlib-tgt.adb: Minor reformatting
126
127 * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
128 New switch Sec_Stack_Used (GNAT, GNATBIND)
129 Make Default_Secondary_Stack_Size a variable instead of a constant,
130 so that it can be modified by the new -Dnnn bind switch.
131
132 * rtsfind.adb (Load_Fail): Give full error message in configurable
133 run-time mode if all_errors mode is set. This was not done in the case
134 of a file not found, which was an oversight.
135 Note if secondary stack unit is used by compiler.
136
137 * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
138 ineffective elaborate all pragmas on non-visible packages (this
139 happened when a renamed subprogram was called). Now the elaborate all
140 always goes on the package containing the renaming rather than the one
141 containing the renamed subprogram.
142
143 * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
144 (Process_Eliminate_Pragma): Add parameter to capture pragma location.
145
146 * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
147 has an Etype that references an E_String_Literal.
148 (Eval_String_Literal): Avoid assumption that N_String_Literal node
149 always references an E_String_Literal_Subtype entity. This may not
150 be true in the future.
151
152 * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
153 pragma location.
154
155 * sem_res.adb (Resolve): Specialize msg for function name used in proc
156 call.
157
1582004-01-05 Ed Falis <falis@gnat.com>
159
160 * g-debuti.adb: Replaced direct boolean operator with short-circuit
161 form.
162
1632004-01-05 Vincent Celier <celier@gnat.com>
164
165 * bld.adb: Minor comment updates
166 (Process_Declarative_Items): Correct incorrect name (Index_Name instead
167 of Item_Name).
168
169 * make.adb (Gnatmake): Special process for files to compile/check when
170 -B is specified. Fail when there are only foreign mains in attribute
171 Main of the project file and -B is not specified. Do not skip bind/link
172 steps when -B is specified.
173
174 * makeusg.adb: Document new switch -B
175
176 * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
177
178 * switch-m.adb: (Scan_Make_Switches): Process -B switch
179
180 * vms_data.ads: Add new GNAT PRETTY qualifier
181 /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
182
1832004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
184
185 * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
186 case.
187
188 * misc.c (gnat_printable_name): If VERBOSITY is 2, call
189 Set_Identifier_Casing.
190
191 * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
192 has size that overflows.
193
1942004-01-05 Gary Dismukes <dismukes@gnat.com>
195
196 * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
197 -gnatwa warning on static condition.
198
1992004-01-05 Doug Rupp <rupp@gnat.com>
200
201 * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
202
2032004-01-05 Arnaud Charlet <charlet@act-europe.fr>
204
205 * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
206 all attributes, including read-only attribute.
207
2082004-01-05 Pascal Obry <obry@gnat.com>
209
210 * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
211 library naming scheme.
212
213 * mlib-prj.adb (Build_Library): Generate different names for the static
214 or dynamic version of the GNAT runtime. This is needed to support the
215 new shared library naming scheme.
216 (Process_Binder_File): Add detection of shared library in binder file
217 based on the new naming scheme.
218
219 * gnatlink.adb (Process_Binder_File): Properly detect the new naming
220 scheme for the shared runtime libraries.
221
222 * Makefile.in:
223 (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
224 scheme.
225 (install-gnatlib): Do not create symlinks for shared libraries.
226 (gnatlib-shared-default): Idem.
227 (gnatlib-shared-dual-win32): New target. Not used for now as the
228 auto-import feature does not support arrays/records.
229 (gnatlib-shared-win32): Do not create copy for the shared libraries.
230 (gnatlib-shared-vms): Fix shared runtime libraries names.
231
232 * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
233 dependent runtime shared library name.
234
2352004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
236
237 * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
238 than the object.
239
2402004-01-05 Ed Schonberg <schonberg@gnat.com>
241
242 * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
243 protected objects when allocator has a subtype indication, not a
244 qualified expression. Note that qualified expressions may have to be
245 checked when limited aggregates are implemented.
246
247 * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
248 pure, emit warning.
249 (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
250 subprogram is imported, remove warning.
251
2522004-01-05 Geert Bosch <bosch@gnat.com>
253
254 * s-poosiz.adb: Update copyright notice.
255 (Allocate): Use Task_Lock to protect against concurrent access.
256 (Deallocate): Likewise.
257
2582004-01-05 Joel Brobecker <brobecker@gnat.com>
259
260 * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
261 comment.
262
2ab127f3
KC
2632003-12-23 Kelley Cook <kcook@gcc.gnu.org>
264
265 * gnat_ug.texi: Force a CVS commit by updating copyright.
266 * gnat_ug_vxw.texi: Regenerate.
267 * gnat_ug_wnt.texi: Regenerate.
268 * gnat_ug_vms.texi: Regenerate.
269 * gnat_ug_unx.texi: Regenerate.
270
aed8bfdc
KH
2712003-12-20 Kazu Hirata <kazu@cs.umass.edu>
272
273 * trans.c: Remove uses of "register" specifier in
274 declarations of local variables.
275
90c2f1de
KC
2762003-12-18 Kelley Cook <kcook@gcc.gnu.org>
277
278 * stamp-xgnatug: New stamp file.
279 * Make-lang.in (stamp-xgnatug): New stamp file and comment.
280 (ada/doctools/xgnatug): Add $(build_exeext).
281 (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
282 ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
283
891a6e79
AC
2842003-12-17 Ed Falis <falis@gnat.com>
285
286 * a-elchha.adb (Tailored_Exception_Information): made Info constant to
287 eliminate warning.
288
289 * a-exextr.adb: Add context clause for
290 Ada.Exceptions.Last_Chance_Handler.
291
2922003-12-17 Sergey Rybin <rybin@act-europe.fr>
293
294 * cstand.adb (Create_Standard): Change the way how the declaration of
295 the Duration type is created (making it the same way as it is for all
296 the other standard types).
297
2982003-12-17 Robert Dewar <dewar@gnat.com>
299
300 * s-crtl.ads: Fix header format
301 Change Pure to Preelaborate
302
3032003-12-17 Ed Schonberg <schonberg@gnat.com>
304
305 * checks.adb (Selected_Length_Checks): Generate an Itype reference for
306 the expression type only if it is declared in the current unit.
307
308 * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
309 are universal and already analyzed, as can occur in constrained
310 subcomponents that depend on discriminants, when one constraint is a
311 subtype mark.
312
313 * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
314 type Any_Fixed is legal as the argument of a conversion, if only one
315 fixed-point type is in context.
316
3172003-12-17 GNAT Script <nobody@gnat.com>
318
319 * Make-lang.in: Makefile automatically updated
320
209db2bf
AC
3212003-12-15 Robert Dewar <dewar@gnat.com>
322
323 * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
324 sec stack size.
325
3262003-12-15 Vincent Celier <celier@gnat.com>
327
328 * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
329 (Gnatchop): Do not set failure status when reporting the number of
330 warnings.
331
3322003-12-15 Doug Rupp <rupp@gnat.com>
333
334 * s-ctrl.ads: New file.
335
336 * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
337
338 * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
339 (GNATBIND_OBJS): Add ada/s-crtl.o.
340
341 * Makefile.in [VMS]: Clean up ifeq rules.
342
343 * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
344 a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
345 g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
346 s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
347 s-tasdeb.adb: Update copyright.
348 Import System.CRTL.
349 Make minor modifications to use System.CRTL declared functions instead
350 of importing locally.
351
3522003-12-15 GNAT Script <nobody@gnat.com>
353
354 * Make-lang.in: Makefile automatically updated
355
a9f4e3d2
AC
3562003-12-11 Ed Falis <falis@gnat.com>
357
358 * 5zinit.adb: Clean up.
359
360 * 5zintman.adb (Notify_Exception): replaced case statement with a call
361 to __gnat_map_signal, imported from init.c to support
362 signal -> exception mappings that depend on the vxWorks version.
363
364 * init.c:
365 Created and exported __gnat_map_signal to support signal -> exception
366 mapping that is dependent on the VxWorks version.
367 Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
368
3692003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr>
370
371 * 5wosinte.ads: Link with -mthreads switch.
372
3732003-12-11 Arnaud Charlet <charlet@act-europe.fr>
374
375 * init.c (__gnat_install_handler [NetBSD]): Set
376 __gnat_handler_installed, as done on all other platforms.
377 Remove duplicated code.
378
3792003-12-11 Jerome Guitton <guitton@act-europe.fr>
380
381 * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
382
3832003-12-11 Thomas Quinot <quinot@act-europe.fr>
384
385 * sinfo.ads: Fix inconsistent example code in comment.
386
3872003-12-11 Robert Dewar <dewar@gnat.com>
388
389 * a-tiinau.adb: Add a couple of comments
390
391 * sem_ch3.adb: Minor reformatting
392
393 * sem_prag.adb:
394 Fix bad prototype of Same_Base_Type in body (code reading cleanup)
395 Minor reformatting throughout
396
3972003-12-11 Ed Schonberg <schonberg@gnat.com>
398
399 * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
400 bounds of a loop, create a separate block in order to generate proper
401 cleanup actions to prevent memory leaks.
402
403 * sem_res.adb (Resolve_Call): After a call to
404 Establish_Transient_Scope, the call may be rewritten and relocated, in
405 which case no further processing is needed.
406
407 * sem_util.adb: (Wrong_Type): Refine previous fix.
408 Fixes ACATS regressions.
409
410 PR ada/13353
411
412 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
413 be inlined.
414
c45b6ae0
AC
4152003-12-08 Jerome Guitton <guitton@act-europe.fr>
416
417 * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
418 i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
419 obsolete files.
420
421 * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
422 (rts-zfp): Ditto.
423
4242003-12-08 Robert Dewar <dewar@gnat.com>
425
426 * 7sintman.adb: Minor reformatting
427
428 * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
429 standard linker options to get standard libraries linked. We now plan
430 to provide dummy versions of these libraries to match the appropriate
431 configurable run-time (e.g. if a library is not needed at all, provide
432 a dummy empty library).
433
434 * targparm.ads: Configurable_Run_Time mode no longer affects linker
435 options (-L parameters and standard libraries). What we plan to do is
436 to provide dummy libraries where the libraries are not required.
437
438 * gnatbind.adb: Minor comment improvement
439
4402003-12-08 Javier Miranda <miranda@gnat.com>
441
442 * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
443 aggregate in the parent. Otherwise constants with limited aggregates
444 are not supported. Add new formal to pass the component type (Ctype).
445 It is required to call the corresponding IP subprogram in case of
446 default initialized components.
447 (Gen_Assign): In case of default-initialized component, generate a
448 call to the IP subprogram associated with the component.
449 (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
450 of aggregate with default initialized components.
451 (Has_Default_Init_Comps): Improve implementation to recursively check
452 all the present expressions.
453
454 * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
455 to indicate that the initialization call corresponds to a
456 default-initialized component of an aggregate.
457 In case of default initialized aggregate with tasks this parameter is
458 used to generate a null string (this is just a workaround that must be
459 improved later). In case of discriminants, this parameter is used to
460 generate a selected component node that gives access to the discriminant
461 value.
462
463 * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
464 subprogram, based on Build_Task_Allocate_Block, but adapted to expand
465 allocated aggregates with default-initialized components.
466
467 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
468 the box notation is used in positional aggregates.
469
4702003-12-08 Samuel Tardieu <tardieu@act-europe.fr>
471
472 * lib.ads: Fix typo in comment
473
4742003-12-08 Vincent Celier <celier@gnat.com>
475
476 * prj.adb (Project_Empty): New component Unkept_Comments
477 (Scan): Remove procedure; moved to Prj.Err.
478
479 * prj.ads (Project_Data): New Boolean component Unkept_Comments
480 (Scan): Remove procedure; moved to Prj.Err.
481
482 * prj-dect.adb: Manage comments for the different declarations.
483
484 * prj-part.adb (With_Record): New component Node
485 (Parse): New Boolean parameter Store_Comments, defaulted to False.
486 Set the scanner to return ends of line and comments as tokens, if
487 Store_Comments is True.
488 (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
489 comments are associated with these nodes. Store the node IDs in the
490 With_Records.
491 (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
492 With_Records.
493 (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
494 the N_Project node. Call Tree.Save and Tree.Reset before scanning the
495 current project. Call Tree.Restore afterwards. Set the various nodes
496 for comment storage (Next_End, End_Of_Line, Previous_Line,
497 Previous_End).
498
499 * prj-part.ads (Parse): New Boolean parameter Store_Comments,
500 defaulted to False.
501
502 * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
503 to False. When Truncated is True, truncate the string, never go to the
504 next line.
505 (Write_End_Of_Line_Comment): New procedure
506 (Print): Process comments for nodes N_With_Clause,
507 N_Package_Declaration, N_String_Type_Declaration,
508 N_Attribute_Declaration, N_Typed_Variable_Declaration,
509 N_Variable_Declaration, N_Case_Construction, N_Case_Item.
510 Process nodes N_Comment.
511
512 * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
513 without comments and there are some comments, set the flag
514 Unkept_Comments to True.
515 (Scan): If there are comments, set the flag Unkept_Comments to True and
516 clear the comments.
517 (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
518 (Next_End_Nodes: New table
519 (Comment_Zones_Of): New function
520 (Scan): New procedure; moved from Prj. Accumulate comments in the
521 Comments table and set end of line comments, comments after, after end
522 and before end.
523 (Add_Comments): New procedure
524 (Save, Restore, Seset_State): New procedures
525 (There_Are_Unkept_Comments): New function
526 (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
527 (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
528 procedures.
529 (First_Comment_After, First_Comment_After_End): New functions
530 (First_Comment_Before, First_Comment_Before_End): New functions
531 (Next_Comment): New function
532 (End_Of_Line_Comment, Follows_Empty_Line,
533 Is_Followed_By_Empty_Line): New functions
534 (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
535 (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
536 (Set_Next_Comment): New procedure
537 (Default_Project_Node): Associate comment before if the node can store
538 comments.
539
540 * scans.ads (Token_Type): New enumeration value Tok_Comment
541 (Comment_Id): New global variable
542
543 * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
544 defaulted to False.
545 (Scan): Store position of start of comment. If comments are tokens, set
546 Comment_Id and set Token to Tok_Comment when scanning a comment.
547 (Set_Comment_As_Token): New procedure
548
549 * sinput-p.adb: Update Copyright notice
550 (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
551 that no longer exists.
552
5532003-12-08 Javier Miranda <miranda@gnat.com>
554
555 * sem_aggr.adb: Add dependence on Exp_Tss package
556 Correct typo in comment
557 (Resolve_Aggregate): In case of array aggregates set the estimated
558 type of the aggregate before calling resolve. This is needed to know
559 the name of the corresponding IP in case of limited array aggregates.
560 (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
561 in case of default initialized array components.
562
563 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
564 types. Required to give support to limited aggregates in generic
565 formals.
566
5672003-12-08 Ed Schonberg <schonberg@gnat.com>
568
569 * sem_ch3.adb (Check_Initialization): For legality purposes, an
570 inlined body functions like an instantiation.
571 (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
572 until bounds are analyzed, to diagnose premature use of type.
573
574 * sem_util.adb (Wrong_Type): Improve error message when the type of
575 the expression is used prematurely.
576
5772003-12-08 GNAT Script <nobody@gnat.com>
578
579 * Make-lang.in: Makefile automatically updated
580
0875a894
AC
5812003-12-08 Arnaud Charlet <charlet@act-europe.fr>
582
7618d510
AC
583 * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
584 they are automatically generated by Make-lang.in and cause nothing but
0875a894
AC
585 maintenance troubles.
586
5b4994bc
AC
5872003-12-05 Thomas Quinot <quinot@act-europe.fr>
588
589 * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
590 version of this unit).
591
5922003-12-05 Olivier Hainque <hainque@act-europe.fr>
593
594 * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
595 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
596 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
597 the body of System.Interrupt_Management common to several targets.
598 Update copyright notice when appropriate.
599
600 * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
601 constant.
602
603 * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
604 to ensure that the kernel fills in the interrupted context structure
605 before calling a signal handler, which is necessary to be able to
606 unwind past it. Update the copyright notice.
607
6082003-12-05 Jerome Guitton <guitton@act-europe.fr>
609
610 * a-elchha.ads: New file.
611
612 * a-elchha.adb: New default last chance handler. Contents taken from
613 Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
614
615 * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
616 is moved to a-elchha.adb to provide a target-independent default last
617 chance handler.
618
619 * Makefile.rtl: Add a-elchha.o
620
621 * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
622
6232003-12-05 Ed Schonberg <schonberg@gnat.com>
624
625 * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
626 declared in an instance, do not inline the call if the instance is not
627 frozen yet, to prevent order of elaboration problems.
628
629 * sem_prag.adb: Add comments for previous fix.
630
6312003-12-05 Samuel Tardieu <tardieu@act-europe.fr>
632
633 * g-table.adb: Use the right variable in Set_Item.
634 Update copyright notice.
635
6362003-12-05 Arnaud Charlet <charlet@act-europe.fr>
637
638 * Makefile.in: Remove unused rules.
639
6402003-12-05 Vincent Celier <celier@gnat.com>
641
642 * switch-c.adb (Scan_Front_End_Switches): Remove processing of
643 -nostdlib. Not needed here after all.
644
efdfd311
AC
6452003-12-03 Thomas Quinot <quinot@act-europe.fr>
646
647 PR ada/11724
648
649 * adaint.h, adaint.c, g-os_lib.ads:
650 Do not assume that the offset argument to lseek(2) is a 32 bit integer,
651 on some platforms (including FreeBSD), it is a 64 bit value.
652 Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
653
6542003-12-03 Arnaud Charlet <charlet@act-europe.fr>
655
656 * gnatvsn.ads (Library_Version): Now contain only the relevant
657 version info.
658 (Verbose_Library_Version): New constant.
659
660 * g-spipat.adb, g-awk.adb, g-debpoo.adb,
661 g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
662 s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
663
664 * gnatlbr.adb: Clean up: replace Library_Version by
665 Verbose_Library_Version.
666
667 * make.adb, lib-writ.adb, exp_attr.adb:
668 Clean up: replace Library_Version by Verbose_Library_Version.
669
670 * 5lintman.adb: Removed.
671
672 * Makefile.in:
673 Update and simplify computation of LIBRARY_VERSION.
674 Fix computation of GSMATCH_VERSION.
675 5lintman.adb is no longer used: replaced by 7sintman.adb.
676
6772003-12-03 Robert Dewar <dewar@gnat.com>
678
679 * exp_ch5.adb:
680 (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
681 name. Modified to consider small non-bit-packed arrays as troublesome
682 and in need of component-by-component assigment expansion.
683
6842003-12-03 Vincent Celier <celier@gnat.com>
685
686 * lang-specs.h: Process nostdlib as nostdinc
687
688 * back_end.adb: Update Copyright notice
689 (Scan_Compiler_Arguments): Process -nostdlib directly.
690
6912003-12-03 Jose Ruiz <ruiz@act-europe.fr>
692
693 * Makefile.in:
694 When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
695 redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
696 included in HIE_NONE_TARGET_PAIRS.
697
6982003-12-03 Ed Schonberg <schonberg@gnat.com>
699
700 * sem_attr.adb:
701 (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
702 is legal in an instance, because legality is cheched in the template.
703
704 * sem_prag.adb:
705 (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
706 appplied to an unchecked conversion of a formal parameter.
707
708 * sem_warn.adb:
709 (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
710 variables.
711
7122003-12-03 Olivier Hainque <hainque@act-europe.fr>
713
714 * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
715 routines. The second one is new functionality to deal with backtracing
716 through signal handlers.
717 (unwind): Split into the two separate subroutines above.
718 Update the documentation, and deal properly with sizeof (REG) different
719 from sizeof (void*).
720
08aa9a4a
AC
7212003-12-01 Nicolas Setton <setton@act-europe.fr>
722
723 * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
724 so that the debugger can reliably access the value of the parameter,
725 and therefore is able to display the exception name when an exception
726 breakpoint is reached.
727
7282003-12-01 Thomas Quinot <quinot@act-europe.fr>
729
730 * fmap.adb: Fix typo in warning message.
731
732 * g-socket.ads, g-socket.adb: Make Free a visible instance of
733 Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
734
7352003-12-01 Vincent Celier <celier@gnat.com>
736
737 * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
738 ther is no Afile.
739 (Build_Library): Get the switches only if Default_Switches is declared
740 in package Binder.
741
7422003-12-01 Ed Schonberg <schonberg@gnat.com>
743
744 * exp_ch6.adb (Expand_Actuals): When applying validity checks to
745 actuals that are indexed components, reanalyze actual to ensure that
746 packed array references are properly expanded.
747
748 * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
749 attempted assignment to a discriminant.
750
7512003-12-01 Robert Dewar <dewar@gnat.com>
752
753 * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
754 reformatting.
755
756 * switch-c.adb: Minor reformatting of comments
757
7582003-12-01 Arnaud Charlet <charlet@act-europe.fr>
759
760 * Makefile.in: Clean ups.
761
7622003-12-01 GNAT Script <nobody@gnat.com>
763
764 * Make-lang.in: Makefile automatically updated
765
c6135994
AC
7662003-12-01 Arnaud Charlet <charlet@act-europe.fr>
767
768 * 5wsystem.ads: Disable zero cost exception, not ready yet.
769
51a30506
UW
7702003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
771
772 * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
773 to force serialization.
774
81a5b587
AC
7752003-11-26 Thomas Quinot <quinot@act-europe.fr>
776
777 * g-socket.ads, g-socket.adb:
778 Clarify documentation of function Stream. Introduce a Free procedure
779 to release the returned Stream once it becomes unused.
780
781 * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
782
7832003-11-26 Arnaud Charlet <charlet@act-europe.fr>
784
785 (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
786 since NT 4 cannot handle timeout values that are too large,
787 e.g. DWORD'Last - 1.
788
7892003-11-26 Ed Schonberg <schonberg@gnat.com>
790
791 * exp_ch4.adb:
792 (Expand_N_Slice): Recognize all cases of slices that appear as actuals
793 in procedure calls and whose expansion must be deferred.
794
795 * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
796 is in exp_ch4.
797
798 * sem_ch3.adb:
799 (Build_Derived_Array_Type): Create operator for unconstrained type
800 if ancestor is unconstrained.
801
8022003-11-26 Vincent Celier <celier@gnat.com>
803
804 * make.adb (Project_Object_Directory): New global variable
805 (Change_To_Object_Directory): New procedure
806 (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
807 of Change_Dir directly. Do not change working directory to object
808 directory of main project after each compilation.
809 (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
810 directly.
811 Change to object directory of main project before binding step.
812 (Initialize): Initialize Project_Object_Directory to No_Project
813
814 * mlib-prj.adb:
815 (Build_Library): Take into account Builder'Default_Switches ("Ada") when
816 binding a Stand-Alone Library.
817
818 * output.adb: Update Copyright notice
819 (Write_Char): Output buffer when full
820
8212003-11-26 Robert Dewar <dewar@gnat.com>
822
823 * sem_ch13.adb: (Check_Size): Reset size if size is too small
824
825 * sem_ch13.ads:
826 (Check_Size): Fix documentation to include bit-packed array case
827
828 * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
829
830 * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
831
832 * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
833
d4c47b51
AC
8342003-11-24 Arnaud Charlet <charlet@act-europe.fr>
835
836 PR ada/13142
837 * utils.c (init_gigi_decls): Change name of built-in setjmp to
838 __builtin_setjmp, since this is apparently needed by recent
839 non Ada changes.
840
7677e9e0
RO
8412003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
842
d4c47b51 843 * adadecode.c: Only include ctype.h if not IN_GCC.
7677e9e0
RO
844 (__gnat_decode): Use ISDIGIT from safe-ctype.h.
845
6c1e24d3
AC
8462003-11-24 Jose Ruiz <ruiz@act-europe.fr>
847
848 * Makefile.in:
849 Use 5zintman.ads for VxWorks targets. This file avoid confusion between
850 signals and interrupts.
851
852 * 5zintman.ads: New File.
853
854 * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
855 add exception signals to the set of unmasked signals.
856
857 * 5ztaprop.adb:
858 Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
859 between signals and interrupts.
860 Add to Unblocked_Signal_Mask the set of signals that are in
861 Keep_Unmasked.
862
863 * 7sinmaop.adb:
864 Adding a check to see whether the Interrupt_ID we want to unmask is in
865 the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
866 reason is that the index type of the Keep_Unmasked array is not always
867 Interrupt_ID; it may be a subtype of Interrupt_ID.
868
8692003-11-24 Gary Dismukes <dismukes@gnat.com>
870
871 * exp_util.adb:
872 (Remove_Side_Effects): Condition constantness of object created for a
873 an unchecked type conversion on the constantness of the expression
874 to ensure the correct value for 'Constrained when passing components
875 of view-converted class-wide objects.
876
8772003-11-24 Robert Dewar <dewar@gnat.com>
878
879 * par-load.adb (Load): Improve handling of misspelled and missing units
880 Removes several cases of compilation abandoned messages
881
882 * lib.adb: (Remove_Unit): New procedure
883
884 * lib.ads: (Remove_Unit): New procedure
885
886 * lib-load.adb: Minor reformatting
887
8882003-11-24 Vincent Celier <celier@gnat.com>
889
890 * make.adb:
891 (Gnatmake, Initialize): Call Usage instead of Makeusg directly
892 (Marking_Label): Label to mark processed source files. Incremented for
893 each executable.
894 (Gnatmake): Increase Marking_Labet for each executable
895 (Is_Marked): Compare against marking label
896 (Mark): Mark with marking label
897
8982003-11-24 Jerome Guitton <guitton@act-europe.fr>
899
900 * s-thread.ads:
901 Move the declaration of the TSD for System.Threads to System.Soft_Links.
902 Add some comments.
903
904 * Makefile.in: Added target pair for s-thread.adb for cert runtime.
905 (rts-cert): build a single relocatable object for the run-time lib.
906 Fix perms.
907
9082003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr>
909
910 * Make-lang.in:
911 Use gnatls rather than gcc to obtain the location of GNAT RTL for
912 crosstools build.
913
9142003-11-24 Sergey Rybin <rybin@act-europe.fr>
915
916 * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
917 can not use it as before (that is, as a variable) when dumping it into
918 the tree file. Add a local variable to store the result of this
919 function and to be used as the string to be written into the tree.
920
921 * scn.adb (Initialize_Scanner): Add comments explaining the recent
922 changes.
923
924 * sinput.adb (Source_First, Source_Last): In case of
925 Internal_Source_File, replace returning attributes of
926 Internal_Source_Ptr (which is wrong) with returning attributes of
927 Internal_Source.
928
9292003-11-24 Ed Schonberg <schonberg@gnat.com>
930
931 * sem_ch3.adb:
932 (New_Concatenation_Op): Proper name for New_Binary_Operator, only
933 used for implicit concatenation operators.
934 Code cleanup.
935
936 * sem_elab.adb:
937 (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
938 task bodies that are in the scope of a Suppress pragma.
939 (Check_A Call): Use the flag to prevent spurious elaboration checks.
940
941 * sinfo.ads, sinfo.adb:
942 New flag No_Elaboration_Check on function/procedure calls, to properly
943 suppress checks on calls in task bodies that are within a local suppress
944 pragma.
945
946 * exp_ch4.adb:
947 (Expand_Concatenate_Other): Use the proper integer type for the
948 expression for the upper bound, to avoid universal_integer computations
949 when possible.
950
6f2aeb72
KC
9512003-11-21 Kelley Cook <kcook@gcc.gnu.org>
952
953 * .cvsignore: Delete.
954
e9f85cd6
AS
9552003-11-21 Andreas Schwab <schwab@suse.de>
956
957 * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
958
4e074baf
VF
9592003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr>
960
961 * 5wsystem.ads: Enable zero cost exception.
962
f1f9fe30
AC
9632003-11-21 Jerome Guitton <guitton@act-europe.fr>
964
965 * 5ztiitho.adb: Remove an unreferenced variable.
966
9672003-11-21 Thomas Quinot <quinot@act-europe.fr>
968
969 * adaint.c: For FreeBSD, use mkstemp.
970
9712003-11-21 Arnaud Charlet <charlet@act-europe.fr>
972
973 * gnatlbr.adb: Now reference Gnat_Static_Version_String.
974
9752003-11-21 Robert Dewar <dewar@gnat.com>
976
977 * bld.adb: Remove useless USE of gnatvsn
978
979 * gnatchop.adb: Minor reformatting
980 Clean up version handling to be more consistent
981
982 * gnatxref.adb: Minor reformatting
983
984 * gprcmd.adb: Minor reformatting
985 Fix output of copyright to be more consistent with other tools
986
9872003-11-21 Vincent Celier <celier@gnat.com>
988
989 * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
990
9912003-11-21 Sergey Rybin <rybin@act-europe.fr>
992
993 * atree.adb (Initialize): Add initializations for global variables
994 used in New_Copy_Tree.
995
996 * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
997 Internal_Source_File as the actual).
998 Put the set of statements creating Any_Character before the set of
999 statements creating Any_Array to have Any_Character fully initialized
1000 when it is used in creating Any_Array.
1001
1002 * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
1003 not call Scan in case if the actual is Internal_Source_File
1004 Add 2003 to copyright note.
1005
1006 * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
1007 processing Internal_Source_File.
1008
1009 * types.ads: Add the constant Internal_Source_File representing the
1010 source buffer for artificial source-code-like strings created within
1011 the compiler (the definition of Source_File_Index is changed).
1012
c5b2a8ae
AC
10132003-11-20 Arnaud Charlet <charlet@act-europe.fr>
1014
1015 * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
1016 56system.ads: New file, FreeBSD version.
1017
a03ad584
JM
10182003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
1019
1020 * Make-lang.in (ada.extraclean): Delete.
1021
19f0526a
AC
10222003-11-19 Arnaud Charlet <charlet@act-europe.fr>
1023
1024 * gnatmem.adb: Clean up verbose output.
1025
1026 * gprcmd.adb: Change copyright to FSF.
1027
10282003-11-19 Vincent Celier <celier@gnat.com>
1029
1030 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
1031 and Version (ignored).
1032
1033 * symbols.ads: (Policy): New type
1034 (Initialize): New parameter Reference, Symbol_Policy and
1035 Library_Version.
1036 Remove parameter Force.
1037 Minor reformatting.
1038
1039 * snames.ads, snames.adbadb: New standard names
1040 Library_Reference_Symbol_File and Library_Symbol_Policy
1041
1042 * mlib-prj.adb:
1043 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
1044 project.
1045
1046 * mlib-tgt.adb:
1047 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
1048
1049 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
1050
1051 * prj.adb: (Project_Empty): New component Symbol_Data
1052
1053 * prj.ads: (Policy, Symbol_Record): New types
1054 (Project_Data): New component Symbol_Data
1055
1056 * prj-attr.adb:
1057 New attributes Library_Symbol_File, Library_Symbol_Policy and
1058 Library_Reference_Symbol_File.
1059
1060 * prj-nmsc.adb:
1061 (Ada_Check): When project is a Stand-Alone library project, process
1062 attribute Library_Symbol_File, Library_Symbol_Policy and
1063 Library_Reference_Symbol_File.
1064
1065 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1066 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
1067 5sml-tgt.adb (Build_Dynamic_Library): New parameter
1068 Symbol_Data (ignored).
1069
1070 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
1071 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
1072 functions Option_File_Name and Version_String. Set new options of
1073 gnatsym related to symbol file, symbol policy and reference symbol
1074 file.
1075
1076 * 5vsymbol.adb:
1077 Extensive modifications to take into account the reference symbol file,
1078 the symbol policy, the library version and to put in the symbol file the
1079 minor and major IDs.
1080
1081 * bld.adb (Process_Declarative_Items): Put second argument of
1082 gprcmd to_absolute between single quotes, to avoid problems with
1083 Windows.
1084
1085 * bld-io.adb: Update Copyright notice.
1086 (Flush): Remove last character of a line, if it is a back slash, to
1087 avoid make problems.
1088
1089 * gnatsym.adb:
1090 Implement new scheme with reference symbol file and symbol policy.
1091
1092 * g-os_lib.ads: (Is_Directory): Clarify comment
1093
10942003-11-19 Robert Dewar <dewar@gnat.com>
1095
1096 * atree.adb: Move New_Copy_Tree global variables to head of package
1097
1098 * errout.adb: Minor reformatting
1099
11002003-11-19 Javier Miranda <miranda@gnat.com>
1101
1102 * sem_ch4.adb: (Diagnose_Call): Improve error message.
1103 Add reference to Ada0Y (AI-50217)
1104
1105 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
1106 sem_util.adb: Add reference to AI-50217
1107
1108 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
1109
1110 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
1111
1112 * sem_aggr.adb: Complete documentation of AI-287 changes
1113
1114 * par-ch4.adb: Document previous changes.
1115
1116 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
1117 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
1118 Ada0Y (AI-50217)
1119
1120 * exp_aggr.adb: Add references to AI-287 in previous changes
1121
11222003-11-19 Ed Schonberg <schonberg@gnat.com>
1123
1124 * exp_ch6.adb:
1125 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
1126 in the rewriting is the result of an inlined call.
1127
1128 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
1129 parameter is a type conversion, use original node to construct the
1130 post-call assignment, because expression may have been rewritten, e.g.
1131 if it is a packed array.
1132
1133 * sem_attr.adb:
1134 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
1135 body, just as it is in an instance.
1136 Categorization routines
1137
1138 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
1139 Instantiate_Object): Set proper sloc reference for message on missing
1140 actual.
1141
11422003-11-19 Thomas Quinot <quinot@act-europe.fr>
1143
1144 * Makefile.in: Add FreeBSD libgnat pairs.
1145
1146 * usage.adb: Fix typo in usage message.
1147
11482003-11-19 Jerome Guitton <guitton@act-europe.fr>
1149
1150 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
1151 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
1152 pragma Thread_Body.
1153 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
1154
1155 * s-thread.adb: This file is now a dummy implementation of
1156 System.Thread.
1157
11582003-11-19 Sergey Rybin <rybin@act-europe.fr>
1159
1160 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
1161
11622003-11-19 Emmanuel Briot <briot@act-europe.fr>
1163
1164 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1165 instanciation references in the parent type description.
1166
0d77ab84
AC
11672003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1168
1169 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
1170
1171 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
1172 TYPE_PRECISION directly from esize.
1173
11742003-11-18 Thomas Quinot <quinot@act-europe.fr>
1175
1176 * cstreams.c:
1177 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
1178
1179 * init.c: Initialization routines for FreeBSD
1180
1181 * link.c: Link info for FreeBSD
1182
1183 * sysdep.c: Add the case of FreeBSD
1184
cb7a5092
AC
11852003-11-17 Jerome Guitton <guitton@act-europe.fr>
1186
1187 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
1188 already called in System.Threads.
1189
1190 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
1191 environment task, as it has been moved to System.Threads.Initialization.
1192
11932003-11-17 Arnaud Charlet <charlet@act-europe.fr>
1194
1195 * adaint.c (__gnatlib_install_locks): Only reference
1196 __gnat_install_locks on VMS, since other platforms can avoid using
1197 --enable-threads=gnat
1198
11992003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1200
1201 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
1202
1203 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
1204 TYPE_PACKED_ARRAY_TYPE_P.
1205 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
1206
1207 Part of PR ada/12806
1208 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
1209 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
1210
12112003-11-17 Vincent Celier <celier@gnat.com>
1212
1213 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
1214 to False.
1215 Do not set exit status to Failure when Warning is True.
1216 (Gnatchop): Make errors "no compilation units found" and
1217 "no source files written" warnings only.
1218
1219 * make.adb (Gnatmake): When using a project file, set
1220 Look_In_Primary_Dir to False.
1221 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
1222 and Local_Configuration_Pragmas in the project where they are declared
1223 not an extending project which might have inherited them.
1224
1225 * osint.adb (Locate_File): If Name is already an absolute path, do not
1226 look for a directory.
1227
1228 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
1229 -gnats (Check_Syntax) is used, issue only a warning, not an error.
1230
1231 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
1232 in objects of type Variable_Value.
1233
1234 * prj.ads: (Variable_Value): New component Project
1235
1236 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
1237 is in a project extended by Project.
1238
1239 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
1240 Project of Variable_Values to this new parameter value.
1241 (Expression): Set component Project of Variable_Values.
1242 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
1243 Set the component Project in array elements.
1244
12452003-11-17 Sergey Rybin <rybin@act-europe.fr>
1246
1247 * errout.adb: (Initialize): Add initialization for error nodes.
1248
1249 * sem_ch12.adb (Initialize): Add missing initializations for
1250 Exchanged_Views and Hidden_Entities.
1251
12522003-11-17 Ed Schonberg <schonberg@gnat.com>
1253
1254 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
1255 already instantiated tree for use in subsequent inlining.
1256 (Analyze_Associations, Instantiate_Formal_Subprogram,
1257 Instantiate_Object): improve error message for mismatch in
1258 instantiations.
1259
1260 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
1261 instantiations of subprograms declared in instances.
1262
12632003-11-17 Javier Miranda <miranda@gnat.com>
1264
1265 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
1266 executed only under the Extensions_Allowed flag.
1267
12682003-11-17 Robert Dewar <dewar@gnat.com>
1269
1270 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
1271 zeroes suppressed.
1272 (Address_Image): Fix bug of returning 0x instead of 0x0
1273 Minor reformatting (function specs).
1274
1275 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
1276 (missed case of 33-63)
1277
1278 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
1279
1280 * s-thread.adb: Add comments for pragma Restriction
1281
1282 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
1283 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
1284
12852003-11-17 Ed Falis <falis@gnat.com>
1286
1287 * s-thread.adb: Added No_Tasking restriction for this implementation.
1288
12892003-11-17 Emmanuel Briot <briot@act-europe.fr>
1290
1291 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
1292 instanciation references in the parent type description.
1293
12942003-11-17 GNAT Script <nobody@gnat.com>
1295
1296 * Make-lang.in: Makefile automatically updated
1297
7d60db05
JM
12982003-11-16 Jason Merrill <jason@redhat.com>
1299
1300 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
1301 and TAGS files that include them for each front end.
1302
c0040397
AJ
13032003-11-14 Andreas Jaeger <aj@suse.de>
1304
a477ab83
AJ
1305 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
1306 is the canonical version.
1307 * misc.c (gnat_handle_option): Likewise.
1308
c0040397
AJ
1309 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
1310
1311 * 5nsystem.ads: New file for x86_64-linux-gnu.
1312
95a6aaf9
AC
13132003-11-14 Arnaud Charlet <charlet@act-europe.fr>
1314
262cc585 1315 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
95a6aaf9 1316
4a4fe537
AC
1317 * comperr.adb: Fix logic in previous change.
1318
65356e64
AC
13192003-11-13 Vincent Celier <celier@gnat.com>
1320
1321 * 5bml-tgt.adb (Build_Dynamic_Library): Use
1322 Osint.Include_Dir_Default_Prefix instead of
1323 Sdefault.Include_Dir_Default_Name.
1324
1325 * gnatlbr.adb: Update Copyright notice
1326 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1327 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1328 instead of Sdefault.Object_Dir_Default_Name
1329
c0040397 1330 * gnatlink.adb:
65356e64
AC
1331 (Process_Binder_File): Never suppress the option following -Xlinker
1332
c0040397 1333 * mdll-utl.adb:
65356e64
AC
1334 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1335 Sdefault.Object_Dir_Default_Name.
1336
c0040397 1337 * osint.ads, osint.adb:
65356e64
AC
1338 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1339 Minor reformatting.
1340
1341 * vms_conv.ads: Minor reformating
1342 Remove GNAT STANDARD and GNAT PSTA
1343
c0040397 1344 * vms_conv.adb:
65356e64
AC
1345 Allow GNAT MAKE to have several files on the command line.
1346 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1347 Sdefault.Object_Dir_Default_Name.
1348 Minor Reformating
1349 Remove data for GNAT STANDARD
1350
c0040397 1351 * vms_data.ads:
65356e64
AC
1352 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1353 Remove data for GNAT STANDARD
1354 Remove options and documentation for -gnatwb/-gnatwB: these warning
1355 options no longer exist.
1356
13572003-11-13 Ed Falis <falis@gnat.com>
1358
1359 * 5zthrini.adb: (Init_RTS): Made visible
1360
c0040397 1361 * 5zthrini.adb:
65356e64
AC
1362 (Register): Removed unnecessary call to taskVarGet that checked whether
1363 an ATSD was already set as a task var for the argument thread.
1364
c0040397 1365 * s-thread.adb:
65356e64
AC
1366 Updated comment to reflect that this is a VxWorks version
1367 Added context clause for System.Threads.Initialization
1368 Added call to System.Threads.Initialization.Init_RTS
1369
13702003-11-13 Jerome Guitton <guitton@act-europe.fr>
1371
c0040397 1372 * 5zthrini.adb:
65356e64
AC
1373 (Init_RTS): New procedure, for the initialization of the run-time lib.
1374
c0040397 1375 * s-thread.adb:
65356e64
AC
1376 Remove dependancy on System.Init, so that this file can be used in the
1377 AE653 sequential run-time lib.
1378
13792003-11-13 Robert Dewar <dewar@gnat.com>
1380
1381 * bindgen.adb: Minor reformatting
1382
13832003-11-13 Ed Schonberg <schonberg@gnat.com>
1384
c0040397 1385 * checks.adb:
65356e64
AC
1386 (Apply_Discriminant_Check): Do no apply check if target type is derived
1387 from source type with no applicable constraint.
1388
c0040397 1389 * lib-writ.adb:
65356e64
AC
1390 (Ensure_System_Dependency): Do not apply the style checks that may have
1391 been specified for the main unit.
1392
c0040397 1393 * sem_ch8.adb:
65356e64
AC
1394 (Find_Selected_Component): Further improvement in error message, with
1395 RM reference.
1396
c0040397 1397 * sem_res.adb:
65356e64
AC
1398 (Resolve): Handle properly the case of an illegal overloaded protected
1399 procedure.
1400
14012003-11-13 Javier Miranda <miranda@gnat.com>
1402
c0040397 1403 * exp_aggr.adb:
65356e64
AC
1404 (Has_Default_Init_Comps): New function to check the presence of
1405 default initialization in an aggregate.
1406 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1407 extension aggregate of a limited record. In addition, a new formal
1408 was added to do not initialize the record controller (if any) during
1409 this recursive expansion of ancestors.
1410 (Init_Controller): Add support for limited record components.
1411 (Expand_Record_Aggregate): In case of default initialized components
1412 convert the aggregate into a set of assignments.
1413
1414 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1415 describing the new syntax.
1416 Nothing else needed to be done because this subprogram delegates part of
1417 its work to P_Precord_Or_Array_Component_Association.
1418 (P_Record_Or_Array_Component_Association): Give support to the new
1419 syntax for default initialization of components.
1420
c0040397 1421 * sem_aggr.adb:
65356e64
AC
1422 (Resolve_Aggregate): Relax the strictness of the frontend in case of
1423 limited aggregates.
1424 (Resolve_Record_Aggregate): Give support to default initialized
1425 components.
1426 (Get_Value): In case of default initialized components, duplicate
1427 the corresponding default expression (from the record type
1428 declaration). In case of default initialization in the *others*
1429 choice, do not check that all components have the same type.
1430 (Resolve_Extension_Aggregate): Give support to limited extension
1431 aggregates.
1432
c0040397 1433 * sem_ch3.adb:
65356e64
AC
1434 (Check_Initialization): Relax the strictness of the front-end in case
1435 of aggregate and extension aggregates. This test is now done in
1436 Get_Value in a per-component manner.
1437
1438 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1439 expression corresponds to a limited aggregate. This test is now done
1440 in Get_Value.
1441
1442 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1443 Box_Present flag.
1444
1445 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1446 present in an N_Component_Association node
1447
14482003-11-13 Thomas Quinot <quinot@act-europe.fr>
1449
1450 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
1451 type-conformant entry only if they are homographs.
1452
14532003-11-13 GNAT Script <nobody@gnat.com>
1454
1455 * Make-lang.in: Makefile automatically updated
1456
49add53f
RO
14572003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1458
1459 * adadecode.c: Use <> form of include for ctype.h.
1460 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
1461
94bae1cc
RO
14622003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1463
1464 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
1465 Works around PR middle-end/6552.
1466
463f452c
AC
14672003-11-10 Ed Falis <falis@gnat.com>
1468
1469 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
1470
1471 * 5zinit.adb: (Install_Handler): Moved back to spec
1472 (Install_Signal_Handlers): Deleted
1473
1474 * 5zthrini.adb: Added context clause for System.Storage_Elements
1475 (Register): Only handles creation of taskVar; initialization moved to
1476 Thread_Body_Enter.
1477 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
1478 Added declaration of environment task secondary stack and
1479 initialization.
1480
1481 * s-thread.adb: Implement bodies for thread body processing
1482
c0040397 1483 * s-thread.ads:
463f452c
AC
1484 Added comment identifying supported targets for pragma Thread_Body.
1485
14862003-11-10 Pascal Obry <obry@gnat.com>
1487
1488 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
1489 GNAT_MAX_PATH_LEN.
1490
c0040397 1491 * s-fileio.adb:
463f452c
AC
1492 (Open): Properly check for string length before copying into the buffer.
1493 Raises Name_Error if buffer is too small. Note that this was a potential
1494 buffer overflow.
1495
14962003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
1497
1498 * bindgen.adb, comperr.adb: Code clean ups.
1499 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
1500
15012003-11-10 Sergey Rybin <rybin@act-europe.fr>
1502
1503 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
1504
15052003-11-10 Vincent Celier <celier@gnat.com>
1506
c0040397 1507 * gprcmd.adb:
463f452c
AC
1508 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
1509 installation.
1510
1511 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
1512
1513 * prj.adb: (Project_Empty): Add new boolean component Virtual
1514
1515 * prj.ads: (Virtual_Prefix): New constant string
1516 (Project_Data): New boolean component Virtual
1517
1518 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
1519 a library project is extended by a virtual extending project.
1520
c0040397 1521 * prj-part.adb:
463f452c
AC
1522 Modifications throughout to implement extending-all project, including:
1523 (Virtual_Hash, Processed_Hash): New hash tables
1524 (Create_Virtual_Extending_Project): New procedure
1525 (Look_For_Virtual_Projects_For): New procedure
1526
c0040397 1527 * prj-proc.adb:
463f452c
AC
1528 (Process): After checking the projects, if main project is an
1529 extending-all project, set the object directory of all virtual extending
1530 project to the object directory of the main project.
1531 Adjust error message when a virtual extending project has the same
1532 object directory as an project being extended.
1533 (Recursive_Process): If name starts with the virtual prefix, set Virtual
1534 to True in the project data.
1535
c0040397 1536 * prj-tree.adb:
463f452c
AC
1537 (Default_Project_Node): Add new boolean component Extending_All
1538 (Is_Extending_All): New function
1539 (Set_Is_Extending_All): New procedure
1540
1541 * prj-tree.ads: (Is_Extending_All): New function
1542 (Set_Is_Extending_All): New procedure
1543 (Project_Node_Record): New boolean component Extending_All
1544
1545 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
1546
c0040397 1547 * vms_data.ads:
463f452c
AC
1548 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
1549
1550 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
1551 "gprcmd prefix" to define it.
1552
15532003-11-10 Thomas Quinot <quinot@act-europe.fr>
1554
1555 * einfo.ads: Fix a typo and remove an extraneous word in comments.
1556
c0040397 1557 * lib-load.adb:
463f452c
AC
1558 (Create_Dummy_Package_Unit): Set the scope of the entity for the
1559 created dummy package to Standard_Standard, not to itself, to
1560 defend other parts of the front-end against encoutering a cycle in
1561 the scope chain.
1562
c0040397 1563 * sem_ch10.adb:
463f452c
AC
1564 (Analyze_With_Clause): When setting the entities for the successive
1565 N_Expanded_Names that constitute the name of a child unit, do not
1566 attempt to go further than Standard_Standard in the chain of scopes.
1567 This case arises from the placeholder units created by
1568 Create_Dummy_Package_Unit in the case of a with_clause for a
1569 nonexistent child unit.
1570
15712003-11-10 Ed Schonberg <schonberg@gnat.com>
1572
c0040397 1573 * exp_ch6.adb:
463f452c
AC
1574 (Expand_Thread_Body): Place subprogram on scope stack, so that new
1575 declarations are given the proper scope.
1576
c0040397 1577 * sem_ch13.adb:
463f452c
AC
1578 (Check_Expr_Constants): Reject an expression that contains a constant
1579 created during expansion, and that appears after the object to which
1580 the address clause applies.
1581
1582 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
1583 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
1584 that uses 'Range of a function call with controlled components, so
1585 that the function result can be finalized before starting the loop.
1586
c0040397 1587 * sem_ch8.adb:
463f452c
AC
1588 (Find_Selected_Component): Improve error message when prefix is
1589 an implicit dereference of an incomplete type.
1590
15912003-11-10 Robert Dewar <dewar@gnat.com>
1592
1593 * opt.ads: New Print_Standard flag for -gnatS switch
1594
1595 * sem_ch13.adb: Remove some additional checks for unaligned arrays
1596
1597 * cstand.adb (Create_Standard): Print out package standard if -gnatS
1598 switch set
1599
1600 * debug.adb: Update doc for -gnatds to discuss relationship with new
1601 -gnatS flag
1602
1603 * sinfo.adb: Add new field Entity_Or_Associated_Node
1604
1605 * sinfo.ads: Add new field Entity_Or_Associated_Node
1606 Update documentation for Associated_Node and Entity fields to clarify
1607 relationship and usage.
1608
c0040397 1609 * sprint.adb:
463f452c
AC
1610 (Write_Id): Properly process Associated_Node field in generic template
1611
c0040397 1612 * switch-c.adb:
463f452c
AC
1613 Recognize new -gnatS switch for printing package Standard
1614 This replaces gnatpsta
1615
c0040397 1616 * usage.adb:
463f452c
AC
1617 Add line for new -gnatS switch for printing package Standard
1618 This replaces gnatpsta
1619
c77c5f2e
AJ
16202003-11-10 Andreas Jaeger <aj@suse.de>
1621
1622 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
1623 integer.
1624
5c90f17f
AC
16252003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1626
1627 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
1628 by gnat1.
1629
139f0d1e
AC
16302003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1631
1632 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
1633 no longer needed.
1634
1635 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
1636
1637 * sysdep.c: Add handling of cygwin.
1638
f3e4c05c
GS
16392003-11-10 GNAT Script <nobody@gnat.com>
1640
1641 * Make-lang.in: Makefile automatically updated
1642
2cdc8909
AC
16432003-11-10 Arnaud Charlet <charlet@act-europe.fr>
1644
1645 PR 12950
1646 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
1647 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
1648 Replace GNAT_ROOT by GCC_ROOT.
1649
1650 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
1651
37783865
ZW
16522003-11-06 Zack Weinberg <zack@codesourcery.com>
1653
1654 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
1655 and update for changed meaning of GET_MODE_BITSIZE.
1656
6bc1c519
AC
16572003-11-04 Doug Rupp <rupp@gnat.com>
1658
1659 * sysdep.c: Problem discovered during IA64 VMS port.
1660 [VMS] #include <unixio.h> to get proper prototypes.
1661
37783865 1662 * adaint.c:
6bc1c519
AC
1663 Issues discovered/problems fixed during IA64 VMS port.
1664 [VMS] #define _POSIX_EXIT for proper semantics.
1665 [VMS] #include <unixio.h> for proper prototypes.
1666 [VMS] (fork): #define IA64 version.
1667 (__gnat_os_exit): Remove unnecessary VMS specific code.
1668
16692003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1670
1671 Part of PR ada/12806
1672
1673 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
1674 tree, not integer.
1675
37783865 1676 * decl.c:
6bc1c519
AC
1677 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
1678 not integer.
1679
1680 * targtyps.c, decl.c, misc.c,
1681 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
1682 routines to work around change in FP sizing semantics in GCC.
1683
37783865 1684 * utils.c:
6bc1c519
AC
1685 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
1686
1687 * gigi.h: (enumerate_modes): New function.
1688
1689 * Make-lang.in: (ada/misc.o): Add real.h.
1690
1691 * misc.c: (enumerate_modes): New function.
1692
16932003-11-04 Robert Dewar <dewar@gnat.com>
1694
1695 * 3vtrasym.adb: Minor reformatting
1696 Use terminology encoded/decoded name, rather than C++ specific notion
1697 of mangling (this is the terminology used throughout GNAT).
1698
1699 * einfo.h: Regenerated
1700
1701 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
1702
37783865 1703 * exp_ch6.adb:
6bc1c519
AC
1704 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
1705
1706 * par-prag.adb: Add dummy entry for Thread_Body pragma
1707
37783865 1708 * rtsfind.ads:
6bc1c519
AC
1709 Add entries for System.Threads entities for thread body processing
1710
37783865 1711 * sem_attr.adb:
6bc1c519
AC
1712 (Analyze_Pragma, Access attributes): Check these are not applied to a
1713 thread body, since this is not permitted
1714
1715 * sem_prag.adb: Add processing for Thread_Body pragma.
1716 Minor comment fix.
1717
37783865 1718 * sem_res.adb:
6bc1c519
AC
1719 (Resolve_Call): Check for incorrect attempt to call a thread body
1720 procedure with a direct call.
1721
1722 * snames.ads, snames.adb: Add entry for Thread_Body pragma
1723 Add names associated with thread body expansion
1724
1725 * snames.h: Add entry for Thread_Body pragma
1726
1727 * s-thread.adb: Add entries for thread body processing
1728 These are dummy bodies so far
1729
1730 * s-thread.ads: Add documentation on thread body handling.
1731 Add entries for thread body processing.
1732
17332003-11-04 Javier Miranda <miranda@gnat.com>
1734
37783865 1735 * sem_ch10.adb:
6bc1c519
AC
1736 (Build_Limited_Views): Return after posting an error in case of limited
1737 with_clause on subprograms, generics, instances or generic renamings
1738 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
1739 on subprograms, generics, instances or generic renamings
1740
17412003-11-04 Arnaud Charlet <charlet@act-europe.fr>
1742
1743 * raise.c (setup_to_install): Correct mistake in last revision; two
1744 arguments out of order.
1745
1746 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
1747 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
1748 notice, missed in previous change.
1749 Remove trailing blanks and other style errors introduced in previous
1750 change.
1751
17522003-11-04 Olivier Hainque <hainque@act-europe.fr>
1753
1754 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
1755 rid of the wrapper for a LJM type, ensuring we don't do that if the
1756 field is addressable. This avoids potential low level type view
1757 mismatches later on, for instance in a by-reference argument passing
1758 process.
1759
17602003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1761
1762 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
1763 aligned at byte boundary.
1764
17652003-11-04 Joel Brobecker <brobecker@gnat.com>
1766
1767 * decl.c (components_to_record): Do not delete the empty variants from
1768 the end of the union type.
1769
17702003-11-04 Ed Schonberg <schonberg@gnat.com>
1771
1772 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
1773 operation for a derived type, an explicit declaration may use a local
1774 subtype of Boolean.
1775
17762003-11-04 Vincent Celier <celier@gnat.com>
1777
1778 * make.adb (Gnatmake): Allow main sources on the command line with a
1779 library project when it is only for compilation (no binding or
1780 linking).
1781
487e9fff
RO
17822003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1783
1784 * Makefile.in: Remove many duplicate variables.
1785
63069342
KC
17862003-11-03 Kelley Cook <kcook@gcc.gnu.org>
1787
1788 * Make-lang.in (dvi): Move targets to $(docobjdir).
1789 (gnat_ug_vms.dvi): Simplify rule and adjust target.
1790 (gnat_ug_wnt.dvi): Likewise.
1791 (gnat_ug_unx.dvi): Likewise.
1792 (gnat_ug_vxw.dvi): Likewise.
1793 (gnat_rm.dvi): Likewise.
1794 (gnat-style.dvi): Likewise.
1795
c2edc52b
KC
17962003-10-31 Kelley Cook <kcook@gcc.gnu.org>
1797
1798 * gigi.h: Missed commit from update for C90.
1799
14df9585
KC
18002003-10-31 Kelley Cook <kcook@gcc.gnu.org>
1801
1802 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
1803
acd8e984
AS
18042003-10-31 Andreas Schwab <schwab@suse.de>
1805
1806 * raise.c (get_action_description_for): Fix typo in last change.
1807
b2c62c45
NN
18082003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
1809
1810 PR ada/12761
1811 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
1812 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
1813
9373164a
KC
18142003-10-30 Kelley Cook <kcook@gcc.gnu.org>
1815
1816 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
1817 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
1818 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
1819 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
1820 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
1821
bde58e32
AC
18222003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
1823
37783865 1824 * 3vtrasym.adb:
bde58e32
AC
1825 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
1826 numbers when symbol name is too long.
1827
18282003-10-30 Ed Falis <falis@gnat.com>
1829
1830 * g-signal.ads, g-signal.adb: New files
1831
1832 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
1833
1834 * Makefile.rtl: Introduce GNAT.Signals
1835
18362003-10-30 Robert Dewar <dewar@gnat.com>
1837
1838 * freeze.adb: Minor reformatting
1839
1840 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
1841
37783865
ZW
1842 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
1843 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
bde58e32
AC
1844 New handling of Id_Check parameter to improve recognition of keywords
1845 used as identifiers.
1846 Update copyright notice to include 2003
1847
657a9dd9
AC
18482003-10-29 Robert Dewar <dewar@gnat.com>
1849
1850 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
1851 sem_ch10.adb: Minor reformatting
1852
1853 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
1854 (Expand_Assign_Record): Test right hand side for bit unaligned as well
1855
18562003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
1857
37783865 1858 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
657a9dd9
AC
1859 Support for TBK$SYMBOLIZE-based symbolic traceback.
1860
18612003-10-29 Jose Ruiz <ruiz@act-europe.fr>
1862
37783865 1863 * exp_disp.adb:
657a9dd9
AC
1864 Revert previous change, that did not work well when pragma No_Run_Time
1865 was used in conjunction with a run-time other than ZFP.
1866
18672003-10-29 Vincent Celier <celier@gnat.com>
1868
37783865 1869 * make.adb:
657a9dd9
AC
1870 (Gnatmake): When there are no Ada mains in attribute Main, disable the
1871 bind and link steps only is switch -z is not used.
1872
18732003-10-29 Arnaud Charlet <charlet@act-europe.fr>
1874
1875 * Makefile.generic: Remove duplicated setting of CC.
1876
1877 * Makefile.prolog: Set CC to gcc by default, to override make's
1878 default (cc).
1879
1880 * einfo.h: Regenerated.
1881
18822003-10-29 Ed Schonberg <schonberg@gnat.com>
1883
1884 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
1885 current body, after compiling subunit.
1886
1887 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
1888 when in deleted code, because gigi needs properly ordered freeze
1889 actions to annotate types.
1890
1891 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
1892 prevent the premature freezing of record type that contains
1893 subcomponents with a private type that does not yet have a completion.
1894
18952003-10-29 Javier Miranda <miranda@gnat.com>
1896
37783865 1897 * sem_ch12.adb:
657a9dd9
AC
1898 (Analyze_Package_Instantiation): Check that instances can not be used in
1899 limited with_clauses.
1900
37783865 1901 * sem_ch8.adb:
657a9dd9
AC
1902 (Analyze_Package_Renaming): Check that limited withed packages cannot
1903 be renamed. Improve text on error messages related to limited
1904 with_clauses.
1905
1906 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
1907
1908 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
1909 Update copyright notice.
1910
1911 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
1912 (Install_Limited_Context_Clauses): New subprogram that isolates all the
1913 checks required for limited context_clauses and installs the limited
1914 view.
1915 (Install_Limited_Withed_Unit): Complete its documentation.
1916 (Analyze_Context): Check that limited with_clauses are only allowed in
1917 package specs.
1918 (Install_Context): Call Install_Limited_Context_Clauses after the
1919 parents have been installed.
1920 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
1921 package as 'From_With_Type'; this mark indicates that the limited view
1922 is installed. Used to check bad usages of limited with_clauses.
1923 (Build_Limited_Views): Do not add shadow entities to the scope's list
1924 of entities. Do not add real entities to the Non_Limited_Views chain.
1925 Improve error notification.
1926 (Remove_Context_Clauses): Remove context clauses in two phases:
1927 limited views first and regular views later (to maintain the
1928 stack model).
1929 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
1930 its visible entities.
1931
19322003-10-29 Thomas Quinot <quinot@act-europe.fr>
1933
1934 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
1935 with any type that Is_Fixed_Point_Type.
1936
1937 * sinfo.ads: Fix documentation for Associated_Node attribute.
1938
19392003-10-29 Sergey Rybin <rybin@act-europe.fr>
1940
1941 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
1942 both '-gnatc' and '-gnatt' are specified.
1943
1944 * atree.adb (Initialize): Add initialization for Node_Count (set to
1945 zero).
1946
19472003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1948
1949 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
1950 do not consider as Pure.
1951
1952 Part of implementation of function-at-a-time:
1953
1954 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
1955 (tree_transform): Add new argument to build_component_ref.
1956 (tree_transform, case N_Assignment_Statement): Make and return an
1957 EXPR_STMT.
1958 (tree_transform): If result IS_STMT, set flags and return it.
1959 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
1960
1961 * utils2.c (build_simple_component_ref, build_component_ref): Add new
1962 arg, NO_FOLD_P.
1963 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
1964 (build_allocator): Likewise.
1965
1966 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
1967 Add new arg to build_component_ref.
1968 (maybe_unconstrained_array, unchecked_convert): Likewise.
1969
1970 * ada-tree.def (EXPR_STMT): New code.
1971
1972 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
1973
1974 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
1975 build_component_ref calls.
1976
1977 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
1978
1979 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
1980 (build_component_ref): Add new argument, NO_FOLD_P.
1981
ecad994d
AC
19822003-10-27 Arnaud Charlet <charlet@act-europe.fr>
1983
1984 * Makefile.generic: Add missing substitution on object_deps handling.
1985
1986 PR ada/5909:
1987 * Make-lang.in (check-ada): Enable ACATS test suite.
1988
19892003-10-27 Robert Dewar <dewar@gnat.com>
1990
37783865 1991 * exp_ch3.adb:
ecad994d
AC
1992 (Freeze_Array_Type): We do not need an initialization routine for types
1993 derived from String or Wide_String. They should be treated the same
1994 as String and Wide_String themselves. This caused problems with the
1995 use of Initialize_Scalars.
1996
37783865 1997 * exp_ch5.adb:
ecad994d
AC
1998 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
1999 composites. This allows use of component clauses that are not byte
2000 aligned.
2001
37783865 2002 * sem_prag.adb:
ecad994d
AC
2003 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
2004 is an attempt to pack an array of atomic objects.
2005
2006 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
2007
20082003-10-27 Pascal Obry <obry@gnat.com>
2009
37783865 2010 * g-dirope.adb:
ecad994d
AC
2011 (Basename): Check for drive letters in a pathname only on DOS based OS.
2012
20132003-10-27 Vincent Celier <celier@gnat.com>
2014
37783865 2015 * make.adb:
ecad994d
AC
2016 (Gnatmake): When unable to change dir to the object dir, display the
2017 content of the parent dir of the obj dir, to try to understand why this
2018 happens.
2019
20202003-10-27 GNAT Script <nobody@gnat.com>
2021
2022 * Make-lang.in: Makefile automatically updated
2023
20242003-10-27 Ed Schonberg <schonberg@gnat.com>
2025
37783865 2026 * sem_ch12.adb:
ecad994d
AC
2027 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
2028 should not be done in Save/Restore_Scope_Stack, because it is performed
2029 locally.
2030
37783865 2031 * sem_ch8.adb:
ecad994d
AC
2032 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2033 whether use clauses should be removed/restored.
2034
37783865 2035 * sem_ch8.ads:
ecad994d
AC
2036 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
2037 whether use clauses should be removed/restored.
2038
b6b3c138
AJ
20392003-10-26 Andreas Jaeger <aj@suse.de>
2040
2041 * Makefile.in: Remove duplicated lines.
2042
b6d83931
AC
20432003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2044
2045 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
2046 minimize the differences with ACT tree.
2047
2048 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
2049 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
2050 Gnatvsn.Gnat_Static_Version_String to reduce differences between
2051 ACT and FSF trees.
2052
20532003-10-24 Pascal Obry <obry@gnat.com>
2054
2055 * adadecode.c (ostrcpy): New function.
2056 (__gnat_decode): Use ostrcpy of strcpy.
2057 (has_prefix): Set first parameter a const.
2058 (has_suffix): Set first parameter a const.
2059 Update copyright notice. Fix source name in header.
2060 Removes a trailing space.
2061 PR ada/12014.
2062
20632003-10-24 Jose Ruiz <ruiz@act-europe.fr>
2064
b6b3c138 2065 * exp_disp.adb:
b6d83931
AC
2066 Remove the test against being in No_Run_Time_Mode before generating a
2067 call to Register_Tag. It is redundant with the test against the
2068 availability of the function Register_Tag.
2069
20702003-10-24 Vincent Celier <celier@gnat.com>
2071
2072 * g-catiio.adb: (Month_Name): Correct spelling of February
2073
2074 * make.adb: (Mains): New package
2075 (Initialize): Call Mains.Delete
2076 (Gnatmake): Check that each main on the command line is a source of a
2077 project file and, if there are several mains, each of them is a source
2078 of the same project file.
2079 (Gnatmake): When a foreign language is specified in attribute Languages,
2080 no main is specified on the command line and attribute Mains is not
2081 empty, only build the Ada main. If there is no Ada main, just compile
2082 the Ada sources and their closure.
2083 (Gnatmake): If a main is specified on the command line with directory
2084 information, check that the source exists and, if it does, that the path
2085 is the actual path of a source of a project.
2086
b6b3c138 2087 * prj-env.adb:
b6d83931
AC
2088 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
2089 Full_Path is True, return the full path instead of the simple file name.
2090 (Project_Of): New function
2091
b6b3c138 2092 * prj-env.ads:
b6d83931
AC
2093 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
2094 defaulted to False.
2095 (Project_Of): New function
2096
20972003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2098
b6b3c138 2099 * Makefile.generic:
b6d83931
AC
2100 Ensure objects of main project are always checked and rebuilt if needed.
2101 Set CC to gcc by default.
2102 Prepare new handling of link by creating a global archive (not activated
2103 yet).
2104
2105 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2106 stringt.h: Update copyright notice. Remove trailing blanks.
2107 Fix source name in header.
2108
21092003-10-24 Robert Dewar <dewar@gnat.com>
2110
2111 * sem_ch12.adb: Minor reformatting
2112
b6b3c138 2113 * sem_ch3.adb:
b6d83931
AC
2114 Minor reformatting (including new function return style throughout)
2115
b6b3c138 2116 * sem_ch3.ads:
b6d83931
AC
2117 Minor reformatting (including new function return style throughout)
2118
21192003-10-24 Arnaud Charlet <charlet@act-europe.fr>
2120
2121 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
2122 stringt.h: Update copyright notice. Remove trailing blanks.
2123 Fix source name in header.
2124
21252003-10-24 GNAT Script <nobody@gnat.com>
2126
2127 * Make-lang.in: Makefile automatically updated
2128
b4e2d709
NN
21292003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
2130
2131 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
2132 stringt.h: Convert to ISO C90 declarations and definitions.
2133
9d7d51be
AC
21342003-10-23 Thomas Quinot <quinot@act-europe.fr>
2135
2136 PR ada/11978:
2137 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
2138 External_Tag attribute definition clauses.
2139
21402003-10-23 Ed Schonberg <schonberg@gnat.com>
2141
2142 PR ada/7613:
2143 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
2144 child unit, generate a fully qualified name to avoid spurious errors
2145 when the context contains renamings of different child units with
2146 the same simple name.
2147
2148 * exp_dbug.ads: Add documentation on name qualification for renamings
2149 of child units.
2150
21512003-10-23 Robert Dewar <dewar@gnat.com>
2152
2153 * g-regpat.ads, g-regpat.adb: Minor reformatting
2154
21552003-10-23 Jose Ruiz <ruiz@act-europe.fr>
2156
2157 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
2158
21592003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2160
2161 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
2162 Machine call.
2163
2164 * urealp.h: (Machine): Update to proper definition.
2165
6d244bbe
AC
21662003-10-23 Arnaud Charlet <charlet@act-europe.fr>
2167
2168 * init.c, adaint.c: Minor reformatting.
2169
8f4eb34b
DS
21702003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
2171
6d244bbe 2172 * adaint.c (w32_epoch_offset): Define static const at file level.
8f4eb34b
DS
2173 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
2174 rather than t_create, t_access in call to GetFileTime. Use union
2175 to convert between FILETIME and unsigned long long.
2176 (__gnat_file_time_name): Test for invalid file handle.
2177 (__gnat_set_filetime_name): Support win32 targets using
2178 w32api SetFileTime.
2179
25412599
DS
21802003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
2181
2182 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
2183
2184 * ctrl_c.c (__gnat_int_handler): Remove declaration.
2185
2186 * decl.c (creat_concat_name): Const-ify prefix.
2187
2188 * adaint.c: Include ctype.h if __MINGW32__.
2189 (__gnat_readlink): Mark arguments as possibly unused.
2190 (__gnat_symlink): Likewise.
2191 (__gnat_is_symbolic_link): Likewise.
2192 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
2193 declaration
b6b3c138 2194 (__gnat_file_time_name): Don't declare struct stat statbuf when
25412599
DS
2195 not needed.
2196 (__gnat_is_absolute_path): Add parenthesis around condition of
2197 'if' statement to avoid warning.
2198 (__gnat_plist_init): Specify void as parameter.
2199 (plist_enter): Likewise.
2200 (plist_leave): Likewise.
2201 (remove_handle): Make static. Initialize prev.
2202
698a5e79
AC
22032003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2204
6d244bbe 2205 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
698a5e79
AC
2206 * cstreams.c (__gnat_full_name): Minor improvements and clean up
2207 of previous change.
2208
e97c30aa
RO
22092003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2210
2211 * tracebak.c (MAX): Avoid redefinition warning.
2212
2213 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
2214 Change msg to const char *.
2215 (__gnat_install_handler): Remove ss, unused.
2216 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
2217 to const char *.
2218 * cstreams.c (__gnat_full_name): Declare p only when used.
2219 (__gnat_full_name) [sgi] Return buffer.
2220
65f1ebd1
AC
22212003-10-22 Arnaud Charlet <charlet@act-europe.fr>
2222
2223 * mingw32.h: New file.
0c644933
AC
2224 * gnat_wrapper.adb: New file.
2225
6d244bbe 22262003-10-22 Jerome Roussel <roussel@act-europe.fr>
0c644933
AC
2227
2228 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
2229 string match a pre compiled regular expression (the corresponding
2230 version of the function working on a raw regular expression)
2231 Fix typos in various comments
2232 Update copyright notice in spec
2233
6d244bbe 22342003-10-21 Gary Dismukes <dismukes@gnat.com>
0c644933 2235
b6b3c138 2236 * exp_ch3.adb:
0c644933
AC
2237 (Component_Needs_Simple_Initialization): Return False when the type is a
2238 packed bit array. Revise spec comments to document this case.
2239
b6b3c138 2240 * exp_prag.adb:
0c644933
AC
2241 (Expand_Pragma_Import): Set any expression on the imported object to
2242 empty to avoid initializing imported objects (in particular this
2243 covers the case of zero-initialization of bit arrays).
2244 Update copyright notice.
2245
6d244bbe 22462003-10-21 Ed Schonberg <schonberg@gnat.com>
0c644933 2247
b6b3c138 2248 * sem_ch12.adb:
0c644933
AC
2249 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
2250 a subunit is missing.
2251 (Instantiate_Subprogram_Body): If body of function is missing, set type
2252 of return expression explicitly in dummy body, to prevent cascaded
2253 errors when a subunit is missing.
2254 Fixes PR 5677.
2255
b6b3c138 2256 * sem_ch3.adb:
0c644933
AC
2257 (Access_Subprogram_Declaration): Verify that return type is valid.
2258 Fixes PR 8693.
2259
b6b3c138 2260 * sem_elab.adb:
0c644933
AC
2261 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
2262 generic.
2263 Fixes PR 12318.
2264
b6b3c138 2265 * sem_util.adb:
0c644933
AC
2266 (Corresponding_Discriminant): If the scope of the discriminant is a
2267 private type without discriminant, use its full view.
2268 Fixes PR 8247.
65f1ebd1 2269
fbf5a39b
AC
22702003-10-21 Arnaud Charlet <charlet@act-europe.fr>
2271
2272 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
2273 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
2274 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
2275 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
2276 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
2277 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
2278 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2279 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
2280 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
2281 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
2282 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
2283 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
2284 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
2285 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
2286 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
2287 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
2288 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
2289 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
2290 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
2291 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
2292 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
2293 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
2294 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
2295 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
2296 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
2297 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
2298 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
2299 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
2300 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
2301 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
2302 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
2303 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
2304 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
2305 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
2306 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
2307 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
2308 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
2309 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
2310 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
2311 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
2312 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
2313 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
2314 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
2315 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
2316 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
2317 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
2318 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
2319 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2320 vms_conv.ads, vms_conv.adb, vms_data.ads,
2321 vxaddr2line.adb: Files added. Merge with ACT tree.
2322
2323 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2324 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2325 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2326 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2327 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2328 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2329 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2330 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2331 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2332 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2333
2334 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2335 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2336 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2337 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2338 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2339 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2340 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2341 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2342 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2343 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2344 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2345 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2346 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2347 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2348 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2349 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2350 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2351 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2352 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2353 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2354 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2355 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2356 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2357 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2358 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2359 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2360 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2361 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2362 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2363 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2364 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2365 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2366 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2367 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2368 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2369 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2370 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2371 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2372 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2373 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2374 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2375 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2376 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2377 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2378 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2379 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2380 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2381 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2382 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2383 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2384 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2385 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2386 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2387 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2388 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2389 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2390 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2391 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2392 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2393 checks.adb, checks.ads, cio.c, comperr.adb,
2394 comperr.ads, csets.adb, cstand.adb, cstreams.c,
2395 debug_a.adb, debug_a.ads, debug.adb, decl.c,
2396 einfo.adb, einfo.ads, errout.adb, errout.ads,
2397 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2398 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2399 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2400 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2401 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2402 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2403 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2404 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2405 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2406 fe.h, fmap.adb, fmap.ads, fname.adb,
2407 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2408 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2409 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2410 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2411 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2412 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2413 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2414 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2415 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2416 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2417 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2418 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2419 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2420 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2421 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2422 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2423 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2424 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2425 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2426 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2427 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2428 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2429 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2430 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2431 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2432 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2433 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2434 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2435 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2436 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2437 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2438 layout.adb, lib.adb, lib.ads, lib-list.adb,
2439 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2440 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2441 link.c, live.adb, make.adb, make.ads,
2442 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2443 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2444 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2445 misc.c, mkdir.c, mlib.adb, mlib.ads,
2446 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2447 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
2448 namet.adb, namet.ads, namet.h, nlists.ads,
2449 nlists.h, nmake.adt, opt.adb, opt.ads,
2450 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
2451 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
2452 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2453 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
2454 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
2455 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
2456 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
2457 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
2458 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
2459 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
2460 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
2461 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
2462 prj-util.adb, prj-util.ads, raise.c, raise.h,
2463 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
2464 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
2465 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
2466 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
2467 scans.ads, scn.adb, scn.ads, s-crc32.adb,
2468 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
2469 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
2470 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
2471 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
2472 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
2473 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2474 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2475 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
2476 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
2477 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
2478 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
2479 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
2480 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
2481 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
2482 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2483 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
2484 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
2485 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
2486 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
2487 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
2488 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
2489 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
2490 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
2491 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
2492 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
2493 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
2494 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
2495 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
2496 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
2497 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
2498 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
2499 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
2500 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
2501 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
2502 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
2503 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
2504 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
2505 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
2506 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
2507 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
2508 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
2509 stringt.adb, stringt.ads, stringt.h, style.ads,
2510 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
2511 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
2512 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
2513 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
2514 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
2515 table.adb, table.ads, targparm.adb, targparm.ads,
2516 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
2517 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
2518 ttypes.ads, types.ads, types.h, uintp.adb,
2519 uintp.ads, uintp.h, uname.adb, urealp.adb,
2520 urealp.ads, urealp.h, usage.adb, utils2.c,
2521 utils.c, validsw.adb, validsw.ads, widechar.adb,
2522 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
2523 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
2524 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
2525 gnatvsn.ads: Merge with ACT tree.
2526
2527 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
2528
97ae108d
MM
25292003-10-20 Mark Mitchell <mark@codesourcery.com>
2530
de696511
MM
2531 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
2532 (gnat_ug_vmx.info): Likewise.
2533 (gnat_ug_vxw.info): Likewise.
2534 (gnat_ug_wnt.info): Likewise.
2535 (gnat_rm.info): Likewise.
2536 (gnat-style.info): Likewise.
2537
97ae108d
MM
2538 * Make-lang.in (ada.install-info): Remove target.
2539 (info): New target.
2540 (install-info): Likewise.
2541 (gnat_ug_unx.info): Simplify rule.
2542 (gnat_ug_vmx.info): Likewise.
2543 (gnat_ug_vxw.info): Likewise.
2544 (gnat_ug_wnt.info): Likewise.
2545 (gnat_rm.info): Likewise.
2546 (gnat-style.info): Likewise.
2547
43aba518
NN
25482003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
2549
2550 * Make-lang.in: Replace uses of $(target_alias) with
2551 $(target_noncanonical).
2552 * ada/Makefile.in: Remove unused mention of $(target_alias).
2553
62b81e45
MM
25542003-10-06 Mark Mitchell <mark@codesourcery.com>
2555
2556 * Make-lang.in (ada.info): Replace with ...
2557 (info): ... this.
2558 (ada.dvi): Replace with ...
2559 (dvi): ... this.
2560
783be936
ZW
25612003-09-29 Zack Weinberg <zack@codesourcery.com>
2562
2563 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
2564 initialize dconstp5 and dconstmp5.
2565
177560b2
RH
25662003-09-28 Richard Henderson <rth@redhat.com>
2567
2568 * trans.c (tree_transform): Update call to expand_asm_operands.
2569
f31686a3
RH
25702003-09-21 Richard Henderson <rth@redhat.com>
2571
2572 * trans.c, utils.c: Revert.
2573
7e2af53a
RH
25742003-09-21 Richard Henderson <rth@redhat.com>
2575
2576 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
2577 change to const.
2578
5f1e32fa
MM
25792003-09-04 Michael Matz <matz@suse.de>
2580
2581 * misc.c: Include "target.h".
2582 * Make-lang.in (misc.o): Add dependency on target.h.
2583
61f71b34
DD
25842003-09-03 DJ Delorie <dj@redhat.com>
2585
2586 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
2587 hook.
2588
2ed26f6b
ZW
25892003-08-30 Zack Weinberg <zack@codesourcery.com>
2590
2591 * Makefile.in: Update substitutions to match changes to
2592 configure. Use include directives instead of @-insertions
2593 to read in host and target fragments. Add a rule to
2594 regenerate ada/Makefile.
2595
b2e608ca
NB
25962003-07-18 Neil Booth <neil@daikokuya.co.uk>
2597
2598 * lang-options.h: Remove.
2599 * lang.opt: Add help text.
2600
0cea056b
NS
26012003-07-07 Nathan Sidwell <nathan@codesourcery.com>
2602
2603 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
2604 calls.
2605
cb66e385
NB
26062003-07-06 Neil Booth <neil@daikokuya.co.uk>
2607
2608 * misc.c (gnat_handle_option): Don't handle filenames.
2609
8c90b13a
L
26102003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2611
2612 * Make-lang.in: Replace PWD with PWD_COMMAND.
2613 * Makefile.adalib: Likewise.
2614 * Makefile.in: Likewise.
2615
9c286213
MK
26162003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
2617
2618 * misc.c (gnat_argv): Revert last change.
2619 (gnat_handle_option, gnat_init_options): Copy arguments.
2620
b9add449
NB
26212003-07-03 Neil Booth <neil@daikokuya.co.uk>
2622
9c286213 2623 * misc.c (gnat_argv): Make const.
b9add449 2624
836d77a9
NB
26252003-07-02 Neil Booth <neil@daikokuya.co.uk>
2626
2627 * misc.c (save_argc, save_argv): Keep non-static!
2628
b86f6cd9
NB
26292003-07-02 Neil Booth <neil@daikokuya.co.uk>
2630
2631 * misc.c (save_argc, save_argv): Make static.
2632 (gnat_init_options): New prototype.
2633 (gnat_init_options): Update.
2634
6344b1f1
MK
26352003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
2636
2637 * gnat_ug.texi: Remove unlikely characters from @vars.
2638 * gnat_ug_vms.texi: Regenerate.
2639
2e040219
NS
26402003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2641
2642 * misc.c (record_code_position): Adjust emit_note call.
2643
9eee5e72
NB
26442003-06-26 Neil Booth <neil@daikokuya.co.uk>
2645
2646 * misc.c (gnat_handle_option): Don't check for missing arguments.
2647
1f9cc6db
NS
26482003-06-20 Nathan Sidwell <nathan@codesourcery.com>
2649
2650 * utils.c (end_subprog_body): Adjust expand_function_end call.
2651
23d6baa3
MK
26522003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
2653
2654 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
2655 Bind_Main_Program.
2656
be43ab4e
NB
26572003-06-15 Neil Booth <neil@daikokuya.co.uk>
2658
2659 * lang.opt: Declare Ada.
2660 * misc.c (gnat_init_options): Update.
2661
ee6b0296
NS
26622003-06-14 Nathan Sidwell <nathan@codesourcery.com>
2663
2664 * utils.c (begin_subprog_body): Adjust init_function_start call.
2665
d7b42618
NB
26662003-06-14 Neil Booth <neil@daikokuya.co.uk>
2667
2668 * Make-lang.in: Update to use options.c and options.h.
2669 * misc.c: Include options.h not aoptions.h.
2670 (gnat_handle_option): Abort on unrecognized switch.
2671 (gnat_init_options): Request Ada switches.
2672
57eb6503
NB
26732003-06-14 Neil Booth <neil@daikokuya.co.uk>
2674
2675 * lang.opt: Add -Wall.
2676 * misc.c (gnat_handle_option): Handle it.
2677
70fd6569
NB
26782003-06-12 Neil Booth <neil@daikokuya.co.uk>
2679
2680 * misc.c (gnat_handle_option): Fix warnings.
2681
8cdea5a1
MK
26822003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
2683
2684 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
2685
3c900cb5
NB
26862003-06-11 Neil Booth <neil@daikokuya.co.uk>
2687
2688 * Make-lang.in: Update to handle command-line options.
2689 * lang.opt: New file.
2690 * misc.c: Include aoptions.h.
2691 (cl_options_count, cl_options): Remove.
2692 (gnat_handle_option): New.
2693 (gnat_decode_option): Remove.
2694 (LANG_HOOKS_DECODE_OPTION): Remove.
2695 (LANG_HOOKS_HANDLE_OPTION): Override.
2696
e8face4c
NN
26972003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
2698
2699 * init.c, misc.c, trans.c, utils.c: Remove dead code.
2700
4665e56c
NN
27012003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
2702
2703 * Makefile.in: Replace "host_canonical" with "host" for autoconf
2704 substitution.
2705
a165c302
NB
27062003-06-08 Neil Booth <neil@daikokuya.co.uk>
2707
2708 * Make-lang.in: Update.
2709 * misc.c: Include opts.h. Define cl_options_count and cl_options.
2710
2772ef3e
NB
27112003-06-07 Neil Booth <neil@daikokuya.co.uk>
2712
2713 * misc.c (gnat_init_options): Update.
2714
d8277a55
MK
27152003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2716
2717 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
2718 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
2719 __attribute__ ((__unused__)).
2720
602a82f3 27212003-06-05 Jan Hubicka <jh@suse.cz>
8f231b5d
JH
2722
2723 * Make-lang.in: Add support for stageprofile and stagefeedback
2724
3aa07c6d
MK
27252003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2726
2727 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
2728 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
2729
f1093866
MK
27302003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
2731
2732 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
2733 Remove non-VMS directive.
2734 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
2735 alternatives.
2736 (Examples of gnatls Usage): Remove VMS alternative.
dee2df72
OH
2737
27382003-06-04 Olivier Hainque <hainque@act-europe.fr>
2739
2ed26f6b
ZW
2740 PR ada/9953:
2741 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
2742 and turn ZCX_By_Default back to False since the underlying support
2743 is not quite there yet.
dee2df72 2744
80eaf415
AJ
27452003-06-01 Andreas Jaeger <aj@suse.de>
2746
2747 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
2748 and ROUND_TYPE_SIZE_UNIT.
2749
36f9020c
GB
27502003-05-22 Geert Bosch <bosch@gnat.com>
2751
2752 * gnat_rm.texi : Remove reference to Ada Core Technologies.
2753
e7b5f0c9
NS
27542003-05-03 Nathan Sidwell <nathan@codesourcery.com>
2755
2756 * trans.c (tree_transform): Use location_t and input_location
2757 directly.
2758 (build_unit_elab): Likewise.
2759 * utils.c (create_label_decl): Likewise.
2760
d479d37f
NS
27612003-05-01 Nathan Sidwell <nathan@codesourcery.com>
2762
561712fe
NS
2763 * trans.c (tree_transform, build_unit_elab,
2764 set_lineno): Rename lineno to input_line.
d479d37f
NS
2765 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
2766 end_subprog_body): Likewise.
2767 * utils2.c (build_call_raise): Likewise.
2768
4f9335cd
LG
27692003-05-01 Laurent Guerby <guerby@acm.org>
2770
2ed26f6b
ZW
2771 PR ada/10546
2772 * 5iosinte.ads: Increase pthread_cond_t size to match recent
2773 LinuxThread and NPTL version, merge from ACT.
80eaf415 2774
0864034e
ZW
27752003-04-28 Zack Weinberg <zack@codesourcery.com>
2776
2777 * utils.c (convert): No need to clear TREE_CST_RTL.
2778
bcea76b6
GB
27792003-04-23 Geert Bosch <bosch@gnat.com>
2780
2781 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
2782 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2783 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2784 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2785 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2786 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
2787 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
2788 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
2789 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2790 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
2791 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
2792 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
2793 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
2794 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
2795 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
2796 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
2797 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
2798 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
2799 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
2800 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
2801 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
2802 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
2803 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2804 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
2805 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
2806 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
2807 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
2808 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
2809 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
2810 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
2811 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
2812 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
2813 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
2814 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
2815 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
2816 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
2817 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
2818 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
2819 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
2820 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
2821 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
2822 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
2823 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
2824 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
2825 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
2826 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
2827 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
2828 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
2829 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
2830 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
2831 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
2832 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
2833 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
2834 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
2835 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
2836 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
2837 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
2838 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
2839 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
2840 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
2841 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
2842 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
2843 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
2844 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
2845 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
2846 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
2847 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
2848 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
2849 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
2850 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
2851 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
2852 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
2853 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
2854 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
2855 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
2856 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
2857 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
2858 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
2859 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
2860 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
2861 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
2862 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
2863 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
2864 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
2865 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
2866 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
2867 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
2868 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
2869 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
2870 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
2871 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
2872 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
2873 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
2874 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
2875 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
2876 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
2877 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
2878 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
2879 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
2880 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
2881 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
2882 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
2883 ali.adb, ali.ads, alloc.ads, argv.c,
2884 atree.adb, atree.ads, atree.h, aux-io.c,
2885 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
2886 binde.adb, binde.ads, binderr.adb, binderr.ads,
2887 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
2888 butil.adb, butil.ads, cal.c, calendar.ads,
2889 casing.adb, casing.ads, ceinfo.adb, checks.adb,
2890 checks.ads, cio.c, comperr.adb, comperr.ads,
2891 config-lang.in, csets.adb, csets.ads, csinfo.adb,
2892 cstand.adb, cstand.ads, cuintp.c, debug.adb,
2893 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
2894 dec-io.ads, dec.ads, deftarg.c, directio.ads,
2895 einfo.adb, einfo.ads, elists.adb, elists.ads,
2896 elists.h, errno.c, errout.adb, errout.ads,
2897 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
2898 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
2899 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
2900 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
2901 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
2902 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
2903 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
2904 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
2905 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
2906 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
2907 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
2908 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
2909 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
2910 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
2911 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
2912 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
2913 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
2914 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
2915 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
2916 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
2917 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2918 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2919 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2920 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
2921 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
2922 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
2923 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
2924 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
2925 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
2926 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
2927 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
2928 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
2929 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
2930 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
2931 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
2932 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
2933 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
2934 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
2935 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
2936 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
2937 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
2938 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
2939 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
2940 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
2941 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
2942 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
2943 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
2944 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
2945 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
2946 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
2947 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
2948 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
2949 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
2950 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
2951 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
2952 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
2953 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
2954 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
2955 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
2956 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2957 lib.adb, lib.ads, live.adb, live.ads,
2958 machcode.ads, make.adb, make.ads, makeusg.adb,
2959 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
2960 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
2961 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
2962 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
2963 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
2964 mlib.ads, namet.adb, namet.ads, nlists.adb,
2965 nlists.ads, opt.adb, opt.ads, osint-b.adb,
2966 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
2967 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
2968 osint.ads, output.adb, output.ads, par-ch10.adb,
2969 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
2970 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2971 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
2972 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
2973 par-tchk.adb, par-util.adb, par.adb, par.ads,
2974 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
2975 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
2976 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
2977 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
2978 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
2979 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
2980 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
2981 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
2982 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
2983 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
2984 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
2985 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
2986 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
2987 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
2988 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
2989 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
2990 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
2991 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2992 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
2993 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
2994 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
2995 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
2996 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2997 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
2998 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
2999 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
3000 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
3001 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
3002 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
3003 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
3004 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
3005 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
3006 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
3007 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
3008 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
3009 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
3010 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
3011 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
3012 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
3013 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
3014 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
3015 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
3016 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
3017 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
3018 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
3019 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
3020 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
3021 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
3022 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
3023 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
3024 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
3025 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
3026 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
3027 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
3028 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
3029 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
3030 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
3031 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
3032 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
3033 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
3034 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
3035 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
3036 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
3037 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
3038 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
3039 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
3040 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
3041 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
3042 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
3043 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
3044 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
3045 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
3046 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
3047 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
3048 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
3049 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
3050 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
3051 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
3052 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
3053 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
3054 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
3055 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
3056 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
3057 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3058 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
3059 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
3060 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
3061 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
3062 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
3063 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
3064 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
3065 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
3066 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
3067 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
3068 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
3069 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
3070 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
3071 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
3072 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
3073 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
3074 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
3075 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
3076 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
3077 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
3078 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
3079 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
3080 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
3081 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
3082 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
3083 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
3084 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
3085 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
3086 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
3087 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
3088 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
3089 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
3090 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
3091 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
3092 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
3093 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
3094 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
3095 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
3096 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
3097 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
3098 snames.ads, sprint.adb, sprint.ads, stand.adb,
3099 stand.ads, stringt.adb, stringt.ads, style.adb,
3100 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
3101 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
3102 switch-m.ads, switch.adb, switch.ads, system.ads,
3103 table.adb, table.ads, targparm.adb, targparm.ads,
3104 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
3105 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
3106 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
3107 ttypef.ads, ttypes.ads, types.adb, types.ads,
3108 uintp.adb, uintp.ads, uname.adb, uname.ads,
3109 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
3110 usage.adb, usage.ads, validsw.adb, validsw.ads,
3111 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
3112 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
3113 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
3114 formatting and other trivial changes from ACT.
3115
dcf92453
ZW
31162003-04-12 Zack Weinberg <zack@codesourcery.com>
3117
3118 * gigi.h, utils2.c (build_constructor):
3119 Rename gnat_build_constructor. Use build_constructor.
3120 * decl.c (gnat_to_gnu_entity)
3121 * trans.c (tree_transform, pos_to_constructor, extract_values)
3122 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
3123 (unchecked_convert)
3124 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
3125 (fill_vms_descriptor):
3126 Update to match.
3127
d78e771d
ZW
31282003-04-06 Zack Weinberg <zack@codesourcery.com>
3129
3130 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
3131 * misc.c (gnat_tree_size): New function.
3132 (LANG_HOOKS_TREE_SIZE): Override.
3133
78d55cc8
JM
31342003-04-03 Jason Merrill <jason@redhat.com>
3135
3136 * misc.c (gnat_adjust_rli): #if 0.
3137
b174e2d4
GB
31382003-03-31 Geert Bosch <bosch@gnat.com>
3139
3140 PR ada/10020
3141 * link.c : Fix misspelled "const" keyword
3142
f29a2bd1
MM
31432003-03-23 Mark Mitchell <mark@codesourcery.com>
3144
3145 PR c++/7086
3146 * utils2.c: Adjust calls to put_var_into_stack.
3147
08e247b1
NN
31482003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
3149
3150 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
3151
4bfec483
NB
31522003-03-08 Neil Booth <neil@daikokuya.co.uk>
3153
3154 * misc.c (gnat_init): Update for new prototype.
3155
3d713bb8
GB
31562003-03-05 Olivier Hainque <hainque@gnat.com>
3157
3158 ada/9961
78d55cc8
JM
3159 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
3160 warning, and fix return type for the IN_RTS && !SJLJ case.
3d713bb8 3161
8b89fcdf
TT
31622003-03-04 Tom Tromey <tromey@redhat.com>
3163
3164 * Make-lang.in (ada.tags): New target.
3165
3d713bb8 31662003-03-04 Olivier Hainque <hainque@act-europe.fr>
23cae84f
OH
3167
3168 ada/9911
3169 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
3170 wrapper, which name remains constant whatever underlying GCC
3171 scheme.
3172
3173 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
3174 the stable interface needed for a-except.
3175
f4ae98be
AJ
31762003-03-02 Andreas Jaeger <aj@suse.de>
3177
3178 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3179 gnat_ug_wnt.texi: Regenerate.
3180
5348742b
LG
31812003-03-02 Laurent Guerby <guerby@acm.org>
3182
f4ae98be 3183 * Makefile.in (install-gnatlib): Match previous change there
5348742b 3184 so it works.
f4ae98be 3185
8c108db2
AS
31862003-02-28 Andreas Schwab <schwab@suse.de>
3187
3188 * Make-lang.in (install-gnatlib): Change to ada directory before
3189 running make instead of using ada/Makefile directly.
3190
601d71bc
BE
31912003-02-18 Ben Elliston <bje@redhat.com>
3192
3193 Part of fix for PR ada/9406
3194 * gnat_ug.texi (Binder output file): Grammar fix.
3195
bf7c02dd
BE
31962003-02-18 Ben Elliston <bje@redhat.com>
3197
3198 PR other/7350
3199 * 5qtaprop.adb (Sleep): Fix typo in comment.
3200
b3a8389d
JM
32012003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3202
3203 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
3204 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3205 gnat_ug_wnt.texi: Regenerate.
3206
5da14cb5
CC
32072003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3208
3209 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
3210 be created if necessary.
3211 (ada.install-common): Let $(DESTDIR)$(bindir) be created
3212 if necessary. Remove erroneous and redundant gnatchop
3213 installation commands. Test for gnatdll before attempting
3214 to install it.
3215 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
3216 and gnatdll from all plausible locations.
3217
271bd540
RS
32182003-02-01 Richard Sandiford <rsandifo@redhat.com>
3219
3220 * utils2.c (build_unary_op): Don't check flag_volatile.
3221 * gnat_ug.texi: Remove -fvolatile from example.
3222 * gnat_ug_vxw.texi: Likewise.
3223
c1cc6a51
LG
32242003-01-29 Laurent Guerby <guerby@acm.org>
3225
d78e771d
ZW
3226 PR ada/8344
3227 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
3228 * Makefile.in: match previous change.
3229 * Make-lang.in: match previous change.
c1cc6a51 3230
c4039eb0
JS
32312003-01-29 Joel Sherrill <joel@OARcorp.com>
3232
3233 * 5rosinte.ads: Add SIGXCPU.
3234 * 5rtpopsp.adb: New file.
3235 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
3236 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
3237 specific file 5rtpopsp.adb.
3238 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
3239 is likely needed for all newlib targets.
3240 * init.c: Add RTEMS specific version of __gnat_initialize().
3241
00d29f7d
RO
32422003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3243
3244 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
3245
437026ef
RO
32462003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3247
3248 * init.c (__gnat_error_handler): Make msg const.
3249
3250 * gmem.c (convert_addresses): Move declaration ...
3251 * adaint.h: ... here.
3252 * adaint.c (convert_addresses): Adapt addrs type to match
3253 prototype.
3254
3255 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
3256
e12825cd
AS
32572003-01-24 Andreas Schwab <schwab@suse.de>
3258
3259 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
3260 size_t to avoid warning.
3261
a8729406
ZW
32622003-01-21 Zack Weinberg <zack@codesourcery.com>
3263
b09b91b9 3264 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
a8729406 3265
17211ab5
GK
32662003-01-09 Geoffrey Keating <geoffk@apple.com>
3267
3268 * gnat_rm.texi: Remove RCS version number.
3269
3270 * ada-tree.h (union lang_tree_node): Add chain_next option.
3271
1d27195c
CC
32722003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3273
3274 * Make-lang.in (ada.install-info, ada.install-common,
3275 ada.uninstall): Prepend $(DESTDIR) to the destination
3276 directory in all (un)installation commands.
3277 * Makefile.in (install-gnatlib, install-rts): Ditto.
3278
bdefb2ab
JM
32792002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
3280
3281 * gnat_rm.texi, gnat_ug.texi: Use @copying.
3282 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3283 gnat_ug_wnt.texi: Regenerate.
3284
46d40353
JM
32852002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
3286
3287 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
3288 only.
3289 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
3290 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
3291 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
3292 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
3293 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
3294 $(srcdir)/doc/include/gcc-common.texi.
3295
d2f97d3e
GB
32962002-12-15 Geert Bosch <bosch@gnat.com>
3297
3298 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
3299
93a81b02
GB
33002002-12-14 Geert Bosch <bosch@gnat.com>
3301
4977bab6
ZW
3302 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
3303 case of a body created for a Renaming_As_Body, on which
3304 conformance checks are not performed. Fixes PR ada/5690.
3305
33062002-11-30 Zack Weinberg <zack@codesourcery.com>
3307
3308 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
3309 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
3310 not already included.
3311 * Make-lang.in: Update dependencies.
93a81b02 3312
dfc15546
NN
33132002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
3314 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
4977bab6 3315 solution to buffer overflow bug on GNU/Linux.
dfc15546 3316
8b54424d
NN
33172002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
3318 Closes PR ada/5856 and PR ada/6919 !
3319 * bindgen.adb: Remove all references to Public_Version.
3320 * comperr.adb: Remove all references to Public_Version and
3321 GNATPRO_Version; correct bug reporting instructions.
3322 * comperr.ads: Change to match bug box.
3323 * gnatvsn.ads: Remove all references to Public version and
3324 GNATPRO version.
3325
cc41268d 33262002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
1a083c0e
NN
3327 PR ada/6919
3328 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
3329 GNU/Linux.
3330
cc41268d
NN
3331 PR ada/6558
3332 * config-lang.in: Remove diff_excludes.
3333
1c7b0712
GS
33342002-11-05 Graham Stott <graham.stott@btinternet.com>
3335 PR ada/8358
3336 * trans.c (gnu_pending_elaboration_lists): New GC root.
4977bab6 3337 (build_unit_elab): Use..
1c7b0712 3338
1c4048ca
GB
33392002-10-30 Geert Bosch <bosch@gnat.com>
3340 PR ada/6558
3341 * misc.c : Include optabs.h
3342
3343 * Make-lang.in (misc.o): Add dependency on optabs.h
3344
f0d96f9c 33452002-10-29 Geert Bosch <bosch@gnat.com>
4977bab6 3346 PR ada/6558
f0d96f9c
GB
3347 * Make-lang.in (gnatbind): Depend on CONFIG_H
3348
a7512dec 33492002-10-29 Geert bosch <bosch@gnat.com>
4977bab6
ZW
3350 PR ada/6558
3351 * misc.c: Unrevert misc.c (1.13)
a7512dec 3352
c6362f4f
NN
33532002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
3354
3355 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
3356 maintainership comments.
3357
33582002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
91ed4b19 3359 PR ada/5904
4977bab6
ZW
3360 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
3361 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
3362 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
3363 7staprop.adb: Correct statements in comments about
91ed4b19
NN
3364 maintainership of GNAT.
3365
1f02b6af 3366 PR ada/5904
4977bab6
ZW
3367 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
3368 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
3369 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
3370 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
3371 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
3372 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
3373 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
1f02b6af
NN
3374 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
3375 comments about maintainership of GNAT.
3376
71ff80dc 3377 PR ada/6919 (forward port of patch for PR ada/5904)
4977bab6
ZW
3378 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
3379 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
3380 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
3381 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
3382 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
3383 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
3384 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
3385 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
3386 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
3387 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
3388 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
3389 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
3390 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
3391 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
3392 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
3393 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
3394 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
3395 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
3396 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
3397 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
3398 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
3399 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
3400 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
3401 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
3402 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
3403 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
3404 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
3405 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
3406 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
3407 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
3408 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
3409 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
3410 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
3411 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
3412 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
3413 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
3414 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
3415 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
3416 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
3417 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
3418 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
3419 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
3420 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
3421 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
3422 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
3423 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
3424 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
3425 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
3426 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
3427 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
3428 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
3429 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
3430 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
3431 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
3432 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
3433 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
3434 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
3435 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
3436 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
3437 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
3438 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
3439 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
3440 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
3441 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
3442 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
3443 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
3444 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
3445 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
3446 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
3447 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
3448 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
3449 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
3450 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
3451 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
3452 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
3453 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
3454 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
3455 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
3456 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
3457 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
3458 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
3459 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
3460 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
3461 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
3462 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
3463 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
3464 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
3465 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
3466 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
3467 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
3468 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
3469 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
3470 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
3471 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
3472 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
3473 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
3474 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
3475 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
3476 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
3477 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
3478 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
3479 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
3480 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
3481 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
3482 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
3483 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
3484 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
3485 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
3486 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
3487 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
3488 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
3489 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
3490 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
3491 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
3492 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
3493 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
3494 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
3495 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
3496 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
3497 par-endh.adb par-labl.adb par-load.adb par-prag.adb
3498 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
3499 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
3500 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
3501 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
3502 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
3503 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
3504 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
3505 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
3506 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
3507 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
3508 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
3509 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
3510 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
3511 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
3512 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
3513 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
3514 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
3515 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
3516 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
3517 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
3518 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
3519 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
3520 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
3521 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
3522 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
3523 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
3524 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
3525 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
3526 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
3527 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
3528 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
3529 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
3530 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
3531 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
3532 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
3533 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
3534 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
3535 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
3536 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
3537 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
3538 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
3539 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
3540 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
3541 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
3542 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
3543 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
3544 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
3545 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
3546 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
3547 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
3548 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
3549 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
3550 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
3551 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
3552 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
3553 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
3554 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
3555 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
3556 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
3557 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
3558 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
3559 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
3560 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
3561 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
3562 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
3563 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
3564 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
3565 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
3566 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
3567 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
3568 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
3569 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
3570 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
3571 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
3572 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
3573 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
3574 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
3575 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
3576 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
3577 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
3578 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
3579 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
3580 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
3581 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
3582 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
3583 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
3584 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
3585 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
3586 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
3587 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
3588 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
3589 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
3590 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
3591 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
3592 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
3593 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
3594 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
3595 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
3596 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
3597 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
3598 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
3599 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
3600 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
3601 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
3602 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
3603 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
3604 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
3605 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
3606 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
3607 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
3608 stringt.ads stringt.h style.adb style.ads stylesw.adb
3609 stylesw.ads switch.adb switch.ads sysdep.c system.ads
3610 table.adb table.ads targparm.adb targparm.ads targtyps.c
3611 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
3612 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
3613 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
3614 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
3615 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
3616 usage.ads utils.c utils2.c validsw.adb validsw.ads
3617 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
3618 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
71ff80dc
NN
3619 xtreeprs.adb: Correct statements in comments about maintainership
3620 of GNAT.
3621
b4f94ac1
ZW
36222002-09-23 Zack Weinberg <zack@codesourcery.com>
3623
3624 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
3625 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
3626 * gnatvsn.ads: Gnat_Version_String is now a function.
3627 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
3628 copy the C version_string into a String and return it.
3629 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
3630 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
3631 Remove pragma Ident (Gnat_Version_String). If this was the
3632 sole use of package Gnatvsn, remove the with statement too.
3633 * gnat1drv.adb: Tweak -gnatv output.
3634
eaff3bf8
RH
36352002-09-17 Richard Henderson <rth@redhat.com>
3636
3637 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
3638 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
3639 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
3640 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
3641 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
3642 and real_2expN instead of a loop.
3643 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
3644 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
3645
d241f75b 36462002-08-25 Andre Leis <a.leis@gmx.net>
f4ae98be 3647 David Billinghurst (David.Billinghurst@riotinto.com>
d241f75b 3648
f4ae98be 3649 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
d241f75b 3650
4320085a
RO
36512002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3652
3653 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
3654 Remove $(CONFIG_H) dependency.
3655
22aa533e
NS
36562002-08-08 Nathan Sidwell <nathan@codesourcery.com>
3657
3658 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
3659
1dcd444b
KG
36602002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3661
3662 * adadecode.c (ada_demangle): Use xstrdup in lieu of
3663 xmalloc/strcpy.
3664 * misc.c (gnat_decode_option): Likewise.
3665
7bc7d27b
FW
36662002-07-15 Florian Weimer <fw@deneb.enyo.de>
3667
3668 * make.adb (Add_Switch): Make Generic_Position a procedure. The
3669 function approach did not work well because of a side effect (the
3670 function call could reallocate the table which was being indexed
3671 using its result). Fixes ada/4851. [RESURRECTED]
3672
6a2dd09a
RS
36732002-07-01 Roger Sayle <roger@eyesopen.com>
3674
3675 * ada/utils.c (builtin_function): Accept an additional parameter.
3676
c168bbd7
AJ
36772002-06-28 Andreas Jaeger <aj@suse.de>
3678
3679 PR ada/7144
3680 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
3681 <adi@thur.de>.
3682
b41e09a7
KG
36832002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3684
3685 * Makefile.in (SHELL): Set to @SHELL@.
3686
62c71f4b
KG
36872002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3688
3689 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
3690 array size calculation.
3691
94213cff
AJ
36922002-06-04 Andreas Jaeger <aj@suse.de>
3693
3694 * Make-lang.in (gnatbind): Readd rule that has been lost in last
3695 patch.
3696
e2500fed
GK
36972002-06-03 Geoffrey Keating <geoffk@redhat.com>
3698
3699 Merge from pch-branch:
3700
3701 * config-lang.in (gtfiles): Add ada-tree.h.
3702 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
3703 (SET_TYPE_MODULUS): New.
3704 (SET_TYPE_INDEX): New.
3705 (SET_TYPE_DIGITS_VALUE): New.
3706 (SET_TYPE_RM_SIZE): New.
3707 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
3708 (SET_TYPE_ADA_SIZE): New.
3709 (SET_TYPE_ACTUAL_BOUNDS): New.
3710 (SET_DECL_CONST_CORRESPONDING_VAR): New.
3711 (SET_DECL_ORIGINAL_FIELD): New.
3712 (TREE_LOOP_ID): Correct typo.
3713 * decl.c: Use new macros.
3714 * utils.c: Include debug.h, use new macros.
94213cff 3715 * utils2.c: Use new macros.
e2500fed
GK
3716
3717 * ada-tree.h: Update all macros for new tree description.
3718 (struct tree_loop_id): New.
3719 (union lang_tree_node): New.
3720 (struct lang_decl): New.
3721 (struct lang_type): New.
3722 * misc.c (gnat_mark_tree): Delete.
3723 (LANG_HOOKS_MARK_TREE): Delete.
3724 * trans.c (tree_transform): No longer any need to cast
3725 for TREE_LOOP_ID.
3726
3727 * utils.c (struct language_function): New dummy structure.
3728
3729 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
3730 (misc.o): Likewise.
3731 (utils.o): Likewise; also gtype-ada.h.
3732 * Make-lang.in (gnat1): Add dependency on s-gtype.
3733 (gnatbind): Add dependency on $(CONFIG_H).
3734 * utils.c: Correct last #include.
3735 (stuct e_stack): Remove unnecessary 'static'.
3736 (mark_e_stack): Remove unused prototype.
3737
3738 * scn-nlit.adb: Remove whitespace after version number to
3739 keep lines under 80 chars.
3740 * snames.adb: Likewise.
3741 * treepr.ads: Likewise.
94213cff 3742
e2500fed
GK
3743 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
3744 (misc.o): Likewise.
3745 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
3746 * config-lang.in (gtfiles): New.
3747 * decl.c: Use gengtype for roots.
3748 * gigi.h: Use gengtype for roots.
3749 * trans.c: Use gengtype for roots.
3750 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
3751
27e511e0
GDR
37522002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
3753
3754 * misc.c (gnat_init): Adjust setting of internal_error_function.
3755
113dc143
JM
37562002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
3757
3758 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
3759 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3760 gnat_ug_wnt.texi: Regenerate.
3761
5321fb3e
FW
37622002-05-31 Florian Weimer <fw@deneb.enyo.de>
3763
15e6136e
FW
3764 * 5ntaprop.adb (with System.OS_Primitives): Remove.
3765
019310ac
FW
3766 * cstreams.c (max_path_len): Move from here ...
3767 * adaint.c (__gnat_max_path_len): ... to here.
3768 * adaint.c (__gnat_max_path_len): Declare.
3769 * g-dirope.adb (Max_Path): Adjust.
3770 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
94213cff 3771 * i-cstrea.ads (max_path_len): Adjust.
019310ac
FW
3772 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
3773 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
3774
5321fb3e
FW
3775 * Makefile.in, Make-lang.in: Documentation is now built in
3776 Make-lang.in. Store Info and generated Texinfo files in the
3777 source directory.
3778 * gnat_ug.texi: Remove CVS keywords, correct version number.
3779 Set file name correctly.
3780
3781 * gnat_ug_*.texi: Add.
3782 * .cvsignore: Ignore generated Texinfo files.
3783
b1c12c4b
ZW
37842002-05-30 Zack Weinberg <zack@codesourcery.com>
3785
3786 * ada.h: Add MI guard macro.
3787 (SUBTYPE): Define constants with an anonymous enum, not static
3788 const variables.
3789 (IN): Cast constants to appropriate type before use.
3790
ead33da9
JM
37912002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
3792
3793 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
3794 (experimental)".
3795
7d600178
RO
37962002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3797
3798 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
3799 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
3800 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
3801 (ALL_ADA_CFLAGS): Likewise.
3802 (ADA_INCLUDES): Likewise.
3803 Adapt for new working dir.
3804 (GNATBIND): Use Makefile.in version.
3805 (.SUFFIXES): Copy from Makefile.in.
3806 (ada-warn): Define.
3807 (.adb.o, .ads.o): Copy from Makefile.in.
3808 Added $(OUTPUT_OPTION).
3809 (GNAT1_C_OBJS): Moved from Makefile.in.
3810 Prefix with ada subdir.
3811 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
3812 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
3813 Adapt for new working dir.
3814 (EXTRA_GNATBIND_OBJS): Likewise.
3815 (ADA_BACKEND): Moved from Makefile.in.
3816 Renamed to avoid conflict with global BACKEND.
3817 Use that one.
3818 (TARGET_ADA_SRCS): Moved from Makefile.in.
3819 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
3820 Use ADA_BACKEND.
3821 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
3822 (ada_extra_files): Moved from Makefile.in.
3823 Prefix with ada subdir.
3824 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
3825 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
3826 (ada/nmake.ads): Likewise.
3827 (update-sources): Moved from Makefile.in.
3828 Prefix with ada subdir.
3829 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
3830 (ADA_TREE_H): Likewise.
3831 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
3832 (ada/memtrack.o): Likewise.
3833 (ada/adadecode.o): Likewise.
3834 Update dependencies.
3835 (ada/adaint.o): New.
3836 (ada/argv.o): Moved from Makefile.in.
3837 Prefix with ada subdir.
94213cff 3838 Update dependencies.
7d600178
RO
3839 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
3840 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
3841 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
3842 Prefix with ada subdir.
3843 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
3844 (GNAT DEPENDENCIES): Regenerate.
3845 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
3846 toplevel Makefile.in.
3847 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
3848 (TARGET_ADA_SRCS): Removed.
3849 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
3850 (GNATBIND_OBJS): Likewise.
3851 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
3852 (BACKEND): Removed.
3853 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
3854 (TREE_H): Likewise.
3855 (ada_extra_files): Likewise.
3856 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
3857 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
3858 (update-sources): Likewise.
3859 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
3860 (ADA_TREE_H): Likewise.
3861 (adadecoce.o): Likewise.
3862 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
3863 (GNAT DEPENDENCIES): Likewise.
3864
1e6347d8
RO
38652002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3866
3867 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
3868 * Makefile.in: Likewise.
3869
db80834f
RO
38702002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3871
3872 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
3873 Restore $(CONFIG_H) and prefix.o dependencies.
3874 (ada.stage[1-4]): Depend on stage?-start.
3875
3876 * Makefile.in (b_gnatb.c): Depend on interfac.o.
3877
ac293f98
JW
38782002-05-02 Jim Wilson <wilson@redhat.com>
3879
3880 * utils.c (finish_record_type): Change record_size to record_type.
3881
b303008e
JDA
38822001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
3883
3884 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
3885 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
3886 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
94213cff 3887
ff45c01e
NB
38882002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
3889
3890 * misc.c (gnat_parse_file): Update.
3891
349ae713
NB
38922002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
3893
3894 * misc.c (gnat_init): Don't set lang_attribute_common.
3895
ace133aa
JM
38962002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
3897
3898 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
3899
5c558dd9
FW
39002002-04-21 Florian Weimer <fw@deneb.enyo.de>
3901
b4f94ac1 3902 * gnat_ug.texi: New file.
88e1739c 3903
5c558dd9
FW
3904 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
3905 instead of gfdl.texi
3906
3907 * xgnatug.adb, ug_words: New files.
3908
3909 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
b4f94ac1 3910 gnat_rm and gnat-style manuals.
5c558dd9 3911
7a228918
NB
39122002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
3913
3914 * gigi.h (incomplete_type_error): Remove.
3915 * utils.c (incomplete_type_error): Remove.
3916
b2123dc0
MM
39172002-04-16 Mark Mitchell <mark@codesourcery.com>
3918
3919 * trans.c (tree_transform): Add has_scope argument to
3920 expand_start_stmt_expr.
3921
78ef5b89
NB
39222002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
3923
3924 * gigi.h (truthvalue_conversion): Rename.
3925 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
3926 * trans.c (tree_transform): Update.
3927 * utils2.c (truthvalue_conversion): Rename, update.
3928 (build_binary_op, build_unary_op): Update.
3929
a71742a8
LG
39302002-04-04 Laurent Guerby <guerby@acm.org>
3931
3932 * make.adb: Implement -margs, remove restriction about file name placement.
3933 * makeusg.adb: Documentation update.
3934 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
3935 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
3936
82a4b025
NB
39372002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
3938
3939 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
3940 (builtin_function): Similarly.
3941
dffd7eb6
NB
39422002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
3943
3944 * decl.c (gnat_to_gnu_entity): Update.
3945 * gigi.h (mark_addressable): Rename.
3946 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
3947 * trans.c (tree_transform): Update.
3948 * utils.c (create_var_decl): Update.
3949 * util2.c (build_binary_op, build_unary_op,
3950 fill_vms_descriptor): Update.
3951 (mark_addressable): Rename, update.
3952
ceef8ce4
NB
39532002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
3954
3955 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
3956 Rename.
3957 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
3958 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
3959 * trans.c (tree_transform, convert_with_check): Update.
3960 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
3961 Rename.
3962
48a7a235
NB
39632002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
3964
3965 * gigi.h (finish_incomplete_decl): Rename.
3966 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
3967 * utils.c (gnat_init_decl_processing): Don't set hook.
3968 (finish_incomplete_decl): Rename.
3969
1d5af871
AS
39702002-03-29 Andreas Schwab <schwab@suse.de>
3971
3972 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
3973 directory.
3974
8cbb664e
MG
39752001-03-28 Robert Dewar <dewar@gnat.com>
3976
3977 * checks.ads:
3978 (Remove_Checks): New procedure
3979
3980 * checks.adb:
3981 (Remove_Checks): New procedure
3982
3983 * exp_util.adb:
3984 Use new Duplicate_Subexpr functions
3985 (Duplicate_Subexpr_No_Checks): New procedure
3986 (Duplicate_Subexpr_No_Checks_Orig): New procedure
3987 (Duplicate_Subexpr): Restore original form (checks duplicated)
3988 (Duplicate_Subexpr): Call Remove_Checks
3989
82a4b025 3990 * exp_util.ads:
8cbb664e
MG
3991 (Duplicate_Subexpr_No_Checks): New procedure
3992 (Duplicate_Subexpr_No_Checks_Orig): New procedure
3993 Add 2002 to copyright notice
3994
3995 * sem_util.adb: Use new Duplicate_Subexpr functions
3996
82a4b025 3997 * sem_eval.adb:
8cbb664e
MG
3998 (Eval_Indexed_Component): This is the place to call
3999 Constant_Array_Ref and to replace the value. We simply merge
4000 the code of this function in here, since it is now no longer
4001 used elsewhere. This fixes the problem of the back end not
4002 realizing we were clever enough to see that this was
4003 constant.
4004 (Expr_Val): Remove call to Constant_Array_Ref
4005 (Expr_Rep_Val): Remove call to Constant_Array_Ref
4006 Minor reformatting
4007 (Constant_Array_Ref): Deal with string literals (patch
4008 suggested by Zack Weinberg on the gcc list)
4009
40102001-03-28 Ed Schonberg <schonber@gnat.com>
4011
82a4b025 4012 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
8cbb664e
MG
4013 Duplicate_Subexpr_Move_Checks.
4014
82a4b025 4015 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
8cbb664e
MG
4016 Duplicate_Subexpr_Move_Checks.
4017
82a4b025
NB
4018 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
4019 value of array exists before retrieving it (it may a private
8cbb664e
MG
4020 protected component in a function).
4021
792c4e74
GB
40222002-03-28 Geert Bosch <bosch@gnat.com>
4023
4024 * prj-pp.adb : New file.
4025
4026 * prj-pp.ads : New file.
4027
915e8bad
AJ
40282002-03-28 Andreas Jaeger <aj@suse.de>
4029
4030 * Makefile.in (stamp-sdefault): Fix path for Makefile.
4031
0840811c
NB
40322002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
4033
4034 * misc.c (gnat_expand_expr): Move prototype.
4035
7ffb4fd2
NB
40362002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4037
4038 * misc.c (insert_default_attributes): Remove.
4039
c9d892a8
NB
40402002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4041
4042 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
4043 (gnat_init): Don't set hook.
4044 (gnat_expand_expr): Fix prototype.
4045
31c816cf
NB
40462002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
4047
4048 * misc.c (ggc_p): Remove.
4049
ef83161c
GB
40502002-03-27 Geert Bosch <bosch@gnat.com>
4051
4052 * prj-makr.ads, prj-makr.adb : New files.
4053
4f0ade92
NB
40542002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
4055
4056 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
4057 (lang_mark_tree): Make static, rename.
4058
c88770e9
NB
40592002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
4060
4061 * misc.c (maybe_build_cleanup): Remove.
4062
05671968
NB
40632002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
4064
4065 * gigi.h (yyparse): Remove.
4066
ad42149c
FW
40672002-03-23 Florian Weimer <fw@deneb.enyo.de>
4068
82a4b025 4069 * gnat_rm.texi: Sync with ACT version.
b4f94ac1 4070 (From Ben Brosgol <brosgol@gnat.com>)
ad42149c 4071
7afff7cf
NB
40722002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
4073
4074 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
4075 (gnat_init): Remove old hook.
4076
52dabb6c
NB
40772002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
4078
4079 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
4080 (yyparse): Rename gnat_parse_file.
4081
6cbcc541
GK
40822002-03-14 Geoffrey Keating <geoffk@redhat.com>
4083
4084 Delete all lines containing "$Revision:".
4085 * xeinfo.adb: Don't look for revision numbers.
4086 * xnmake.adb: Likewise.
4087 * xsinfo.adb: Likewise.
4088 * xsnames.adb: Likewise.
4089 * xtreeprs.adb: Likewise.
4090
2f9834e8
KG
40912002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4092
4093 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
4094 gnat_tree_code_name): Delete.
4095 (tree_code_type, tree_code_length, tree_code_name): Define.
4096 (gnat_init): Don't try to copy into the various tree_code
4097 arrays.
4098
63adb4ff
RH
40992002-03-11 Richard Henderson <rth@redhat.com>
4100
4101 * Makefile.in (.NOTPARALLEL): Add fake tag.
4102
43ff4547
GB
41032002-03-07 Geert Bosch <bosch@gnat.com>
4104
82a4b025
NB
4105 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
4106 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
4107 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
43ff4547
GB
4108 switch-m.adb, switch-m.ads : New files.
4109
07fc65c4
GB
41102002-03-07 Geert Bosch <bosch@gnat.com>
4111
4112 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4113 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4114 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4115 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
4116 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
4117 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
4118 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
4119 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
4120 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
4121 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
4122 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
4123 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
4124 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
4125 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
4126 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
4127 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
4128 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
4129 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
4130 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
4131 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
4132 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
4133 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
4134 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
4135 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
4136 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
4137 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
4138 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
4139 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
4140 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
4141 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
4142 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
4143 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
4144 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
4145 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
4146 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4147 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
4148 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
4149 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
4150 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
4151 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
4152 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
4153 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
4154 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
4155 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
4156 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
4157 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
4158 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
4159 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
4160 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
4161 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
4162 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
4163 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
4164 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
4165 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
4166 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
4167 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
4168 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
4169 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
4170 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
4171 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
4172 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
4173 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
4174 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
4175 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
4176 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
4177 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
4178 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
4179 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
4180 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
4181 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
4182 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
4183 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
4184 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
4185 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
4186 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
4187 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
4188 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
4189 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
4190 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
4191 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
4192 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
4193 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
4194 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
4195 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
4196 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
4197 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
4198 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
4199 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
4200 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
4201 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
4202 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
4203 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
4204 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
4205 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
4206 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
4207 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
4208 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
4209
4210 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
4211 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
4212 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
4213 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
4214
4215 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
4216 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
4217
4218 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
4219 to mdll-fil.ad[bs] and mdll-util.ad[bs]
4220
4221 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
4222 from mdllfile.ad[bs] and mdlltool.ad[bs]
4223
ca7558fc
KG
42242002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4225
4226 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
4227 lieu of explicit sizeof/sizeof.
4228
63e1b1c4
NB
42292002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4230
4231 * misc.c (copy_lang_decl): Remove.
4232
f458d1d5
ZW
42332002-02-27 Zack Weinberg <zack@codesourcery.com>
4234
4235 * misc.c: Delete traditional-mode-related code copied from the
4236 C front end but not used, or used only to permit the compiler
4237 to link.
4238
21e09952
RH
42392002-02-07 Richard Henderson <rth@redhat.com>
4240
4241 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
4242 * adaint.h (__gnat_to_gm_time): Update prototype.
4243
ead39bdf 42442002-01-30 Richard Henderson <rth@redhat.com>
e803a64b
RH
4245
4246 * trans.c (tree_transform) [N_Loop_Statement]: Use
4247 expand_exit_loop_top_cond.
4248
72ac12bf
RH
42492001-12-23 Richard Henderson <rth@redhat.com>
4250
4251 * utils.c (end_subprog_body): Push GC context around
4252 rest_of_compilation for nested functions.
4253
14aacce7
RH
42542001-12-23 Richard Henderson <rth@redhat.com>
4255
4256 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
4257
b3d45d87
FW
42582001-12-23 Florian Weimer <fw@deneb.enyo.de>
4259
ece2d1b8
FW
4260 * gnat-style.texi (Declarations and Types): Remove ancient style
4261 rule which was mandated by code generation issues.
82a4b025 4262
b3d45d87
FW
4263 * gnat-style.texi (header): Add @dircategory, @direntry.
4264 (title page): Remove date.
4265 (general) Add @./@: where approriate, and two spaces after the
4266 full stop at the end of a sentence. Use @samp markup when
4267 referring concrete lexical entities (keywords, attribute names
4268 etc.), and @syntax for ARM grammar elements. Use @r for English
4269 text in comments. Use @emph for emphasis. Change "if-statements"
4270 etc. to "if statements" (without @samp). Break long lines. Make
4271 casing of section names consistent.
4272 (Identifiers): Use @samp markup for variable names.
4273 (Comments): Use @samp markup for comment characters. Line-end
4274 comments may follow any Ada code, not just statements. Fix
4275 misspelling of "Integer" as "integer".
4276 (Loop statements): Do not use variable name "I", use "J".
4277 (Subprogram Declarations): Document alignment.
4278 (Subprogram Bodies, Block statements): Document empty line before
4279 "begin".
4280
7a73ad55
FW
42812001-12-22 Florian Weimer <fw@deneb.enyo.de>
4282
4283 * make.adb (Add_Switch): Make Generic_Position a procedure. The
4284 function approach did not work well because of a side effect (the
4285 function call could reallocate the table which was being indexed
4286 using its result). Fixes ada/4851.
4287
17c5c8a5
GB
42882001-12-19 Robert Dewar <dewar@gnat.com>
4289
4290 * bindgen.adb: Minor reformatting
82a4b025 4291
17c5c8a5 4292 * cstand.adb: Minor reformatting
82a4b025 4293
17c5c8a5
GB
4294 * fmap.adb: Minor reformatting
4295 Change name from Add for Add_To_File_Map (Add is much too generic)
4296 Change Path_Name_Of to Mapped_Path_Name
4297 Change File_Name_Of to Mapped_File_Name
4298 Fix copyright dates in header
82a4b025 4299
17c5c8a5
GB
4300 * fmap.ads:
4301 Change name from Add for Add_To_File_Map (Add is much too generic)
4302 Change Path_Name_Of to Mapped_Path_Name
4303 Change File_Name_Of to Mapped_File_Name
4304 Fix copyright dates in header
82a4b025 4305
17c5c8a5
GB
4306 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
4307 Add use clause for Fmap.
82a4b025 4308
17c5c8a5 4309 * make.adb: Minor reformatting
82a4b025 4310
17c5c8a5
GB
4311 * osint.adb: Minor reformatting. Change of names in Fmap.
4312 Add use clause for Fmap.
82a4b025 4313
17c5c8a5 4314 * prj-env.adb: Minor reformatting
82a4b025 4315
17c5c8a5 4316 * prj-env.ads: Minor reformatting
82a4b025 4317
07fc65c4
GB
4318 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
4319 error found (there were odd exceptions to this general rule in
17c5c8a5 4320 -gnatec/-gnatem processing)
82a4b025 4321
17c5c8a5
GB
43222001-12-19 Olivier Hainque <hainque@gnat.com>
4323
07fc65c4
GB
4324 * raise.c (__gnat_eh_personality): Exception handling personality
4325 routine for Ada. Still in rough state, inspired from the C++ version
17c5c8a5 4326 and still containing a bunch of debugging artifacts.
07fc65c4 4327 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
17c5c8a5 4328 inspired from the C++ library.
82a4b025 4329
07fc65c4 4330 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
17c5c8a5 4331 exception handling integration.
82a4b025 4332
17c5c8a5
GB
43332001-12-19 Arnaud Charlet <charlet@gnat.com>
4334
4335 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
4336 (HIE_SOURCES): Add s-secsta.ad{s,b}.
4337 (HIE_OBJS): Add s-fat*.o
07fc65c4 4338 (RAVEN_SOURCES): Remove files that are no longer required. Add
17c5c8a5
GB
4339 interrupt handling files.
4340 (RAVEN_MOD): Removed, no longer needed.
82a4b025 4341
17c5c8a5
GB
43422001-12-19 Robert Dewar <dewar@gnat.com>
4343
4344 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
4345 Add 2001 to copyright date
82a4b025 4346
07fc65c4 4347 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
17c5c8a5 4348 need to force universal inlining for these cases.
82a4b025 4349
17c5c8a5
GB
43502001-12-19 Arnaud Charlet <charlet@gnat.com>
4351
07fc65c4 4352 * s-taprob.adb: Minor clean ups so that this unit can be used in
17c5c8a5 4353 Ravenscar HI.
82a4b025 4354
17c5c8a5
GB
4355 * exp_ch7.adb: Allow use of secondary stack in HI mode.
4356 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
82a4b025 4357
17c5c8a5
GB
43582001-12-19 Vincent Celier <celier@gnat.com>
4359
07fc65c4 4360 * prj-tree.ads (Project_Node_Record): Add comments for components
17c5c8a5 4361 Pkg_Id and Case_Insensitive.
82a4b025 4362
17c5c8a5
GB
43632001-12-19 Pascal Obry <obry@gnat.com>
4364
4365 * g-socket.adb: Minor reformatting. Found while reading code.
82a4b025 4366
17c5c8a5
GB
43672001-12-19 Robert Dewar <dewar@gnat.com>
4368
4369 * prj-tree.ads: Minor reformatting
4370
38be19f6
JM
43712001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
4372
4373 * config-lang.in (diff_excludes): Remove.
4374
6510f4c9
GB
43752001-12-17 Ed Schonberg <schonber@gnat.com>
4376
07fc65c4
GB
4377 * sem_res.adb (Resolve_Selected_Component): do not generate a
4378 discriminant check if the selected component is a component of
6510f4c9
GB
4379 the argument of an initialization procedure.
4380
07fc65c4
GB
4381 * trans.c (tree_transform, case of arithmetic operators): If result
4382 type is private, the gnu_type is the base type of the full view,
6510f4c9 4383 given that the full view itself may be a subtype.
82a4b025 4384
6510f4c9
GB
43852001-12-17 Robert Dewar <dewar@gnat.com>
4386
4387 * sem_res.adb: Minor reformatting
82a4b025 4388
07fc65c4
GB
4389 * trans.c (tree_transform, case N_Real_Literal): Add missing third
4390 parameter in call to Machine (unknown horrible effects from this
6510f4c9 4391 omission).
82a4b025 4392
6510f4c9
GB
4393 * urealp.h: Add definition of Round_Even for call to Machine
4394 Add third parameter for Machine
82a4b025 4395
6510f4c9
GB
43962001-12-17 Ed Schonberg <schonber@gnat.com>
4397
07fc65c4 4398 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
6510f4c9 4399 predefined units in No_Run_Time mode.
82a4b025 4400
6510f4c9
GB
44012001-12-17 Richard Kenner <kenner@gnat.com>
4402
4403 * misc.c (insn-codes.h): Now include.
82a4b025 4404
6510f4c9
GB
44052001-12-17 Olivier Hainque <hainque@gnat.com>
4406
07fc65c4 4407 * a-except.adb: Preparation work for future integration of the GCC 3
6510f4c9
GB
4408 exception handling mechanism
4409 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
4410 to factorize previous code sequences and make them externally callable,
4411 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
4412 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
4413 Use the new notification routines.
82a4b025 4414
6510f4c9
GB
44152001-12-17 Emmanuel Briot <briot@gnat.com>
4416
4417 * prj-tree.ads (First_Choice_Of): Document the when others case
82a4b025 4418
6510f4c9
GB
44192001-12-17 Arnaud Charlet <charlet@gnat.com>
4420
07fc65c4 4421 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
6510f4c9 4422 HI-E mode, in order to support Ravenscar profile properly.
82a4b025 4423
07fc65c4 4424 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
6510f4c9 4425 mode on 32 bits targets.
82a4b025 4426
6510f4c9
GB
44272001-12-17 Vincent Celier <celier@gnat.com>
4428
4429 * fmap.adb: Initial version.
82a4b025 4430
6510f4c9 4431 * fmap.ads: Initial version.
82a4b025 4432
6510f4c9
GB
4433 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
4434 If search is successfully done, add to mapping.
82a4b025 4435
6510f4c9 4436 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
82a4b025 4437
6510f4c9
GB
4438 * make.adb:
4439 (Gnatmake): Add new local variable Mapping_File_Name.
4440 Create mapping file when using project file(s).
4441 Delete mapping file before exiting.
82a4b025 4442
6510f4c9 4443 * opt.ads (Mapping_File_Name): New variable
82a4b025 4444
6510f4c9 4445 * osint.adb (Find_File): Use path name found in mapping, if any.
82a4b025 4446
6510f4c9 4447 * prj-env.adb (Create_Mapping_File): New procedure
82a4b025 4448
6510f4c9 4449 * prj-env.ads (Create_Mapping_File): New procedure.
82a4b025 4450
07fc65c4 4451 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
6510f4c9 4452 (Mapping_File)
82a4b025 4453
6510f4c9 4454 * usage.adb: Add entry for new switch -gnatem.
82a4b025 4455
6510f4c9 4456 * Makefile.in: Add dependencies for fmap.o.
82a4b025 4457
6510f4c9
GB
44582001-12-17 Ed Schonberg <schonber@gnat.com>
4459
07fc65c4 4460 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
6510f4c9
GB
4461 is a package instantiation rewritten as a package body.
4462 (Install_Withed_Unit): Undo previous change, now redundant.
82a4b025 4463
6510f4c9
GB
44642001-12-17 Gary Dismukes <dismukes@gnat.com>
4465
4466 * layout.adb:
4467 (Compute_Length): Move conversion to Unsigned to callers.
4468 (Get_Max_Size): Convert Len expression to Unsigned after calls to
4469 Compute_Length and Determine_Range.
4470 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
4471 Compute_Length and Determine_Range.
4472 Above changes fix problem with length computation for supernull arrays
07fc65c4 4473 where Max (Len, 0) wasn't getting applied due to the Unsigned
6510f4c9 4474 conversion used by Compute_Length.
82a4b025 4475
6510f4c9
GB
44762001-12-17 Arnaud Charlet <charlet@gnat.com>
4477
4478 * rtsfind.ads:
4479 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
4480 System.Secondary_Stack.
4481 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
4482 in HI-E mode.
4483 Remove unused entity RE_Exception_Data.
82a4b025 4484
6510f4c9 4485 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
82a4b025 4486
6510f4c9
GB
4487 * rident.ads (No_Secondary_Stack): New restriction.
4488
3a77b68d
GB
44892001-12-17 Joel Brobecker <brobecke@gnat.com>
4490
07fc65c4 4491 * gnat_rm.texi: Fix minor typos. Found while reading the section
3a77b68d
GB
4492 regarding "Bit_Order Clauses" that was sent to a customer.
4493 Very interesting documentation!
82a4b025 4494
3a77b68d
GB
44952001-12-17 Robert Dewar <dewar@gnat.com>
4496
07fc65c4
GB
4497 * sem_case.adb (Choice_Image): Avoid creating improper character
4498 literal names by using the routine Set_Character_Literal_Name. This
3a77b68d 4499 fixes bombs in certain error message cases.
82a4b025 4500
3a77b68d
GB
45012001-12-17 Arnaud Charlet <charlet@gnat.com>
4502
4503 * a-reatim.adb: Minor reformatting.
82a4b025 4504
3a77b68d
GB
45052001-12-17 Ed Schonberg <schonber@gnat.com>
4506
07fc65c4
GB
4507 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
4508 case where the formal is an extension of another formal in the current
3a77b68d 4509 unit or in a parent generic unit.
82a4b025 4510
3a77b68d
GB
45112001-12-17 Arnaud Charlet <charlet@gnat.com>
4512
07fc65c4 4513 * s-tposen.adb: Update comments. Minor reformatting.
3a77b68d 4514 Minor code clean up.
82a4b025 4515
3a77b68d 4516 * s-tarest.adb: Update comments. Minor code reorganization.
82a4b025 4517
3a77b68d
GB
45182001-12-17 Gary Dismukes <dismukes@gnat.com>
4519
07fc65c4 4520 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
3a77b68d 4521 when Java_VM.
82a4b025 4522
3a77b68d
GB
45232001-12-17 Robert Dewar <dewar@gnat.com>
4524
4525 * exp_attr.adb: Minor reformatting
82a4b025 4526
3a77b68d
GB
45272001-12-17 Ed Schonberg <schonber@gnat.com>
4528
07fc65c4 4529 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
3a77b68d
GB
4530 derivations nested within a child unit: verify that the parent
4531 type is declared in an outer scope.
82a4b025 4532
3a77b68d
GB
45332001-12-17 Robert Dewar <dewar@gnat.com>
4534
4535 * sem_ch12.adb: Minor reformatting
82a4b025 4536
3a77b68d
GB
45372001-12-17 Ed Schonberg <schonber@gnat.com>
4538
07fc65c4
GB
4539 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
4540 warning if current unit is a predefined one, from which bodies may
3a77b68d 4541 have been deleted.
82a4b025 4542
3a77b68d
GB
45432001-12-17 Robert Dewar <dewar@gnat.com>
4544
4545 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
4546 Fix header format. Add 2001 to copyright date.
82a4b025 4547
07fc65c4 4548 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
3a77b68d
GB
4549 which caused CE during compilation if checks were enabled.
4550
79503fdd
GB
45512001-12-17 Vincent Celier <celier@gnat.com>
4552
4553 * make.adb:
4554 (Switches_Of): New function
4555 (Test_If_Relative_Path): New procedure
4556 (Add_Switches): Use new function Switches_Of
4557 (Collect_Arguments_And_Compile): Use new function Switches_Of.
4558 When using a project file, test if there are any relative
4559 search path. Fail if there are any.
07fc65c4
GB
4560 (Gnatmake): Only add switches for the primary directory when not using
4561 a project file. When using a project file, change directory to the
4562 object directory of the main project file. When using a project file,
4563 test if there are any relative search path. Fail if there are any.
4564 When using a project file, fail if specified executable is relative
4565 path with directory information, and prepend executable, if not
4566 specified as an absolute path, with the exec directory. Make sure
79503fdd 4567 that only one -o switch is transmitted to the linker.
82a4b025 4568
79503fdd 4569 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
82a4b025 4570
79503fdd
GB
4571 * prj-nmsc.adb:
4572 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
4573 when using a non standard naming scheme.
4574 (Check_Ada_Naming_Scheme): Make sure that error messages
4575 do not raise exceptions.
4576 (Is_Illegal_Append): Return True if there is no dot in the suffix.
4577 (Language_Independent_Check): Check the exec directory.
82a4b025 4578
79503fdd 4579 * prj.adb (Project_Empty): Add new component Exec_Directory
82a4b025 4580
79503fdd
GB
4581 * prj.ads:
4582 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
4583 (Project_Data): Add component Exec_Directory
82a4b025 4584
79503fdd 4585 * snames.adb: Updated to match snames.ads revision 1.215
82a4b025 4586
79503fdd 4587 * snames.ads: Added Exec_Dir
82a4b025 4588
79503fdd
GB
45892001-12-17 Robert Dewar <dewar@gnat.com>
4590
4591 * make.adb: Minor reformatting
82a4b025 4592
79503fdd 4593 * prj-nmsc.adb: Minor reformatting
82a4b025 4594
79503fdd 4595 * snames.adb: Updated to match snames.ads
82a4b025 4596
79503fdd
GB
4597 * snames.ads: Alphebetize entries for project file
4598
45992001-12-17 Ed Schonberg <schonber@gnat.com>
4600
07fc65c4 4601 * trans.c (process_freeze_entity): Do nothing if the entity is a
79503fdd 4602 subprogram that was already elaborated.
82a4b025 4603
79503fdd 46042001-12-17 Richard Kenner <kenner@gnat.com>
82a4b025 4605
07fc65c4 4606 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
79503fdd
GB
4607 and Esize if object is referenced via pointer.
4608
855ff2e1
GB
46092001-12-17 Ed Schonberg <schonber@gnat.com>
4610
07fc65c4 4611 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
855ff2e1 4612 is discrete before analyzing choices.
82a4b025 4613
855ff2e1
GB
46142001-12-17 Joel Brobecker <brobecke@gnat.com>
4615
07fc65c4
GB
4616 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
4617 containing the name of the Ada Main Program. This string is mainly
855ff2e1
GB
4618 intended for the debugger.
4619 (Gen_Output_File_C): Do the equivalent change when generating a C file.
82a4b025 4620
855ff2e1
GB
46212001-12-17 Robert Dewar <dewar@gnat.com>
4622
4623 * ali.adb: Set new Dummy_Entry field in dependency entry
82a4b025 4624
855ff2e1 4625 * ali.ads: Add Dummy_Entry field to source dependency table
82a4b025 4626
855ff2e1 4627 * bcheck.adb (Check_Consistency): Ignore dummy D lines
82a4b025 4628
855ff2e1 4629 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
82a4b025 4630
855ff2e1 4631 * lib-writ.ads: Document dummy D lines for missing files.
82a4b025 4632
855ff2e1
GB
4633 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
4634
c1c22e7a
GB
46352001-12-17 Robert Dewar <dewar@gnat.com>
4636
4637 * ali.adb: Type reference does not reset current file.
82a4b025 4638
c1c22e7a 4639 * ali.adb: Recognize and scan renaming reference
82a4b025 4640
c1c22e7a 4641 * ali.ads: Add spec for storing renaming references.
82a4b025 4642
c1c22e7a 4643 * lib-xref.ads: Add documentation for handling of renaming references
82a4b025 4644
c1c22e7a 4645 * lib-xref.adb: Implement output of renaming reference.
82a4b025 4646
c1c22e7a
GB
4647 * checks.adb:
4648 (Determine_Range): Document local variables
4649 (Determine_Range): Make sure Hbound is initialized. It looks as though
4650 there could be a real problem here with an uninitialized reference
4651 to Hbound, but no actual example of failure has been found.
82a4b025 4652
c1c22e7a
GB
46532001-12-17 Laurent Pautet <pautet@gnat.com>
4654
4655 * g-socket.ads:
4656 Fix comment of Shutdown_Socket and Close_Socket. These functions
4657 should not fail silently because if they are called twice, this
4658 probably means that there is a race condition in the user program.
4659 Anyway, this behaviour is consistent with the rest of this unit.
4660 When an error occurs, an exception is raised with the error message
4661 as exception message.
4662
7eb7bb07
RD
46632001-12-17 Robert Dewar <dewar@gnat.com>
4664
07fc65c4 4665 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
7eb7bb07 4666 that it happens before modification of Sloc values for -gnatD.
82a4b025 4667
07fc65c4 4668 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
7eb7bb07 4669 so that it happens before modification of Sloc values for -gnatD.
82a4b025 4670
7eb7bb07
RD
4671 * switch.adb: Minor reformatting
4672
b6434700
RH
46732001-12-15 Richard Henderson <rth@redhat.com>
4674
4675 * sem_ch7.adb: Wrap comment.
4676
44d6a706
JM
46772001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4678
4679 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
4680 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
4681 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
4682 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
4683 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
4684 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
4685 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
4686 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
4687 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
4688 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
4689 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
4690 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
4691 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
4692 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
4693 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
4694 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
4695 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
4696 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
4697 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
4698 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
4699 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
4700 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
4701 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
4702 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
4703 spelling errors.
4704
226ada7a
GB
47052001-12-14 Vincent Celier <celier@gnat.com>
4706
07fc65c4 4707 * osint.adb(Create_Debug_File): When an object file is specified,
226ada7a 4708 put the .dg file in the same directory as the object file.
82a4b025 4709
226ada7a
GB
47102001-12-14 Robert Dewar <dewar@gnat.com>
4711
4712 * osint.adb: Minor reformatting
82a4b025 4713
07fc65c4 4714 * lib-xref.adb (Output_Instantiation): New procedure to generate
226ada7a 4715 instantiation references.
82a4b025 4716
226ada7a 4717 * lib-xref.ads: Add documentation of handling of generic references.
82a4b025 4718
07fc65c4 4719 * ali.adb (Read_Instantiation_Ref): New procedure to read
226ada7a 4720 instantiation references
82a4b025 4721
226ada7a 4722 * ali.ads: Add spec for storing instantiation references
82a4b025 4723
226ada7a 4724 * bindusg.adb: Minor reformatting
82a4b025 4725
226ada7a 4726 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 4727
226ada7a 4728 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 4729
226ada7a 4730 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 4731
226ada7a 4732 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 4733
226ada7a
GB
4734 * csets.ads:
4735 Fix header format
4736 Add 2001 to copyright date
4737 Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 4738
226ada7a
GB
47392001-12-14 Matt Gingell <gingell@gnat.com>
4740
07fc65c4 4741 * adaint.c: mktemp is a macro on Lynx and can not be used as an
226ada7a 4742 expression.
82a4b025 4743
226ada7a
GB
47442001-12-14 Richard Kenner <kenner@gnat.com>
4745
07fc65c4 4746 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
226ada7a 4747 if operand is CONSTRUCTOR.
82a4b025 4748
226ada7a
GB
47492001-12-14 Ed Schonberg <schonber@gnat.com>
4750
07fc65c4
GB
4751 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
4752 before emiting check on right-hand side, so that exception information
226ada7a
GB
4753 is correct.
4754
47552001-12-14 Richard Kenner <kenner@gnat.com>
82a4b025 4756
07fc65c4 4757 * utils.c (create_var_decl): Throw away initializing expression
226ada7a 4758 if just annotating types and non-constant.
82a4b025 4759
226ada7a
GB
47602001-12-14 Vincent Celier <celier@gnat.com>
4761
4762 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
4763 Default_Ada_...
82a4b025 4764
07fc65c4 4765 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
226ada7a
GB
4766 Remove functions.
4767 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
82a4b025 4768
07fc65c4 4769 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
226ada7a
GB
4770 Remove functions.
4771 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
4772
9b94bf9e
JM
47732001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
4774
4775 * ChangeLog: Remove piece of diff output.
4776
449d2be3
GB
47772001-12-14 Geert Bosch <bosch@gnat.com>
4778
4779 * config-lang.in: Update copyright notice
4780
4781 * layout.adb: Remove commented out code.
4782
4783 * mdllfile.ads: Update copyright notice. Fix header format.
4784
4785 * sem_case.ads: Likewise.
4786
4787 * sem_ch3.adb: Minor reformatting.
4788
e5bd5cb4
GB
47892001-12-12 Geert Bosch <bosch@gnat.com>
4790
4791 * freeze.ads: Update copyright date.
4792
4793 * g-comlin.ads: Minor reformatting.
4794
4795 * gnat-style.texi: Fix typo.
4796
b468d8ec
GB
47972001-12-12 Geert Bosch <bosch@gnat.com>
4798
4799 * einfo.h: Regenerate.
4800
ed7da216
GB
48012001-12-12 Ed Schonberg <schonber@gnat.com>
4802
07fc65c4 4803 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
ed7da216 4804 on known node types, rather than untyped fields. Further cleanups.
82a4b025 4805
ed7da216
GB
48062001-12-12 Robert Dewar <dewar@gnat.com>
4807
4808 * sem_ch12.adb:
4809 (Save_Entity_Descendant): Minor comment update.
4810 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
07fc65c4 4811 of an N_Attribute_Reference node. As per note below, this does not
ed7da216 4812 eliminate need for Associated_Node in attribute ref nodes.
07fc65c4 4813 (Associated_Node): Documentation explicitly mentions attribute
ed7da216 4814 reference nodes, since this field is used in such nodes.
82a4b025 4815
ed7da216
GB
4816 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
4817
de76a39c
GB
48182001-12-12 Robert Dewar <dewar@gnat.com>
4819
4820 * s-stalib.adb: Add more comments on with statements being needed
82a4b025 4821
de76a39c 4822 * par-ch12.adb: Minor reformatting
82a4b025 4823
de76a39c 4824 * prj-dect.ads: Fix copyright header
82a4b025 4825
07fc65c4 4826 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
de76a39c 4827 inputs fit in 32 bits, but the result still overflows.
82a4b025 4828
de76a39c 4829 * s-fatgen.ads: Minor comment improvement
82a4b025 4830
de76a39c
GB
48312001-12-12 Ed Schonberg <schonber@gnat.com>
4832
07fc65c4
GB
4833 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
4834 formal derived type, look for an inherited component from the full
de76a39c 4835 view of the parent, if any.
82a4b025 4836
de76a39c
GB
48372001-12-12 Robert Dewar <dewar@gnat.com>
4838
4839 * checks.ads (Apply_Alignment_Check): New procedure.
82a4b025 4840
07fc65c4
GB
4841 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
4842 ensure that the alignment of objects with address clauses is
de76a39c
GB
4843 appropriate, and raise PE if not.
4844
07fc65c4 4845 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
de76a39c 4846 Exp_Pakd.Known_Aligned_Enough
82a4b025 4847
de76a39c
GB
4848 * mdllfile.ads: Minor reformatting
4849
4850 * mlib-fil.ads: Minor reformatting
82a4b025 4851
de76a39c
GB
48522001-12-12 Ed Schonberg <schonber@gnat.com>
4853
07fc65c4
GB
4854 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
4855 fix to any component reference if enclosing record has non-standard
de76a39c 4856 representation.
82a4b025 4857
de76a39c
GB
48582001-12-12 Vincent Celier <celier@gnat.com>
4859
07fc65c4 4860 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
de76a39c 4861 Iteration
82a4b025 4862
de76a39c
GB
48632001-12-12 Ed Schonberg <schonber@gnat.com>
4864
07fc65c4 4865 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
de76a39c 4866 sem_attr.
82a4b025 4867
de76a39c
GB
48682001-12-12 Robert Dewar <dewar@gnat.com>
4869
4870 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
82a4b025 4871
de76a39c
GB
48722001-12-12 Emmanuel Briot <briot@gnat.com>
4873
4874 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
4875 and it adds dependencies to system.io.
82a4b025 4876
de76a39c
GB
48772001-12-12 Pascal Obry <obry@gnat.com>
4878
07fc65c4 4879 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
de76a39c
GB
4880 variable name.
4881
0b09835f
ES
48822001-12-11 Ed Schonberg <schonber@gnat.com>
4883
4884 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
07fc65c4
GB
4885 that is the parent of other generics, the instance body replaces the
4886 instance node. Retrieve the instance of the spec, which is the one
0b09835f
ES
4887 that is visible in clients and within the body.
4888
598c3446
GB
48892001-12-11 Vincent Celier <celier@gnat.com>
4890
4891 * gnatmain.adb: Initial version.
82a4b025 4892
598c3446 4893 * gnatmain.ads: Initial version.
82a4b025 4894
598c3446 4895 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
82a4b025 4896
598c3446 4897 * snames.adb: Updated to match snames.ads.
82a4b025 4898
598c3446 4899 * snames.ads: Added Gnatstub.
82a4b025 4900
598c3446
GB
49012001-12-11 Vincent Celier <celier@gnat.com>
4902
07fc65c4 4903 * prj-attr.adb (Initialization_Data): Change name from
598c3446 4904 Initialisation_Data.
82a4b025 4905
598c3446
GB
49062001-12-11 Emmanuel Briot <briot@gnat.com>
4907
4908 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
4909 + and * applied to backslashed expressions like \r.
82a4b025 4910
598c3446
GB
49112001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
4912
07fc65c4 4913 * g-os_lib.ads: String_List type added, Argument_List type is now
598c3446 4914 subtype of String_List.
82a4b025 4915
598c3446
GB
49162001-12-11 Robert Dewar <dewar@gnat.com>
4917
4918 * g-os_lib.ads: Change copyright to FSF
4919 Add comments for String_List type
82a4b025 4920
598c3446
GB
49212001-12-11 Vincent Celier <celier@gnat.com>
4922
07fc65c4 4923 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
598c3446
GB
4924 string to the buffer).
4925
7fb754a1
GB
49262001-12-11 Ed Schonberg <schonber@gnat.com>
4927
4928 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
4929 sem_attr.
82a4b025 4930
7fb754a1 4931 * sem_attr.adb: Simplify previous fix for Address.
07fc65c4
GB
4932 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
4933 to avoid anomalies where the bound of the type appears to raise
7fb754a1
GB
4934 constraint error.
4935
49362001-12-11 Robert Dewar <dewar@gnat.com>
4937
07fc65c4 4938 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
7fb754a1 4939 handled.
82a4b025 4940
7fb754a1
GB
49412001-12-11 Ed Schonberg <schonber@gnat.com>
4942
07fc65c4 4943 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
7fb754a1 4944 renamed unit before checking for recursive instantiations.
82a4b025 4945
7fb754a1
GB
49462001-12-11 Emmanuel Briot <briot@gnat.com>
4947
4948 * prj.ads: Add comments for some of the fields.
4949
0873bafc
GB
49502001-12-11 Robert Dewar <dewar@gnat.com>
4951
07fc65c4 4952 * lib-xref.adb (Output_Refs): Don't output type references outside
0873bafc 4953 the main unit if they are not otherwise referenced.
82a4b025 4954
0873bafc
GB
49552001-12-11 Ed Schonberg <schonber@gnat.com>
4956
07fc65c4 4957 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
0873bafc 4958 code and diagnose additional illegal uses
82a4b025 4959
07fc65c4 4960 * sem_util.adb (Is_Object_Reference): An indexed component is an
0873bafc 4961 object only if the prefix is.
82a4b025 4962
0873bafc
GB
49632001-12-11 Vincent Celier <celier@gnat.com>
4964
4965 * g-diopit.adb: Initial version.
82a4b025 4966
0873bafc 4967 * g-diopit.ads: Initial version.
82a4b025 4968
0873bafc
GB
4969 * g-dirope.adb:
4970 (Expand_Path): Avoid use of Unbounded_String
4971 (Find, Wildcard_Iterator): Moved to child package Iteration
82a4b025 4972
0873bafc 4973 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
82a4b025 4974
7fb754a1 49752001-12-11 Robert Dewar <dewar@gnat.com>
0873bafc
GB
4976
4977 * sem_attr.adb: Minor reformatting
4978
d087cd96
GB
49792001-12-11 Ed Schonberg <schonber@gnat.com>
4980
4981 * sem_ch3.adb: Clarify some ???.
82a4b025 4982
d087cd96
GB
49832001-12-11 Robert Dewar <dewar@gnat.com>
4984
07fc65c4 4985 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
d087cd96 4986 Exp_Pakd.Known_Aligned_Enough
82a4b025 4987
07fc65c4 4988 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
d087cd96
GB
4989 version is moved to Exp_Ch13.
4990
49912001-12-11 Robert Dewar <dewar@gnat.com>
4992
4993 * einfo.ads: Minor reformatting
82a4b025 4994
d087cd96 4995 * exp_ch5.adb: Add comment for previous.change
82a4b025 4996
d087cd96 4997 * ali.adb: New interface for extended typeref stuff.
82a4b025 4998
d087cd96 4999 * ali.ads: New interface for typeref stuff.
82a4b025 5000
d087cd96 5001 * checks.adb (Apply_Alignment_Check): New procedure.
82a4b025 5002
d087cd96 5003 * debug.adb: Add -gnatdM for modified ALI output
82a4b025 5004
d087cd96 5005 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
82a4b025 5006
07fc65c4
GB
5007 * lib-xref.adb: Extend generation of <..> notation to cover
5008 subtype/object types. Note that this is a complete rewrite,
5009 getting rid of the very nasty quadratic algorithm previously
d087cd96 5010 used for derived type output.
82a4b025 5011
07fc65c4
GB
5012 * lib-xref.ads: Extend description of <..> notation to cover
5013 subtype/object types. Uses {..} for these other cases.
d087cd96 5014 Also use (..) for pointer types.
82a4b025 5015
d087cd96 5016 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
82a4b025 5017
07fc65c4 5018 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
d087cd96
GB
5019 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
5020
290986ed
GB
50212001-12-11 Vincent Celier <celier@gnat.com>
5022
5023 * gnatcmd.adb:
5024 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
5025 Changed /BIND_ONLY to /ACTIONS=BIND
5026 Changed /LINK_ONLY to /ACTIONS=LINK
82a4b025 5027
290986ed
GB
50282001-12-11 Ed Schonberg <schonber@gnat.com>
5029
5030 * sem_ch8.adb (Find_Selected_Component): improved search for a
5031 candidate package in case of error.
82a4b025 5032
290986ed
GB
5033 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
5034 chain back on scope stack before reinstalling use clauses.
82a4b025 5035
290986ed
GB
5036 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
5037 is enabled, do not kill the code for the condition, to preserve
5038 warning.
5039
84157f51
GB
50402001-12-11 Robert Dewar <dewar@gnat.com>
5041
07fc65c4 5042 * checks.adb (Insert_Valid_Check): Apply validity check to expression
84157f51
GB
5043 of conversion, not to result of conversion.
5044
50452001-12-11 Ed Schonberg <schonber@gnat.com>
82a4b025 5046
07fc65c4
GB
5047 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
5048 before freezing parent. If the declarations are mutually recursive,
5049 an access to the current record type may be frozen before the
84157f51
GB
5050 derivation is complete.
5051
7ffa903f
VC
50522001-12-05 Vincent Celier <celier@gnat.com>
5053
07fc65c4 5054 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
7ffa903f 5055 -c /COMPILE_ONLY, -l /LINK_ONLY
82a4b025 5056
7ffa903f
VC
5057 * opt.ads:
5058 (Bind_Only): New Flag
5059 (Link_Only): New flag
82a4b025 5060
07fc65c4 5061 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
7ffa903f 5062 and -l (Link_Only)
82a4b025 5063
7ffa903f 5064 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
82a4b025 5065
7ffa903f
VC
5066 * make.adb:
5067 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
5068 (Gnatmake): Set the step flags. Only perform a step if the
5069 corresponding step flag is True.
5070 (Scan_Make_Arg): Reset the bind and link step flags when -u
5071 or -gnatc has been specified.
5072
f91b40db
GB
50732001-12-05 Ed Schonberg <schonber@gnat.com>
5074
07fc65c4 5075 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
f91b40db 5076 get bounds from right operand.
82a4b025 5077
f91b40db 5078 * sem_eval.adb: Minor reformatting
82a4b025 5079
07fc65c4 5080 * exp_util.adb (Make_Literal_Range): use bound of literal rather
f91b40db 5081 than Index'First, its lower bound may be different from 1.
82a4b025 5082
07fc65c4 5083 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
f91b40db 5084 and C48009J
82a4b025 5085
f91b40db
GB
50862001-12-05 Vincent Celier <celier@gnat.com>
5087
5088 * prj-nmsc.adb Minor reformatting
82a4b025 5089
07fc65c4 5090 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
f91b40db 5091 set and libraries are not supported.
82a4b025 5092
f91b40db
GB
50932001-12-05 Ed Schonberg <schonber@gnat.com>
5094
07fc65c4
GB
5095 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
5096 private view explicitly, so the back-end can treat as a global
f91b40db
GB
5097 when appropriate.
5098
45d04cbb
GB
50992001-12-05 Ed Schonberg <schonber@gnat.com>
5100
5101 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
5102 unit, always replace instance node with new body, for ASIS use.
5103
51042001-12-05 Vincent Celier <celier@gnat.com>
82a4b025 5105
07fc65c4
GB
5106 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
5107 libraries are not supported and both attributes Library_Name and
45d04cbb 5108 Library_Dir are specified.
82a4b025 5109
07fc65c4 5110 * prj-proc.adb (Expression): Set location of Result to location of
45d04cbb 5111 first term.
82a4b025 5112
45d04cbb
GB
5113 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
5114 (prj-nmsc is now importing MLib.Tgt)
82a4b025 5115
45d04cbb
GB
5116 * prj-proc.adb: Put the change indicated above that was forgotten.
5117
84436014
RD
51182001-12-05 Robert Dewar <dewar@gnat.com>
5119
5120 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
5121
7ae0dcd8
ES
51222001-12-05 Ed Schonberg <schonber@gnat.com>
5123
5124 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
5125 constraint, introduce explicit subtype declaration and derive from it.
82a4b025 5126
7ae0dcd8
ES
5127 * sem_ch3.adb: Minor reformatting
5128
c9a4817d
RD
51292001-12-05 Robert Dewar <dewar@gnat.com>
5130
07fc65c4 5131 * checks.adb (Determine_Range): Increase cache size for checks.
c9a4817d 5132 Minor reformatting
82a4b025 5133
c9a4817d
RD
5134 * exp_ch6.adb: Minor reformatting
5135 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
5136 a parameter whose root type is System.Address, since treating such
5137 subprograms as pure in the code generator is almost surely a mistake
5138 that will lead to unexpected results.
82a4b025 5139
07fc65c4 5140 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
c9a4817d 5141 change handling of conversions.
82a4b025 5142
c9a4817d
RD
5143 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
5144
2514b839
ES
51452001-12-05 Ed Schonberg <schonber@gnat.com>
5146
07fc65c4
GB
5147 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
5148 aggregate with static wrong size, attach generated Raise node to
2514b839
ES
5149 declaration.
5150
457b6274
RD
51512001-12-05 Robert Dewar <dewar@gnat.com>
5152
07fc65c4 5153 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
457b6274
RD
5154 Fixes compilation abandoned bomb in B24009B.
5155
19349925
ES
51562001-12-05 Ed Schonberg <schonber@gnat.com>
5157
5158 * sem_ch12.adb:
5159 Document use of Associated_Node on Selected_Components.
5160 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
5161 to clarify use of untyped descendant fields.
5162
6663c393
RD
51632001-12-05 Robert Dewar <dewar@gnat.com>
5164
5165 * prj-dect.ads: Add ??? comment
5166 Add 2001 to copyright notice (was not done in after all)
82a4b025 5167
6663c393 5168 * prj-part.adb: Minor reformatting. Reword one awkward error message.
82a4b025 5169
6663c393 5170 * prj.ads: Minor reformatting throughout, and add some ??? comments
82a4b025 5171
6663c393
RD
5172 * snames.ads: Minor reformatting
5173
d7b2a6af
GB
51742001-12-05 Geert Bosch <bosch@gnat.com>
5175
5176 * snames.adb: Autoupdate
5177
fbc9a404
VC
51782001-12-05 Vincent Celier <celier@gnat.com>
5179
5180 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
82a4b025 5181
fbc9a404 5182 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
82a4b025 5183
fbc9a404 5184 * prj-env.adb: Minor comment changes (modifying -> extends).
82a4b025 5185
fbc9a404 5186 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
82a4b025 5187
07fc65c4 5188 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
fbc9a404 5189 Tok_Extends.
82a4b025 5190
fbc9a404 5191 * prj.adb (Initialize): Change Modifying to Extends.
82a4b025 5192
fbc9a404 5193 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
82a4b025 5194
fbc9a404 5195 * prj.ads: Minor comment change (Modifying -> extending).
82a4b025 5196
fbc9a404
VC
5197 * snames.ads: Change modifying to extends.
5198
7cff0b1b
RD
51992001-12-05 Robert Dewar <dewar@gnat.com>
5200
07fc65c4 5201 * sem_warn.adb: Remove stuff for conditionals, we are not going to
7cff0b1b 5202 do this after all.
82a4b025 5203
07fc65c4 5204 * sem_warn.ads: Remove stuff for conditionals, we are not going to
7cff0b1b
RD
5205 do this after all. Add 2001 to copyright notice
5206
4f56ebb7
GB
52072001-12-04 Geert Bosch <bosch@gnat.com>
5208
5209 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
5210
053defdf
RD
52112001-12-04 Robert Dewar <dewar@gnat.com>
5212
07fc65c4
GB
5213 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
5214 location if we already have errors. Stops some cases of cascaded
053defdf 5215 errors.
82a4b025 5216
053defdf
RD
5217 * errout.adb: Improve comment.
5218
f311e166
RD
52192001-12-04 Robert Dewar <dewar@gnat.com>
5220
5221 * sem_ch12.adb:
5222 (Analyze_Formal_Type_Definition): Defend against Error.
5223 (Analyze_Formal_Subprogram): Defend against Error.
82a4b025 5224
07fc65c4 5225 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
f311e166
RD
5226 remove following semicolon if present. Removes cascaded error.
5227
d61bd65a
DR
52282001-12-04 Douglas B. Rupp <rupp@gnat.com>
5229
5230 * bindgen.adb:
5231 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
5232 exceptions equals 0.
5233 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
5234 Fixes PIWG E tests (which have to be run with -gnatL).
5235
4ba603e2
RD
52362001-12-04 Robert Dewar <dewar@gnat.com>
5237
5238 * einfo.ads: Minor reformatting
5239
57568d91
ES
52402001-12-04 Ed Schonberg <schonber@gnat.com>
5241
07fc65c4
GB
5242 * einfo.ads: Block_Node points to the identifier of the block, not to
5243 the block node itself, to preserve the link when the block is
5244 rewritten, e.g. within an if-statement with a static condition.
82a4b025 5245
07fc65c4 5246 * inline.adb (Cleanup_Scopes): recover block statement from block
57568d91 5247 entity using new meaning of Block_Node.
82a4b025 5248
07fc65c4 5249 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
57568d91
ES
5250 identifier of block node, rather than to node itself.
5251
0815d36a 52522001-12-04 Gary Dismukes <dismukes@gnat.com>
82a4b025 5253
0815d36a
GD
5254 * layout.adb:
5255 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
5256 (Discrimify): Go back to setting the Etypes of the selected component
07fc65c4 5257 because the Vname component does not exist at this point and will
0815d36a
GD
5258 fail name resolution. Also set Analyzed.
5259 Remove with and use of Sem_Res.
5260
edc0f304
AC
52612001-12-04 Arnaud Charlet <charlet@gnat.com>
5262
5263 * Makefile.in: (HIE_SOURCES): add s-fat*.
5264
32213142
RD
52652001-12-04 Robert Dewar <dewar@gnat.com>
5266
5267 * sem_attr.adb:
5268 (Compile_Time_Known_Attribute): New procedure.
5269 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
5270 proper range check.
5271
c0def2ad
ES
52722001-12-04 Ed Schonberg <schonber@gnat.com>
5273
07fc65c4 5274 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
c0def2ad
ES
5275 processing discriminants to diagnose illegal default values.
5276
ee0a48c5
ES
52772001-12-04 Ed Schonberg <schonber@gnat.com>
5278
07fc65c4
GB
5279 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
5280 access discriminant within a type extension that constrains its
ee0a48c5
ES
5281 parent discriminants.
5282
dd5875a6
ES
52832001-12-04 Ed Schonberg <schonber@gnat.com>
5284
07fc65c4 5285 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
dd5875a6 5286 is malformed, use instance of Any_Id to allow analysis to proceed.
82a4b025 5287
07fc65c4 5288 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
dd5875a6
ES
5289 type definition is illegal.
5290 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
5291 misplaced.
5292
c2a41e57
ES
52932001-12-04 Ed Schonberg <schonber@gnat.com>
5294
07fc65c4 5295 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
c2a41e57
ES
5296 constants.
5297
0ae84753
RD
52982001-12-04 Robert Dewar <dewar@gnat.com>
5299
5300 * errout.adb: Minor reformatting
5301
63db260e
RD
53022001-12-04 Robert Dewar <dewar@gnat.com>
5303
5304 * exp_util.adb: Minor reformatting from last change
82a4b025 5305
07fc65c4
GB
5306 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
5307 which is a rewriting of an expression, traverse the original
63db260e
RD
5308 expression to remove warnings that may have been posted on it.
5309
c6d289f4
ES
53102001-12-04 Ed Schonberg <schonber@gnat.com>
5311
07fc65c4 5312 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
c6d289f4
ES
5313 record that has other packed components.
5314
5917e80d
DR
53152001-12-04 Douglass B. Rupp <rupp@gnat.com>
5316
5317 * adaint.c: Minor cleanups.
5318
2c70f9dd
DR
53192001-12-04 Douglass B. Rupp <rupp@gnat.com>
5320
5321 * adaint.c: Do not use utime.h on vxworks.
5322
e59b3387
AC
53232001-12-04 Arnaud Charlet <charlet@gnat.com>
5324
07fc65c4 5325 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
e59b3387
AC
5326 more confusion than it solves.
5327
e288604a
GB
53282001-12-04 Geert bosch <bosch@gnat.com>
5329
5330 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
5331
5ac21013
GB
53322001-12-04 Geert Bosch <bosch@gnat.com>
5333
07fc65c4 5334 * Makefile.in (update-sources): New target.
5ac21013
GB
5335 For use by gcc_release script.
5336
7dd5bd5e
ES
53372001-12-04 Ed Schonberg <schonber@gnat.com>
5338
07fc65c4 5339 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
7dd5bd5e
ES
5340 a configuration pragma, it is now legal wherever a pragma can appear.
5341
a078a589
ZW
53422001-12-04 Zack Weinberg <zack@codesourcery.com>
5343
5344 * Makefile.in: Don't set ALL. Delete @cross_defines@,
5345 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
5346 is now @CROSS@ -DIN_GCC; update comment.
5347
0839863c
GB
53482001-12-04 Robert Dewar <dewar@gnat.com>
5349
5350 * einfo.adb (Has_Pragma_Pure_Function): New flag.
5351 Fix problem that stopped ceinfo from working
82a4b025 5352
0839863c 5353 * einfo.ads (Has_Pragma_Pure_Function): New flag.
82a4b025 5354
0839863c
GB
5355 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
5356
53572001-12-04 Douglas B. Rupp <rupp@gnat.com>
9678de49
DR
5358
5359 * gnatchop.adb:
5360 (File_Time_Stamp): New procedure.
5361 (Preserve_Mode): New boolean.
5362 (Write_Unit): Pass time stamp.
5363 Implement -p switch (preserve time stamps).
82a4b025 5364
9678de49 5365 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
82a4b025 5366
9678de49 5367 * gnatchop.adb: Do usage info for -p switch
82a4b025 5368
9678de49 5369 * adaint.h (__gnat_set_file_time_name): New function
82a4b025 5370
9678de49 5371 * adaint.c (__gnat_set_file_time_name): Implement
82a4b025 5372
9678de49
DR
5373 * adaint.h: Fix typo
5374
3b9a13c4
RD
53752001-12-03 Robert Dewar <dewar@gnat.com>
5376
667e5c5d 5377 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
b4f94ac1 5378 have Associated_Node.
3b9a13c4 5379
767b404e
RD
53802001-12-03 Robert Dewar <dewar@gnat.com>
5381
5382 * prj-proc.adb: Minor reformatting
667e5c5d 5383
767b404e
RD
5384 * make.adb: Minor reformatting
5385
11ac71ba
GB
53862001-12-03 Geert Bosch <bosch@gnat.com>
5387
667e5c5d 5388 * make.adb: Minor reformatting.
11ac71ba 5389
ef3d4d6e 53902001-12-03 Robert Dewar <dewar@gnat.com>
b1446533
RD
5391
5392 * sem_ch12.adb: Minor reformatting
5393
d6d32b24
ES
53942001-12-03 Ed Schonberg <schonber@gnat.com>
5395
667e5c5d
AJ
5396 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
5397 push Standard on the stack before analyzing the instance body,
d6d32b24 5398 in order to have a clean visibility environment.
667e5c5d
AJ
5399
5400 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
d6d32b24 5401
13f08f03
ES
54022001-12-03 Ed Schonberg <schonber@gnat.com>
5403
667e5c5d 5404 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
13f08f03
ES
5405 instantiation of a body that contains an inlined body.
5406
3bd6c100
ES
54072001-12-03 Ed Schonberg <schonber@gnat.com>
5408
5409 * sem_ch12.adb:
5410 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
5411 to prevent freezing within formal packages.
5412 (Freeze_Subprogram_Body): If body comes from another instance that
5413 appeared before its own body, place freeze node at end of current
5414 declarative part, to prevent a back-end crash.
5415 (Inline_Instance_Body): Handle properly a package instance within
5416 a subprogram instance that is a child unit.
5417
58d07d8f
GS
54182001-12-01 Graham Stott <grahams@redhat.com>
5419
5420 * Makefile.in (misc.o): Add missing $(srcdir) prefix
5421 and add optabs.h dependency.
5422
5423 * misc.c: Include optabs.h
5424 (gnat_tree_code_type): Make static and const.
5425 (gnat_tree_code_length): Likewise.
5426 (gnat_tree_code_name): Likewise.
5427 (update_setjmp_buf): Obtain operands mode from insn_data.
5428
c87222f0
RH
54292001-11-29 Richard Henderson <rth@redhat.com>
5430
5431 * init.c: Remove obsolete dwarf2 frame.h section.
5432
d3945f0a
JM
54332001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
5434
5435 * Make-lang.in (ada.generated-manpages): New dummy target.
5436
9f639397
ES
54372001-11-29 Ed Schonberg <schonber@gnat.com>
5438
667e5c5d
AJ
5439 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
5440 into Command, an array conversion is illegal here. Uncovered by
9f639397
ES
5441 ACATS B460005.
5442
c835e5c6
GB
54432001/11/28 Geert Bosch <bosch@gnat.com>
5444
5445 * init.c: Minor whitespace changes.
5446
49bb4548
DR
54472001-11-28 Doug Rupp <rupp@gnat.com>
5448
667e5c5d 5449 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
49bb4548
DR
5450 signal stack.
5451
ea2417e5
ZW
54522001-11-28 Zack Weinberg <zack@codesourcery.com>
5453
5454 * misc.c (gnat_expand_constant): Move declaration above
5455 definition of lang_hooks.
5456 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
5457 (gnat_init): lang_expand_constant no longer exists.
5458
5459 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
5460 always have vprintf.
5461 (gnat_init): Always call set_internal_error_function.
5462
f8e0aa73
AJ
54632001-11-27 Andreas Jaeger <aj@suse.de>
5464
5465 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
5466
d99b0e79
LG
54672001-11-27 Laurent Guerby <guerby@acm.org>
5468
5469 * Makefile.in: Regenerate Ada dependencies.
5470
3f0496e5
RH
54712001-11-26 Richard Henderson <rth@redhat.com>
5472
5473 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
5474 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
5475 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
5476
92fa4733
LG
54772001-11-25 Laurent Guerby <guerby@acm.org>
5478
5479 * sysdep.c (rts_get_*): Fix style.
5480
07626501
LG
54812001-11-19 Laurent Guerby <guerby@acm.org>
5482
5483 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
5484 since it is of no apparent use and cause warnings.
5485
22703ccc
NB
54862001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
5487
5488 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
5489 static too.
5490 (gnat_init): Don't return NULL.
5491 (finish_parse): Remove.
5492
b0df4321
LG
54932001-11-17 Laurent Guerby <guerby@acm.org>
5494
5495 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
5496 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
5497 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
5498 * lang-spec.h: Add missing struct field to silence warnings.
5499 * sysdep.c (rts_get_*): Provide K&R prototype.
5500 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
5501 * traceback.c (Unlock_Task, Lock_Task): Likewise.
5502 * tracebak.c (__gnat_backtrace): Remove unused variable.
5503 * utils.c (end_subprog_body): Move to K&R style.
5504
d215024f
RK
5505Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5506
5507 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
5508
f5e99456
NB
55092001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
5510
5511 * misc.c (gnat_init): Change prototype. Include the
5512 functionality of the old init_parse and init_decl_processing.
5513 (gnat_init_decl_processing): New prototype.
5514 (init_parse): Remove.
5515 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
5516
5d69f816
NB
55172001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5518
5519 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
5520 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
5521 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
5522 set_yydebug): Remove.
5523
3ac88239
NB
55242001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5525
5526 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
5527 (struct lang_hooks): Constify.
5528 (language_string, lang_identify): Remove.
5529 * utils.c (init_decl_processing): Update.
5530
d23c55c2
NB
55312001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5532
5533 * misc.c: Include langhooks-def.h.
5534 * Makefile.in: Update.
5535
04a1b79c
RD
55362001-10-30 Robert Dewar <dewar@gnat.com>
5537
5538 * style.adb:
5539 (Check_Identifier): Rewrite circuit to be compatible with use of letters
5540 in the upper half of ASCII.
5541 (Check_Identifier): Minor reformatting
5542
81fa2d39
GB
55432001-10-30 Geert Bosch <bosch@gnat.com>
5544
f8e0aa73 5545 * (Associated_Node, Set_Associated_Node): Do not check for
81fa2d39
GB
5546 Freeze_Entity.
5547
ffc5527f
RD
55482001-10-30 Robert Dewar <dewar@gnat.com>
5549
5550 * a-reatim.ads: Minor reformatting
5551
865335eb
RD
55522001-10-30 Robert Dewar <dewar@gnat.com>
5553
f8e0aa73 5554 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
865335eb
RD
5555 undocumented declarations.
5556
5e257178
PO
55572001-10-30 Pascal Obry <obry@gnat.com>
5558
f8e0aa73 5559 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5e257178
PO
5560 to the binder and linker.
5561 Minor style fix.
f8e0aa73 5562
5e257178
PO
5563 * mdll.ads: Fix layout. Update copyright notice.
5564
5565 * mdll.adb: Fix layout. Update copyright notice.
5566
1753e0ad
RD
55672001-10-30 Robert Dewar <dewar@gnat.com>
5568
5569 * usage.adb: Minor fix to output for -gnaty.
5570
84bfdde0
ES
55712001-10-30 Ed Schonberg <schonber@gnat.com>
5572
f8e0aa73
AJ
5573 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
5574 to accommodate all its possible values.
84bfdde0 5575
f8e0aa73 5576 * a-reatim.adb (Split): Special-case handling of Time_Span_First
84bfdde0
ES
5577 and of small absolute values of T.
5578
c296e5fc
RK
55792001-10-30 Richard Kenner <kenner@gnat.com>
5580
f8e0aa73
AJ
5581 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
5582 set_mem_attributes since not needed and wrong if RESULT if a REG;
c296e5fc
RK
5583 fixes ACATS failures.
5584
07c809df
GB
55852001-10-30 Geert Bosch <bosch@gnat.com>
5586
5587 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
5588 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
5589
54d22416 55902001-10-30 Robert Dewar <dewar@gnat.com>
f8e0aa73 5591
54d22416 5592 * bindusg.adb: Undocument -f switch.
f8e0aa73 5593
54d22416 5594 * gnatcmd.adb: Remove /FULL_ELABORATION.
f8e0aa73
AJ
5595
5596 * opt.ads (Force_RM_Elaboration_Order): Document that this is
54d22416 5597 obsolescent.
f8e0aa73 5598
54d22416 5599 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
f8e0aa73 5600
54d22416
RD
5601 * gnatbind.adb: Minor update of warning msg.
5602
af5cf6f8
VC
56032001-10-30 Vincent Celier <celier@gnat.com>
5604
f8e0aa73 5605 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
af5cf6f8 5606 for project file switches (-P (/PROJECT_FILE=),
f8e0aa73 5607 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
af5cf6f8
VC
5608 or MEDIUM or HIGH)
5609
984bc4c3
GB
56102001-10-30 Geert Bosch <bosch@gnat.com>
5611
5612 * decl.c: Minor whitespace fixes.
5613
5dece937
RK
56142001-10-30 Richard Kenner <kenner@gnat.com>
5615
5616 * utils2.c (build_allocator): Test for SIZE overflow in array case too
5617
de4bf6cb
GB
56182001-10-30 Geert Bosch <bosch@gnat.com>
5619
f8e0aa73 5620 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
de4bf6cb 5621 Found due to GCC 3.0 warning of using uninitialized value.
f8e0aa73 5622
de4bf6cb
GB
5623 * layout.adb:
5624 (Get_Max_Size): Use variant record for tracking value/expression.
5625 Makes logic clearer and prevents warnings for uninitialized variables.
5626 (Layout_Array_Type): Use variant record for tracking value/expression.
5627 Makes logic clearer and prevents warnings for uninitialized variables.
5628
f5e44987
RD
56292001-10-30 Robert Dewar <dewar@gnat.com>
5630
5631 * lib.adb: Minor reformatting
5632
5633 * s-taprop.ads: Minor reformatting
5634
45659035 56352001-10-29 Laurent Guerby <guerby@acm.org>
f8e0aa73 5636
45659035
GB
5637 * init.c:
5638 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
5639 const.
5640 (_gnat_error_handler): Make MSG const.
5641
56422001-10-29 Richard Kenner <kenner@gnat.com>
5643
5644 * sysdep.c: Fix localtime_r problem on LynxOS.
5645 Also remove #elif to avoid warnings.
f8e0aa73
AJ
5646
5647 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
45659035 5648 used by this.
f8e0aa73 5649
45659035
GB
5650 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
5651
638e383e
JM
56522001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5653
5654 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
5655 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
5656 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
5657 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
5658 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
5659 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
5660 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
5661 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
5662 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
5663 types.ads, urealp.adb: Fix spelling errors.
5664
97f6baa0
LG
56652001-10-27 Laurent Guerby <guerby@acm.org>
5666
5667 * trans.c (gigi): Fix non determinism leading to bootstrap
5668 comparison failures for debugging information.
5669
46b58b8c
FW
56702001-10-26 Florian Weimer <fw@deneb.enyo.de>
5671
5672 * gnat_rm.texi: Use @./@: where appropriate.
5673
30151c7b
RD
56742001-10-26 Robert Dewar <dewar@gnat.com>
5675
5676 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
5677
c0b1738d
RK
56782001-10-26 Richard Kenner <kenner@gnat.com>
5679
5680 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
5681
5b09c153
RK
56822001-10-26 Richard Kenner <kenner@gnat.com>
5683
f8e0aa73 5684 * decl.c (validate_size): Modify message for bad size to avoid
5b09c153
RK
5685 implication that compiler is modifying the size.
5686
4d553668
RD
56872001-10-26 Robert Dewar <dewar@gnat.com>
5688
5689 * prj-util.adb: Minor reformatting. Fix bad header format.
5690
3e542a58
RD
56912001-10-26 Robert Dewar <dewar@gnat.com>
5692
5693 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
f8e0aa73 5694
3e542a58 5695 * sinfo.ads: Clarify use of Associated_Node (documentation only).
f8e0aa73
AJ
5696
5697 * sem_ch12.adb: Change Node4 to Associated_Node. Change
5698 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
3e542a58
RD
5699 much more narrowly in places where needed. These are cleanups.
5700
0bf08bfe
JB
57012001-10-26 Joel Brobecker <brobecke@gnat.com>
5702
5703 * 5zosinte.ads (null_pthread): new constant.
f8e0aa73 5704
0bf08bfe
JB
5705 * 5ztaprop.adb:
5706 (Initialize_TCB): Initialize thread ID to null, to be able to verify
5707 later that this field has been set.
5708 (Finalize_TCB): ditto.
5709 (Suspend_Task): Verify that the thread ID is not null before using it.
5710 (Resume_Task): ditto.
f8e0aa73 5711
0bf08bfe
JB
5712 * s-tasdeb.adb:
5713 (Resume_All_Tasks): Lock the tasks list before using it.
5714 (Suspend_All_Tasks): ditto.
5715
7a3a8c06
RK
57162001-10-26 Richard Kenner <kenner@gnat.com>
5717
f8e0aa73 5718 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
7a3a8c06
RK
5719 Make constant variant of designated type for Is_Access_Constant.
5720 Call update_pointer_to with main variant.
f8e0aa73
AJ
5721
5722 * trans.c (process_freeze_entity, process_type):
7a3a8c06 5723 Call update_pointer_to on main variant.
f8e0aa73 5724
7a3a8c06
RK
5725 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
5726 If main variant, update all other variants.
f8e0aa73
AJ
5727
5728 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
7a3a8c06
RK
5729 TREE_STATIC.
5730
a160babb
RD
57312001-10-26 Robert Dewar <dewar@gnat.com>
5732
5733 * prj-util.adb: Minor reformatting
5734
b403bd17
RD
57352001-10-26 Robert Dewar <dewar@gnat.com>
5736
5737 * prj-util.adb: Minor reformatting
5738
5fc3b4c7
RD
57392001-10-26 Robert Dewar <dewar@gnat.com>
5740
5741 * prj-attr.adb: Minor reformatting throughout
5742
8c736034
RD
57432001-10-26 Robert Dewar <dewar@gnat.com>
5744
5745 * prj-attr.ads: Minor reformatting
5746 Add ??? comment (this whole spec has almost no comments)
5747
47d5b6ed
VC
57482001-10-26 Vincent Celier <celier@gnat.com>
5749
f8e0aa73 5750 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
b4f94ac1 5751 ("//") that precede the drive letter on Interix.
47d5b6ed 5752
41af791f
GB
57532001-10-26 Geert Bosch <bosch@gnat.com>
5754
5755 * gnat_rm.texi: Add GNAT Reference Manual.
5756
ed4a1468
RD
57572001-10-25 Robert Dewar <dewar@gnat.com>
5758
f8e0aa73 5759 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
b4f94ac1 5760 is Error. Similar change for other renaming cases.
ed4a1468 5761
24377ae4
RD
57622001-10-25 Robert Dewar <dewar@gnat.com>
5763
5764 * s-atacco.ads: Add pragma Inline_Always for functions.
5765 Fix header format. Add copyright 2001
5766
fef3204e
ES
57672001-10-25 Ed Schonberg <schonber@gnat.com>
5768
f8e0aa73 5769 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
b4f94ac1 5770 return Error rather than Empty so that analysis can proceed.
fef3204e 5771
dfc69d80
ES
57722001-10-25 Ed Schonberg <schonber@gnat.com>
5773
f8e0aa73 5774 * sem_util.adb (Enter_Name): better handling of cascaded error
b4f94ac1 5775 messages when a unit appears in its own context.
dfc69d80 5776
5a15af62
ES
57772001-10-25 Ed Schonberg <schonber@gnat.com>
5778
f8e0aa73 5779 * sem_util.adb (Defining_Entity): in case of error, attach created
b4f94ac1 5780 entity to specification, so that semantic analysis can proceed.
5a15af62 5781
2b881d53
RD
57822001-10-25 Robert Dewar <dewar@gnat.com>
5783
f8e0aa73 5784 * sem_util.adb
b4f94ac1 5785 (Defining_Entity): Deal with Error.
2b881d53
RD
5786 (Process_End_Label): Deal with bad end label for.
5787
578053f2
ES
57882001-10-25 Ed Schonberg <schonber@gnat.com>
5789
f8e0aa73 5790 * sem_elab.adb (Check_A_Call): refine message when call is in an
578053f2
ES
5791 instance but callee is not declared in the generic unit.
5792
0597ce0b 57932001-10-25 Ed Schonberg <schonber@gnat.com>
f8e0aa73
AJ
5794
5795 * sem_elab.adb (Check_A_Call): check for renaming before finding the
0597ce0b
ES
5796 enclosing unit, which may already be different from the calling unit.
5797
3de6e6da
GB
57982001-10-25 Geert Bosch <bosch@gnat.com>
5799
5800 * 4gintnam.ads: fix header format.
5801
6f311316
ES
58022001-10-25 Ed Schonberg <schonber@gnat.com>
5803
f8e0aa73 5804 * sem_res.adb (Resolve_Call): if the call is actually an indexing
b4f94ac1
ZW
5805 operation on the result of a parameterless call, perform elaboration
5806 check after the node has been properly rewritten.
f8e0aa73
AJ
5807
5808 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
b4f94ac1
ZW
5809 inlined within the generic tree, the defining identifier is not a
5810 compilation_unit.
6f311316 5811
17be0cdf
ES
58122001-10-25 Ed Schonberg <schonber@gnat.com>
5813
f8e0aa73 5814 * sem_res.adb (Resolve): special-case resolution of Null in an
b4f94ac1 5815 instance or an inlined body to avoid view conflicts.
f8e0aa73
AJ
5816
5817 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
b4f94ac1 5818 compatibility by retrieving the access type of the generic copy.
17be0cdf 5819
ce9e9122
RD
58202001-10-25 Robert Dewar <dewar@gnat.com>
5821
5822 * sem_ch3.adb:
5823 (Analyze_Number_Declaration): Handle error expression.
5824 (Signed_Integer_Type_Declaration): Handle error bound.
5825 (Analyze_Subtype_Indication): Handle error range.
f8e0aa73 5826
ce9e9122
RD
5827 * sem_util.adb (Get_Index_Bounds): Check for Error.
5828
e12fbc9e
RD
58292001-10-25 Robert Dewar <dewar@gnat.com>
5830
f8e0aa73 5831 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
e12fbc9e
RD
5832 in no run time mode.
5833
52b80488
PO
58342001-10-25 Pascal Obry <obry@gnat.com>
5835
f8e0aa73 5836 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
b4f94ac1 5837 mode case for ALLOC case.
f8e0aa73
AJ
5838
5839 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
b4f94ac1 5840 all platforms. Improvement of last change.
52b80488 5841
316ad9c5
RD
58422001-10-25 Robert Dewar <dewar@gnat.com>
5843
5844 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
5845
1a7e4df4
GB
58462001-10-25 Geert Bosch <bosch@gnat.com>
5847
5848 * osint.adb (Is_Relative): Remove duplicate.
5849
90a9fff2
PO
58502001-10-25 Pascal Obry <obry@gnat.com>
5851
f8e0aa73 5852 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
b4f94ac1 5853 pathnames in UNIX and DOS style with drive letter.
90a9fff2 5854 (Is_Relative): new routine.
f8e0aa73 5855
90a9fff2 5856 * osint.adb: Minor reformatting
f8e0aa73
AJ
5857
5858 * osint.adb (Is_Relative): implementation using
b4f94ac1 5859 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
90a9fff2 5860
5c1ba4cc
PO
58612001-10-25 Pascal Obry <obry@gnat.com>
5862
f8e0aa73 5863 * g-dirope.adb (Basename): correctly compute offset between the
b4f94ac1 5864 original Path and the translated one.
f8e0aa73 5865
5c1ba4cc
PO
5866 * g-dirope.adb: (Base_Name): add some comments.
5867
a7fb206d
RD
58682001-10-25 Robert Dewar <dewar@gnat.com>
5869
f8e0aa73 5870 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
b4f94ac1 5871 in HIE mode, avoids compilation abandoned message
f8e0aa73 5872
a7fb206d 5873 * exp_imgv.adb: Correct typo in previous change
f8e0aa73 5874
a7fb206d
RD
5875 * exp_imgv.adb: Correct typo in previous change (not my day!)
5876
e6a7e62e
RD
58772001-10-25 Robert Dewar <dewar@gnat.com>
5878
5879 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
5880
0d2b8e0b 58812001-10-25 Pascal Obry <obry@gnat.com>
75c09e7d 5882
f8e0aa73 5883 * g-awk.ads: Move all pragma inlines next to the routine
0d2b8e0b 5884 declarations. This is more uniform with other GNAT spec.
75c09e7d 5885
0d2b8e0b 58862001-10-22 Geert Bosch <bosch@gnat.com>
d2740a69
GB
5887
5888 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
5889
0d2b8e0b 58902001-10-19 Geert Bosch <bosch@gnat.com>
d7ac9bdd
GB
5891
5892 * Makefile.in (tools, gnattools): Remove gnatmem.
5893
17ed6335
RH
58942001-10-17 Richard Henderson <rth@redhat.com>
5895
5896 * Makefile.in (misc.o): Depend on langhooks.h.
5897 * misc.c: Include it.
5898 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
5899 (LANG_HOOKS_DECODE_OPTION): New.
5900 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
5901
f2436274
FW
59022001-10-16 Florian Weimer <fw@deneb.enyo.de>
5903
5904 * trans.c (tree_transform): Adjust to recent change in
5905 expand_asm_operands to implement named asm operands.
5906
b14127e6
ES
59072001-10-11 Ed Schonberg <schonber@gnat.com>
5908
f8e0aa73 5909 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
b14127e6
ES
5910 renaming of discriminant for mutable record type.
5911
e70ee92a
RD
59122001-10-11 Robert Dewar <dewar@gnat.com>
5913
5914 * validsw.adb: Properly save -gnatVn status.
5915
9a5621d7 59162001-10-11 Robert Dewar <dewar@gnat.com>
f8e0aa73 5917
9a5621d7
RD
5918 * usage.adb: Add lines for V switch.
5919
f8e0aa73 5920 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
9a5621d7
RD
5921 (/VALIDITY_CHECKING).
5922
45667f04
ES
59232001-10-11 Ed Schonberg <schonber@gnat.com>
5924
f8e0aa73 5925 * sem_type.adb (Add_One_Interp): an operator for a type declared in
45667f04
ES
5926 an extension of System is known to be visible.
5927
c3de5c4c
ES
59282001-10-11 Ed Schonberg <schonber@gnat.com>
5929
f8e0aa73 5930 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
c3de5c4c
ES
5931 properly. Fixes regression on ACATS C34005G.
5932
4fa964a6
RD
59332001-10-11 Robert Dewar <dewar@gnat.com>
5934
f8e0aa73 5935 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
4fa964a6
RD
5936 loop in generic instance, since this is likely not very useful.
5937
0868e09c
RD
59382001-10-11 Robert Dewar <dewar@gnat.com>
5939
f8e0aa73 5940 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
0868e09c 5941 the error message for high integrity mode.
f8e0aa73
AJ
5942
5943 * rtsfind.adb (RTE): Give message if we try to find an entity that
0868e09c 5944 is not available in high integrity mode.
f8e0aa73 5945
0868e09c
RD
5946 * rtsfind.ads:
5947 (OK_To_Use_In_HIE_Mode): New array.
5948 (RTE): May return Empty in high integrity mode.
f8e0aa73
AJ
5949
5950 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
5951 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
5952
5953 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
5954 unit if not inlined always and in no runtime mode. Fixes problem
0868e09c 5955 caused by new Rtsfind changes.
f8e0aa73
AJ
5956
5957 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
0868e09c 5958 body is deleted.
f8e0aa73
AJ
5959
5960 * rtsfind.adb (RTE): Make sure we do not try to load unit after
0868e09c
RD
5961 giving message for entity not available in high integrity mode.
5962
934abf9c 59632001-10-11 Pascal Obry <obry@gnat.com>
f8e0aa73 5964
934abf9c
PO
5965 * impunit.adb: Add GNAT.CRC32.
5966
3c72bea4
ES
59672001-10-11 Ed Schonberg <schonber@gnat.com>
5968
f8e0aa73
AJ
5969 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
5970 properly the case where one universal operand in a non-static
3c72bea4
ES
5971 exponentiation of a real literal.
5972
44d8d2bb
ES
59732001-10-11 Ed Schonberg <schonber@gnat.com>
5974
f8e0aa73
AJ
5975 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
5976 clause, return the gobal finalization list, for lack of anthing else.
44d8d2bb 5977
9e2b9627
ES
59782001-10-11 Ed Schonberg <schonber@gnat.com>
5979
f8e0aa73
AJ
5980 * exp_ch7.adb (Make_Transient_Block): if statement is within
5981 exception handler, always use new transient scope to place Clean
9e2b9627
ES
5982 procedure.
5983
cfac6e9f
PO
59842001-10-11 Pascal Obry <obry@gnat.com>
5985
5986 * Makefile.in:
5987 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
5988 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
5989 (GNATLS_RTL_OBJS): add g-crc32.o
5990 (GNATMAKE_RTL_OBJS): add g-crc32.o
f8e0aa73 5991
cfac6e9f
PO
5992 * ali-util.adb:
5993 (CRC_Match): new function.
f8e0aa73 5994 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
cfac6e9f
PO
5995 instead of the previous simple checksum algorithm.
5996 (Time_Stamp_Mismatch): use CRC_Match for comparison.
5997 (Set_Source_Table): idem.
f8e0aa73 5998
cfac6e9f 5999 * ali-util.ads:
f8e0aa73 6000 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
cfac6e9f
PO
6001 instead of simple checksum.
6002 (CRC_Match): new function.
6003 (CRC_Error): new constant.
f8e0aa73
AJ
6004
6005 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
6006 a CRC now and not a simple checksum. A CRC uses lower-case hex
cfac6e9f 6007 letters, fixes ambiguity in parsing.
f8e0aa73
AJ
6008
6009 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
cfac6e9f 6010 is what this variable will store.
f8e0aa73 6011
cfac6e9f 6012 * bcheck.adb: Change reference to chechsum in comments by CRC.
f8e0aa73
AJ
6013 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
6014 rename All_Checksum_Match to All_CRC_Match. Change due to API
6015 renaming since now GNAT does not use a simple checksum but a
cfac6e9f 6016 CRC using GNAT.CRC32.
f8e0aa73
AJ
6017
6018 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
cfac6e9f 6019 now and not anymore a simple checksum.
f8e0aa73
AJ
6020
6021 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
cfac6e9f 6022 places.
f8e0aa73 6023
cfac6e9f 6024 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
f8e0aa73 6025
cfac6e9f
PO
6026 * scans.adb:
6027 (Restore_Scan_State): rename Checksum to CRC.
6028 (Save_Scan_State): idem.
f8e0aa73 6029
cfac6e9f
PO
6030 * scans.ads:
6031 With GNAT.CRC32.
6032 (Checksum): rename to CRC.
6033 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
f8e0aa73
AJ
6034
6035 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 6036 GNAT.CRC32). Update copyright notice.
f8e0aa73
AJ
6037
6038 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 6039 GNAT.CRC32). Update copyright notice.
f8e0aa73 6040
cfac6e9f
PO
6041 * scn.adb:
6042 (Accumulate_Checksum): removed.
6043 (Update): new procedure. Add a wide-character into the CRC.
f8e0aa73 6044
cfac6e9f
PO
6045 * sinput-l.adb:
6046 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
f8e0aa73 6047 (Load_File): fix initialization of S (change Source_Checksum to
cfac6e9f 6048 Source_CRC)
f8e0aa73
AJ
6049
6050 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
cfac6e9f 6051 Source_CRC in S initialization.
f8e0aa73 6052
cfac6e9f 6053 * sinput.adb (Source_Checksum): renamed to Source_CRC.
f8e0aa73 6054
cfac6e9f
PO
6055 * sinput.ads (Source_Checksum): renamed to Source_CRC.
6056 Update comments for the CRC.
f8e0aa73 6057
cfac6e9f 6058 * types.adb (Hex): Use lowercase for the letter part.
f8e0aa73
AJ
6059
6060 * types.ads (Get_Hex_String): Returns the hexadecimal representation
6061 for a word. This is currently used only for CRC. In previous version,
6062 the checksum was using a representation with all letter being
6063 upper-case. With the new implementation (using CRC) we do not remove
6064 the 32th bit of the CRC, so we can have an upper-case starting letter
6065 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
6066 It is ambigous since the CRC was optional and could be followed by
6067 options like EB, EE. So now this routines uses lower-case letter for
6068 the hexadecimal representation. Strange enough only lower case letters
cfac6e9f 6069 where checked in Scan_ALI (even if this was not a possible case).
f8e0aa73 6070
cfac6e9f 6071 * gnatvsn.ads (Library_Version): changed to 3.15a.
f8e0aa73
AJ
6072
6073 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
cfac6e9f 6074 for the compiler.
f8e0aa73
AJ
6075
6076 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
cfac6e9f 6077 for the compiler.
f8e0aa73 6078
cfac6e9f
PO
6079 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
6080 Add 2001 to copyright notice
6081 (Accumulate_Checksum): Modify to use System.CRC32.
f8e0aa73
AJ
6082
6083 * ali-util.ads: Redo changes of previous revision to continue to use
cfac6e9f 6084 the word Checksum. Add 2001 to copyright notice.
f8e0aa73 6085
cfac6e9f
PO
6086 * ali.adb: Undo some of previous changes, not needed.
6087 Keep the change for lower case letters in the checksum.
f8e0aa73 6088
cfac6e9f
PO
6089 * ali.ads: Undo previous change not needed.
6090
6091 * bcheck.adb: Undo most of previous change, not needed.
6092 But do use Checksums_Match for checksum comparison.
f8e0aa73 6093
cfac6e9f
PO
6094 * gnatls.adb: Undo most of previous change, not needed.
6095 But do use Checksums_Match for comparing checksums.
f8e0aa73 6096
cfac6e9f 6097 * lib-load.adb: Undo previous change, not needed.
f8e0aa73 6098
cfac6e9f 6099 * lib-writ.adb: Undo previous change, not needed.
f8e0aa73
AJ
6100
6101 * lib-writ.ads: Document that checksums use lower case,
cfac6e9f 6102 not upper case letters.
f8e0aa73 6103
cfac6e9f 6104 * scans.adb: Undo previous change, not needed
f8e0aa73 6105
cfac6e9f 6106 * scans.ads: Undo previous change, not needed.
f8e0aa73 6107
cfac6e9f 6108 * scn-nlit.adb: Undo previous changes, not needed.
f8e0aa73 6109
cfac6e9f 6110 * scn-slit.adb: Undo previous change, not needed. Fix header format.
f8e0aa73 6111
cfac6e9f
PO
6112 * scn.adb:
6113 (Accumulate_Checksum): Use System.CRC32.
6114 (Initialize_Checksum): New procedure.
6115 Remove other changes of previous revision.
f8e0aa73 6116
cfac6e9f 6117 * sinput-p.adb: Undo previous change, not needed.
f8e0aa73 6118
cfac6e9f
PO
6119 * sinput.adb: Undo previous change, not needed.
6120
6121 * sinput-l.adb: Undo previous change, not needed.
f8e0aa73
AJ
6122
6123 * sinput.ads: Undo previous change, not needed. Keep only comment
cfac6e9f 6124 on new checksum algorithm
f8e0aa73 6125
cfac6e9f
PO
6126 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
6127 Also remove a-tags and a-stream from GNAT sources.
f8e0aa73 6128
cfac6e9f 6129 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
f8e0aa73 6130
cfac6e9f
PO
6131 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
6132
4d6d06a5
GB
61332001-10-11 Geert Bosch <bosch@gnat.com>
6134
6135 * einfo.h: Regenerate.
6136
6137 * nmake.ads: Regenerate.
6138
6139 * nmake.adb: Regenerate.
6140
6141 * sinfo.h: Regenerate.
6142
6143 * treeprs.adb: Regenerate.
6144
c97412e2
GB
61452001-10-10 Geert Bosch <bosch@gnat.com>
6146
6147 * gnat-style.texi: New file describing coding guidelines for Ada.
f8e0aa73 6148
b83018ca
ES
61492001-10-10 Ed Schonberg <schonber@gnat.com>
6150
f8e0aa73 6151 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
b83018ca
ES
6152 is Flag174.
6153
e834fe1f
GB
61542001-10-10 Geert Bosch <bosch@gnat.com>
6155
6156 * snames.ads: Add new names for project facility.
6157
6158 * snames.adb: Update to reflect snames.ads changes.
6159
6160 * snames.h: Update to reflect snames.ads changes.
6161
b30668b7
VC
61622001-10-10 Vincent Celier <celier@gnat.com>
6163
6164 * make.adb:
6165 (Add_Switches): reflect the changes for the switches attributes
6166 Default_Switches indexed by the programming language,
6167 Switches indexed by the file name.
6168 (Collect_Arguments_And_Compile): Idem.
6169 Reflect the attribute name changes.
f8e0aa73 6170
b30668b7
VC
6171 * prj-attr.adb:
6172 (Initialisation_Data): Change the names of some packages and
6173 attributes.
6174 (Initialize): process case insensitive associative arrays.
f8e0aa73 6175
b30668b7
VC
6176 * prj-attr.ads:
6177 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
f8e0aa73 6178
b30668b7
VC
6179 * prj-dect.adb:
6180 (Parse_Attribute_Declaration): For case insensitive associative
6181 arrays, set the index string to lower case.
f8e0aa73 6182
b30668b7
VC
6183 * prj-env.adb:
6184 Reflect the changes of the project attributes.
f8e0aa73 6185
b30668b7
VC
6186 * prj-nmsc.adb:
6187 Replace Check_Naming_Scheme by Ada_Check and
6188 Language_Independent_Check.
f8e0aa73 6189
b30668b7
VC
6190 * prj-nmsc.ads:
6191 Replaced Check_Naming_Scheme by 2 procedures:
6192 Ada_Check and Language_Independent_Check.
f8e0aa73 6193
b30668b7
VC
6194 * prj-proc.adb:
6195 (Process_Declarative_Items): For case-insensitive associative
6196 arrays, set the index string to lower case.
6197 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
6198 Prj.Nmsc.Check_Naming_Scheme.
f8e0aa73 6199
b30668b7
VC
6200 * prj-tree.adb:
6201 (Case_Insensitive): New function
6202 (Set_Case_Insensitive): New procedure
f8e0aa73 6203
b30668b7
VC
6204 * prj-tree.ads:
6205 (Case_Insensitive): New function
6206 (Set_Case_Insensitive): New procedure
6207 (Project_Node_Record): New flag Case_Insensitive.
f8e0aa73 6208
b30668b7
VC
6209 * prj-util.adb:
6210 (Value_Of): new function to get the string value of a single
6211 string variable or attribute.
f8e0aa73 6212
b30668b7
VC
6213 * prj-util.ads:
6214 (Value_Of): new function to get the string value of a single
6215 string variable or attribute.
f8e0aa73 6216
b30668b7
VC
6217 * prj.adb:
6218 (Ada_Default_Spec_Suffix): New function
6219 (Ada_Default_Impl_Suffix): New function
6220 Change definitions of several constants to reflect
6221 new components of record types.
f8e0aa73 6222
b30668b7
VC
6223 * prj.ads:
6224 (Naming_Data): Change several components to reflect new
6225 elements of naming schemes.
6226 (Project_Data): New flags Sources_Present and
6227 Language_Independent_Checked.
6228 (Ada_Default_Spec_Suffix): New function.
6229 (Ada_Default_Impl_Suffix): New function.
f8e0aa73 6230
b30668b7
VC
6231 * snames.ads:
6232 Modification of predefined names for project manager: added
6233 Implementation, Specification_Exceptions, Implementation_Exceptions,
6234 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
6235 Default_Switches, _Languages, Builder, Cross_Reference,
6236 Finder. Removed Body_Part, Specification_Append, Body_Append,
6237 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
6238 Gnatlink.
f8e0aa73 6239
b30668b7
VC
6240 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6241 Add comments.
f8e0aa73 6242
b30668b7
VC
6243 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
6244 not that it is Nil_Variable_Value.
f8e0aa73 6245
b30668b7
VC
6246 * prj.ads: Add ??? for uncommented declarations
6247
662e57b4
ES
62482001-10-10 Ed Schonberg <schonber@gnat.com>
6249
f8e0aa73
AJ
6250 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
6251 constant, do not indicate possible modification, so that gigi can
662e57b4
ES
6252 treat it as a bona fide constant.
6253
72e4357f
RD
62542001-10-10 Robert Dewar <dewar@gnat.com>
6255
6256 * sem_prag.adb: Add processing for pragma External.
f8e0aa73 6257
72e4357f 6258 * snames.ads: Add entry for pragma External.
f8e0aa73 6259
72e4357f 6260 * par-prag.adb: Add pragma External.
f8e0aa73 6261
72e4357f
RD
6262 * snames.adb: Updated to match snames.ads.
6263
7bc1c7df
ES
62642001-10-10 Ed Schonberg <schonber@gnat.com>
6265
6266 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
6267 a dynamic task if the allocator appears in an indexed assignment
6268 or selected component assignment.
f8e0aa73
AJ
6269
6270 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
6271 For a dynamic task in an assignment statement, use target of
7bc1c7df
ES
6272 assignment to generate meaningful name.
6273
c84700e7
ES
62742001-10-10 Ed Schonberg <schonber@gnat.com>
6275
f8e0aa73 6276 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
c84700e7
ES
6277 a generic package.
6278
6279 * einfo.ads: Body_Entity is also defined for generic package.
6280 Documentation change only
f8e0aa73
AJ
6281
6282 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
6283 others_choice for a discriminated component initialization,
6284 convert discriminant references into the corresponding discriminals.
6285
6286 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
6287 only if original type is private and expression has to be wrapped
c84700e7 6288 in a conversion.
f8e0aa73
AJ
6289
6290 * checks.adb:
6291 (Apply_Constraint_Check): Do not perform length check
c84700e7 6292 if expression is an aggregate with only an others_choice.
f8e0aa73 6293 (Length_N_Cond): two references to the same in_parameter
c84700e7
ES
6294 (typically the discriminal in an init_proc) denote the same value.
6295 Two useful optimization uncovered by bugfixes above.
6296
d8d80dcd
RD
62972001-10-10 Robert Dewar <dewar@gnat.com>
6298
f8e0aa73 6299 * xeinfo.adb: Change int to char in translation of enumeration types.
d8d80dcd
RD
6300 This fixes a problem in the C representation of component alignment.
6301 Add 2001 to copyright notice
6302
a8fee948
RK
63032001-10-10 Richard Kenner <kenner@gnat.com>
6304
f8e0aa73 6305 * decl.c: (validate_size): Do check size of object of integral type
a8fee948
RK
6306 if it is a packed array type.
6307
c2d7fe59
RK
63082001-10-10 Richard Kenner <kenner@gnat.com>
6309
f8e0aa73 6310 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
c2d7fe59
RK
6311 VAR_DECL for constant if not Is_Public but -O0.
6312
fb75e100
RK
63132001-10-10 Richard Kenner <kenner@gnat.com>
6314
6315 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
6316
1724557a
GB
63172001-10-10 Geert Bosch <bosch@gnat.com>
6318
f8e0aa73 6319 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
1724557a
GB
6320 use '/' as switch character, allowing for absolute file names.
6321
9f2f9eb6
JM
63222001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6323
6324 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
6325 FSF address.
6326
8fecf41d
GB
63272001-10-08 Geert Bosch <bosch@gnat.com>
6328
6329 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
6330 Automatically build utilities when files need to be regenerated.
6331
589f1edf
GB
63322001-10-08 Geert Bosch <bosch@gnat.com>
6333
6334 * xsnames.adb: New utility for updating snames.ads and snames.adb
6335
67f28219
ZW
63362001-10-08 Zack Weinberg <zack@codesourcery.com>
6337
6338 * Make-lang.in (ADAFLAGS): Add -W -Wall.
6339 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
6340 (gnat1): Also depend on attribs.o.
6341 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
6342 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
6343 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
6344 (ADAFLAGS): Add -W -Wall.
6345 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
6346 take out CFLAGS.
6347
6348 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
6349 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
6350 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
6351 Use $(ADAC), not $(CC), as compilation command.
6352
6353 (gnattools): Depend directly on tools to build, don't use
6354 recursive make.
6355 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
6356
6357 * einfo.h, sinfo.h: New files (autogenerated).
6358
295ef2bb
RH
63592001-10-08 Richard Henderson <rth@redhat.com>
6360
6361 * comperr.adb (Abort_In_Progress): New.
6362 (Compiler_Abort): Use it to prevent recursion.
6363
5c736541
RD
63642001-10-08 Robert Dewar <dewar@gnat.com>
6365
6366 * atree.adb: Set Error_Posted in Error node, helps error recovery.
67f28219
ZW
6367
6368 * par-endh.adb (Output_End_Expected): We should also not test
5c736541 6369 Error_Posted on the Error node, since now it is always set.
67f28219
ZW
6370
6371 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
5c736541 6372 to help error recovery. Part of general work on 9407-004.
67f28219 6373
5c736541 6374 * par.adb: Add ??? for misuse of error
67f28219 6375
5c736541
RD
6376 * sem_res.adb:
6377 (Resolve): Defend against Error, fixes 9407-003.
6378 (Resolve_Discrete_Subtype_Indication): Defend against Error.
67f28219
ZW
6379
6380 * sinfo.ads (N_Error): Now has Etype field (which will be set
5c736541
RD
6381 to Any_Type to help error recovery).
6382
a153ae15
RK
63832001-10-08 Richard Kenner (kenner@gnat.com)
6384
6385 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
6386 Consistently set MEM attributes from expression; fixes
6387 bootstrap failure on x86.
6388
743f3c7b
GB
63892001-10-08 Geert Bosch (bosch@gnat.com)
6390
6391 * 5oosinte.adb: Add 2001 to copyright notice.
6392
210c4ef4
GB
63932001-10-08 Geert Bosch (bosch@gnat.com)
6394
6395 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
6396
6397 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
6398
cc712abf
JM
63992001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6400
6401 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
6402
4c4abc0f
GB
64032001-10-05 Geert Bosch (bosch@gnat.com)
6404
6405 * adaint.h: Small formatting fix.
6406
7f50e2e3
GB
64072001-10-04 Geert Bosch <bosch@gnat.com>
6408
6409 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
6410 Arg is int, not FILE *, in dummy version of functions.
67f28219 6411
7f50e2e3
GB
6412 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
6413 Arg is int, not FILE *.
6414
5d1a9698
GB
64152001-10-04 Geert Bosch <bosch@gnat.com>
6416
6417 * 3lsoccon.ads: Added file, missed with initial check ins.
67f28219 6418
5d1a9698
GB
6419 * 4lintnam.ads: Fix header format.
6420 Change Linux to GNU/Linux.
67f28219 6421
5d1a9698
GB
6422 * 5iosinte.adb: Change Linux to GNU/Linux.
6423
6424 * 5iosinte.ads: Change Linux to GNU/Linux.
67f28219 6425
5d1a9698 6426 * 5itaprop.adb: Change Linux to GNU/Linux.
67f28219 6427
5d1a9698
GB
6428 * 5itaspri.ads: Change Linux to GNU/Linux.
6429 Update copyright notice.
67f28219 6430
5d1a9698 6431 * 5lintman.adb: Change Linux to GNU/Linux.
67f28219 6432
5d1a9698 6433 * 5lml-tgt.adb: Change Linux to GNU/Linux.
67f28219 6434
5d1a9698 6435 * 5losinte.ads: Change Linux to GNU/Linux.
67f28219 6436
5d1a9698 6437 * 5lsystem.ads: Change Linux to GNU/Linux.
67f28219 6438
5d1a9698 6439 * 5qosinte.adb: Change Linux to GNU/Linux.
67f28219 6440
5d1a9698 6441 * 5qosinte.ads: Change Linux to GNU/Linux.
67f28219 6442
5d1a9698 6443 * 5qparame.ads: Change Linux to GNU/Linux.
67f28219 6444
5d1a9698 6445 * 5qtaprop.adb: Change Linux to GNU/Linux.
67f28219 6446
5d1a9698
GB
6447 * 5qtaspri.ads: Change Linux to GNU/Linux.
6448 Add 2001 to copyright notice.
67f28219 6449
5d1a9698
GB
6450 * 5vintman.ads: Change Linux to GNU/Linux.
6451 Fix header format. Add 2001 to copyright notice.
67f28219 6452
5d1a9698 6453 * g-soccon.ads: Change Linux to GNU/Linux.
67f28219 6454
5d1a9698
GB
6455 * g-trasym.ads: Change Linux to GNU/Linux.
6456 Add 2001 to copyright notice.
67f28219 6457
5d1a9698 6458 * memtrack.adb: Change Linux to GNU/Linux.
67f28219 6459
5d1a9698
GB
6460 * s-intman.ads: Change Linux to GNU/Linux.
6461 Add 2001 to copyright notice. Fix header format.
67f28219 6462
5d1a9698 6463 * s-stache.adb: Change Linux to GNU/Linux.
67f28219 6464
5d1a9698 6465 * adaint.c: Change Linux to GNU/Linux.
67f28219 6466
5d1a9698 6467 * cio.c: Change Linux to GNU/Linux.
67f28219 6468
5d1a9698 6469 * cstreams.c: Change Linux to GNU/Linux.
67f28219 6470
5d1a9698 6471 * init.c: Change Linux to GNU/Linux.
67f28219 6472
5d1a9698 6473 * gmem.c: Change Linux to GNU/Linux.
67f28219 6474
5d1a9698
GB
6475 * tracebak.c: Change Linux to GNU/Linux.
6476
6477
c25ca2d7
GB
64782001-10-02 Geert Bosch <bosch@gnat.com>
6479
6480 * misc.c (insert_default_attributes): Add dummy version.