]> gcc.gnu.org Git - gcc.git/blame - gcc/ada/ChangeLog
Makefile.in (lang_checks): Add.
[gcc.git] / gcc / ada / ChangeLog
CommitLineData
19f0526a
AC
12003-11-19 Arnaud Charlet <charlet@act-europe.fr>
2
3 * gnatmem.adb: Clean up verbose output.
4
5 * gprcmd.adb: Change copyright to FSF.
6
72003-11-19 Vincent Celier <celier@gnat.com>
8
9 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
10 and Version (ignored).
11
12 * symbols.ads: (Policy): New type
13 (Initialize): New parameter Reference, Symbol_Policy and
14 Library_Version.
15 Remove parameter Force.
16 Minor reformatting.
17
18 * snames.ads, snames.adbadb: New standard names
19 Library_Reference_Symbol_File and Library_Symbol_Policy
20
21 * mlib-prj.adb:
22 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
23 project.
24
25 * mlib-tgt.adb:
26 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
27
28 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
29
30 * prj.adb: (Project_Empty): New component Symbol_Data
31
32 * prj.ads: (Policy, Symbol_Record): New types
33 (Project_Data): New component Symbol_Data
34
35 * prj-attr.adb:
36 New attributes Library_Symbol_File, Library_Symbol_Policy and
37 Library_Reference_Symbol_File.
38
39 * prj-nmsc.adb:
40 (Ada_Check): When project is a Stand-Alone library project, process
41 attribute Library_Symbol_File, Library_Symbol_Policy and
42 Library_Reference_Symbol_File.
43
44 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
45 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
46 5sml-tgt.adb (Build_Dynamic_Library): New parameter
47 Symbol_Data (ignored).
48
49 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
50 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
51 functions Option_File_Name and Version_String. Set new options of
52 gnatsym related to symbol file, symbol policy and reference symbol
53 file.
54
55 * 5vsymbol.adb:
56 Extensive modifications to take into account the reference symbol file,
57 the symbol policy, the library version and to put in the symbol file the
58 minor and major IDs.
59
60 * bld.adb (Process_Declarative_Items): Put second argument of
61 gprcmd to_absolute between single quotes, to avoid problems with
62 Windows.
63
64 * bld-io.adb: Update Copyright notice.
65 (Flush): Remove last character of a line, if it is a back slash, to
66 avoid make problems.
67
68 * gnatsym.adb:
69 Implement new scheme with reference symbol file and symbol policy.
70
71 * g-os_lib.ads: (Is_Directory): Clarify comment
72
732003-11-19 Robert Dewar <dewar@gnat.com>
74
75 * atree.adb: Move New_Copy_Tree global variables to head of package
76
77 * errout.adb: Minor reformatting
78
792003-11-19 Javier Miranda <miranda@gnat.com>
80
81 * sem_ch4.adb: (Diagnose_Call): Improve error message.
82 Add reference to Ada0Y (AI-50217)
83
84 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
85 sem_util.adb: Add reference to AI-50217
86
87 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
88
89 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
90
91 * sem_aggr.adb: Complete documentation of AI-287 changes
92
93 * par-ch4.adb: Document previous changes.
94
95 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
96 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
97 Ada0Y (AI-50217)
98
99 * exp_aggr.adb: Add references to AI-287 in previous changes
100
1012003-11-19 Ed Schonberg <schonberg@gnat.com>
102
103 * exp_ch6.adb:
104 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
105 in the rewriting is the result of an inlined call.
106
107 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
108 parameter is a type conversion, use original node to construct the
109 post-call assignment, because expression may have been rewritten, e.g.
110 if it is a packed array.
111
112 * sem_attr.adb:
113 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
114 body, just as it is in an instance.
115 Categorization routines
116
117 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
118 Instantiate_Object): Set proper sloc reference for message on missing
119 actual.
120
1212003-11-19 Thomas Quinot <quinot@act-europe.fr>
122
123 * Makefile.in: Add FreeBSD libgnat pairs.
124
125 * usage.adb: Fix typo in usage message.
126
1272003-11-19 Jerome Guitton <guitton@act-europe.fr>
128
129 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
130 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
131 pragma Thread_Body.
132 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
133
134 * s-thread.adb: This file is now a dummy implementation of
135 System.Thread.
136
1372003-11-19 Sergey Rybin <rybin@act-europe.fr>
138
139 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
140
1412003-11-19 Emmanuel Briot <briot@act-europe.fr>
142
143 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
144 instanciation references in the parent type description.
145
0d77ab84
AC
1462003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
147
148 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
149
150 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
151 TYPE_PRECISION directly from esize.
152
1532003-11-18 Thomas Quinot <quinot@act-europe.fr>
154
155 * cstreams.c:
156 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
157
158 * init.c: Initialization routines for FreeBSD
159
160 * link.c: Link info for FreeBSD
161
162 * sysdep.c: Add the case of FreeBSD
163
cb7a5092
AC
1642003-11-17 Jerome Guitton <guitton@act-europe.fr>
165
166 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
167 already called in System.Threads.
168
169 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
170 environment task, as it has been moved to System.Threads.Initialization.
171
1722003-11-17 Arnaud Charlet <charlet@act-europe.fr>
173
174 * adaint.c (__gnatlib_install_locks): Only reference
175 __gnat_install_locks on VMS, since other platforms can avoid using
176 --enable-threads=gnat
177
1782003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
179
180 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
181
182 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
183 TYPE_PACKED_ARRAY_TYPE_P.
184 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
185
186 Part of PR ada/12806
187 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
188 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
189
1902003-11-17 Vincent Celier <celier@gnat.com>
191
192 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
193 to False.
194 Do not set exit status to Failure when Warning is True.
195 (Gnatchop): Make errors "no compilation units found" and
196 "no source files written" warnings only.
197
198 * make.adb (Gnatmake): When using a project file, set
199 Look_In_Primary_Dir to False.
200 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
201 and Local_Configuration_Pragmas in the project where they are declared
202 not an extending project which might have inherited them.
203
204 * osint.adb (Locate_File): If Name is already an absolute path, do not
205 look for a directory.
206
207 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
208 -gnats (Check_Syntax) is used, issue only a warning, not an error.
209
210 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
211 in objects of type Variable_Value.
212
213 * prj.ads: (Variable_Value): New component Project
214
215 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
216 is in a project extended by Project.
217
218 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
219 Project of Variable_Values to this new parameter value.
220 (Expression): Set component Project of Variable_Values.
221 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
222 Set the component Project in array elements.
223
2242003-11-17 Sergey Rybin <rybin@act-europe.fr>
225
226 * errout.adb: (Initialize): Add initialization for error nodes.
227
228 * sem_ch12.adb (Initialize): Add missing initializations for
229 Exchanged_Views and Hidden_Entities.
230
2312003-11-17 Ed Schonberg <schonberg@gnat.com>
232
233 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
234 already instantiated tree for use in subsequent inlining.
235 (Analyze_Associations, Instantiate_Formal_Subprogram,
236 Instantiate_Object): improve error message for mismatch in
237 instantiations.
238
239 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
240 instantiations of subprograms declared in instances.
241
2422003-11-17 Javier Miranda <miranda@gnat.com>
243
244 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
245 executed only under the Extensions_Allowed flag.
246
2472003-11-17 Robert Dewar <dewar@gnat.com>
248
249 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
250 zeroes suppressed.
251 (Address_Image): Fix bug of returning 0x instead of 0x0
252 Minor reformatting (function specs).
253
254 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
255 (missed case of 33-63)
256
257 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
258
259 * s-thread.adb: Add comments for pragma Restriction
260
261 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
262 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
263
2642003-11-17 Ed Falis <falis@gnat.com>
265
266 * s-thread.adb: Added No_Tasking restriction for this implementation.
267
2682003-11-17 Emmanuel Briot <briot@act-europe.fr>
269
270 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
271 instanciation references in the parent type description.
272
2732003-11-17 GNAT Script <nobody@gnat.com>
274
275 * Make-lang.in: Makefile automatically updated
276
7d60db05
JM
2772003-11-16 Jason Merrill <jason@redhat.com>
278
279 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
280 and TAGS files that include them for each front end.
281
c0040397
AJ
2822003-11-14 Andreas Jaeger <aj@suse.de>
283
a477ab83
AJ
284 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
285 is the canonical version.
286 * misc.c (gnat_handle_option): Likewise.
287
c0040397
AJ
288 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
289
290 * 5nsystem.ads: New file for x86_64-linux-gnu.
291
95a6aaf9
AC
2922003-11-14 Arnaud Charlet <charlet@act-europe.fr>
293
262cc585 294 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
95a6aaf9 295
4a4fe537
AC
296 * comperr.adb: Fix logic in previous change.
297
65356e64
AC
2982003-11-13 Vincent Celier <celier@gnat.com>
299
300 * 5bml-tgt.adb (Build_Dynamic_Library): Use
301 Osint.Include_Dir_Default_Prefix instead of
302 Sdefault.Include_Dir_Default_Name.
303
304 * gnatlbr.adb: Update Copyright notice
305 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
306 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
307 instead of Sdefault.Object_Dir_Default_Name
308
c0040397 309 * gnatlink.adb:
65356e64
AC
310 (Process_Binder_File): Never suppress the option following -Xlinker
311
c0040397 312 * mdll-utl.adb:
65356e64
AC
313 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
314 Sdefault.Object_Dir_Default_Name.
315
c0040397 316 * osint.ads, osint.adb:
65356e64
AC
317 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
318 Minor reformatting.
319
320 * vms_conv.ads: Minor reformating
321 Remove GNAT STANDARD and GNAT PSTA
322
c0040397 323 * vms_conv.adb:
65356e64
AC
324 Allow GNAT MAKE to have several files on the command line.
325 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
326 Sdefault.Object_Dir_Default_Name.
327 Minor Reformating
328 Remove data for GNAT STANDARD
329
c0040397 330 * vms_data.ads:
65356e64
AC
331 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
332 Remove data for GNAT STANDARD
333 Remove options and documentation for -gnatwb/-gnatwB: these warning
334 options no longer exist.
335
3362003-11-13 Ed Falis <falis@gnat.com>
337
338 * 5zthrini.adb: (Init_RTS): Made visible
339
c0040397 340 * 5zthrini.adb:
65356e64
AC
341 (Register): Removed unnecessary call to taskVarGet that checked whether
342 an ATSD was already set as a task var for the argument thread.
343
c0040397 344 * s-thread.adb:
65356e64
AC
345 Updated comment to reflect that this is a VxWorks version
346 Added context clause for System.Threads.Initialization
347 Added call to System.Threads.Initialization.Init_RTS
348
3492003-11-13 Jerome Guitton <guitton@act-europe.fr>
350
c0040397 351 * 5zthrini.adb:
65356e64
AC
352 (Init_RTS): New procedure, for the initialization of the run-time lib.
353
c0040397 354 * s-thread.adb:
65356e64
AC
355 Remove dependancy on System.Init, so that this file can be used in the
356 AE653 sequential run-time lib.
357
3582003-11-13 Robert Dewar <dewar@gnat.com>
359
360 * bindgen.adb: Minor reformatting
361
3622003-11-13 Ed Schonberg <schonberg@gnat.com>
363
c0040397 364 * checks.adb:
65356e64
AC
365 (Apply_Discriminant_Check): Do no apply check if target type is derived
366 from source type with no applicable constraint.
367
c0040397 368 * lib-writ.adb:
65356e64
AC
369 (Ensure_System_Dependency): Do not apply the style checks that may have
370 been specified for the main unit.
371
c0040397 372 * sem_ch8.adb:
65356e64
AC
373 (Find_Selected_Component): Further improvement in error message, with
374 RM reference.
375
c0040397 376 * sem_res.adb:
65356e64
AC
377 (Resolve): Handle properly the case of an illegal overloaded protected
378 procedure.
379
3802003-11-13 Javier Miranda <miranda@gnat.com>
381
c0040397 382 * exp_aggr.adb:
65356e64
AC
383 (Has_Default_Init_Comps): New function to check the presence of
384 default initialization in an aggregate.
385 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
386 extension aggregate of a limited record. In addition, a new formal
387 was added to do not initialize the record controller (if any) during
388 this recursive expansion of ancestors.
389 (Init_Controller): Add support for limited record components.
390 (Expand_Record_Aggregate): In case of default initialized components
391 convert the aggregate into a set of assignments.
392
393 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
394 describing the new syntax.
395 Nothing else needed to be done because this subprogram delegates part of
396 its work to P_Precord_Or_Array_Component_Association.
397 (P_Record_Or_Array_Component_Association): Give support to the new
398 syntax for default initialization of components.
399
c0040397 400 * sem_aggr.adb:
65356e64
AC
401 (Resolve_Aggregate): Relax the strictness of the frontend in case of
402 limited aggregates.
403 (Resolve_Record_Aggregate): Give support to default initialized
404 components.
405 (Get_Value): In case of default initialized components, duplicate
406 the corresponding default expression (from the record type
407 declaration). In case of default initialization in the *others*
408 choice, do not check that all components have the same type.
409 (Resolve_Extension_Aggregate): Give support to limited extension
410 aggregates.
411
c0040397 412 * sem_ch3.adb:
65356e64
AC
413 (Check_Initialization): Relax the strictness of the front-end in case
414 of aggregate and extension aggregates. This test is now done in
415 Get_Value in a per-component manner.
416
417 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
418 expression corresponds to a limited aggregate. This test is now done
419 in Get_Value.
420
421 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
422 Box_Present flag.
423
424 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
425 present in an N_Component_Association node
426
4272003-11-13 Thomas Quinot <quinot@act-europe.fr>
428
429 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
430 type-conformant entry only if they are homographs.
431
4322003-11-13 GNAT Script <nobody@gnat.com>
433
434 * Make-lang.in: Makefile automatically updated
435
49add53f
RO
4362003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
437
438 * adadecode.c: Use <> form of include for ctype.h.
439 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
440
94bae1cc
RO
4412003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
442
443 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
444 Works around PR middle-end/6552.
445
463f452c
AC
4462003-11-10 Ed Falis <falis@gnat.com>
447
448 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
449
450 * 5zinit.adb: (Install_Handler): Moved back to spec
451 (Install_Signal_Handlers): Deleted
452
453 * 5zthrini.adb: Added context clause for System.Storage_Elements
454 (Register): Only handles creation of taskVar; initialization moved to
455 Thread_Body_Enter.
456 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
457 Added declaration of environment task secondary stack and
458 initialization.
459
460 * s-thread.adb: Implement bodies for thread body processing
461
c0040397 462 * s-thread.ads:
463f452c
AC
463 Added comment identifying supported targets for pragma Thread_Body.
464
4652003-11-10 Pascal Obry <obry@gnat.com>
466
467 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
468 GNAT_MAX_PATH_LEN.
469
c0040397 470 * s-fileio.adb:
463f452c
AC
471 (Open): Properly check for string length before copying into the buffer.
472 Raises Name_Error if buffer is too small. Note that this was a potential
473 buffer overflow.
474
4752003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
476
477 * bindgen.adb, comperr.adb: Code clean ups.
478 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
479
4802003-11-10 Sergey Rybin <rybin@act-europe.fr>
481
482 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
483
4842003-11-10 Vincent Celier <celier@gnat.com>
485
c0040397 486 * gprcmd.adb:
463f452c
AC
487 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
488 installation.
489
490 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
491
492 * prj.adb: (Project_Empty): Add new boolean component Virtual
493
494 * prj.ads: (Virtual_Prefix): New constant string
495 (Project_Data): New boolean component Virtual
496
497 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
498 a library project is extended by a virtual extending project.
499
c0040397 500 * prj-part.adb:
463f452c
AC
501 Modifications throughout to implement extending-all project, including:
502 (Virtual_Hash, Processed_Hash): New hash tables
503 (Create_Virtual_Extending_Project): New procedure
504 (Look_For_Virtual_Projects_For): New procedure
505
c0040397 506 * prj-proc.adb:
463f452c
AC
507 (Process): After checking the projects, if main project is an
508 extending-all project, set the object directory of all virtual extending
509 project to the object directory of the main project.
510 Adjust error message when a virtual extending project has the same
511 object directory as an project being extended.
512 (Recursive_Process): If name starts with the virtual prefix, set Virtual
513 to True in the project data.
514
c0040397 515 * prj-tree.adb:
463f452c
AC
516 (Default_Project_Node): Add new boolean component Extending_All
517 (Is_Extending_All): New function
518 (Set_Is_Extending_All): New procedure
519
520 * prj-tree.ads: (Is_Extending_All): New function
521 (Set_Is_Extending_All): New procedure
522 (Project_Node_Record): New boolean component Extending_All
523
524 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
525
c0040397 526 * vms_data.ads:
463f452c
AC
527 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
528
529 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
530 "gprcmd prefix" to define it.
531
5322003-11-10 Thomas Quinot <quinot@act-europe.fr>
533
534 * einfo.ads: Fix a typo and remove an extraneous word in comments.
535
c0040397 536 * lib-load.adb:
463f452c
AC
537 (Create_Dummy_Package_Unit): Set the scope of the entity for the
538 created dummy package to Standard_Standard, not to itself, to
539 defend other parts of the front-end against encoutering a cycle in
540 the scope chain.
541
c0040397 542 * sem_ch10.adb:
463f452c
AC
543 (Analyze_With_Clause): When setting the entities for the successive
544 N_Expanded_Names that constitute the name of a child unit, do not
545 attempt to go further than Standard_Standard in the chain of scopes.
546 This case arises from the placeholder units created by
547 Create_Dummy_Package_Unit in the case of a with_clause for a
548 nonexistent child unit.
549
5502003-11-10 Ed Schonberg <schonberg@gnat.com>
551
c0040397 552 * exp_ch6.adb:
463f452c
AC
553 (Expand_Thread_Body): Place subprogram on scope stack, so that new
554 declarations are given the proper scope.
555
c0040397 556 * sem_ch13.adb:
463f452c
AC
557 (Check_Expr_Constants): Reject an expression that contains a constant
558 created during expansion, and that appears after the object to which
559 the address clause applies.
560
561 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
562 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
563 that uses 'Range of a function call with controlled components, so
564 that the function result can be finalized before starting the loop.
565
c0040397 566 * sem_ch8.adb:
463f452c
AC
567 (Find_Selected_Component): Improve error message when prefix is
568 an implicit dereference of an incomplete type.
569
5702003-11-10 Robert Dewar <dewar@gnat.com>
571
572 * opt.ads: New Print_Standard flag for -gnatS switch
573
574 * sem_ch13.adb: Remove some additional checks for unaligned arrays
575
576 * cstand.adb (Create_Standard): Print out package standard if -gnatS
577 switch set
578
579 * debug.adb: Update doc for -gnatds to discuss relationship with new
580 -gnatS flag
581
582 * sinfo.adb: Add new field Entity_Or_Associated_Node
583
584 * sinfo.ads: Add new field Entity_Or_Associated_Node
585 Update documentation for Associated_Node and Entity fields to clarify
586 relationship and usage.
587
c0040397 588 * sprint.adb:
463f452c
AC
589 (Write_Id): Properly process Associated_Node field in generic template
590
c0040397 591 * switch-c.adb:
463f452c
AC
592 Recognize new -gnatS switch for printing package Standard
593 This replaces gnatpsta
594
c0040397 595 * usage.adb:
463f452c
AC
596 Add line for new -gnatS switch for printing package Standard
597 This replaces gnatpsta
598
c77c5f2e
AJ
5992003-11-10 Andreas Jaeger <aj@suse.de>
600
601 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
602 integer.
603
5c90f17f
AC
6042003-11-10 Arnaud Charlet <charlet@act-europe.fr>
605
606 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
607 by gnat1.
608
139f0d1e
AC
6092003-11-10 Arnaud Charlet <charlet@act-europe.fr>
610
611 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
612 no longer needed.
613
614 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
615
616 * sysdep.c: Add handling of cygwin.
617
f3e4c05c
GS
6182003-11-10 GNAT Script <nobody@gnat.com>
619
620 * Make-lang.in: Makefile automatically updated
621
2cdc8909
AC
6222003-11-10 Arnaud Charlet <charlet@act-europe.fr>
623
624 PR 12950
625 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
626 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
627 Replace GNAT_ROOT by GCC_ROOT.
628
629 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
630
37783865
ZW
6312003-11-06 Zack Weinberg <zack@codesourcery.com>
632
633 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
634 and update for changed meaning of GET_MODE_BITSIZE.
635
6bc1c519
AC
6362003-11-04 Doug Rupp <rupp@gnat.com>
637
638 * sysdep.c: Problem discovered during IA64 VMS port.
639 [VMS] #include <unixio.h> to get proper prototypes.
640
37783865 641 * adaint.c:
6bc1c519
AC
642 Issues discovered/problems fixed during IA64 VMS port.
643 [VMS] #define _POSIX_EXIT for proper semantics.
644 [VMS] #include <unixio.h> for proper prototypes.
645 [VMS] (fork): #define IA64 version.
646 (__gnat_os_exit): Remove unnecessary VMS specific code.
647
6482003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
649
650 Part of PR ada/12806
651
652 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
653 tree, not integer.
654
37783865 655 * decl.c:
6bc1c519
AC
656 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
657 not integer.
658
659 * targtyps.c, decl.c, misc.c,
660 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
661 routines to work around change in FP sizing semantics in GCC.
662
37783865 663 * utils.c:
6bc1c519
AC
664 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
665
666 * gigi.h: (enumerate_modes): New function.
667
668 * Make-lang.in: (ada/misc.o): Add real.h.
669
670 * misc.c: (enumerate_modes): New function.
671
6722003-11-04 Robert Dewar <dewar@gnat.com>
673
674 * 3vtrasym.adb: Minor reformatting
675 Use terminology encoded/decoded name, rather than C++ specific notion
676 of mangling (this is the terminology used throughout GNAT).
677
678 * einfo.h: Regenerated
679
680 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
681
37783865 682 * exp_ch6.adb:
6bc1c519
AC
683 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
684
685 * par-prag.adb: Add dummy entry for Thread_Body pragma
686
37783865 687 * rtsfind.ads:
6bc1c519
AC
688 Add entries for System.Threads entities for thread body processing
689
37783865 690 * sem_attr.adb:
6bc1c519
AC
691 (Analyze_Pragma, Access attributes): Check these are not applied to a
692 thread body, since this is not permitted
693
694 * sem_prag.adb: Add processing for Thread_Body pragma.
695 Minor comment fix.
696
37783865 697 * sem_res.adb:
6bc1c519
AC
698 (Resolve_Call): Check for incorrect attempt to call a thread body
699 procedure with a direct call.
700
701 * snames.ads, snames.adb: Add entry for Thread_Body pragma
702 Add names associated with thread body expansion
703
704 * snames.h: Add entry for Thread_Body pragma
705
706 * s-thread.adb: Add entries for thread body processing
707 These are dummy bodies so far
708
709 * s-thread.ads: Add documentation on thread body handling.
710 Add entries for thread body processing.
711
7122003-11-04 Javier Miranda <miranda@gnat.com>
713
37783865 714 * sem_ch10.adb:
6bc1c519
AC
715 (Build_Limited_Views): Return after posting an error in case of limited
716 with_clause on subprograms, generics, instances or generic renamings
717 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
718 on subprograms, generics, instances or generic renamings
719
7202003-11-04 Arnaud Charlet <charlet@act-europe.fr>
721
722 * raise.c (setup_to_install): Correct mistake in last revision; two
723 arguments out of order.
724
725 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
726 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
727 notice, missed in previous change.
728 Remove trailing blanks and other style errors introduced in previous
729 change.
730
7312003-11-04 Olivier Hainque <hainque@act-europe.fr>
732
733 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
734 rid of the wrapper for a LJM type, ensuring we don't do that if the
735 field is addressable. This avoids potential low level type view
736 mismatches later on, for instance in a by-reference argument passing
737 process.
738
7392003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
740
741 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
742 aligned at byte boundary.
743
7442003-11-04 Joel Brobecker <brobecker@gnat.com>
745
746 * decl.c (components_to_record): Do not delete the empty variants from
747 the end of the union type.
748
7492003-11-04 Ed Schonberg <schonberg@gnat.com>
750
751 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
752 operation for a derived type, an explicit declaration may use a local
753 subtype of Boolean.
754
7552003-11-04 Vincent Celier <celier@gnat.com>
756
757 * make.adb (Gnatmake): Allow main sources on the command line with a
758 library project when it is only for compilation (no binding or
759 linking).
760
487e9fff
RO
7612003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
762
763 * Makefile.in: Remove many duplicate variables.
764
63069342
KC
7652003-11-03 Kelley Cook <kcook@gcc.gnu.org>
766
767 * Make-lang.in (dvi): Move targets to $(docobjdir).
768 (gnat_ug_vms.dvi): Simplify rule and adjust target.
769 (gnat_ug_wnt.dvi): Likewise.
770 (gnat_ug_unx.dvi): Likewise.
771 (gnat_ug_vxw.dvi): Likewise.
772 (gnat_rm.dvi): Likewise.
773 (gnat-style.dvi): Likewise.
774
c2edc52b
KC
7752003-10-31 Kelley Cook <kcook@gcc.gnu.org>
776
777 * gigi.h: Missed commit from update for C90.
778
14df9585
KC
7792003-10-31 Kelley Cook <kcook@gcc.gnu.org>
780
781 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
782
acd8e984
AS
7832003-10-31 Andreas Schwab <schwab@suse.de>
784
785 * raise.c (get_action_description_for): Fix typo in last change.
786
b2c62c45
NN
7872003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
788
789 PR ada/12761
790 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
791 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
792
9373164a
KC
7932003-10-30 Kelley Cook <kcook@gcc.gnu.org>
794
795 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
796 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
797 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
798 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
799 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
800
bde58e32
AC
8012003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
802
37783865 803 * 3vtrasym.adb:
bde58e32
AC
804 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
805 numbers when symbol name is too long.
806
8072003-10-30 Ed Falis <falis@gnat.com>
808
809 * g-signal.ads, g-signal.adb: New files
810
811 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
812
813 * Makefile.rtl: Introduce GNAT.Signals
814
8152003-10-30 Robert Dewar <dewar@gnat.com>
816
817 * freeze.adb: Minor reformatting
818
819 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
820
37783865
ZW
821 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
822 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
bde58e32
AC
823 New handling of Id_Check parameter to improve recognition of keywords
824 used as identifiers.
825 Update copyright notice to include 2003
826
657a9dd9
AC
8272003-10-29 Robert Dewar <dewar@gnat.com>
828
829 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
830 sem_ch10.adb: Minor reformatting
831
832 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
833 (Expand_Assign_Record): Test right hand side for bit unaligned as well
834
8352003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
836
37783865 837 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
657a9dd9
AC
838 Support for TBK$SYMBOLIZE-based symbolic traceback.
839
8402003-10-29 Jose Ruiz <ruiz@act-europe.fr>
841
37783865 842 * exp_disp.adb:
657a9dd9
AC
843 Revert previous change, that did not work well when pragma No_Run_Time
844 was used in conjunction with a run-time other than ZFP.
845
8462003-10-29 Vincent Celier <celier@gnat.com>
847
37783865 848 * make.adb:
657a9dd9
AC
849 (Gnatmake): When there are no Ada mains in attribute Main, disable the
850 bind and link steps only is switch -z is not used.
851
8522003-10-29 Arnaud Charlet <charlet@act-europe.fr>
853
854 * Makefile.generic: Remove duplicated setting of CC.
855
856 * Makefile.prolog: Set CC to gcc by default, to override make's
857 default (cc).
858
859 * einfo.h: Regenerated.
860
8612003-10-29 Ed Schonberg <schonberg@gnat.com>
862
863 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
864 current body, after compiling subunit.
865
866 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
867 when in deleted code, because gigi needs properly ordered freeze
868 actions to annotate types.
869
870 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
871 prevent the premature freezing of record type that contains
872 subcomponents with a private type that does not yet have a completion.
873
8742003-10-29 Javier Miranda <miranda@gnat.com>
875
37783865 876 * sem_ch12.adb:
657a9dd9
AC
877 (Analyze_Package_Instantiation): Check that instances can not be used in
878 limited with_clauses.
879
37783865 880 * sem_ch8.adb:
657a9dd9
AC
881 (Analyze_Package_Renaming): Check that limited withed packages cannot
882 be renamed. Improve text on error messages related to limited
883 with_clauses.
884
885 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
886
887 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
888 Update copyright notice.
889
890 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
891 (Install_Limited_Context_Clauses): New subprogram that isolates all the
892 checks required for limited context_clauses and installs the limited
893 view.
894 (Install_Limited_Withed_Unit): Complete its documentation.
895 (Analyze_Context): Check that limited with_clauses are only allowed in
896 package specs.
897 (Install_Context): Call Install_Limited_Context_Clauses after the
898 parents have been installed.
899 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
900 package as 'From_With_Type'; this mark indicates that the limited view
901 is installed. Used to check bad usages of limited with_clauses.
902 (Build_Limited_Views): Do not add shadow entities to the scope's list
903 of entities. Do not add real entities to the Non_Limited_Views chain.
904 Improve error notification.
905 (Remove_Context_Clauses): Remove context clauses in two phases:
906 limited views first and regular views later (to maintain the
907 stack model).
908 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
909 its visible entities.
910
9112003-10-29 Thomas Quinot <quinot@act-europe.fr>
912
913 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
914 with any type that Is_Fixed_Point_Type.
915
916 * sinfo.ads: Fix documentation for Associated_Node attribute.
917
9182003-10-29 Sergey Rybin <rybin@act-europe.fr>
919
920 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
921 both '-gnatc' and '-gnatt' are specified.
922
923 * atree.adb (Initialize): Add initialization for Node_Count (set to
924 zero).
925
9262003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
927
928 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
929 do not consider as Pure.
930
931 Part of implementation of function-at-a-time:
932
933 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
934 (tree_transform): Add new argument to build_component_ref.
935 (tree_transform, case N_Assignment_Statement): Make and return an
936 EXPR_STMT.
937 (tree_transform): If result IS_STMT, set flags and return it.
938 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
939
940 * utils2.c (build_simple_component_ref, build_component_ref): Add new
941 arg, NO_FOLD_P.
942 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
943 (build_allocator): Likewise.
944
945 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
946 Add new arg to build_component_ref.
947 (maybe_unconstrained_array, unchecked_convert): Likewise.
948
949 * ada-tree.def (EXPR_STMT): New code.
950
951 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
952
953 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
954 build_component_ref calls.
955
956 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
957
958 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
959 (build_component_ref): Add new argument, NO_FOLD_P.
960
ecad994d
AC
9612003-10-27 Arnaud Charlet <charlet@act-europe.fr>
962
963 * Makefile.generic: Add missing substitution on object_deps handling.
964
965 PR ada/5909:
966 * Make-lang.in (check-ada): Enable ACATS test suite.
967
9682003-10-27 Robert Dewar <dewar@gnat.com>
969
37783865 970 * exp_ch3.adb:
ecad994d
AC
971 (Freeze_Array_Type): We do not need an initialization routine for types
972 derived from String or Wide_String. They should be treated the same
973 as String and Wide_String themselves. This caused problems with the
974 use of Initialize_Scalars.
975
37783865 976 * exp_ch5.adb:
ecad994d
AC
977 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
978 composites. This allows use of component clauses that are not byte
979 aligned.
980
37783865 981 * sem_prag.adb:
ecad994d
AC
982 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
983 is an attempt to pack an array of atomic objects.
984
985 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
986
9872003-10-27 Pascal Obry <obry@gnat.com>
988
37783865 989 * g-dirope.adb:
ecad994d
AC
990 (Basename): Check for drive letters in a pathname only on DOS based OS.
991
9922003-10-27 Vincent Celier <celier@gnat.com>
993
37783865 994 * make.adb:
ecad994d
AC
995 (Gnatmake): When unable to change dir to the object dir, display the
996 content of the parent dir of the obj dir, to try to understand why this
997 happens.
998
9992003-10-27 GNAT Script <nobody@gnat.com>
1000
1001 * Make-lang.in: Makefile automatically updated
1002
10032003-10-27 Ed Schonberg <schonberg@gnat.com>
1004
37783865 1005 * sem_ch12.adb:
ecad994d
AC
1006 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
1007 should not be done in Save/Restore_Scope_Stack, because it is performed
1008 locally.
1009
37783865 1010 * sem_ch8.adb:
ecad994d
AC
1011 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
1012 whether use clauses should be removed/restored.
1013
37783865 1014 * sem_ch8.ads:
ecad994d
AC
1015 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
1016 whether use clauses should be removed/restored.
1017
b6b3c138
AJ
10182003-10-26 Andreas Jaeger <aj@suse.de>
1019
1020 * Makefile.in: Remove duplicated lines.
1021
b6d83931
AC
10222003-10-24 Arnaud Charlet <charlet@act-europe.fr>
1023
1024 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
1025 minimize the differences with ACT tree.
1026
1027 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
1028 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
1029 Gnatvsn.Gnat_Static_Version_String to reduce differences between
1030 ACT and FSF trees.
1031
10322003-10-24 Pascal Obry <obry@gnat.com>
1033
1034 * adadecode.c (ostrcpy): New function.
1035 (__gnat_decode): Use ostrcpy of strcpy.
1036 (has_prefix): Set first parameter a const.
1037 (has_suffix): Set first parameter a const.
1038 Update copyright notice. Fix source name in header.
1039 Removes a trailing space.
1040 PR ada/12014.
1041
10422003-10-24 Jose Ruiz <ruiz@act-europe.fr>
1043
b6b3c138 1044 * exp_disp.adb:
b6d83931
AC
1045 Remove the test against being in No_Run_Time_Mode before generating a
1046 call to Register_Tag. It is redundant with the test against the
1047 availability of the function Register_Tag.
1048
10492003-10-24 Vincent Celier <celier@gnat.com>
1050
1051 * g-catiio.adb: (Month_Name): Correct spelling of February
1052
1053 * make.adb: (Mains): New package
1054 (Initialize): Call Mains.Delete
1055 (Gnatmake): Check that each main on the command line is a source of a
1056 project file and, if there are several mains, each of them is a source
1057 of the same project file.
1058 (Gnatmake): When a foreign language is specified in attribute Languages,
1059 no main is specified on the command line and attribute Mains is not
1060 empty, only build the Ada main. If there is no Ada main, just compile
1061 the Ada sources and their closure.
1062 (Gnatmake): If a main is specified on the command line with directory
1063 information, check that the source exists and, if it does, that the path
1064 is the actual path of a source of a project.
1065
b6b3c138 1066 * prj-env.adb:
b6d83931
AC
1067 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
1068 Full_Path is True, return the full path instead of the simple file name.
1069 (Project_Of): New function
1070
b6b3c138 1071 * prj-env.ads:
b6d83931
AC
1072 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
1073 defaulted to False.
1074 (Project_Of): New function
1075
10762003-10-24 Arnaud Charlet <charlet@act-europe.fr>
1077
b6b3c138 1078 * Makefile.generic:
b6d83931
AC
1079 Ensure objects of main project are always checked and rebuilt if needed.
1080 Set CC to gcc by default.
1081 Prepare new handling of link by creating a global archive (not activated
1082 yet).
1083
1084 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
1085 stringt.h: Update copyright notice. Remove trailing blanks.
1086 Fix source name in header.
1087
10882003-10-24 Robert Dewar <dewar@gnat.com>
1089
1090 * sem_ch12.adb: Minor reformatting
1091
b6b3c138 1092 * sem_ch3.adb:
b6d83931
AC
1093 Minor reformatting (including new function return style throughout)
1094
b6b3c138 1095 * sem_ch3.ads:
b6d83931
AC
1096 Minor reformatting (including new function return style throughout)
1097
10982003-10-24 Arnaud Charlet <charlet@act-europe.fr>
1099
1100 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
1101 stringt.h: Update copyright notice. Remove trailing blanks.
1102 Fix source name in header.
1103
11042003-10-24 GNAT Script <nobody@gnat.com>
1105
1106 * Make-lang.in: Makefile automatically updated
1107
b4e2d709
NN
11082003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
1109
1110 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
1111 stringt.h: Convert to ISO C90 declarations and definitions.
1112
9d7d51be
AC
11132003-10-23 Thomas Quinot <quinot@act-europe.fr>
1114
1115 PR ada/11978:
1116 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
1117 External_Tag attribute definition clauses.
1118
11192003-10-23 Ed Schonberg <schonberg@gnat.com>
1120
1121 PR ada/7613:
1122 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
1123 child unit, generate a fully qualified name to avoid spurious errors
1124 when the context contains renamings of different child units with
1125 the same simple name.
1126
1127 * exp_dbug.ads: Add documentation on name qualification for renamings
1128 of child units.
1129
11302003-10-23 Robert Dewar <dewar@gnat.com>
1131
1132 * g-regpat.ads, g-regpat.adb: Minor reformatting
1133
11342003-10-23 Jose Ruiz <ruiz@act-europe.fr>
1135
1136 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
1137
11382003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1139
1140 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
1141 Machine call.
1142
1143 * urealp.h: (Machine): Update to proper definition.
1144
6d244bbe
AC
11452003-10-23 Arnaud Charlet <charlet@act-europe.fr>
1146
1147 * init.c, adaint.c: Minor reformatting.
1148
8f4eb34b
DS
11492003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
1150
6d244bbe 1151 * adaint.c (w32_epoch_offset): Define static const at file level.
8f4eb34b
DS
1152 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
1153 rather than t_create, t_access in call to GetFileTime. Use union
1154 to convert between FILETIME and unsigned long long.
1155 (__gnat_file_time_name): Test for invalid file handle.
1156 (__gnat_set_filetime_name): Support win32 targets using
1157 w32api SetFileTime.
1158
25412599
DS
11592003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
1160
1161 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
1162
1163 * ctrl_c.c (__gnat_int_handler): Remove declaration.
1164
1165 * decl.c (creat_concat_name): Const-ify prefix.
1166
1167 * adaint.c: Include ctype.h if __MINGW32__.
1168 (__gnat_readlink): Mark arguments as possibly unused.
1169 (__gnat_symlink): Likewise.
1170 (__gnat_is_symbolic_link): Likewise.
1171 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
1172 declaration
b6b3c138 1173 (__gnat_file_time_name): Don't declare struct stat statbuf when
25412599
DS
1174 not needed.
1175 (__gnat_is_absolute_path): Add parenthesis around condition of
1176 'if' statement to avoid warning.
1177 (__gnat_plist_init): Specify void as parameter.
1178 (plist_enter): Likewise.
1179 (plist_leave): Likewise.
1180 (remove_handle): Make static. Initialize prev.
1181
698a5e79
AC
11822003-10-22 Arnaud Charlet <charlet@act-europe.fr>
1183
6d244bbe 1184 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
698a5e79
AC
1185 * cstreams.c (__gnat_full_name): Minor improvements and clean up
1186 of previous change.
1187
e97c30aa
RO
11882003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1189
1190 * tracebak.c (MAX): Avoid redefinition warning.
1191
1192 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
1193 Change msg to const char *.
1194 (__gnat_install_handler): Remove ss, unused.
1195 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
1196 to const char *.
1197 * cstreams.c (__gnat_full_name): Declare p only when used.
1198 (__gnat_full_name) [sgi] Return buffer.
1199
65f1ebd1
AC
12002003-10-22 Arnaud Charlet <charlet@act-europe.fr>
1201
1202 * mingw32.h: New file.
0c644933
AC
1203 * gnat_wrapper.adb: New file.
1204
6d244bbe 12052003-10-22 Jerome Roussel <roussel@act-europe.fr>
0c644933
AC
1206
1207 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
1208 string match a pre compiled regular expression (the corresponding
1209 version of the function working on a raw regular expression)
1210 Fix typos in various comments
1211 Update copyright notice in spec
1212
6d244bbe 12132003-10-21 Gary Dismukes <dismukes@gnat.com>
0c644933 1214
b6b3c138 1215 * exp_ch3.adb:
0c644933
AC
1216 (Component_Needs_Simple_Initialization): Return False when the type is a
1217 packed bit array. Revise spec comments to document this case.
1218
b6b3c138 1219 * exp_prag.adb:
0c644933
AC
1220 (Expand_Pragma_Import): Set any expression on the imported object to
1221 empty to avoid initializing imported objects (in particular this
1222 covers the case of zero-initialization of bit arrays).
1223 Update copyright notice.
1224
6d244bbe 12252003-10-21 Ed Schonberg <schonberg@gnat.com>
0c644933 1226
b6b3c138 1227 * sem_ch12.adb:
0c644933
AC
1228 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
1229 a subunit is missing.
1230 (Instantiate_Subprogram_Body): If body of function is missing, set type
1231 of return expression explicitly in dummy body, to prevent cascaded
1232 errors when a subunit is missing.
1233 Fixes PR 5677.
1234
b6b3c138 1235 * sem_ch3.adb:
0c644933
AC
1236 (Access_Subprogram_Declaration): Verify that return type is valid.
1237 Fixes PR 8693.
1238
b6b3c138 1239 * sem_elab.adb:
0c644933
AC
1240 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
1241 generic.
1242 Fixes PR 12318.
1243
b6b3c138 1244 * sem_util.adb:
0c644933
AC
1245 (Corresponding_Discriminant): If the scope of the discriminant is a
1246 private type without discriminant, use its full view.
1247 Fixes PR 8247.
65f1ebd1 1248
fbf5a39b
AC
12492003-10-21 Arnaud Charlet <charlet@act-europe.fr>
1250
1251 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
1252 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
1253 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
1254 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
1255 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
1256 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
1257 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1258 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
1259 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
1260 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
1261 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
1262 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
1263 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
1264 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
1265 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
1266 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
1267 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
1268 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
1269 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
1270 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
1271 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
1272 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
1273 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
1274 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
1275 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
1276 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
1277 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
1278 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
1279 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
1280 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
1281 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
1282 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
1283 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
1284 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
1285 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
1286 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
1287 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
1288 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
1289 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
1290 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
1291 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
1292 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
1293 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
1294 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
1295 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
1296 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
1297 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
1298 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
1299 vms_conv.ads, vms_conv.adb, vms_data.ads,
1300 vxaddr2line.adb: Files added. Merge with ACT tree.
1301
1302 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
1303 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
1304 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
1305 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
1306 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
1307 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
1308 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
1309 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
1310 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
1311 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
1312
1313 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
1314 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
1315 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
1316 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
1317 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
1318 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
1319 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
1320 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
1321 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
1322 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
1323 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
1324 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
1325 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
1326 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
1327 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
1328 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
1329 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
1330 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
1331 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
1332 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
1333 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
1334 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
1335 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
1336 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
1337 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
1338 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
1339 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
1340 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
1341 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
1342 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
1343 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
1344 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
1345 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
1346 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
1347 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
1348 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
1349 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
1350 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
1351 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
1352 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
1353 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
1354 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
1355 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
1356 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
1357 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
1358 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
1359 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
1360 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
1361 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
1362 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
1363 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
1364 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
1365 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
1366 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
1367 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
1368 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
1369 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
1370 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
1371 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
1372 checks.adb, checks.ads, cio.c, comperr.adb,
1373 comperr.ads, csets.adb, cstand.adb, cstreams.c,
1374 debug_a.adb, debug_a.ads, debug.adb, decl.c,
1375 einfo.adb, einfo.ads, errout.adb, errout.ads,
1376 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
1377 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
1378 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
1379 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
1380 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
1381 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
1382 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
1383 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
1384 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
1385 fe.h, fmap.adb, fmap.ads, fname.adb,
1386 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
1387 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
1388 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
1389 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
1390 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
1391 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
1392 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
1393 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
1394 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
1395 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
1396 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
1397 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
1398 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
1399 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
1400 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
1401 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
1402 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
1403 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
1404 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
1405 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
1406 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
1407 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
1408 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
1409 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
1410 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
1411 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
1412 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
1413 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
1414 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
1415 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
1416 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
1417 layout.adb, lib.adb, lib.ads, lib-list.adb,
1418 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
1419 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
1420 link.c, live.adb, make.adb, make.ads,
1421 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
1422 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
1423 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
1424 misc.c, mkdir.c, mlib.adb, mlib.ads,
1425 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
1426 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
1427 namet.adb, namet.ads, namet.h, nlists.ads,
1428 nlists.h, nmake.adt, opt.adb, opt.ads,
1429 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
1430 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
1431 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
1432 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
1433 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
1434 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
1435 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
1436 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
1437 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
1438 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
1439 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
1440 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
1441 prj-util.adb, prj-util.ads, raise.c, raise.h,
1442 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
1443 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
1444 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
1445 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
1446 scans.ads, scn.adb, scn.ads, s-crc32.adb,
1447 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
1448 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
1449 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
1450 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
1451 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
1452 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
1453 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
1454 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
1455 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
1456 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
1457 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
1458 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
1459 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
1460 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
1461 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
1462 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
1463 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
1464 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
1465 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
1466 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
1467 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
1468 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
1469 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
1470 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
1471 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
1472 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
1473 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
1474 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
1475 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
1476 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
1477 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
1478 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
1479 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
1480 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
1481 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
1482 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
1483 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
1484 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
1485 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
1486 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
1487 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
1488 stringt.adb, stringt.ads, stringt.h, style.ads,
1489 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
1490 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
1491 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
1492 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
1493 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
1494 table.adb, table.ads, targparm.adb, targparm.ads,
1495 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
1496 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
1497 ttypes.ads, types.ads, types.h, uintp.adb,
1498 uintp.ads, uintp.h, uname.adb, urealp.adb,
1499 urealp.ads, urealp.h, usage.adb, utils2.c,
1500 utils.c, validsw.adb, validsw.ads, widechar.adb,
1501 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
1502 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
1503 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
1504 gnatvsn.ads: Merge with ACT tree.
1505
1506 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
1507
97ae108d
MM
15082003-10-20 Mark Mitchell <mark@codesourcery.com>
1509
de696511
MM
1510 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
1511 (gnat_ug_vmx.info): Likewise.
1512 (gnat_ug_vxw.info): Likewise.
1513 (gnat_ug_wnt.info): Likewise.
1514 (gnat_rm.info): Likewise.
1515 (gnat-style.info): Likewise.
1516
97ae108d
MM
1517 * Make-lang.in (ada.install-info): Remove target.
1518 (info): New target.
1519 (install-info): Likewise.
1520 (gnat_ug_unx.info): Simplify rule.
1521 (gnat_ug_vmx.info): Likewise.
1522 (gnat_ug_vxw.info): Likewise.
1523 (gnat_ug_wnt.info): Likewise.
1524 (gnat_rm.info): Likewise.
1525 (gnat-style.info): Likewise.
1526
43aba518
NN
15272003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
1528
1529 * Make-lang.in: Replace uses of $(target_alias) with
1530 $(target_noncanonical).
1531 * ada/Makefile.in: Remove unused mention of $(target_alias).
1532
62b81e45
MM
15332003-10-06 Mark Mitchell <mark@codesourcery.com>
1534
1535 * Make-lang.in (ada.info): Replace with ...
1536 (info): ... this.
1537 (ada.dvi): Replace with ...
1538 (dvi): ... this.
1539
783be936
ZW
15402003-09-29 Zack Weinberg <zack@codesourcery.com>
1541
1542 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
1543 initialize dconstp5 and dconstmp5.
1544
177560b2
RH
15452003-09-28 Richard Henderson <rth@redhat.com>
1546
1547 * trans.c (tree_transform): Update call to expand_asm_operands.
1548
f31686a3
RH
15492003-09-21 Richard Henderson <rth@redhat.com>
1550
1551 * trans.c, utils.c: Revert.
1552
7e2af53a
RH
15532003-09-21 Richard Henderson <rth@redhat.com>
1554
1555 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
1556 change to const.
1557
5f1e32fa
MM
15582003-09-04 Michael Matz <matz@suse.de>
1559
1560 * misc.c: Include "target.h".
1561 * Make-lang.in (misc.o): Add dependency on target.h.
1562
61f71b34
DD
15632003-09-03 DJ Delorie <dj@redhat.com>
1564
1565 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
1566 hook.
1567
2ed26f6b
ZW
15682003-08-30 Zack Weinberg <zack@codesourcery.com>
1569
1570 * Makefile.in: Update substitutions to match changes to
1571 configure. Use include directives instead of @-insertions
1572 to read in host and target fragments. Add a rule to
1573 regenerate ada/Makefile.
1574
b2e608ca
NB
15752003-07-18 Neil Booth <neil@daikokuya.co.uk>
1576
1577 * lang-options.h: Remove.
1578 * lang.opt: Add help text.
1579
0cea056b
NS
15802003-07-07 Nathan Sidwell <nathan@codesourcery.com>
1581
1582 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
1583 calls.
1584
cb66e385
NB
15852003-07-06 Neil Booth <neil@daikokuya.co.uk>
1586
1587 * misc.c (gnat_handle_option): Don't handle filenames.
1588
8c90b13a
L
15892003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1590
1591 * Make-lang.in: Replace PWD with PWD_COMMAND.
1592 * Makefile.adalib: Likewise.
1593 * Makefile.in: Likewise.
1594
9c286213
MK
15952003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
1596
1597 * misc.c (gnat_argv): Revert last change.
1598 (gnat_handle_option, gnat_init_options): Copy arguments.
1599
b9add449
NB
16002003-07-03 Neil Booth <neil@daikokuya.co.uk>
1601
9c286213 1602 * misc.c (gnat_argv): Make const.
b9add449 1603
836d77a9
NB
16042003-07-02 Neil Booth <neil@daikokuya.co.uk>
1605
1606 * misc.c (save_argc, save_argv): Keep non-static!
1607
b86f6cd9
NB
16082003-07-02 Neil Booth <neil@daikokuya.co.uk>
1609
1610 * misc.c (save_argc, save_argv): Make static.
1611 (gnat_init_options): New prototype.
1612 (gnat_init_options): Update.
1613
6344b1f1
MK
16142003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
1615
1616 * gnat_ug.texi: Remove unlikely characters from @vars.
1617 * gnat_ug_vms.texi: Regenerate.
1618
2e040219
NS
16192003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1620
1621 * misc.c (record_code_position): Adjust emit_note call.
1622
9eee5e72
NB
16232003-06-26 Neil Booth <neil@daikokuya.co.uk>
1624
1625 * misc.c (gnat_handle_option): Don't check for missing arguments.
1626
1f9cc6db
NS
16272003-06-20 Nathan Sidwell <nathan@codesourcery.com>
1628
1629 * utils.c (end_subprog_body): Adjust expand_function_end call.
1630
23d6baa3
MK
16312003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
1632
1633 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
1634 Bind_Main_Program.
1635
be43ab4e
NB
16362003-06-15 Neil Booth <neil@daikokuya.co.uk>
1637
1638 * lang.opt: Declare Ada.
1639 * misc.c (gnat_init_options): Update.
1640
ee6b0296
NS
16412003-06-14 Nathan Sidwell <nathan@codesourcery.com>
1642
1643 * utils.c (begin_subprog_body): Adjust init_function_start call.
1644
d7b42618
NB
16452003-06-14 Neil Booth <neil@daikokuya.co.uk>
1646
1647 * Make-lang.in: Update to use options.c and options.h.
1648 * misc.c: Include options.h not aoptions.h.
1649 (gnat_handle_option): Abort on unrecognized switch.
1650 (gnat_init_options): Request Ada switches.
1651
57eb6503
NB
16522003-06-14 Neil Booth <neil@daikokuya.co.uk>
1653
1654 * lang.opt: Add -Wall.
1655 * misc.c (gnat_handle_option): Handle it.
1656
70fd6569
NB
16572003-06-12 Neil Booth <neil@daikokuya.co.uk>
1658
1659 * misc.c (gnat_handle_option): Fix warnings.
1660
8cdea5a1
MK
16612003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
1662
1663 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
1664
3c900cb5
NB
16652003-06-11 Neil Booth <neil@daikokuya.co.uk>
1666
1667 * Make-lang.in: Update to handle command-line options.
1668 * lang.opt: New file.
1669 * misc.c: Include aoptions.h.
1670 (cl_options_count, cl_options): Remove.
1671 (gnat_handle_option): New.
1672 (gnat_decode_option): Remove.
1673 (LANG_HOOKS_DECODE_OPTION): Remove.
1674 (LANG_HOOKS_HANDLE_OPTION): Override.
1675
e8face4c
NN
16762003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
1677
1678 * init.c, misc.c, trans.c, utils.c: Remove dead code.
1679
4665e56c
NN
16802003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
1681
1682 * Makefile.in: Replace "host_canonical" with "host" for autoconf
1683 substitution.
1684
a165c302
NB
16852003-06-08 Neil Booth <neil@daikokuya.co.uk>
1686
1687 * Make-lang.in: Update.
1688 * misc.c: Include opts.h. Define cl_options_count and cl_options.
1689
2772ef3e
NB
16902003-06-07 Neil Booth <neil@daikokuya.co.uk>
1691
1692 * misc.c (gnat_init_options): Update.
1693
d8277a55
MK
16942003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1695
1696 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
1697 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
1698 __attribute__ ((__unused__)).
1699
602a82f3 17002003-06-05 Jan Hubicka <jh@suse.cz>
8f231b5d
JH
1701
1702 * Make-lang.in: Add support for stageprofile and stagefeedback
1703
3aa07c6d
MK
17042003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1705
1706 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
1707 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
1708
f1093866
MK
17092003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
1710
1711 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
1712 Remove non-VMS directive.
1713 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
1714 alternatives.
1715 (Examples of gnatls Usage): Remove VMS alternative.
dee2df72
OH
1716
17172003-06-04 Olivier Hainque <hainque@act-europe.fr>
1718
2ed26f6b
ZW
1719 PR ada/9953:
1720 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
1721 and turn ZCX_By_Default back to False since the underlying support
1722 is not quite there yet.
dee2df72 1723
80eaf415
AJ
17242003-06-01 Andreas Jaeger <aj@suse.de>
1725
1726 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
1727 and ROUND_TYPE_SIZE_UNIT.
1728
36f9020c
GB
17292003-05-22 Geert Bosch <bosch@gnat.com>
1730
1731 * gnat_rm.texi : Remove reference to Ada Core Technologies.
1732
e7b5f0c9
NS
17332003-05-03 Nathan Sidwell <nathan@codesourcery.com>
1734
1735 * trans.c (tree_transform): Use location_t and input_location
1736 directly.
1737 (build_unit_elab): Likewise.
1738 * utils.c (create_label_decl): Likewise.
1739
d479d37f
NS
17402003-05-01 Nathan Sidwell <nathan@codesourcery.com>
1741
561712fe
NS
1742 * trans.c (tree_transform, build_unit_elab,
1743 set_lineno): Rename lineno to input_line.
d479d37f
NS
1744 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
1745 end_subprog_body): Likewise.
1746 * utils2.c (build_call_raise): Likewise.
1747
4f9335cd
LG
17482003-05-01 Laurent Guerby <guerby@acm.org>
1749
2ed26f6b
ZW
1750 PR ada/10546
1751 * 5iosinte.ads: Increase pthread_cond_t size to match recent
1752 LinuxThread and NPTL version, merge from ACT.
80eaf415 1753
0864034e
ZW
17542003-04-28 Zack Weinberg <zack@codesourcery.com>
1755
1756 * utils.c (convert): No need to clear TREE_CST_RTL.
1757
bcea76b6
GB
17582003-04-23 Geert Bosch <bosch@gnat.com>
1759
1760 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
1761 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
1762 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
1763 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
1764 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
1765 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
1766 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
1767 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
1768 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
1769 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
1770 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
1771 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
1772 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
1773 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
1774 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
1775 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
1776 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
1777 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
1778 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
1779 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
1780 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
1781 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
1782 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
1783 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
1784 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
1785 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
1786 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
1787 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
1788 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
1789 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
1790 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
1791 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
1792 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
1793 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
1794 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
1795 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
1796 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
1797 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
1798 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
1799 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
1800 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
1801 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
1802 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
1803 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
1804 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
1805 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
1806 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
1807 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
1808 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
1809 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
1810 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
1811 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
1812 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
1813 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
1814 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
1815 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
1816 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
1817 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
1818 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
1819 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
1820 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
1821 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
1822 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
1823 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
1824 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
1825 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
1826 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
1827 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
1828 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
1829 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
1830 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
1831 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
1832 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
1833 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
1834 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
1835 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
1836 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
1837 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
1838 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
1839 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
1840 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
1841 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
1842 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
1843 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
1844 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
1845 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
1846 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
1847 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
1848 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
1849 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
1850 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
1851 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
1852 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
1853 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
1854 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
1855 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
1856 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
1857 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
1858 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
1859 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
1860 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
1861 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
1862 ali.adb, ali.ads, alloc.ads, argv.c,
1863 atree.adb, atree.ads, atree.h, aux-io.c,
1864 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
1865 binde.adb, binde.ads, binderr.adb, binderr.ads,
1866 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
1867 butil.adb, butil.ads, cal.c, calendar.ads,
1868 casing.adb, casing.ads, ceinfo.adb, checks.adb,
1869 checks.ads, cio.c, comperr.adb, comperr.ads,
1870 config-lang.in, csets.adb, csets.ads, csinfo.adb,
1871 cstand.adb, cstand.ads, cuintp.c, debug.adb,
1872 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
1873 dec-io.ads, dec.ads, deftarg.c, directio.ads,
1874 einfo.adb, einfo.ads, elists.adb, elists.ads,
1875 elists.h, errno.c, errout.adb, errout.ads,
1876 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
1877 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
1878 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
1879 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
1880 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
1881 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
1882 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
1883 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
1884 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
1885 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
1886 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
1887 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
1888 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
1889 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
1890 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
1891 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
1892 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
1893 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
1894 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
1895 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
1896 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
1897 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
1898 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
1899 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
1900 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
1901 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
1902 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
1903 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
1904 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
1905 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
1906 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
1907 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
1908 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
1909 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
1910 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
1911 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
1912 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
1913 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
1914 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
1915 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
1916 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
1917 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
1918 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
1919 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
1920 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
1921 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
1922 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
1923 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
1924 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
1925 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
1926 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
1927 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
1928 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
1929 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
1930 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
1931 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
1932 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
1933 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
1934 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
1935 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
1936 lib.adb, lib.ads, live.adb, live.ads,
1937 machcode.ads, make.adb, make.ads, makeusg.adb,
1938 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
1939 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
1940 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
1941 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
1942 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
1943 mlib.ads, namet.adb, namet.ads, nlists.adb,
1944 nlists.ads, opt.adb, opt.ads, osint-b.adb,
1945 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
1946 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
1947 osint.ads, output.adb, output.ads, par-ch10.adb,
1948 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
1949 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
1950 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
1951 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
1952 par-tchk.adb, par-util.adb, par.adb, par.ads,
1953 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
1954 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
1955 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
1956 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
1957 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
1958 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
1959 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
1960 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
1961 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
1962 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
1963 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
1964 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
1965 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
1966 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
1967 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
1968 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
1969 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
1970 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
1971 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
1972 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
1973 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
1974 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
1975 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
1976 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
1977 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
1978 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
1979 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
1980 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
1981 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
1982 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
1983 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
1984 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
1985 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
1986 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
1987 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
1988 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
1989 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
1990 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
1991 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
1992 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
1993 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
1994 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
1995 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
1996 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
1997 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
1998 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
1999 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
2000 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
2001 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
2002 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
2003 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
2004 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
2005 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
2006 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
2007 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
2008 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
2009 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
2010 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
2011 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
2012 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
2013 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
2014 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
2015 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
2016 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
2017 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
2018 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
2019 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
2020 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
2021 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
2022 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
2023 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
2024 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
2025 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
2026 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
2027 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
2028 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
2029 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
2030 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
2031 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
2032 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
2033 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
2034 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
2035 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
2036 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
2037 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
2038 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
2039 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
2040 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
2041 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
2042 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
2043 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
2044 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
2045 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
2046 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
2047 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
2048 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
2049 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
2050 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
2051 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
2052 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
2053 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
2054 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
2055 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
2056 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
2057 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
2058 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
2059 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
2060 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
2061 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
2062 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
2063 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2064 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2065 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
2066 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
2067 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
2068 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
2069 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
2070 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
2071 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
2072 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
2073 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
2074 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
2075 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
2076 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
2077 snames.ads, sprint.adb, sprint.ads, stand.adb,
2078 stand.ads, stringt.adb, stringt.ads, style.adb,
2079 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
2080 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
2081 switch-m.ads, switch.adb, switch.ads, system.ads,
2082 table.adb, table.ads, targparm.adb, targparm.ads,
2083 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
2084 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
2085 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
2086 ttypef.ads, ttypes.ads, types.adb, types.ads,
2087 uintp.adb, uintp.ads, uname.adb, uname.ads,
2088 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
2089 usage.adb, usage.ads, validsw.adb, validsw.ads,
2090 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
2091 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
2092 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
2093 formatting and other trivial changes from ACT.
2094
dcf92453
ZW
20952003-04-12 Zack Weinberg <zack@codesourcery.com>
2096
2097 * gigi.h, utils2.c (build_constructor):
2098 Rename gnat_build_constructor. Use build_constructor.
2099 * decl.c (gnat_to_gnu_entity)
2100 * trans.c (tree_transform, pos_to_constructor, extract_values)
2101 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
2102 (unchecked_convert)
2103 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
2104 (fill_vms_descriptor):
2105 Update to match.
2106
d78e771d
ZW
21072003-04-06 Zack Weinberg <zack@codesourcery.com>
2108
2109 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
2110 * misc.c (gnat_tree_size): New function.
2111 (LANG_HOOKS_TREE_SIZE): Override.
2112
78d55cc8
JM
21132003-04-03 Jason Merrill <jason@redhat.com>
2114
2115 * misc.c (gnat_adjust_rli): #if 0.
2116
b174e2d4
GB
21172003-03-31 Geert Bosch <bosch@gnat.com>
2118
2119 PR ada/10020
2120 * link.c : Fix misspelled "const" keyword
2121
f29a2bd1
MM
21222003-03-23 Mark Mitchell <mark@codesourcery.com>
2123
2124 PR c++/7086
2125 * utils2.c: Adjust calls to put_var_into_stack.
2126
08e247b1
NN
21272003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
2128
2129 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
2130
4bfec483
NB
21312003-03-08 Neil Booth <neil@daikokuya.co.uk>
2132
2133 * misc.c (gnat_init): Update for new prototype.
2134
3d713bb8
GB
21352003-03-05 Olivier Hainque <hainque@gnat.com>
2136
2137 ada/9961
78d55cc8
JM
2138 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
2139 warning, and fix return type for the IN_RTS && !SJLJ case.
3d713bb8 2140
8b89fcdf
TT
21412003-03-04 Tom Tromey <tromey@redhat.com>
2142
2143 * Make-lang.in (ada.tags): New target.
2144
3d713bb8 21452003-03-04 Olivier Hainque <hainque@act-europe.fr>
23cae84f
OH
2146
2147 ada/9911
2148 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
2149 wrapper, which name remains constant whatever underlying GCC
2150 scheme.
2151
2152 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
2153 the stable interface needed for a-except.
2154
f4ae98be
AJ
21552003-03-02 Andreas Jaeger <aj@suse.de>
2156
2157 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2158 gnat_ug_wnt.texi: Regenerate.
2159
5348742b
LG
21602003-03-02 Laurent Guerby <guerby@acm.org>
2161
f4ae98be 2162 * Makefile.in (install-gnatlib): Match previous change there
5348742b 2163 so it works.
f4ae98be 2164
8c108db2
AS
21652003-02-28 Andreas Schwab <schwab@suse.de>
2166
2167 * Make-lang.in (install-gnatlib): Change to ada directory before
2168 running make instead of using ada/Makefile directly.
2169
601d71bc
BE
21702003-02-18 Ben Elliston <bje@redhat.com>
2171
2172 Part of fix for PR ada/9406
2173 * gnat_ug.texi (Binder output file): Grammar fix.
2174
bf7c02dd
BE
21752003-02-18 Ben Elliston <bje@redhat.com>
2176
2177 PR other/7350
2178 * 5qtaprop.adb (Sleep): Fix typo in comment.
2179
b3a8389d
JM
21802003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2181
2182 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
2183 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2184 gnat_ug_wnt.texi: Regenerate.
2185
5da14cb5
CC
21862003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2187
2188 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
2189 be created if necessary.
2190 (ada.install-common): Let $(DESTDIR)$(bindir) be created
2191 if necessary. Remove erroneous and redundant gnatchop
2192 installation commands. Test for gnatdll before attempting
2193 to install it.
2194 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
2195 and gnatdll from all plausible locations.
2196
271bd540
RS
21972003-02-01 Richard Sandiford <rsandifo@redhat.com>
2198
2199 * utils2.c (build_unary_op): Don't check flag_volatile.
2200 * gnat_ug.texi: Remove -fvolatile from example.
2201 * gnat_ug_vxw.texi: Likewise.
2202
c1cc6a51
LG
22032003-01-29 Laurent Guerby <guerby@acm.org>
2204
d78e771d
ZW
2205 PR ada/8344
2206 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
2207 * Makefile.in: match previous change.
2208 * Make-lang.in: match previous change.
c1cc6a51 2209
c4039eb0
JS
22102003-01-29 Joel Sherrill <joel@OARcorp.com>
2211
2212 * 5rosinte.ads: Add SIGXCPU.
2213 * 5rtpopsp.adb: New file.
2214 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
2215 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
2216 specific file 5rtpopsp.adb.
2217 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
2218 is likely needed for all newlib targets.
2219 * init.c: Add RTEMS specific version of __gnat_initialize().
2220
00d29f7d
RO
22212003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2222
2223 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
2224
437026ef
RO
22252003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2226
2227 * init.c (__gnat_error_handler): Make msg const.
2228
2229 * gmem.c (convert_addresses): Move declaration ...
2230 * adaint.h: ... here.
2231 * adaint.c (convert_addresses): Adapt addrs type to match
2232 prototype.
2233
2234 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
2235
e12825cd
AS
22362003-01-24 Andreas Schwab <schwab@suse.de>
2237
2238 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
2239 size_t to avoid warning.
2240
a8729406
ZW
22412003-01-21 Zack Weinberg <zack@codesourcery.com>
2242
b09b91b9 2243 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
a8729406 2244
17211ab5
GK
22452003-01-09 Geoffrey Keating <geoffk@apple.com>
2246
2247 * gnat_rm.texi: Remove RCS version number.
2248
2249 * ada-tree.h (union lang_tree_node): Add chain_next option.
2250
1d27195c
CC
22512003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2252
2253 * Make-lang.in (ada.install-info, ada.install-common,
2254 ada.uninstall): Prepend $(DESTDIR) to the destination
2255 directory in all (un)installation commands.
2256 * Makefile.in (install-gnatlib, install-rts): Ditto.
2257
bdefb2ab
JM
22582002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
2259
2260 * gnat_rm.texi, gnat_ug.texi: Use @copying.
2261 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2262 gnat_ug_wnt.texi: Regenerate.
2263
46d40353
JM
22642002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
2265
2266 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
2267 only.
2268 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
2269 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
2270 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
2271 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
2272 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
2273 $(srcdir)/doc/include/gcc-common.texi.
2274
d2f97d3e
GB
22752002-12-15 Geert Bosch <bosch@gnat.com>
2276
2277 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
2278
93a81b02
GB
22792002-12-14 Geert Bosch <bosch@gnat.com>
2280
4977bab6
ZW
2281 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
2282 case of a body created for a Renaming_As_Body, on which
2283 conformance checks are not performed. Fixes PR ada/5690.
2284
22852002-11-30 Zack Weinberg <zack@codesourcery.com>
2286
2287 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
2288 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
2289 not already included.
2290 * Make-lang.in: Update dependencies.
93a81b02 2291
dfc15546
NN
22922002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
2293 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
4977bab6 2294 solution to buffer overflow bug on GNU/Linux.
dfc15546 2295
8b54424d
NN
22962002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
2297 Closes PR ada/5856 and PR ada/6919 !
2298 * bindgen.adb: Remove all references to Public_Version.
2299 * comperr.adb: Remove all references to Public_Version and
2300 GNATPRO_Version; correct bug reporting instructions.
2301 * comperr.ads: Change to match bug box.
2302 * gnatvsn.ads: Remove all references to Public version and
2303 GNATPRO version.
2304
cc41268d 23052002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
1a083c0e
NN
2306 PR ada/6919
2307 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
2308 GNU/Linux.
2309
cc41268d
NN
2310 PR ada/6558
2311 * config-lang.in: Remove diff_excludes.
2312
1c7b0712
GS
23132002-11-05 Graham Stott <graham.stott@btinternet.com>
2314 PR ada/8358
2315 * trans.c (gnu_pending_elaboration_lists): New GC root.
4977bab6 2316 (build_unit_elab): Use..
1c7b0712 2317
1c4048ca
GB
23182002-10-30 Geert Bosch <bosch@gnat.com>
2319 PR ada/6558
2320 * misc.c : Include optabs.h
2321
2322 * Make-lang.in (misc.o): Add dependency on optabs.h
2323
f0d96f9c 23242002-10-29 Geert Bosch <bosch@gnat.com>
4977bab6 2325 PR ada/6558
f0d96f9c
GB
2326 * Make-lang.in (gnatbind): Depend on CONFIG_H
2327
a7512dec 23282002-10-29 Geert bosch <bosch@gnat.com>
4977bab6
ZW
2329 PR ada/6558
2330 * misc.c: Unrevert misc.c (1.13)
a7512dec 2331
c6362f4f
NN
23322002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
2333
2334 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
2335 maintainership comments.
2336
23372002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
91ed4b19 2338 PR ada/5904
4977bab6
ZW
2339 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
2340 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
2341 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
2342 7staprop.adb: Correct statements in comments about
91ed4b19
NN
2343 maintainership of GNAT.
2344
1f02b6af 2345 PR ada/5904
4977bab6
ZW
2346 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
2347 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
2348 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
2349 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
2350 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
2351 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
2352 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
1f02b6af
NN
2353 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
2354 comments about maintainership of GNAT.
2355
71ff80dc 2356 PR ada/6919 (forward port of patch for PR ada/5904)
4977bab6
ZW
2357 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
2358 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
2359 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
2360 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
2361 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
2362 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
2363 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
2364 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
2365 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
2366 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
2367 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
2368 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
2369 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
2370 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
2371 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
2372 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
2373 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
2374 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
2375 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
2376 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
2377 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
2378 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
2379 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
2380 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
2381 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
2382 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
2383 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
2384 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
2385 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
2386 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
2387 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
2388 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
2389 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
2390 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
2391 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
2392 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
2393 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
2394 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
2395 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
2396 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
2397 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
2398 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
2399 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
2400 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
2401 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
2402 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
2403 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
2404 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
2405 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
2406 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
2407 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
2408 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
2409 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
2410 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
2411 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
2412 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
2413 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
2414 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
2415 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
2416 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
2417 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
2418 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
2419 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
2420 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
2421 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
2422 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
2423 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
2424 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
2425 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
2426 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
2427 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
2428 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
2429 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
2430 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
2431 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
2432 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
2433 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
2434 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
2435 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
2436 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
2437 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
2438 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
2439 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
2440 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
2441 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
2442 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
2443 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
2444 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
2445 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
2446 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
2447 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
2448 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
2449 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
2450 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
2451 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
2452 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
2453 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
2454 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
2455 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
2456 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
2457 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
2458 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
2459 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
2460 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
2461 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
2462 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
2463 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
2464 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
2465 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
2466 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
2467 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
2468 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
2469 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
2470 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
2471 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
2472 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
2473 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
2474 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
2475 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
2476 par-endh.adb par-labl.adb par-load.adb par-prag.adb
2477 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
2478 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
2479 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
2480 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
2481 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
2482 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
2483 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
2484 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
2485 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
2486 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
2487 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
2488 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
2489 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
2490 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
2491 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
2492 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
2493 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
2494 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
2495 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
2496 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
2497 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
2498 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
2499 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
2500 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
2501 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
2502 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
2503 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
2504 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
2505 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
2506 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
2507 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
2508 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
2509 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
2510 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
2511 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
2512 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
2513 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
2514 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
2515 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
2516 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
2517 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
2518 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
2519 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
2520 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
2521 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
2522 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
2523 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
2524 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
2525 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
2526 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
2527 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
2528 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
2529 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
2530 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
2531 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
2532 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
2533 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
2534 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
2535 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
2536 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
2537 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
2538 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
2539 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
2540 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
2541 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
2542 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
2543 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
2544 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
2545 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
2546 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
2547 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
2548 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
2549 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
2550 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
2551 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
2552 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
2553 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
2554 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
2555 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
2556 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
2557 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
2558 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
2559 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
2560 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
2561 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
2562 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
2563 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
2564 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
2565 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
2566 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
2567 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
2568 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
2569 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
2570 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
2571 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
2572 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
2573 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
2574 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
2575 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
2576 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
2577 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
2578 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
2579 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
2580 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
2581 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
2582 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
2583 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
2584 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
2585 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
2586 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
2587 stringt.ads stringt.h style.adb style.ads stylesw.adb
2588 stylesw.ads switch.adb switch.ads sysdep.c system.ads
2589 table.adb table.ads targparm.adb targparm.ads targtyps.c
2590 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
2591 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
2592 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
2593 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
2594 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
2595 usage.ads utils.c utils2.c validsw.adb validsw.ads
2596 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
2597 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
71ff80dc
NN
2598 xtreeprs.adb: Correct statements in comments about maintainership
2599 of GNAT.
2600
b4f94ac1
ZW
26012002-09-23 Zack Weinberg <zack@codesourcery.com>
2602
2603 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
2604 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
2605 * gnatvsn.ads: Gnat_Version_String is now a function.
2606 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
2607 copy the C version_string into a String and return it.
2608 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
2609 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
2610 Remove pragma Ident (Gnat_Version_String). If this was the
2611 sole use of package Gnatvsn, remove the with statement too.
2612 * gnat1drv.adb: Tweak -gnatv output.
2613
eaff3bf8
RH
26142002-09-17 Richard Henderson <rth@redhat.com>
2615
2616 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
2617 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
2618 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
2619 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
2620 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
2621 and real_2expN instead of a loop.
2622 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
2623 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
2624
d241f75b 26252002-08-25 Andre Leis <a.leis@gmx.net>
f4ae98be 2626 David Billinghurst (David.Billinghurst@riotinto.com>
d241f75b 2627
f4ae98be 2628 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
d241f75b 2629
4320085a
RO
26302002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2631
2632 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
2633 Remove $(CONFIG_H) dependency.
2634
22aa533e
NS
26352002-08-08 Nathan Sidwell <nathan@codesourcery.com>
2636
2637 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
2638
1dcd444b
KG
26392002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2640
2641 * adadecode.c (ada_demangle): Use xstrdup in lieu of
2642 xmalloc/strcpy.
2643 * misc.c (gnat_decode_option): Likewise.
2644
7bc7d27b
FW
26452002-07-15 Florian Weimer <fw@deneb.enyo.de>
2646
2647 * make.adb (Add_Switch): Make Generic_Position a procedure. The
2648 function approach did not work well because of a side effect (the
2649 function call could reallocate the table which was being indexed
2650 using its result). Fixes ada/4851. [RESURRECTED]
2651
6a2dd09a
RS
26522002-07-01 Roger Sayle <roger@eyesopen.com>
2653
2654 * ada/utils.c (builtin_function): Accept an additional parameter.
2655
c168bbd7
AJ
26562002-06-28 Andreas Jaeger <aj@suse.de>
2657
2658 PR ada/7144
2659 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
2660 <adi@thur.de>.
2661
b41e09a7
KG
26622002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2663
2664 * Makefile.in (SHELL): Set to @SHELL@.
2665
62c71f4b
KG
26662002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2667
2668 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
2669 array size calculation.
2670
94213cff
AJ
26712002-06-04 Andreas Jaeger <aj@suse.de>
2672
2673 * Make-lang.in (gnatbind): Readd rule that has been lost in last
2674 patch.
2675
e2500fed
GK
26762002-06-03 Geoffrey Keating <geoffk@redhat.com>
2677
2678 Merge from pch-branch:
2679
2680 * config-lang.in (gtfiles): Add ada-tree.h.
2681 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
2682 (SET_TYPE_MODULUS): New.
2683 (SET_TYPE_INDEX): New.
2684 (SET_TYPE_DIGITS_VALUE): New.
2685 (SET_TYPE_RM_SIZE): New.
2686 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
2687 (SET_TYPE_ADA_SIZE): New.
2688 (SET_TYPE_ACTUAL_BOUNDS): New.
2689 (SET_DECL_CONST_CORRESPONDING_VAR): New.
2690 (SET_DECL_ORIGINAL_FIELD): New.
2691 (TREE_LOOP_ID): Correct typo.
2692 * decl.c: Use new macros.
2693 * utils.c: Include debug.h, use new macros.
94213cff 2694 * utils2.c: Use new macros.
e2500fed
GK
2695
2696 * ada-tree.h: Update all macros for new tree description.
2697 (struct tree_loop_id): New.
2698 (union lang_tree_node): New.
2699 (struct lang_decl): New.
2700 (struct lang_type): New.
2701 * misc.c (gnat_mark_tree): Delete.
2702 (LANG_HOOKS_MARK_TREE): Delete.
2703 * trans.c (tree_transform): No longer any need to cast
2704 for TREE_LOOP_ID.
2705
2706 * utils.c (struct language_function): New dummy structure.
2707
2708 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
2709 (misc.o): Likewise.
2710 (utils.o): Likewise; also gtype-ada.h.
2711 * Make-lang.in (gnat1): Add dependency on s-gtype.
2712 (gnatbind): Add dependency on $(CONFIG_H).
2713 * utils.c: Correct last #include.
2714 (stuct e_stack): Remove unnecessary 'static'.
2715 (mark_e_stack): Remove unused prototype.
2716
2717 * scn-nlit.adb: Remove whitespace after version number to
2718 keep lines under 80 chars.
2719 * snames.adb: Likewise.
2720 * treepr.ads: Likewise.
94213cff 2721
e2500fed
GK
2722 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
2723 (misc.o): Likewise.
2724 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
2725 * config-lang.in (gtfiles): New.
2726 * decl.c: Use gengtype for roots.
2727 * gigi.h: Use gengtype for roots.
2728 * trans.c: Use gengtype for roots.
2729 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
2730
27e511e0
GDR
27312002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
2732
2733 * misc.c (gnat_init): Adjust setting of internal_error_function.
2734
113dc143
JM
27352002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
2736
2737 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
2738 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2739 gnat_ug_wnt.texi: Regenerate.
2740
5321fb3e
FW
27412002-05-31 Florian Weimer <fw@deneb.enyo.de>
2742
15e6136e
FW
2743 * 5ntaprop.adb (with System.OS_Primitives): Remove.
2744
019310ac
FW
2745 * cstreams.c (max_path_len): Move from here ...
2746 * adaint.c (__gnat_max_path_len): ... to here.
2747 * adaint.c (__gnat_max_path_len): Declare.
2748 * g-dirope.adb (Max_Path): Adjust.
2749 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
94213cff 2750 * i-cstrea.ads (max_path_len): Adjust.
019310ac
FW
2751 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
2752 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
2753
5321fb3e
FW
2754 * Makefile.in, Make-lang.in: Documentation is now built in
2755 Make-lang.in. Store Info and generated Texinfo files in the
2756 source directory.
2757 * gnat_ug.texi: Remove CVS keywords, correct version number.
2758 Set file name correctly.
2759
2760 * gnat_ug_*.texi: Add.
2761 * .cvsignore: Ignore generated Texinfo files.
2762
b1c12c4b
ZW
27632002-05-30 Zack Weinberg <zack@codesourcery.com>
2764
2765 * ada.h: Add MI guard macro.
2766 (SUBTYPE): Define constants with an anonymous enum, not static
2767 const variables.
2768 (IN): Cast constants to appropriate type before use.
2769
ead33da9
JM
27702002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
2771
2772 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
2773 (experimental)".
2774
7d600178
RO
27752002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2776
2777 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
2778 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
2779 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
2780 (ALL_ADA_CFLAGS): Likewise.
2781 (ADA_INCLUDES): Likewise.
2782 Adapt for new working dir.
2783 (GNATBIND): Use Makefile.in version.
2784 (.SUFFIXES): Copy from Makefile.in.
2785 (ada-warn): Define.
2786 (.adb.o, .ads.o): Copy from Makefile.in.
2787 Added $(OUTPUT_OPTION).
2788 (GNAT1_C_OBJS): Moved from Makefile.in.
2789 Prefix with ada subdir.
2790 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
2791 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
2792 Adapt for new working dir.
2793 (EXTRA_GNATBIND_OBJS): Likewise.
2794 (ADA_BACKEND): Moved from Makefile.in.
2795 Renamed to avoid conflict with global BACKEND.
2796 Use that one.
2797 (TARGET_ADA_SRCS): Moved from Makefile.in.
2798 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
2799 Use ADA_BACKEND.
2800 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
2801 (ada_extra_files): Moved from Makefile.in.
2802 Prefix with ada subdir.
2803 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
2804 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
2805 (ada/nmake.ads): Likewise.
2806 (update-sources): Moved from Makefile.in.
2807 Prefix with ada subdir.
2808 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
2809 (ADA_TREE_H): Likewise.
2810 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
2811 (ada/memtrack.o): Likewise.
2812 (ada/adadecode.o): Likewise.
2813 Update dependencies.
2814 (ada/adaint.o): New.
2815 (ada/argv.o): Moved from Makefile.in.
2816 Prefix with ada subdir.
94213cff 2817 Update dependencies.
7d600178
RO
2818 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
2819 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
2820 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
2821 Prefix with ada subdir.
2822 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
2823 (GNAT DEPENDENCIES): Regenerate.
2824 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
2825 toplevel Makefile.in.
2826 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
2827 (TARGET_ADA_SRCS): Removed.
2828 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
2829 (GNATBIND_OBJS): Likewise.
2830 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
2831 (BACKEND): Removed.
2832 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
2833 (TREE_H): Likewise.
2834 (ada_extra_files): Likewise.
2835 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
2836 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
2837 (update-sources): Likewise.
2838 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
2839 (ADA_TREE_H): Likewise.
2840 (adadecoce.o): Likewise.
2841 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
2842 (GNAT DEPENDENCIES): Likewise.
2843
1e6347d8
RO
28442002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2845
2846 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
2847 * Makefile.in: Likewise.
2848
db80834f
RO
28492002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2850
2851 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
2852 Restore $(CONFIG_H) and prefix.o dependencies.
2853 (ada.stage[1-4]): Depend on stage?-start.
2854
2855 * Makefile.in (b_gnatb.c): Depend on interfac.o.
2856
ac293f98
JW
28572002-05-02 Jim Wilson <wilson@redhat.com>
2858
2859 * utils.c (finish_record_type): Change record_size to record_type.
2860
b303008e
JDA
28612001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
2862
2863 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
2864 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
2865 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
94213cff 2866
ff45c01e
NB
28672002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
2868
2869 * misc.c (gnat_parse_file): Update.
2870
349ae713
NB
28712002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
2872
2873 * misc.c (gnat_init): Don't set lang_attribute_common.
2874
ace133aa
JM
28752002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
2876
2877 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
2878
5c558dd9
FW
28792002-04-21 Florian Weimer <fw@deneb.enyo.de>
2880
b4f94ac1 2881 * gnat_ug.texi: New file.
88e1739c 2882
5c558dd9
FW
2883 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
2884 instead of gfdl.texi
2885
2886 * xgnatug.adb, ug_words: New files.
2887
2888 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
b4f94ac1 2889 gnat_rm and gnat-style manuals.
5c558dd9 2890
7a228918
NB
28912002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
2892
2893 * gigi.h (incomplete_type_error): Remove.
2894 * utils.c (incomplete_type_error): Remove.
2895
b2123dc0
MM
28962002-04-16 Mark Mitchell <mark@codesourcery.com>
2897
2898 * trans.c (tree_transform): Add has_scope argument to
2899 expand_start_stmt_expr.
2900
78ef5b89
NB
29012002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
2902
2903 * gigi.h (truthvalue_conversion): Rename.
2904 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
2905 * trans.c (tree_transform): Update.
2906 * utils2.c (truthvalue_conversion): Rename, update.
2907 (build_binary_op, build_unary_op): Update.
2908
a71742a8
LG
29092002-04-04 Laurent Guerby <guerby@acm.org>
2910
2911 * make.adb: Implement -margs, remove restriction about file name placement.
2912 * makeusg.adb: Documentation update.
2913 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
2914 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
2915
82a4b025
NB
29162002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
2917
2918 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
2919 (builtin_function): Similarly.
2920
dffd7eb6
NB
29212002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
2922
2923 * decl.c (gnat_to_gnu_entity): Update.
2924 * gigi.h (mark_addressable): Rename.
2925 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
2926 * trans.c (tree_transform): Update.
2927 * utils.c (create_var_decl): Update.
2928 * util2.c (build_binary_op, build_unary_op,
2929 fill_vms_descriptor): Update.
2930 (mark_addressable): Rename, update.
2931
ceef8ce4
NB
29322002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
2933
2934 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
2935 Rename.
2936 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
2937 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
2938 * trans.c (tree_transform, convert_with_check): Update.
2939 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
2940 Rename.
2941
48a7a235
NB
29422002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
2943
2944 * gigi.h (finish_incomplete_decl): Rename.
2945 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
2946 * utils.c (gnat_init_decl_processing): Don't set hook.
2947 (finish_incomplete_decl): Rename.
2948
1d5af871
AS
29492002-03-29 Andreas Schwab <schwab@suse.de>
2950
2951 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
2952 directory.
2953
8cbb664e
MG
29542001-03-28 Robert Dewar <dewar@gnat.com>
2955
2956 * checks.ads:
2957 (Remove_Checks): New procedure
2958
2959 * checks.adb:
2960 (Remove_Checks): New procedure
2961
2962 * exp_util.adb:
2963 Use new Duplicate_Subexpr functions
2964 (Duplicate_Subexpr_No_Checks): New procedure
2965 (Duplicate_Subexpr_No_Checks_Orig): New procedure
2966 (Duplicate_Subexpr): Restore original form (checks duplicated)
2967 (Duplicate_Subexpr): Call Remove_Checks
2968
82a4b025 2969 * exp_util.ads:
8cbb664e
MG
2970 (Duplicate_Subexpr_No_Checks): New procedure
2971 (Duplicate_Subexpr_No_Checks_Orig): New procedure
2972 Add 2002 to copyright notice
2973
2974 * sem_util.adb: Use new Duplicate_Subexpr functions
2975
82a4b025 2976 * sem_eval.adb:
8cbb664e
MG
2977 (Eval_Indexed_Component): This is the place to call
2978 Constant_Array_Ref and to replace the value. We simply merge
2979 the code of this function in here, since it is now no longer
2980 used elsewhere. This fixes the problem of the back end not
2981 realizing we were clever enough to see that this was
2982 constant.
2983 (Expr_Val): Remove call to Constant_Array_Ref
2984 (Expr_Rep_Val): Remove call to Constant_Array_Ref
2985 Minor reformatting
2986 (Constant_Array_Ref): Deal with string literals (patch
2987 suggested by Zack Weinberg on the gcc list)
2988
29892001-03-28 Ed Schonberg <schonber@gnat.com>
2990
82a4b025 2991 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
8cbb664e
MG
2992 Duplicate_Subexpr_Move_Checks.
2993
82a4b025 2994 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
8cbb664e
MG
2995 Duplicate_Subexpr_Move_Checks.
2996
82a4b025
NB
2997 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
2998 value of array exists before retrieving it (it may a private
8cbb664e
MG
2999 protected component in a function).
3000
792c4e74
GB
30012002-03-28 Geert Bosch <bosch@gnat.com>
3002
3003 * prj-pp.adb : New file.
3004
3005 * prj-pp.ads : New file.
3006
915e8bad
AJ
30072002-03-28 Andreas Jaeger <aj@suse.de>
3008
3009 * Makefile.in (stamp-sdefault): Fix path for Makefile.
3010
0840811c
NB
30112002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
3012
3013 * misc.c (gnat_expand_expr): Move prototype.
3014
7ffb4fd2
NB
30152002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
3016
3017 * misc.c (insert_default_attributes): Remove.
3018
c9d892a8
NB
30192002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
3020
3021 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
3022 (gnat_init): Don't set hook.
3023 (gnat_expand_expr): Fix prototype.
3024
31c816cf
NB
30252002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
3026
3027 * misc.c (ggc_p): Remove.
3028
ef83161c
GB
30292002-03-27 Geert Bosch <bosch@gnat.com>
3030
3031 * prj-makr.ads, prj-makr.adb : New files.
3032
4f0ade92
NB
30332002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
3034
3035 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
3036 (lang_mark_tree): Make static, rename.
3037
c88770e9
NB
30382002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
3039
3040 * misc.c (maybe_build_cleanup): Remove.
3041
05671968
NB
30422002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
3043
3044 * gigi.h (yyparse): Remove.
3045
ad42149c
FW
30462002-03-23 Florian Weimer <fw@deneb.enyo.de>
3047
82a4b025 3048 * gnat_rm.texi: Sync with ACT version.
b4f94ac1 3049 (From Ben Brosgol <brosgol@gnat.com>)
ad42149c 3050
7afff7cf
NB
30512002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
3052
3053 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
3054 (gnat_init): Remove old hook.
3055
52dabb6c
NB
30562002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
3057
3058 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
3059 (yyparse): Rename gnat_parse_file.
3060
6cbcc541
GK
30612002-03-14 Geoffrey Keating <geoffk@redhat.com>
3062
3063 Delete all lines containing "$Revision:".
3064 * xeinfo.adb: Don't look for revision numbers.
3065 * xnmake.adb: Likewise.
3066 * xsinfo.adb: Likewise.
3067 * xsnames.adb: Likewise.
3068 * xtreeprs.adb: Likewise.
3069
2f9834e8
KG
30702002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3071
3072 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
3073 gnat_tree_code_name): Delete.
3074 (tree_code_type, tree_code_length, tree_code_name): Define.
3075 (gnat_init): Don't try to copy into the various tree_code
3076 arrays.
3077
63adb4ff
RH
30782002-03-11 Richard Henderson <rth@redhat.com>
3079
3080 * Makefile.in (.NOTPARALLEL): Add fake tag.
3081
43ff4547
GB
30822002-03-07 Geert Bosch <bosch@gnat.com>
3083
82a4b025
NB
3084 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
3085 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
3086 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
43ff4547
GB
3087 switch-m.adb, switch-m.ads : New files.
3088
07fc65c4
GB
30892002-03-07 Geert Bosch <bosch@gnat.com>
3090
3091 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
3092 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
3093 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
3094 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
3095 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
3096 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
3097 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
3098 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
3099 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
3100 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
3101 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
3102 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
3103 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
3104 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
3105 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
3106 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
3107 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
3108 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
3109 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
3110 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
3111 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
3112 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
3113 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
3114 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
3115 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
3116 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
3117 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
3118 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
3119 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
3120 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
3121 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
3122 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
3123 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
3124 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
3125 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
3126 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
3127 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
3128 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
3129 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
3130 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
3131 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
3132 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
3133 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
3134 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
3135 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
3136 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
3137 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
3138 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
3139 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
3140 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
3141 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
3142 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
3143 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
3144 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
3145 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
3146 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
3147 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
3148 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
3149 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
3150 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
3151 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
3152 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
3153 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
3154 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
3155 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
3156 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
3157 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
3158 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
3159 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
3160 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
3161 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
3162 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
3163 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
3164 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
3165 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
3166 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3167 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
3168 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
3169 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
3170 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
3171 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
3172 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
3173 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
3174 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
3175 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
3176 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
3177 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
3178 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
3179 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
3180 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
3181 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
3182 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
3183 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
3184 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
3185 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
3186 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
3187 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
3188
3189 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
3190 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
3191 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
3192 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
3193
3194 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
3195 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
3196
3197 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
3198 to mdll-fil.ad[bs] and mdll-util.ad[bs]
3199
3200 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
3201 from mdllfile.ad[bs] and mdlltool.ad[bs]
3202
ca7558fc
KG
32032002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3204
3205 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
3206 lieu of explicit sizeof/sizeof.
3207
63e1b1c4
NB
32082002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
3209
3210 * misc.c (copy_lang_decl): Remove.
3211
f458d1d5
ZW
32122002-02-27 Zack Weinberg <zack@codesourcery.com>
3213
3214 * misc.c: Delete traditional-mode-related code copied from the
3215 C front end but not used, or used only to permit the compiler
3216 to link.
3217
21e09952
RH
32182002-02-07 Richard Henderson <rth@redhat.com>
3219
3220 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
3221 * adaint.h (__gnat_to_gm_time): Update prototype.
3222
ead39bdf 32232002-01-30 Richard Henderson <rth@redhat.com>
e803a64b
RH
3224
3225 * trans.c (tree_transform) [N_Loop_Statement]: Use
3226 expand_exit_loop_top_cond.
3227
72ac12bf
RH
32282001-12-23 Richard Henderson <rth@redhat.com>
3229
3230 * utils.c (end_subprog_body): Push GC context around
3231 rest_of_compilation for nested functions.
3232
14aacce7
RH
32332001-12-23 Richard Henderson <rth@redhat.com>
3234
3235 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
3236
b3d45d87
FW
32372001-12-23 Florian Weimer <fw@deneb.enyo.de>
3238
ece2d1b8
FW
3239 * gnat-style.texi (Declarations and Types): Remove ancient style
3240 rule which was mandated by code generation issues.
82a4b025 3241
b3d45d87
FW
3242 * gnat-style.texi (header): Add @dircategory, @direntry.
3243 (title page): Remove date.
3244 (general) Add @./@: where approriate, and two spaces after the
3245 full stop at the end of a sentence. Use @samp markup when
3246 referring concrete lexical entities (keywords, attribute names
3247 etc.), and @syntax for ARM grammar elements. Use @r for English
3248 text in comments. Use @emph for emphasis. Change "if-statements"
3249 etc. to "if statements" (without @samp). Break long lines. Make
3250 casing of section names consistent.
3251 (Identifiers): Use @samp markup for variable names.
3252 (Comments): Use @samp markup for comment characters. Line-end
3253 comments may follow any Ada code, not just statements. Fix
3254 misspelling of "Integer" as "integer".
3255 (Loop statements): Do not use variable name "I", use "J".
3256 (Subprogram Declarations): Document alignment.
3257 (Subprogram Bodies, Block statements): Document empty line before
3258 "begin".
3259
7a73ad55
FW
32602001-12-22 Florian Weimer <fw@deneb.enyo.de>
3261
3262 * make.adb (Add_Switch): Make Generic_Position a procedure. The
3263 function approach did not work well because of a side effect (the
3264 function call could reallocate the table which was being indexed
3265 using its result). Fixes ada/4851.
3266
17c5c8a5
GB
32672001-12-19 Robert Dewar <dewar@gnat.com>
3268
3269 * bindgen.adb: Minor reformatting
82a4b025 3270
17c5c8a5 3271 * cstand.adb: Minor reformatting
82a4b025 3272
17c5c8a5
GB
3273 * fmap.adb: Minor reformatting
3274 Change name from Add for Add_To_File_Map (Add is much too generic)
3275 Change Path_Name_Of to Mapped_Path_Name
3276 Change File_Name_Of to Mapped_File_Name
3277 Fix copyright dates in header
82a4b025 3278
17c5c8a5
GB
3279 * fmap.ads:
3280 Change name from Add for Add_To_File_Map (Add is much too generic)
3281 Change Path_Name_Of to Mapped_Path_Name
3282 Change File_Name_Of to Mapped_File_Name
3283 Fix copyright dates in header
82a4b025 3284
17c5c8a5
GB
3285 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
3286 Add use clause for Fmap.
82a4b025 3287
17c5c8a5 3288 * make.adb: Minor reformatting
82a4b025 3289
17c5c8a5
GB
3290 * osint.adb: Minor reformatting. Change of names in Fmap.
3291 Add use clause for Fmap.
82a4b025 3292
17c5c8a5 3293 * prj-env.adb: Minor reformatting
82a4b025 3294
17c5c8a5 3295 * prj-env.ads: Minor reformatting
82a4b025 3296
07fc65c4
GB
3297 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
3298 error found (there were odd exceptions to this general rule in
17c5c8a5 3299 -gnatec/-gnatem processing)
82a4b025 3300
17c5c8a5
GB
33012001-12-19 Olivier Hainque <hainque@gnat.com>
3302
07fc65c4
GB
3303 * raise.c (__gnat_eh_personality): Exception handling personality
3304 routine for Ada. Still in rough state, inspired from the C++ version
17c5c8a5 3305 and still containing a bunch of debugging artifacts.
07fc65c4 3306 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
17c5c8a5 3307 inspired from the C++ library.
82a4b025 3308
07fc65c4 3309 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
17c5c8a5 3310 exception handling integration.
82a4b025 3311
17c5c8a5
GB
33122001-12-19 Arnaud Charlet <charlet@gnat.com>
3313
3314 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
3315 (HIE_SOURCES): Add s-secsta.ad{s,b}.
3316 (HIE_OBJS): Add s-fat*.o
07fc65c4 3317 (RAVEN_SOURCES): Remove files that are no longer required. Add
17c5c8a5
GB
3318 interrupt handling files.
3319 (RAVEN_MOD): Removed, no longer needed.
82a4b025 3320
17c5c8a5
GB
33212001-12-19 Robert Dewar <dewar@gnat.com>
3322
3323 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
3324 Add 2001 to copyright date
82a4b025 3325
07fc65c4 3326 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
17c5c8a5 3327 need to force universal inlining for these cases.
82a4b025 3328
17c5c8a5
GB
33292001-12-19 Arnaud Charlet <charlet@gnat.com>
3330
07fc65c4 3331 * s-taprob.adb: Minor clean ups so that this unit can be used in
17c5c8a5 3332 Ravenscar HI.
82a4b025 3333
17c5c8a5
GB
3334 * exp_ch7.adb: Allow use of secondary stack in HI mode.
3335 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
82a4b025 3336
17c5c8a5
GB
33372001-12-19 Vincent Celier <celier@gnat.com>
3338
07fc65c4 3339 * prj-tree.ads (Project_Node_Record): Add comments for components
17c5c8a5 3340 Pkg_Id and Case_Insensitive.
82a4b025 3341
17c5c8a5
GB
33422001-12-19 Pascal Obry <obry@gnat.com>
3343
3344 * g-socket.adb: Minor reformatting. Found while reading code.
82a4b025 3345
17c5c8a5
GB
33462001-12-19 Robert Dewar <dewar@gnat.com>
3347
3348 * prj-tree.ads: Minor reformatting
3349
38be19f6
JM
33502001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
3351
3352 * config-lang.in (diff_excludes): Remove.
3353
6510f4c9
GB
33542001-12-17 Ed Schonberg <schonber@gnat.com>
3355
07fc65c4
GB
3356 * sem_res.adb (Resolve_Selected_Component): do not generate a
3357 discriminant check if the selected component is a component of
6510f4c9
GB
3358 the argument of an initialization procedure.
3359
07fc65c4
GB
3360 * trans.c (tree_transform, case of arithmetic operators): If result
3361 type is private, the gnu_type is the base type of the full view,
6510f4c9 3362 given that the full view itself may be a subtype.
82a4b025 3363
6510f4c9
GB
33642001-12-17 Robert Dewar <dewar@gnat.com>
3365
3366 * sem_res.adb: Minor reformatting
82a4b025 3367
07fc65c4
GB
3368 * trans.c (tree_transform, case N_Real_Literal): Add missing third
3369 parameter in call to Machine (unknown horrible effects from this
6510f4c9 3370 omission).
82a4b025 3371
6510f4c9
GB
3372 * urealp.h: Add definition of Round_Even for call to Machine
3373 Add third parameter for Machine
82a4b025 3374
6510f4c9
GB
33752001-12-17 Ed Schonberg <schonber@gnat.com>
3376
07fc65c4 3377 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
6510f4c9 3378 predefined units in No_Run_Time mode.
82a4b025 3379
6510f4c9
GB
33802001-12-17 Richard Kenner <kenner@gnat.com>
3381
3382 * misc.c (insn-codes.h): Now include.
82a4b025 3383
6510f4c9
GB
33842001-12-17 Olivier Hainque <hainque@gnat.com>
3385
07fc65c4 3386 * a-except.adb: Preparation work for future integration of the GCC 3
6510f4c9
GB
3387 exception handling mechanism
3388 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
3389 to factorize previous code sequences and make them externally callable,
3390 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
3391 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
3392 Use the new notification routines.
82a4b025 3393
6510f4c9
GB
33942001-12-17 Emmanuel Briot <briot@gnat.com>
3395
3396 * prj-tree.ads (First_Choice_Of): Document the when others case
82a4b025 3397
6510f4c9
GB
33982001-12-17 Arnaud Charlet <charlet@gnat.com>
3399
07fc65c4 3400 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
6510f4c9 3401 HI-E mode, in order to support Ravenscar profile properly.
82a4b025 3402
07fc65c4 3403 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
6510f4c9 3404 mode on 32 bits targets.
82a4b025 3405
6510f4c9
GB
34062001-12-17 Vincent Celier <celier@gnat.com>
3407
3408 * fmap.adb: Initial version.
82a4b025 3409
6510f4c9 3410 * fmap.ads: Initial version.
82a4b025 3411
6510f4c9
GB
3412 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
3413 If search is successfully done, add to mapping.
82a4b025 3414
6510f4c9 3415 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
82a4b025 3416
6510f4c9
GB
3417 * make.adb:
3418 (Gnatmake): Add new local variable Mapping_File_Name.
3419 Create mapping file when using project file(s).
3420 Delete mapping file before exiting.
82a4b025 3421
6510f4c9 3422 * opt.ads (Mapping_File_Name): New variable
82a4b025 3423
6510f4c9 3424 * osint.adb (Find_File): Use path name found in mapping, if any.
82a4b025 3425
6510f4c9 3426 * prj-env.adb (Create_Mapping_File): New procedure
82a4b025 3427
6510f4c9 3428 * prj-env.ads (Create_Mapping_File): New procedure.
82a4b025 3429
07fc65c4 3430 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
6510f4c9 3431 (Mapping_File)
82a4b025 3432
6510f4c9 3433 * usage.adb: Add entry for new switch -gnatem.
82a4b025 3434
6510f4c9 3435 * Makefile.in: Add dependencies for fmap.o.
82a4b025 3436
6510f4c9
GB
34372001-12-17 Ed Schonberg <schonber@gnat.com>
3438
07fc65c4 3439 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
6510f4c9
GB
3440 is a package instantiation rewritten as a package body.
3441 (Install_Withed_Unit): Undo previous change, now redundant.
82a4b025 3442
6510f4c9
GB
34432001-12-17 Gary Dismukes <dismukes@gnat.com>
3444
3445 * layout.adb:
3446 (Compute_Length): Move conversion to Unsigned to callers.
3447 (Get_Max_Size): Convert Len expression to Unsigned after calls to
3448 Compute_Length and Determine_Range.
3449 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
3450 Compute_Length and Determine_Range.
3451 Above changes fix problem with length computation for supernull arrays
07fc65c4 3452 where Max (Len, 0) wasn't getting applied due to the Unsigned
6510f4c9 3453 conversion used by Compute_Length.
82a4b025 3454
6510f4c9
GB
34552001-12-17 Arnaud Charlet <charlet@gnat.com>
3456
3457 * rtsfind.ads:
3458 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
3459 System.Secondary_Stack.
3460 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
3461 in HI-E mode.
3462 Remove unused entity RE_Exception_Data.
82a4b025 3463
6510f4c9 3464 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
82a4b025 3465
6510f4c9
GB
3466 * rident.ads (No_Secondary_Stack): New restriction.
3467
3a77b68d
GB
34682001-12-17 Joel Brobecker <brobecke@gnat.com>
3469
07fc65c4 3470 * gnat_rm.texi: Fix minor typos. Found while reading the section
3a77b68d
GB
3471 regarding "Bit_Order Clauses" that was sent to a customer.
3472 Very interesting documentation!
82a4b025 3473
3a77b68d
GB
34742001-12-17 Robert Dewar <dewar@gnat.com>
3475
07fc65c4
GB
3476 * sem_case.adb (Choice_Image): Avoid creating improper character
3477 literal names by using the routine Set_Character_Literal_Name. This
3a77b68d 3478 fixes bombs in certain error message cases.
82a4b025 3479
3a77b68d
GB
34802001-12-17 Arnaud Charlet <charlet@gnat.com>
3481
3482 * a-reatim.adb: Minor reformatting.
82a4b025 3483
3a77b68d
GB
34842001-12-17 Ed Schonberg <schonber@gnat.com>
3485
07fc65c4
GB
3486 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
3487 case where the formal is an extension of another formal in the current
3a77b68d 3488 unit or in a parent generic unit.
82a4b025 3489
3a77b68d
GB
34902001-12-17 Arnaud Charlet <charlet@gnat.com>
3491
07fc65c4 3492 * s-tposen.adb: Update comments. Minor reformatting.
3a77b68d 3493 Minor code clean up.
82a4b025 3494
3a77b68d 3495 * s-tarest.adb: Update comments. Minor code reorganization.
82a4b025 3496
3a77b68d
GB
34972001-12-17 Gary Dismukes <dismukes@gnat.com>
3498
07fc65c4 3499 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
3a77b68d 3500 when Java_VM.
82a4b025 3501
3a77b68d
GB
35022001-12-17 Robert Dewar <dewar@gnat.com>
3503
3504 * exp_attr.adb: Minor reformatting
82a4b025 3505
3a77b68d
GB
35062001-12-17 Ed Schonberg <schonber@gnat.com>
3507
07fc65c4 3508 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
3a77b68d
GB
3509 derivations nested within a child unit: verify that the parent
3510 type is declared in an outer scope.
82a4b025 3511
3a77b68d
GB
35122001-12-17 Robert Dewar <dewar@gnat.com>
3513
3514 * sem_ch12.adb: Minor reformatting
82a4b025 3515
3a77b68d
GB
35162001-12-17 Ed Schonberg <schonber@gnat.com>
3517
07fc65c4
GB
3518 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
3519 warning if current unit is a predefined one, from which bodies may
3a77b68d 3520 have been deleted.
82a4b025 3521
3a77b68d
GB
35222001-12-17 Robert Dewar <dewar@gnat.com>
3523
3524 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
3525 Fix header format. Add 2001 to copyright date.
82a4b025 3526
07fc65c4 3527 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
3a77b68d
GB
3528 which caused CE during compilation if checks were enabled.
3529
79503fdd
GB
35302001-12-17 Vincent Celier <celier@gnat.com>
3531
3532 * make.adb:
3533 (Switches_Of): New function
3534 (Test_If_Relative_Path): New procedure
3535 (Add_Switches): Use new function Switches_Of
3536 (Collect_Arguments_And_Compile): Use new function Switches_Of.
3537 When using a project file, test if there are any relative
3538 search path. Fail if there are any.
07fc65c4
GB
3539 (Gnatmake): Only add switches for the primary directory when not using
3540 a project file. When using a project file, change directory to the
3541 object directory of the main project file. When using a project file,
3542 test if there are any relative search path. Fail if there are any.
3543 When using a project file, fail if specified executable is relative
3544 path with directory information, and prepend executable, if not
3545 specified as an absolute path, with the exec directory. Make sure
79503fdd 3546 that only one -o switch is transmitted to the linker.
82a4b025 3547
79503fdd 3548 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
82a4b025 3549
79503fdd
GB
3550 * prj-nmsc.adb:
3551 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
3552 when using a non standard naming scheme.
3553 (Check_Ada_Naming_Scheme): Make sure that error messages
3554 do not raise exceptions.
3555 (Is_Illegal_Append): Return True if there is no dot in the suffix.
3556 (Language_Independent_Check): Check the exec directory.
82a4b025 3557
79503fdd 3558 * prj.adb (Project_Empty): Add new component Exec_Directory
82a4b025 3559
79503fdd
GB
3560 * prj.ads:
3561 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
3562 (Project_Data): Add component Exec_Directory
82a4b025 3563
79503fdd 3564 * snames.adb: Updated to match snames.ads revision 1.215
82a4b025 3565
79503fdd 3566 * snames.ads: Added Exec_Dir
82a4b025 3567
79503fdd
GB
35682001-12-17 Robert Dewar <dewar@gnat.com>
3569
3570 * make.adb: Minor reformatting
82a4b025 3571
79503fdd 3572 * prj-nmsc.adb: Minor reformatting
82a4b025 3573
79503fdd 3574 * snames.adb: Updated to match snames.ads
82a4b025 3575
79503fdd
GB
3576 * snames.ads: Alphebetize entries for project file
3577
35782001-12-17 Ed Schonberg <schonber@gnat.com>
3579
07fc65c4 3580 * trans.c (process_freeze_entity): Do nothing if the entity is a
79503fdd 3581 subprogram that was already elaborated.
82a4b025 3582
79503fdd 35832001-12-17 Richard Kenner <kenner@gnat.com>
82a4b025 3584
07fc65c4 3585 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
79503fdd
GB
3586 and Esize if object is referenced via pointer.
3587
855ff2e1
GB
35882001-12-17 Ed Schonberg <schonber@gnat.com>
3589
07fc65c4 3590 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
855ff2e1 3591 is discrete before analyzing choices.
82a4b025 3592
855ff2e1
GB
35932001-12-17 Joel Brobecker <brobecke@gnat.com>
3594
07fc65c4
GB
3595 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
3596 containing the name of the Ada Main Program. This string is mainly
855ff2e1
GB
3597 intended for the debugger.
3598 (Gen_Output_File_C): Do the equivalent change when generating a C file.
82a4b025 3599
855ff2e1
GB
36002001-12-17 Robert Dewar <dewar@gnat.com>
3601
3602 * ali.adb: Set new Dummy_Entry field in dependency entry
82a4b025 3603
855ff2e1 3604 * ali.ads: Add Dummy_Entry field to source dependency table
82a4b025 3605
855ff2e1 3606 * bcheck.adb (Check_Consistency): Ignore dummy D lines
82a4b025 3607
855ff2e1 3608 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
82a4b025 3609
855ff2e1 3610 * lib-writ.ads: Document dummy D lines for missing files.
82a4b025 3611
855ff2e1
GB
3612 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
3613
c1c22e7a
GB
36142001-12-17 Robert Dewar <dewar@gnat.com>
3615
3616 * ali.adb: Type reference does not reset current file.
82a4b025 3617
c1c22e7a 3618 * ali.adb: Recognize and scan renaming reference
82a4b025 3619
c1c22e7a 3620 * ali.ads: Add spec for storing renaming references.
82a4b025 3621
c1c22e7a 3622 * lib-xref.ads: Add documentation for handling of renaming references
82a4b025 3623
c1c22e7a 3624 * lib-xref.adb: Implement output of renaming reference.
82a4b025 3625
c1c22e7a
GB
3626 * checks.adb:
3627 (Determine_Range): Document local variables
3628 (Determine_Range): Make sure Hbound is initialized. It looks as though
3629 there could be a real problem here with an uninitialized reference
3630 to Hbound, but no actual example of failure has been found.
82a4b025 3631
c1c22e7a
GB
36322001-12-17 Laurent Pautet <pautet@gnat.com>
3633
3634 * g-socket.ads:
3635 Fix comment of Shutdown_Socket and Close_Socket. These functions
3636 should not fail silently because if they are called twice, this
3637 probably means that there is a race condition in the user program.
3638 Anyway, this behaviour is consistent with the rest of this unit.
3639 When an error occurs, an exception is raised with the error message
3640 as exception message.
3641
7eb7bb07
RD
36422001-12-17 Robert Dewar <dewar@gnat.com>
3643
07fc65c4 3644 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
7eb7bb07 3645 that it happens before modification of Sloc values for -gnatD.
82a4b025 3646
07fc65c4 3647 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
7eb7bb07 3648 so that it happens before modification of Sloc values for -gnatD.
82a4b025 3649
7eb7bb07
RD
3650 * switch.adb: Minor reformatting
3651
b6434700
RH
36522001-12-15 Richard Henderson <rth@redhat.com>
3653
3654 * sem_ch7.adb: Wrap comment.
3655
44d6a706
JM
36562001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
3657
3658 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
3659 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
3660 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
3661 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
3662 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
3663 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
3664 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
3665 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
3666 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
3667 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
3668 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
3669 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
3670 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
3671 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
3672 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
3673 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
3674 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
3675 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
3676 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
3677 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
3678 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
3679 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
3680 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
3681 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
3682 spelling errors.
3683
226ada7a
GB
36842001-12-14 Vincent Celier <celier@gnat.com>
3685
07fc65c4 3686 * osint.adb(Create_Debug_File): When an object file is specified,
226ada7a 3687 put the .dg file in the same directory as the object file.
82a4b025 3688
226ada7a
GB
36892001-12-14 Robert Dewar <dewar@gnat.com>
3690
3691 * osint.adb: Minor reformatting
82a4b025 3692
07fc65c4 3693 * lib-xref.adb (Output_Instantiation): New procedure to generate
226ada7a 3694 instantiation references.
82a4b025 3695
226ada7a 3696 * lib-xref.ads: Add documentation of handling of generic references.
82a4b025 3697
07fc65c4 3698 * ali.adb (Read_Instantiation_Ref): New procedure to read
226ada7a 3699 instantiation references
82a4b025 3700
226ada7a 3701 * ali.ads: Add spec for storing instantiation references
82a4b025 3702
226ada7a 3703 * bindusg.adb: Minor reformatting
82a4b025 3704
226ada7a 3705 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 3706
226ada7a 3707 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 3708
226ada7a 3709 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 3710
226ada7a 3711 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 3712
226ada7a
GB
3713 * csets.ads:
3714 Fix header format
3715 Add 2001 to copyright date
3716 Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 3717
226ada7a
GB
37182001-12-14 Matt Gingell <gingell@gnat.com>
3719
07fc65c4 3720 * adaint.c: mktemp is a macro on Lynx and can not be used as an
226ada7a 3721 expression.
82a4b025 3722
226ada7a
GB
37232001-12-14 Richard Kenner <kenner@gnat.com>
3724
07fc65c4 3725 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
226ada7a 3726 if operand is CONSTRUCTOR.
82a4b025 3727
226ada7a
GB
37282001-12-14 Ed Schonberg <schonber@gnat.com>
3729
07fc65c4
GB
3730 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
3731 before emiting check on right-hand side, so that exception information
226ada7a
GB
3732 is correct.
3733
37342001-12-14 Richard Kenner <kenner@gnat.com>
82a4b025 3735
07fc65c4 3736 * utils.c (create_var_decl): Throw away initializing expression
226ada7a 3737 if just annotating types and non-constant.
82a4b025 3738
226ada7a
GB
37392001-12-14 Vincent Celier <celier@gnat.com>
3740
3741 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
3742 Default_Ada_...
82a4b025 3743
07fc65c4 3744 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
226ada7a
GB
3745 Remove functions.
3746 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
82a4b025 3747
07fc65c4 3748 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
226ada7a
GB
3749 Remove functions.
3750 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
3751
9b94bf9e
JM
37522001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
3753
3754 * ChangeLog: Remove piece of diff output.
3755
449d2be3
GB
37562001-12-14 Geert Bosch <bosch@gnat.com>
3757
3758 * config-lang.in: Update copyright notice
3759
3760 * layout.adb: Remove commented out code.
3761
3762 * mdllfile.ads: Update copyright notice. Fix header format.
3763
3764 * sem_case.ads: Likewise.
3765
3766 * sem_ch3.adb: Minor reformatting.
3767
e5bd5cb4
GB
37682001-12-12 Geert Bosch <bosch@gnat.com>
3769
3770 * freeze.ads: Update copyright date.
3771
3772 * g-comlin.ads: Minor reformatting.
3773
3774 * gnat-style.texi: Fix typo.
3775
b468d8ec
GB
37762001-12-12 Geert Bosch <bosch@gnat.com>
3777
3778 * einfo.h: Regenerate.
3779
ed7da216
GB
37802001-12-12 Ed Schonberg <schonber@gnat.com>
3781
07fc65c4 3782 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
ed7da216 3783 on known node types, rather than untyped fields. Further cleanups.
82a4b025 3784
ed7da216
GB
37852001-12-12 Robert Dewar <dewar@gnat.com>
3786
3787 * sem_ch12.adb:
3788 (Save_Entity_Descendant): Minor comment update.
3789 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
07fc65c4 3790 of an N_Attribute_Reference node. As per note below, this does not
ed7da216 3791 eliminate need for Associated_Node in attribute ref nodes.
07fc65c4 3792 (Associated_Node): Documentation explicitly mentions attribute
ed7da216 3793 reference nodes, since this field is used in such nodes.
82a4b025 3794
ed7da216
GB
3795 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
3796
de76a39c
GB
37972001-12-12 Robert Dewar <dewar@gnat.com>
3798
3799 * s-stalib.adb: Add more comments on with statements being needed
82a4b025 3800
de76a39c 3801 * par-ch12.adb: Minor reformatting
82a4b025 3802
de76a39c 3803 * prj-dect.ads: Fix copyright header
82a4b025 3804
07fc65c4 3805 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
de76a39c 3806 inputs fit in 32 bits, but the result still overflows.
82a4b025 3807
de76a39c 3808 * s-fatgen.ads: Minor comment improvement
82a4b025 3809
de76a39c
GB
38102001-12-12 Ed Schonberg <schonber@gnat.com>
3811
07fc65c4
GB
3812 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
3813 formal derived type, look for an inherited component from the full
de76a39c 3814 view of the parent, if any.
82a4b025 3815
de76a39c
GB
38162001-12-12 Robert Dewar <dewar@gnat.com>
3817
3818 * checks.ads (Apply_Alignment_Check): New procedure.
82a4b025 3819
07fc65c4
GB
3820 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
3821 ensure that the alignment of objects with address clauses is
de76a39c
GB
3822 appropriate, and raise PE if not.
3823
07fc65c4 3824 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
de76a39c 3825 Exp_Pakd.Known_Aligned_Enough
82a4b025 3826
de76a39c
GB
3827 * mdllfile.ads: Minor reformatting
3828
3829 * mlib-fil.ads: Minor reformatting
82a4b025 3830
de76a39c
GB
38312001-12-12 Ed Schonberg <schonber@gnat.com>
3832
07fc65c4
GB
3833 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
3834 fix to any component reference if enclosing record has non-standard
de76a39c 3835 representation.
82a4b025 3836
de76a39c
GB
38372001-12-12 Vincent Celier <celier@gnat.com>
3838
07fc65c4 3839 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
de76a39c 3840 Iteration
82a4b025 3841
de76a39c
GB
38422001-12-12 Ed Schonberg <schonber@gnat.com>
3843
07fc65c4 3844 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
de76a39c 3845 sem_attr.
82a4b025 3846
de76a39c
GB
38472001-12-12 Robert Dewar <dewar@gnat.com>
3848
3849 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
82a4b025 3850
de76a39c
GB
38512001-12-12 Emmanuel Briot <briot@gnat.com>
3852
3853 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
3854 and it adds dependencies to system.io.
82a4b025 3855
de76a39c
GB
38562001-12-12 Pascal Obry <obry@gnat.com>
3857
07fc65c4 3858 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
de76a39c
GB
3859 variable name.
3860
0b09835f
ES
38612001-12-11 Ed Schonberg <schonber@gnat.com>
3862
3863 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
07fc65c4
GB
3864 that is the parent of other generics, the instance body replaces the
3865 instance node. Retrieve the instance of the spec, which is the one
0b09835f
ES
3866 that is visible in clients and within the body.
3867
598c3446
GB
38682001-12-11 Vincent Celier <celier@gnat.com>
3869
3870 * gnatmain.adb: Initial version.
82a4b025 3871
598c3446 3872 * gnatmain.ads: Initial version.
82a4b025 3873
598c3446 3874 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
82a4b025 3875
598c3446 3876 * snames.adb: Updated to match snames.ads.
82a4b025 3877
598c3446 3878 * snames.ads: Added Gnatstub.
82a4b025 3879
598c3446
GB
38802001-12-11 Vincent Celier <celier@gnat.com>
3881
07fc65c4 3882 * prj-attr.adb (Initialization_Data): Change name from
598c3446 3883 Initialisation_Data.
82a4b025 3884
598c3446
GB
38852001-12-11 Emmanuel Briot <briot@gnat.com>
3886
3887 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
3888 + and * applied to backslashed expressions like \r.
82a4b025 3889
598c3446
GB
38902001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
3891
07fc65c4 3892 * g-os_lib.ads: String_List type added, Argument_List type is now
598c3446 3893 subtype of String_List.
82a4b025 3894
598c3446
GB
38952001-12-11 Robert Dewar <dewar@gnat.com>
3896
3897 * g-os_lib.ads: Change copyright to FSF
3898 Add comments for String_List type
82a4b025 3899
598c3446
GB
39002001-12-11 Vincent Celier <celier@gnat.com>
3901
07fc65c4 3902 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
598c3446
GB
3903 string to the buffer).
3904
7fb754a1
GB
39052001-12-11 Ed Schonberg <schonber@gnat.com>
3906
3907 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
3908 sem_attr.
82a4b025 3909
7fb754a1 3910 * sem_attr.adb: Simplify previous fix for Address.
07fc65c4
GB
3911 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
3912 to avoid anomalies where the bound of the type appears to raise
7fb754a1
GB
3913 constraint error.
3914
39152001-12-11 Robert Dewar <dewar@gnat.com>
3916
07fc65c4 3917 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
7fb754a1 3918 handled.
82a4b025 3919
7fb754a1
GB
39202001-12-11 Ed Schonberg <schonber@gnat.com>
3921
07fc65c4 3922 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
7fb754a1 3923 renamed unit before checking for recursive instantiations.
82a4b025 3924
7fb754a1
GB
39252001-12-11 Emmanuel Briot <briot@gnat.com>
3926
3927 * prj.ads: Add comments for some of the fields.
3928
0873bafc
GB
39292001-12-11 Robert Dewar <dewar@gnat.com>
3930
07fc65c4 3931 * lib-xref.adb (Output_Refs): Don't output type references outside
0873bafc 3932 the main unit if they are not otherwise referenced.
82a4b025 3933
0873bafc
GB
39342001-12-11 Ed Schonberg <schonber@gnat.com>
3935
07fc65c4 3936 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
0873bafc 3937 code and diagnose additional illegal uses
82a4b025 3938
07fc65c4 3939 * sem_util.adb (Is_Object_Reference): An indexed component is an
0873bafc 3940 object only if the prefix is.
82a4b025 3941
0873bafc
GB
39422001-12-11 Vincent Celier <celier@gnat.com>
3943
3944 * g-diopit.adb: Initial version.
82a4b025 3945
0873bafc 3946 * g-diopit.ads: Initial version.
82a4b025 3947
0873bafc
GB
3948 * g-dirope.adb:
3949 (Expand_Path): Avoid use of Unbounded_String
3950 (Find, Wildcard_Iterator): Moved to child package Iteration
82a4b025 3951
0873bafc 3952 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
82a4b025 3953
7fb754a1 39542001-12-11 Robert Dewar <dewar@gnat.com>
0873bafc
GB
3955
3956 * sem_attr.adb: Minor reformatting
3957
d087cd96
GB
39582001-12-11 Ed Schonberg <schonber@gnat.com>
3959
3960 * sem_ch3.adb: Clarify some ???.
82a4b025 3961
d087cd96
GB
39622001-12-11 Robert Dewar <dewar@gnat.com>
3963
07fc65c4 3964 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
d087cd96 3965 Exp_Pakd.Known_Aligned_Enough
82a4b025 3966
07fc65c4 3967 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
d087cd96
GB
3968 version is moved to Exp_Ch13.
3969
39702001-12-11 Robert Dewar <dewar@gnat.com>
3971
3972 * einfo.ads: Minor reformatting
82a4b025 3973
d087cd96 3974 * exp_ch5.adb: Add comment for previous.change
82a4b025 3975
d087cd96 3976 * ali.adb: New interface for extended typeref stuff.
82a4b025 3977
d087cd96 3978 * ali.ads: New interface for typeref stuff.
82a4b025 3979
d087cd96 3980 * checks.adb (Apply_Alignment_Check): New procedure.
82a4b025 3981
d087cd96 3982 * debug.adb: Add -gnatdM for modified ALI output
82a4b025 3983
d087cd96 3984 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
82a4b025 3985
07fc65c4
GB
3986 * lib-xref.adb: Extend generation of <..> notation to cover
3987 subtype/object types. Note that this is a complete rewrite,
3988 getting rid of the very nasty quadratic algorithm previously
d087cd96 3989 used for derived type output.
82a4b025 3990
07fc65c4
GB
3991 * lib-xref.ads: Extend description of <..> notation to cover
3992 subtype/object types. Uses {..} for these other cases.
d087cd96 3993 Also use (..) for pointer types.
82a4b025 3994
d087cd96 3995 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
82a4b025 3996
07fc65c4 3997 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
d087cd96
GB
3998 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
3999
290986ed
GB
40002001-12-11 Vincent Celier <celier@gnat.com>
4001
4002 * gnatcmd.adb:
4003 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
4004 Changed /BIND_ONLY to /ACTIONS=BIND
4005 Changed /LINK_ONLY to /ACTIONS=LINK
82a4b025 4006
290986ed
GB
40072001-12-11 Ed Schonberg <schonber@gnat.com>
4008
4009 * sem_ch8.adb (Find_Selected_Component): improved search for a
4010 candidate package in case of error.
82a4b025 4011
290986ed
GB
4012 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
4013 chain back on scope stack before reinstalling use clauses.
82a4b025 4014
290986ed
GB
4015 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
4016 is enabled, do not kill the code for the condition, to preserve
4017 warning.
4018
84157f51
GB
40192001-12-11 Robert Dewar <dewar@gnat.com>
4020
07fc65c4 4021 * checks.adb (Insert_Valid_Check): Apply validity check to expression
84157f51
GB
4022 of conversion, not to result of conversion.
4023
40242001-12-11 Ed Schonberg <schonber@gnat.com>
82a4b025 4025
07fc65c4
GB
4026 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
4027 before freezing parent. If the declarations are mutually recursive,
4028 an access to the current record type may be frozen before the
84157f51
GB
4029 derivation is complete.
4030
7ffa903f
VC
40312001-12-05 Vincent Celier <celier@gnat.com>
4032
07fc65c4 4033 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
7ffa903f 4034 -c /COMPILE_ONLY, -l /LINK_ONLY
82a4b025 4035
7ffa903f
VC
4036 * opt.ads:
4037 (Bind_Only): New Flag
4038 (Link_Only): New flag
82a4b025 4039
07fc65c4 4040 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
7ffa903f 4041 and -l (Link_Only)
82a4b025 4042
7ffa903f 4043 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
82a4b025 4044
7ffa903f
VC
4045 * make.adb:
4046 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
4047 (Gnatmake): Set the step flags. Only perform a step if the
4048 corresponding step flag is True.
4049 (Scan_Make_Arg): Reset the bind and link step flags when -u
4050 or -gnatc has been specified.
4051
f91b40db
GB
40522001-12-05 Ed Schonberg <schonber@gnat.com>
4053
07fc65c4 4054 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
f91b40db 4055 get bounds from right operand.
82a4b025 4056
f91b40db 4057 * sem_eval.adb: Minor reformatting
82a4b025 4058
07fc65c4 4059 * exp_util.adb (Make_Literal_Range): use bound of literal rather
f91b40db 4060 than Index'First, its lower bound may be different from 1.
82a4b025 4061
07fc65c4 4062 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
f91b40db 4063 and C48009J
82a4b025 4064
f91b40db
GB
40652001-12-05 Vincent Celier <celier@gnat.com>
4066
4067 * prj-nmsc.adb Minor reformatting
82a4b025 4068
07fc65c4 4069 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
f91b40db 4070 set and libraries are not supported.
82a4b025 4071
f91b40db
GB
40722001-12-05 Ed Schonberg <schonber@gnat.com>
4073
07fc65c4
GB
4074 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
4075 private view explicitly, so the back-end can treat as a global
f91b40db
GB
4076 when appropriate.
4077
45d04cbb
GB
40782001-12-05 Ed Schonberg <schonber@gnat.com>
4079
4080 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
4081 unit, always replace instance node with new body, for ASIS use.
4082
40832001-12-05 Vincent Celier <celier@gnat.com>
82a4b025 4084
07fc65c4
GB
4085 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
4086 libraries are not supported and both attributes Library_Name and
45d04cbb 4087 Library_Dir are specified.
82a4b025 4088
07fc65c4 4089 * prj-proc.adb (Expression): Set location of Result to location of
45d04cbb 4090 first term.
82a4b025 4091
45d04cbb
GB
4092 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
4093 (prj-nmsc is now importing MLib.Tgt)
82a4b025 4094
45d04cbb
GB
4095 * prj-proc.adb: Put the change indicated above that was forgotten.
4096
84436014
RD
40972001-12-05 Robert Dewar <dewar@gnat.com>
4098
4099 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
4100
7ae0dcd8
ES
41012001-12-05 Ed Schonberg <schonber@gnat.com>
4102
4103 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
4104 constraint, introduce explicit subtype declaration and derive from it.
82a4b025 4105
7ae0dcd8
ES
4106 * sem_ch3.adb: Minor reformatting
4107
c9a4817d
RD
41082001-12-05 Robert Dewar <dewar@gnat.com>
4109
07fc65c4 4110 * checks.adb (Determine_Range): Increase cache size for checks.
c9a4817d 4111 Minor reformatting
82a4b025 4112
c9a4817d
RD
4113 * exp_ch6.adb: Minor reformatting
4114 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
4115 a parameter whose root type is System.Address, since treating such
4116 subprograms as pure in the code generator is almost surely a mistake
4117 that will lead to unexpected results.
82a4b025 4118
07fc65c4 4119 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
c9a4817d 4120 change handling of conversions.
82a4b025 4121
c9a4817d
RD
4122 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
4123
2514b839
ES
41242001-12-05 Ed Schonberg <schonber@gnat.com>
4125
07fc65c4
GB
4126 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
4127 aggregate with static wrong size, attach generated Raise node to
2514b839
ES
4128 declaration.
4129
457b6274
RD
41302001-12-05 Robert Dewar <dewar@gnat.com>
4131
07fc65c4 4132 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
457b6274
RD
4133 Fixes compilation abandoned bomb in B24009B.
4134
19349925
ES
41352001-12-05 Ed Schonberg <schonber@gnat.com>
4136
4137 * sem_ch12.adb:
4138 Document use of Associated_Node on Selected_Components.
4139 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
4140 to clarify use of untyped descendant fields.
4141
6663c393
RD
41422001-12-05 Robert Dewar <dewar@gnat.com>
4143
4144 * prj-dect.ads: Add ??? comment
4145 Add 2001 to copyright notice (was not done in after all)
82a4b025 4146
6663c393 4147 * prj-part.adb: Minor reformatting. Reword one awkward error message.
82a4b025 4148
6663c393 4149 * prj.ads: Minor reformatting throughout, and add some ??? comments
82a4b025 4150
6663c393
RD
4151 * snames.ads: Minor reformatting
4152
d7b2a6af
GB
41532001-12-05 Geert Bosch <bosch@gnat.com>
4154
4155 * snames.adb: Autoupdate
4156
fbc9a404
VC
41572001-12-05 Vincent Celier <celier@gnat.com>
4158
4159 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
82a4b025 4160
fbc9a404 4161 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
82a4b025 4162
fbc9a404 4163 * prj-env.adb: Minor comment changes (modifying -> extends).
82a4b025 4164
fbc9a404 4165 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
82a4b025 4166
07fc65c4 4167 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
fbc9a404 4168 Tok_Extends.
82a4b025 4169
fbc9a404 4170 * prj.adb (Initialize): Change Modifying to Extends.
82a4b025 4171
fbc9a404 4172 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
82a4b025 4173
fbc9a404 4174 * prj.ads: Minor comment change (Modifying -> extending).
82a4b025 4175
fbc9a404
VC
4176 * snames.ads: Change modifying to extends.
4177
7cff0b1b
RD
41782001-12-05 Robert Dewar <dewar@gnat.com>
4179
07fc65c4 4180 * sem_warn.adb: Remove stuff for conditionals, we are not going to
7cff0b1b 4181 do this after all.
82a4b025 4182
07fc65c4 4183 * sem_warn.ads: Remove stuff for conditionals, we are not going to
7cff0b1b
RD
4184 do this after all. Add 2001 to copyright notice
4185
4f56ebb7
GB
41862001-12-04 Geert Bosch <bosch@gnat.com>
4187
4188 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
4189
053defdf
RD
41902001-12-04 Robert Dewar <dewar@gnat.com>
4191
07fc65c4
GB
4192 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
4193 location if we already have errors. Stops some cases of cascaded
053defdf 4194 errors.
82a4b025 4195
053defdf
RD
4196 * errout.adb: Improve comment.
4197
f311e166
RD
41982001-12-04 Robert Dewar <dewar@gnat.com>
4199
4200 * sem_ch12.adb:
4201 (Analyze_Formal_Type_Definition): Defend against Error.
4202 (Analyze_Formal_Subprogram): Defend against Error.
82a4b025 4203
07fc65c4 4204 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
f311e166
RD
4205 remove following semicolon if present. Removes cascaded error.
4206
d61bd65a
DR
42072001-12-04 Douglas B. Rupp <rupp@gnat.com>
4208
4209 * bindgen.adb:
4210 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
4211 exceptions equals 0.
4212 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
4213 Fixes PIWG E tests (which have to be run with -gnatL).
4214
4ba603e2
RD
42152001-12-04 Robert Dewar <dewar@gnat.com>
4216
4217 * einfo.ads: Minor reformatting
4218
57568d91
ES
42192001-12-04 Ed Schonberg <schonber@gnat.com>
4220
07fc65c4
GB
4221 * einfo.ads: Block_Node points to the identifier of the block, not to
4222 the block node itself, to preserve the link when the block is
4223 rewritten, e.g. within an if-statement with a static condition.
82a4b025 4224
07fc65c4 4225 * inline.adb (Cleanup_Scopes): recover block statement from block
57568d91 4226 entity using new meaning of Block_Node.
82a4b025 4227
07fc65c4 4228 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
57568d91
ES
4229 identifier of block node, rather than to node itself.
4230
0815d36a 42312001-12-04 Gary Dismukes <dismukes@gnat.com>
82a4b025 4232
0815d36a
GD
4233 * layout.adb:
4234 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
4235 (Discrimify): Go back to setting the Etypes of the selected component
07fc65c4 4236 because the Vname component does not exist at this point and will
0815d36a
GD
4237 fail name resolution. Also set Analyzed.
4238 Remove with and use of Sem_Res.
4239
edc0f304
AC
42402001-12-04 Arnaud Charlet <charlet@gnat.com>
4241
4242 * Makefile.in: (HIE_SOURCES): add s-fat*.
4243
32213142
RD
42442001-12-04 Robert Dewar <dewar@gnat.com>
4245
4246 * sem_attr.adb:
4247 (Compile_Time_Known_Attribute): New procedure.
4248 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
4249 proper range check.
4250
c0def2ad
ES
42512001-12-04 Ed Schonberg <schonber@gnat.com>
4252
07fc65c4 4253 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
c0def2ad
ES
4254 processing discriminants to diagnose illegal default values.
4255
ee0a48c5
ES
42562001-12-04 Ed Schonberg <schonber@gnat.com>
4257
07fc65c4
GB
4258 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
4259 access discriminant within a type extension that constrains its
ee0a48c5
ES
4260 parent discriminants.
4261
dd5875a6
ES
42622001-12-04 Ed Schonberg <schonber@gnat.com>
4263
07fc65c4 4264 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
dd5875a6 4265 is malformed, use instance of Any_Id to allow analysis to proceed.
82a4b025 4266
07fc65c4 4267 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
dd5875a6
ES
4268 type definition is illegal.
4269 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
4270 misplaced.
4271
c2a41e57
ES
42722001-12-04 Ed Schonberg <schonber@gnat.com>
4273
07fc65c4 4274 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
c2a41e57
ES
4275 constants.
4276
0ae84753
RD
42772001-12-04 Robert Dewar <dewar@gnat.com>
4278
4279 * errout.adb: Minor reformatting
4280
63db260e
RD
42812001-12-04 Robert Dewar <dewar@gnat.com>
4282
4283 * exp_util.adb: Minor reformatting from last change
82a4b025 4284
07fc65c4
GB
4285 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
4286 which is a rewriting of an expression, traverse the original
63db260e
RD
4287 expression to remove warnings that may have been posted on it.
4288
c6d289f4
ES
42892001-12-04 Ed Schonberg <schonber@gnat.com>
4290
07fc65c4 4291 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
c6d289f4
ES
4292 record that has other packed components.
4293
5917e80d
DR
42942001-12-04 Douglass B. Rupp <rupp@gnat.com>
4295
4296 * adaint.c: Minor cleanups.
4297
2c70f9dd
DR
42982001-12-04 Douglass B. Rupp <rupp@gnat.com>
4299
4300 * adaint.c: Do not use utime.h on vxworks.
4301
e59b3387
AC
43022001-12-04 Arnaud Charlet <charlet@gnat.com>
4303
07fc65c4 4304 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
e59b3387
AC
4305 more confusion than it solves.
4306
e288604a
GB
43072001-12-04 Geert bosch <bosch@gnat.com>
4308
4309 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
4310
5ac21013
GB
43112001-12-04 Geert Bosch <bosch@gnat.com>
4312
07fc65c4 4313 * Makefile.in (update-sources): New target.
5ac21013
GB
4314 For use by gcc_release script.
4315
7dd5bd5e
ES
43162001-12-04 Ed Schonberg <schonber@gnat.com>
4317
07fc65c4 4318 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
7dd5bd5e
ES
4319 a configuration pragma, it is now legal wherever a pragma can appear.
4320
a078a589
ZW
43212001-12-04 Zack Weinberg <zack@codesourcery.com>
4322
4323 * Makefile.in: Don't set ALL. Delete @cross_defines@,
4324 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
4325 is now @CROSS@ -DIN_GCC; update comment.
4326
0839863c
GB
43272001-12-04 Robert Dewar <dewar@gnat.com>
4328
4329 * einfo.adb (Has_Pragma_Pure_Function): New flag.
4330 Fix problem that stopped ceinfo from working
82a4b025 4331
0839863c 4332 * einfo.ads (Has_Pragma_Pure_Function): New flag.
82a4b025 4333
0839863c
GB
4334 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
4335
43362001-12-04 Douglas B. Rupp <rupp@gnat.com>
9678de49
DR
4337
4338 * gnatchop.adb:
4339 (File_Time_Stamp): New procedure.
4340 (Preserve_Mode): New boolean.
4341 (Write_Unit): Pass time stamp.
4342 Implement -p switch (preserve time stamps).
82a4b025 4343
9678de49 4344 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
82a4b025 4345
9678de49 4346 * gnatchop.adb: Do usage info for -p switch
82a4b025 4347
9678de49 4348 * adaint.h (__gnat_set_file_time_name): New function
82a4b025 4349
9678de49 4350 * adaint.c (__gnat_set_file_time_name): Implement
82a4b025 4351
9678de49
DR
4352 * adaint.h: Fix typo
4353
3b9a13c4
RD
43542001-12-03 Robert Dewar <dewar@gnat.com>
4355
667e5c5d 4356 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
b4f94ac1 4357 have Associated_Node.
3b9a13c4 4358
767b404e
RD
43592001-12-03 Robert Dewar <dewar@gnat.com>
4360
4361 * prj-proc.adb: Minor reformatting
667e5c5d 4362
767b404e
RD
4363 * make.adb: Minor reformatting
4364
11ac71ba
GB
43652001-12-03 Geert Bosch <bosch@gnat.com>
4366
667e5c5d 4367 * make.adb: Minor reformatting.
11ac71ba 4368
ef3d4d6e 43692001-12-03 Robert Dewar <dewar@gnat.com>
b1446533
RD
4370
4371 * sem_ch12.adb: Minor reformatting
4372
d6d32b24
ES
43732001-12-03 Ed Schonberg <schonber@gnat.com>
4374
667e5c5d
AJ
4375 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
4376 push Standard on the stack before analyzing the instance body,
d6d32b24 4377 in order to have a clean visibility environment.
667e5c5d
AJ
4378
4379 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
d6d32b24 4380
13f08f03
ES
43812001-12-03 Ed Schonberg <schonber@gnat.com>
4382
667e5c5d 4383 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
13f08f03
ES
4384 instantiation of a body that contains an inlined body.
4385
3bd6c100
ES
43862001-12-03 Ed Schonberg <schonber@gnat.com>
4387
4388 * sem_ch12.adb:
4389 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
4390 to prevent freezing within formal packages.
4391 (Freeze_Subprogram_Body): If body comes from another instance that
4392 appeared before its own body, place freeze node at end of current
4393 declarative part, to prevent a back-end crash.
4394 (Inline_Instance_Body): Handle properly a package instance within
4395 a subprogram instance that is a child unit.
4396
58d07d8f
GS
43972001-12-01 Graham Stott <grahams@redhat.com>
4398
4399 * Makefile.in (misc.o): Add missing $(srcdir) prefix
4400 and add optabs.h dependency.
4401
4402 * misc.c: Include optabs.h
4403 (gnat_tree_code_type): Make static and const.
4404 (gnat_tree_code_length): Likewise.
4405 (gnat_tree_code_name): Likewise.
4406 (update_setjmp_buf): Obtain operands mode from insn_data.
4407
c87222f0
RH
44082001-11-29 Richard Henderson <rth@redhat.com>
4409
4410 * init.c: Remove obsolete dwarf2 frame.h section.
4411
d3945f0a
JM
44122001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
4413
4414 * Make-lang.in (ada.generated-manpages): New dummy target.
4415
9f639397
ES
44162001-11-29 Ed Schonberg <schonber@gnat.com>
4417
667e5c5d
AJ
4418 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
4419 into Command, an array conversion is illegal here. Uncovered by
9f639397
ES
4420 ACATS B460005.
4421
c835e5c6
GB
44222001/11/28 Geert Bosch <bosch@gnat.com>
4423
4424 * init.c: Minor whitespace changes.
4425
49bb4548
DR
44262001-11-28 Doug Rupp <rupp@gnat.com>
4427
667e5c5d 4428 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
49bb4548
DR
4429 signal stack.
4430
ea2417e5
ZW
44312001-11-28 Zack Weinberg <zack@codesourcery.com>
4432
4433 * misc.c (gnat_expand_constant): Move declaration above
4434 definition of lang_hooks.
4435 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
4436 (gnat_init): lang_expand_constant no longer exists.
4437
4438 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
4439 always have vprintf.
4440 (gnat_init): Always call set_internal_error_function.
4441
f8e0aa73
AJ
44422001-11-27 Andreas Jaeger <aj@suse.de>
4443
4444 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
4445
d99b0e79
LG
44462001-11-27 Laurent Guerby <guerby@acm.org>
4447
4448 * Makefile.in: Regenerate Ada dependencies.
4449
3f0496e5
RH
44502001-11-26 Richard Henderson <rth@redhat.com>
4451
4452 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
4453 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
4454 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
4455
92fa4733
LG
44562001-11-25 Laurent Guerby <guerby@acm.org>
4457
4458 * sysdep.c (rts_get_*): Fix style.
4459
07626501
LG
44602001-11-19 Laurent Guerby <guerby@acm.org>
4461
4462 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
4463 since it is of no apparent use and cause warnings.
4464
22703ccc
NB
44652001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
4466
4467 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
4468 static too.
4469 (gnat_init): Don't return NULL.
4470 (finish_parse): Remove.
4471
b0df4321
LG
44722001-11-17 Laurent Guerby <guerby@acm.org>
4473
4474 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
4475 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
4476 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
4477 * lang-spec.h: Add missing struct field to silence warnings.
4478 * sysdep.c (rts_get_*): Provide K&R prototype.
4479 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
4480 * traceback.c (Unlock_Task, Lock_Task): Likewise.
4481 * tracebak.c (__gnat_backtrace): Remove unused variable.
4482 * utils.c (end_subprog_body): Move to K&R style.
4483
d215024f
RK
4484Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4485
4486 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
4487
f5e99456
NB
44882001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
4489
4490 * misc.c (gnat_init): Change prototype. Include the
4491 functionality of the old init_parse and init_decl_processing.
4492 (gnat_init_decl_processing): New prototype.
4493 (init_parse): Remove.
4494 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
4495
5d69f816
NB
44962001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
4497
4498 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
4499 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
4500 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
4501 set_yydebug): Remove.
4502
3ac88239
NB
45032001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
4504
4505 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
4506 (struct lang_hooks): Constify.
4507 (language_string, lang_identify): Remove.
4508 * utils.c (init_decl_processing): Update.
4509
d23c55c2
NB
45102001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4511
4512 * misc.c: Include langhooks-def.h.
4513 * Makefile.in: Update.
4514
04a1b79c
RD
45152001-10-30 Robert Dewar <dewar@gnat.com>
4516
4517 * style.adb:
4518 (Check_Identifier): Rewrite circuit to be compatible with use of letters
4519 in the upper half of ASCII.
4520 (Check_Identifier): Minor reformatting
4521
81fa2d39
GB
45222001-10-30 Geert Bosch <bosch@gnat.com>
4523
f8e0aa73 4524 * (Associated_Node, Set_Associated_Node): Do not check for
81fa2d39
GB
4525 Freeze_Entity.
4526
ffc5527f
RD
45272001-10-30 Robert Dewar <dewar@gnat.com>
4528
4529 * a-reatim.ads: Minor reformatting
4530
865335eb
RD
45312001-10-30 Robert Dewar <dewar@gnat.com>
4532
f8e0aa73 4533 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
865335eb
RD
4534 undocumented declarations.
4535
5e257178
PO
45362001-10-30 Pascal Obry <obry@gnat.com>
4537
f8e0aa73 4538 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5e257178
PO
4539 to the binder and linker.
4540 Minor style fix.
f8e0aa73 4541
5e257178
PO
4542 * mdll.ads: Fix layout. Update copyright notice.
4543
4544 * mdll.adb: Fix layout. Update copyright notice.
4545
1753e0ad
RD
45462001-10-30 Robert Dewar <dewar@gnat.com>
4547
4548 * usage.adb: Minor fix to output for -gnaty.
4549
84bfdde0
ES
45502001-10-30 Ed Schonberg <schonber@gnat.com>
4551
f8e0aa73
AJ
4552 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
4553 to accommodate all its possible values.
84bfdde0 4554
f8e0aa73 4555 * a-reatim.adb (Split): Special-case handling of Time_Span_First
84bfdde0
ES
4556 and of small absolute values of T.
4557
c296e5fc
RK
45582001-10-30 Richard Kenner <kenner@gnat.com>
4559
f8e0aa73
AJ
4560 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
4561 set_mem_attributes since not needed and wrong if RESULT if a REG;
c296e5fc
RK
4562 fixes ACATS failures.
4563
07c809df
GB
45642001-10-30 Geert Bosch <bosch@gnat.com>
4565
4566 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
4567 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
4568
54d22416 45692001-10-30 Robert Dewar <dewar@gnat.com>
f8e0aa73 4570
54d22416 4571 * bindusg.adb: Undocument -f switch.
f8e0aa73 4572
54d22416 4573 * gnatcmd.adb: Remove /FULL_ELABORATION.
f8e0aa73
AJ
4574
4575 * opt.ads (Force_RM_Elaboration_Order): Document that this is
54d22416 4576 obsolescent.
f8e0aa73 4577
54d22416 4578 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
f8e0aa73 4579
54d22416
RD
4580 * gnatbind.adb: Minor update of warning msg.
4581
af5cf6f8
VC
45822001-10-30 Vincent Celier <celier@gnat.com>
4583
f8e0aa73 4584 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
af5cf6f8 4585 for project file switches (-P (/PROJECT_FILE=),
f8e0aa73 4586 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
af5cf6f8
VC
4587 or MEDIUM or HIGH)
4588
984bc4c3
GB
45892001-10-30 Geert Bosch <bosch@gnat.com>
4590
4591 * decl.c: Minor whitespace fixes.
4592
5dece937
RK
45932001-10-30 Richard Kenner <kenner@gnat.com>
4594
4595 * utils2.c (build_allocator): Test for SIZE overflow in array case too
4596
de4bf6cb
GB
45972001-10-30 Geert Bosch <bosch@gnat.com>
4598
f8e0aa73 4599 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
de4bf6cb 4600 Found due to GCC 3.0 warning of using uninitialized value.
f8e0aa73 4601
de4bf6cb
GB
4602 * layout.adb:
4603 (Get_Max_Size): Use variant record for tracking value/expression.
4604 Makes logic clearer and prevents warnings for uninitialized variables.
4605 (Layout_Array_Type): Use variant record for tracking value/expression.
4606 Makes logic clearer and prevents warnings for uninitialized variables.
4607
f5e44987
RD
46082001-10-30 Robert Dewar <dewar@gnat.com>
4609
4610 * lib.adb: Minor reformatting
4611
4612 * s-taprop.ads: Minor reformatting
4613
45659035 46142001-10-29 Laurent Guerby <guerby@acm.org>
f8e0aa73 4615
45659035
GB
4616 * init.c:
4617 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
4618 const.
4619 (_gnat_error_handler): Make MSG const.
4620
46212001-10-29 Richard Kenner <kenner@gnat.com>
4622
4623 * sysdep.c: Fix localtime_r problem on LynxOS.
4624 Also remove #elif to avoid warnings.
f8e0aa73
AJ
4625
4626 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
45659035 4627 used by this.
f8e0aa73 4628
45659035
GB
4629 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
4630
638e383e
JM
46312001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
4632
4633 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
4634 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
4635 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
4636 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
4637 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
4638 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
4639 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
4640 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
4641 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
4642 types.ads, urealp.adb: Fix spelling errors.
4643
97f6baa0
LG
46442001-10-27 Laurent Guerby <guerby@acm.org>
4645
4646 * trans.c (gigi): Fix non determinism leading to bootstrap
4647 comparison failures for debugging information.
4648
46b58b8c
FW
46492001-10-26 Florian Weimer <fw@deneb.enyo.de>
4650
4651 * gnat_rm.texi: Use @./@: where appropriate.
4652
30151c7b
RD
46532001-10-26 Robert Dewar <dewar@gnat.com>
4654
4655 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
4656
c0b1738d
RK
46572001-10-26 Richard Kenner <kenner@gnat.com>
4658
4659 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
4660
5b09c153
RK
46612001-10-26 Richard Kenner <kenner@gnat.com>
4662
f8e0aa73 4663 * decl.c (validate_size): Modify message for bad size to avoid
5b09c153
RK
4664 implication that compiler is modifying the size.
4665
4d553668
RD
46662001-10-26 Robert Dewar <dewar@gnat.com>
4667
4668 * prj-util.adb: Minor reformatting. Fix bad header format.
4669
3e542a58
RD
46702001-10-26 Robert Dewar <dewar@gnat.com>
4671
4672 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
f8e0aa73 4673
3e542a58 4674 * sinfo.ads: Clarify use of Associated_Node (documentation only).
f8e0aa73
AJ
4675
4676 * sem_ch12.adb: Change Node4 to Associated_Node. Change
4677 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
3e542a58
RD
4678 much more narrowly in places where needed. These are cleanups.
4679
0bf08bfe
JB
46802001-10-26 Joel Brobecker <brobecke@gnat.com>
4681
4682 * 5zosinte.ads (null_pthread): new constant.
f8e0aa73 4683
0bf08bfe
JB
4684 * 5ztaprop.adb:
4685 (Initialize_TCB): Initialize thread ID to null, to be able to verify
4686 later that this field has been set.
4687 (Finalize_TCB): ditto.
4688 (Suspend_Task): Verify that the thread ID is not null before using it.
4689 (Resume_Task): ditto.
f8e0aa73 4690
0bf08bfe
JB
4691 * s-tasdeb.adb:
4692 (Resume_All_Tasks): Lock the tasks list before using it.
4693 (Suspend_All_Tasks): ditto.
4694
7a3a8c06
RK
46952001-10-26 Richard Kenner <kenner@gnat.com>
4696
f8e0aa73 4697 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
7a3a8c06
RK
4698 Make constant variant of designated type for Is_Access_Constant.
4699 Call update_pointer_to with main variant.
f8e0aa73
AJ
4700
4701 * trans.c (process_freeze_entity, process_type):
7a3a8c06 4702 Call update_pointer_to on main variant.
f8e0aa73 4703
7a3a8c06
RK
4704 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
4705 If main variant, update all other variants.
f8e0aa73
AJ
4706
4707 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
7a3a8c06
RK
4708 TREE_STATIC.
4709
a160babb
RD
47102001-10-26 Robert Dewar <dewar@gnat.com>
4711
4712 * prj-util.adb: Minor reformatting
4713
b403bd17
RD
47142001-10-26 Robert Dewar <dewar@gnat.com>
4715
4716 * prj-util.adb: Minor reformatting
4717
5fc3b4c7
RD
47182001-10-26 Robert Dewar <dewar@gnat.com>
4719
4720 * prj-attr.adb: Minor reformatting throughout
4721
8c736034
RD
47222001-10-26 Robert Dewar <dewar@gnat.com>
4723
4724 * prj-attr.ads: Minor reformatting
4725 Add ??? comment (this whole spec has almost no comments)
4726
47d5b6ed
VC
47272001-10-26 Vincent Celier <celier@gnat.com>
4728
f8e0aa73 4729 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
b4f94ac1 4730 ("//") that precede the drive letter on Interix.
47d5b6ed 4731
41af791f
GB
47322001-10-26 Geert Bosch <bosch@gnat.com>
4733
4734 * gnat_rm.texi: Add GNAT Reference Manual.
4735
ed4a1468
RD
47362001-10-25 Robert Dewar <dewar@gnat.com>
4737
f8e0aa73 4738 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
b4f94ac1 4739 is Error. Similar change for other renaming cases.
ed4a1468 4740
24377ae4
RD
47412001-10-25 Robert Dewar <dewar@gnat.com>
4742
4743 * s-atacco.ads: Add pragma Inline_Always for functions.
4744 Fix header format. Add copyright 2001
4745
fef3204e
ES
47462001-10-25 Ed Schonberg <schonber@gnat.com>
4747
f8e0aa73 4748 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
b4f94ac1 4749 return Error rather than Empty so that analysis can proceed.
fef3204e 4750
dfc69d80
ES
47512001-10-25 Ed Schonberg <schonber@gnat.com>
4752
f8e0aa73 4753 * sem_util.adb (Enter_Name): better handling of cascaded error
b4f94ac1 4754 messages when a unit appears in its own context.
dfc69d80 4755
5a15af62
ES
47562001-10-25 Ed Schonberg <schonber@gnat.com>
4757
f8e0aa73 4758 * sem_util.adb (Defining_Entity): in case of error, attach created
b4f94ac1 4759 entity to specification, so that semantic analysis can proceed.
5a15af62 4760
2b881d53
RD
47612001-10-25 Robert Dewar <dewar@gnat.com>
4762
f8e0aa73 4763 * sem_util.adb
b4f94ac1 4764 (Defining_Entity): Deal with Error.
2b881d53
RD
4765 (Process_End_Label): Deal with bad end label for.
4766
578053f2
ES
47672001-10-25 Ed Schonberg <schonber@gnat.com>
4768
f8e0aa73 4769 * sem_elab.adb (Check_A_Call): refine message when call is in an
578053f2
ES
4770 instance but callee is not declared in the generic unit.
4771
0597ce0b 47722001-10-25 Ed Schonberg <schonber@gnat.com>
f8e0aa73
AJ
4773
4774 * sem_elab.adb (Check_A_Call): check for renaming before finding the
0597ce0b
ES
4775 enclosing unit, which may already be different from the calling unit.
4776
3de6e6da
GB
47772001-10-25 Geert Bosch <bosch@gnat.com>
4778
4779 * 4gintnam.ads: fix header format.
4780
6f311316
ES
47812001-10-25 Ed Schonberg <schonber@gnat.com>
4782
f8e0aa73 4783 * sem_res.adb (Resolve_Call): if the call is actually an indexing
b4f94ac1
ZW
4784 operation on the result of a parameterless call, perform elaboration
4785 check after the node has been properly rewritten.
f8e0aa73
AJ
4786
4787 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
b4f94ac1
ZW
4788 inlined within the generic tree, the defining identifier is not a
4789 compilation_unit.
6f311316 4790
17be0cdf
ES
47912001-10-25 Ed Schonberg <schonber@gnat.com>
4792
f8e0aa73 4793 * sem_res.adb (Resolve): special-case resolution of Null in an
b4f94ac1 4794 instance or an inlined body to avoid view conflicts.
f8e0aa73
AJ
4795
4796 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
b4f94ac1 4797 compatibility by retrieving the access type of the generic copy.
17be0cdf 4798
ce9e9122
RD
47992001-10-25 Robert Dewar <dewar@gnat.com>
4800
4801 * sem_ch3.adb:
4802 (Analyze_Number_Declaration): Handle error expression.
4803 (Signed_Integer_Type_Declaration): Handle error bound.
4804 (Analyze_Subtype_Indication): Handle error range.
f8e0aa73 4805
ce9e9122
RD
4806 * sem_util.adb (Get_Index_Bounds): Check for Error.
4807
e12fbc9e
RD
48082001-10-25 Robert Dewar <dewar@gnat.com>
4809
f8e0aa73 4810 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
e12fbc9e
RD
4811 in no run time mode.
4812
52b80488
PO
48132001-10-25 Pascal Obry <obry@gnat.com>
4814
f8e0aa73 4815 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
b4f94ac1 4816 mode case for ALLOC case.
f8e0aa73
AJ
4817
4818 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
b4f94ac1 4819 all platforms. Improvement of last change.
52b80488 4820
316ad9c5
RD
48212001-10-25 Robert Dewar <dewar@gnat.com>
4822
4823 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
4824
1a7e4df4
GB
48252001-10-25 Geert Bosch <bosch@gnat.com>
4826
4827 * osint.adb (Is_Relative): Remove duplicate.
4828
90a9fff2
PO
48292001-10-25 Pascal Obry <obry@gnat.com>
4830
f8e0aa73 4831 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
b4f94ac1 4832 pathnames in UNIX and DOS style with drive letter.
90a9fff2 4833 (Is_Relative): new routine.
f8e0aa73 4834
90a9fff2 4835 * osint.adb: Minor reformatting
f8e0aa73
AJ
4836
4837 * osint.adb (Is_Relative): implementation using
b4f94ac1 4838 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
90a9fff2 4839
5c1ba4cc
PO
48402001-10-25 Pascal Obry <obry@gnat.com>
4841
f8e0aa73 4842 * g-dirope.adb (Basename): correctly compute offset between the
b4f94ac1 4843 original Path and the translated one.
f8e0aa73 4844
5c1ba4cc
PO
4845 * g-dirope.adb: (Base_Name): add some comments.
4846
a7fb206d
RD
48472001-10-25 Robert Dewar <dewar@gnat.com>
4848
f8e0aa73 4849 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
b4f94ac1 4850 in HIE mode, avoids compilation abandoned message
f8e0aa73 4851
a7fb206d 4852 * exp_imgv.adb: Correct typo in previous change
f8e0aa73 4853
a7fb206d
RD
4854 * exp_imgv.adb: Correct typo in previous change (not my day!)
4855
e6a7e62e
RD
48562001-10-25 Robert Dewar <dewar@gnat.com>
4857
4858 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
4859
0d2b8e0b 48602001-10-25 Pascal Obry <obry@gnat.com>
75c09e7d 4861
f8e0aa73 4862 * g-awk.ads: Move all pragma inlines next to the routine
0d2b8e0b 4863 declarations. This is more uniform with other GNAT spec.
75c09e7d 4864
0d2b8e0b 48652001-10-22 Geert Bosch <bosch@gnat.com>
d2740a69
GB
4866
4867 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
4868
0d2b8e0b 48692001-10-19 Geert Bosch <bosch@gnat.com>
d7ac9bdd
GB
4870
4871 * Makefile.in (tools, gnattools): Remove gnatmem.
4872
17ed6335
RH
48732001-10-17 Richard Henderson <rth@redhat.com>
4874
4875 * Makefile.in (misc.o): Depend on langhooks.h.
4876 * misc.c: Include it.
4877 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
4878 (LANG_HOOKS_DECODE_OPTION): New.
4879 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
4880
f2436274
FW
48812001-10-16 Florian Weimer <fw@deneb.enyo.de>
4882
4883 * trans.c (tree_transform): Adjust to recent change in
4884 expand_asm_operands to implement named asm operands.
4885
b14127e6
ES
48862001-10-11 Ed Schonberg <schonber@gnat.com>
4887
f8e0aa73 4888 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
b14127e6
ES
4889 renaming of discriminant for mutable record type.
4890
e70ee92a
RD
48912001-10-11 Robert Dewar <dewar@gnat.com>
4892
4893 * validsw.adb: Properly save -gnatVn status.
4894
9a5621d7 48952001-10-11 Robert Dewar <dewar@gnat.com>
f8e0aa73 4896
9a5621d7
RD
4897 * usage.adb: Add lines for V switch.
4898
f8e0aa73 4899 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
9a5621d7
RD
4900 (/VALIDITY_CHECKING).
4901
45667f04
ES
49022001-10-11 Ed Schonberg <schonber@gnat.com>
4903
f8e0aa73 4904 * sem_type.adb (Add_One_Interp): an operator for a type declared in
45667f04
ES
4905 an extension of System is known to be visible.
4906
c3de5c4c
ES
49072001-10-11 Ed Schonberg <schonber@gnat.com>
4908
f8e0aa73 4909 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
c3de5c4c
ES
4910 properly. Fixes regression on ACATS C34005G.
4911
4fa964a6
RD
49122001-10-11 Robert Dewar <dewar@gnat.com>
4913
f8e0aa73 4914 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
4fa964a6
RD
4915 loop in generic instance, since this is likely not very useful.
4916
0868e09c
RD
49172001-10-11 Robert Dewar <dewar@gnat.com>
4918
f8e0aa73 4919 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
0868e09c 4920 the error message for high integrity mode.
f8e0aa73
AJ
4921
4922 * rtsfind.adb (RTE): Give message if we try to find an entity that
0868e09c 4923 is not available in high integrity mode.
f8e0aa73 4924
0868e09c
RD
4925 * rtsfind.ads:
4926 (OK_To_Use_In_HIE_Mode): New array.
4927 (RTE): May return Empty in high integrity mode.
f8e0aa73
AJ
4928
4929 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
4930 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
4931
4932 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
4933 unit if not inlined always and in no runtime mode. Fixes problem
0868e09c 4934 caused by new Rtsfind changes.
f8e0aa73
AJ
4935
4936 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
0868e09c 4937 body is deleted.
f8e0aa73
AJ
4938
4939 * rtsfind.adb (RTE): Make sure we do not try to load unit after
0868e09c
RD
4940 giving message for entity not available in high integrity mode.
4941
934abf9c 49422001-10-11 Pascal Obry <obry@gnat.com>
f8e0aa73 4943
934abf9c
PO
4944 * impunit.adb: Add GNAT.CRC32.
4945
3c72bea4
ES
49462001-10-11 Ed Schonberg <schonber@gnat.com>
4947
f8e0aa73
AJ
4948 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
4949 properly the case where one universal operand in a non-static
3c72bea4
ES
4950 exponentiation of a real literal.
4951
44d8d2bb
ES
49522001-10-11 Ed Schonberg <schonber@gnat.com>
4953
f8e0aa73
AJ
4954 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
4955 clause, return the gobal finalization list, for lack of anthing else.
44d8d2bb 4956
9e2b9627
ES
49572001-10-11 Ed Schonberg <schonber@gnat.com>
4958
f8e0aa73
AJ
4959 * exp_ch7.adb (Make_Transient_Block): if statement is within
4960 exception handler, always use new transient scope to place Clean
9e2b9627
ES
4961 procedure.
4962
cfac6e9f
PO
49632001-10-11 Pascal Obry <obry@gnat.com>
4964
4965 * Makefile.in:
4966 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
4967 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
4968 (GNATLS_RTL_OBJS): add g-crc32.o
4969 (GNATMAKE_RTL_OBJS): add g-crc32.o
f8e0aa73 4970
cfac6e9f
PO
4971 * ali-util.adb:
4972 (CRC_Match): new function.
f8e0aa73 4973 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
cfac6e9f
PO
4974 instead of the previous simple checksum algorithm.
4975 (Time_Stamp_Mismatch): use CRC_Match for comparison.
4976 (Set_Source_Table): idem.
f8e0aa73 4977
cfac6e9f 4978 * ali-util.ads:
f8e0aa73 4979 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
cfac6e9f
PO
4980 instead of simple checksum.
4981 (CRC_Match): new function.
4982 (CRC_Error): new constant.
f8e0aa73
AJ
4983
4984 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
4985 a CRC now and not a simple checksum. A CRC uses lower-case hex
cfac6e9f 4986 letters, fixes ambiguity in parsing.
f8e0aa73
AJ
4987
4988 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
cfac6e9f 4989 is what this variable will store.
f8e0aa73 4990
cfac6e9f 4991 * bcheck.adb: Change reference to chechsum in comments by CRC.
f8e0aa73
AJ
4992 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
4993 rename All_Checksum_Match to All_CRC_Match. Change due to API
4994 renaming since now GNAT does not use a simple checksum but a
cfac6e9f 4995 CRC using GNAT.CRC32.
f8e0aa73
AJ
4996
4997 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
cfac6e9f 4998 now and not anymore a simple checksum.
f8e0aa73
AJ
4999
5000 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
cfac6e9f 5001 places.
f8e0aa73 5002
cfac6e9f 5003 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
f8e0aa73 5004
cfac6e9f
PO
5005 * scans.adb:
5006 (Restore_Scan_State): rename Checksum to CRC.
5007 (Save_Scan_State): idem.
f8e0aa73 5008
cfac6e9f
PO
5009 * scans.ads:
5010 With GNAT.CRC32.
5011 (Checksum): rename to CRC.
5012 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
f8e0aa73
AJ
5013
5014 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 5015 GNAT.CRC32). Update copyright notice.
f8e0aa73
AJ
5016
5017 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 5018 GNAT.CRC32). Update copyright notice.
f8e0aa73 5019
cfac6e9f
PO
5020 * scn.adb:
5021 (Accumulate_Checksum): removed.
5022 (Update): new procedure. Add a wide-character into the CRC.
f8e0aa73 5023
cfac6e9f
PO
5024 * sinput-l.adb:
5025 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
f8e0aa73 5026 (Load_File): fix initialization of S (change Source_Checksum to
cfac6e9f 5027 Source_CRC)
f8e0aa73
AJ
5028
5029 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
cfac6e9f 5030 Source_CRC in S initialization.
f8e0aa73 5031
cfac6e9f 5032 * sinput.adb (Source_Checksum): renamed to Source_CRC.
f8e0aa73 5033
cfac6e9f
PO
5034 * sinput.ads (Source_Checksum): renamed to Source_CRC.
5035 Update comments for the CRC.
f8e0aa73 5036
cfac6e9f 5037 * types.adb (Hex): Use lowercase for the letter part.
f8e0aa73
AJ
5038
5039 * types.ads (Get_Hex_String): Returns the hexadecimal representation
5040 for a word. This is currently used only for CRC. In previous version,
5041 the checksum was using a representation with all letter being
5042 upper-case. With the new implementation (using CRC) we do not remove
5043 the 32th bit of the CRC, so we can have an upper-case starting letter
5044 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
5045 It is ambigous since the CRC was optional and could be followed by
5046 options like EB, EE. So now this routines uses lower-case letter for
5047 the hexadecimal representation. Strange enough only lower case letters
cfac6e9f 5048 where checked in Scan_ALI (even if this was not a possible case).
f8e0aa73 5049
cfac6e9f 5050 * gnatvsn.ads (Library_Version): changed to 3.15a.
f8e0aa73
AJ
5051
5052 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
cfac6e9f 5053 for the compiler.
f8e0aa73
AJ
5054
5055 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
cfac6e9f 5056 for the compiler.
f8e0aa73 5057
cfac6e9f
PO
5058 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
5059 Add 2001 to copyright notice
5060 (Accumulate_Checksum): Modify to use System.CRC32.
f8e0aa73
AJ
5061
5062 * ali-util.ads: Redo changes of previous revision to continue to use
cfac6e9f 5063 the word Checksum. Add 2001 to copyright notice.
f8e0aa73 5064
cfac6e9f
PO
5065 * ali.adb: Undo some of previous changes, not needed.
5066 Keep the change for lower case letters in the checksum.
f8e0aa73 5067
cfac6e9f
PO
5068 * ali.ads: Undo previous change not needed.
5069
5070 * bcheck.adb: Undo most of previous change, not needed.
5071 But do use Checksums_Match for checksum comparison.
f8e0aa73 5072
cfac6e9f
PO
5073 * gnatls.adb: Undo most of previous change, not needed.
5074 But do use Checksums_Match for comparing checksums.
f8e0aa73 5075
cfac6e9f 5076 * lib-load.adb: Undo previous change, not needed.
f8e0aa73 5077
cfac6e9f 5078 * lib-writ.adb: Undo previous change, not needed.
f8e0aa73
AJ
5079
5080 * lib-writ.ads: Document that checksums use lower case,
cfac6e9f 5081 not upper case letters.
f8e0aa73 5082
cfac6e9f 5083 * scans.adb: Undo previous change, not needed
f8e0aa73 5084
cfac6e9f 5085 * scans.ads: Undo previous change, not needed.
f8e0aa73 5086
cfac6e9f 5087 * scn-nlit.adb: Undo previous changes, not needed.
f8e0aa73 5088
cfac6e9f 5089 * scn-slit.adb: Undo previous change, not needed. Fix header format.
f8e0aa73 5090
cfac6e9f
PO
5091 * scn.adb:
5092 (Accumulate_Checksum): Use System.CRC32.
5093 (Initialize_Checksum): New procedure.
5094 Remove other changes of previous revision.
f8e0aa73 5095
cfac6e9f 5096 * sinput-p.adb: Undo previous change, not needed.
f8e0aa73 5097
cfac6e9f
PO
5098 * sinput.adb: Undo previous change, not needed.
5099
5100 * sinput-l.adb: Undo previous change, not needed.
f8e0aa73
AJ
5101
5102 * sinput.ads: Undo previous change, not needed. Keep only comment
cfac6e9f 5103 on new checksum algorithm
f8e0aa73 5104
cfac6e9f
PO
5105 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
5106 Also remove a-tags and a-stream from GNAT sources.
f8e0aa73 5107
cfac6e9f 5108 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
f8e0aa73 5109
cfac6e9f
PO
5110 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
5111
4d6d06a5
GB
51122001-10-11 Geert Bosch <bosch@gnat.com>
5113
5114 * einfo.h: Regenerate.
5115
5116 * nmake.ads: Regenerate.
5117
5118 * nmake.adb: Regenerate.
5119
5120 * sinfo.h: Regenerate.
5121
5122 * treeprs.adb: Regenerate.
5123
c97412e2
GB
51242001-10-10 Geert Bosch <bosch@gnat.com>
5125
5126 * gnat-style.texi: New file describing coding guidelines for Ada.
f8e0aa73 5127
b83018ca
ES
51282001-10-10 Ed Schonberg <schonber@gnat.com>
5129
f8e0aa73 5130 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
b83018ca
ES
5131 is Flag174.
5132
e834fe1f
GB
51332001-10-10 Geert Bosch <bosch@gnat.com>
5134
5135 * snames.ads: Add new names for project facility.
5136
5137 * snames.adb: Update to reflect snames.ads changes.
5138
5139 * snames.h: Update to reflect snames.ads changes.
5140
b30668b7
VC
51412001-10-10 Vincent Celier <celier@gnat.com>
5142
5143 * make.adb:
5144 (Add_Switches): reflect the changes for the switches attributes
5145 Default_Switches indexed by the programming language,
5146 Switches indexed by the file name.
5147 (Collect_Arguments_And_Compile): Idem.
5148 Reflect the attribute name changes.
f8e0aa73 5149
b30668b7
VC
5150 * prj-attr.adb:
5151 (Initialisation_Data): Change the names of some packages and
5152 attributes.
5153 (Initialize): process case insensitive associative arrays.
f8e0aa73 5154
b30668b7
VC
5155 * prj-attr.ads:
5156 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
f8e0aa73 5157
b30668b7
VC
5158 * prj-dect.adb:
5159 (Parse_Attribute_Declaration): For case insensitive associative
5160 arrays, set the index string to lower case.
f8e0aa73 5161
b30668b7
VC
5162 * prj-env.adb:
5163 Reflect the changes of the project attributes.
f8e0aa73 5164
b30668b7
VC
5165 * prj-nmsc.adb:
5166 Replace Check_Naming_Scheme by Ada_Check and
5167 Language_Independent_Check.
f8e0aa73 5168
b30668b7
VC
5169 * prj-nmsc.ads:
5170 Replaced Check_Naming_Scheme by 2 procedures:
5171 Ada_Check and Language_Independent_Check.
f8e0aa73 5172
b30668b7
VC
5173 * prj-proc.adb:
5174 (Process_Declarative_Items): For case-insensitive associative
5175 arrays, set the index string to lower case.
5176 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
5177 Prj.Nmsc.Check_Naming_Scheme.
f8e0aa73 5178
b30668b7
VC
5179 * prj-tree.adb:
5180 (Case_Insensitive): New function
5181 (Set_Case_Insensitive): New procedure
f8e0aa73 5182
b30668b7
VC
5183 * prj-tree.ads:
5184 (Case_Insensitive): New function
5185 (Set_Case_Insensitive): New procedure
5186 (Project_Node_Record): New flag Case_Insensitive.
f8e0aa73 5187
b30668b7
VC
5188 * prj-util.adb:
5189 (Value_Of): new function to get the string value of a single
5190 string variable or attribute.
f8e0aa73 5191
b30668b7
VC
5192 * prj-util.ads:
5193 (Value_Of): new function to get the string value of a single
5194 string variable or attribute.
f8e0aa73 5195
b30668b7
VC
5196 * prj.adb:
5197 (Ada_Default_Spec_Suffix): New function
5198 (Ada_Default_Impl_Suffix): New function
5199 Change definitions of several constants to reflect
5200 new components of record types.
f8e0aa73 5201
b30668b7
VC
5202 * prj.ads:
5203 (Naming_Data): Change several components to reflect new
5204 elements of naming schemes.
5205 (Project_Data): New flags Sources_Present and
5206 Language_Independent_Checked.
5207 (Ada_Default_Spec_Suffix): New function.
5208 (Ada_Default_Impl_Suffix): New function.
f8e0aa73 5209
b30668b7
VC
5210 * snames.ads:
5211 Modification of predefined names for project manager: added
5212 Implementation, Specification_Exceptions, Implementation_Exceptions,
5213 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
5214 Default_Switches, _Languages, Builder, Cross_Reference,
5215 Finder. Removed Body_Part, Specification_Append, Body_Append,
5216 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
5217 Gnatlink.
f8e0aa73 5218
b30668b7
VC
5219 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
5220 Add comments.
f8e0aa73 5221
b30668b7
VC
5222 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
5223 not that it is Nil_Variable_Value.
f8e0aa73 5224
b30668b7
VC
5225 * prj.ads: Add ??? for uncommented declarations
5226
662e57b4
ES
52272001-10-10 Ed Schonberg <schonber@gnat.com>
5228
f8e0aa73
AJ
5229 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
5230 constant, do not indicate possible modification, so that gigi can
662e57b4
ES
5231 treat it as a bona fide constant.
5232
72e4357f
RD
52332001-10-10 Robert Dewar <dewar@gnat.com>
5234
5235 * sem_prag.adb: Add processing for pragma External.
f8e0aa73 5236
72e4357f 5237 * snames.ads: Add entry for pragma External.
f8e0aa73 5238
72e4357f 5239 * par-prag.adb: Add pragma External.
f8e0aa73 5240
72e4357f
RD
5241 * snames.adb: Updated to match snames.ads.
5242
7bc1c7df
ES
52432001-10-10 Ed Schonberg <schonber@gnat.com>
5244
5245 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
5246 a dynamic task if the allocator appears in an indexed assignment
5247 or selected component assignment.
f8e0aa73
AJ
5248
5249 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
5250 For a dynamic task in an assignment statement, use target of
7bc1c7df
ES
5251 assignment to generate meaningful name.
5252
c84700e7
ES
52532001-10-10 Ed Schonberg <schonber@gnat.com>
5254
f8e0aa73 5255 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
c84700e7
ES
5256 a generic package.
5257
5258 * einfo.ads: Body_Entity is also defined for generic package.
5259 Documentation change only
f8e0aa73
AJ
5260
5261 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
5262 others_choice for a discriminated component initialization,
5263 convert discriminant references into the corresponding discriminals.
5264
5265 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
5266 only if original type is private and expression has to be wrapped
c84700e7 5267 in a conversion.
f8e0aa73
AJ
5268
5269 * checks.adb:
5270 (Apply_Constraint_Check): Do not perform length check
c84700e7 5271 if expression is an aggregate with only an others_choice.
f8e0aa73 5272 (Length_N_Cond): two references to the same in_parameter
c84700e7
ES
5273 (typically the discriminal in an init_proc) denote the same value.
5274 Two useful optimization uncovered by bugfixes above.
5275
d8d80dcd
RD
52762001-10-10 Robert Dewar <dewar@gnat.com>
5277
f8e0aa73 5278 * xeinfo.adb: Change int to char in translation of enumeration types.
d8d80dcd
RD
5279 This fixes a problem in the C representation of component alignment.
5280 Add 2001 to copyright notice
5281
a8fee948
RK
52822001-10-10 Richard Kenner <kenner@gnat.com>
5283
f8e0aa73 5284 * decl.c: (validate_size): Do check size of object of integral type
a8fee948
RK
5285 if it is a packed array type.
5286
c2d7fe59
RK
52872001-10-10 Richard Kenner <kenner@gnat.com>
5288
f8e0aa73 5289 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
c2d7fe59
RK
5290 VAR_DECL for constant if not Is_Public but -O0.
5291
fb75e100
RK
52922001-10-10 Richard Kenner <kenner@gnat.com>
5293
5294 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
5295
1724557a
GB
52962001-10-10 Geert Bosch <bosch@gnat.com>
5297
f8e0aa73 5298 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
1724557a
GB
5299 use '/' as switch character, allowing for absolute file names.
5300
9f2f9eb6
JM
53012001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
5302
5303 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
5304 FSF address.
5305
8fecf41d
GB
53062001-10-08 Geert Bosch <bosch@gnat.com>
5307
5308 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
5309 Automatically build utilities when files need to be regenerated.
5310
589f1edf
GB
53112001-10-08 Geert Bosch <bosch@gnat.com>
5312
5313 * xsnames.adb: New utility for updating snames.ads and snames.adb
5314
67f28219
ZW
53152001-10-08 Zack Weinberg <zack@codesourcery.com>
5316
5317 * Make-lang.in (ADAFLAGS): Add -W -Wall.
5318 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
5319 (gnat1): Also depend on attribs.o.
5320 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
5321 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
5322 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
5323 (ADAFLAGS): Add -W -Wall.
5324 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
5325 take out CFLAGS.
5326
5327 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
5328 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
5329 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
5330 Use $(ADAC), not $(CC), as compilation command.
5331
5332 (gnattools): Depend directly on tools to build, don't use
5333 recursive make.
5334 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
5335
5336 * einfo.h, sinfo.h: New files (autogenerated).
5337
295ef2bb
RH
53382001-10-08 Richard Henderson <rth@redhat.com>
5339
5340 * comperr.adb (Abort_In_Progress): New.
5341 (Compiler_Abort): Use it to prevent recursion.
5342
5c736541
RD
53432001-10-08 Robert Dewar <dewar@gnat.com>
5344
5345 * atree.adb: Set Error_Posted in Error node, helps error recovery.
67f28219
ZW
5346
5347 * par-endh.adb (Output_End_Expected): We should also not test
5c736541 5348 Error_Posted on the Error node, since now it is always set.
67f28219
ZW
5349
5350 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
5c736541 5351 to help error recovery. Part of general work on 9407-004.
67f28219 5352
5c736541 5353 * par.adb: Add ??? for misuse of error
67f28219 5354
5c736541
RD
5355 * sem_res.adb:
5356 (Resolve): Defend against Error, fixes 9407-003.
5357 (Resolve_Discrete_Subtype_Indication): Defend against Error.
67f28219
ZW
5358
5359 * sinfo.ads (N_Error): Now has Etype field (which will be set
5c736541
RD
5360 to Any_Type to help error recovery).
5361
a153ae15
RK
53622001-10-08 Richard Kenner (kenner@gnat.com)
5363
5364 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
5365 Consistently set MEM attributes from expression; fixes
5366 bootstrap failure on x86.
5367
743f3c7b
GB
53682001-10-08 Geert Bosch (bosch@gnat.com)
5369
5370 * 5oosinte.adb: Add 2001 to copyright notice.
5371
210c4ef4
GB
53722001-10-08 Geert Bosch (bosch@gnat.com)
5373
5374 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
5375
5376 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
5377
cc712abf
JM
53782001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
5379
5380 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
5381
4c4abc0f
GB
53822001-10-05 Geert Bosch (bosch@gnat.com)
5383
5384 * adaint.h: Small formatting fix.
5385
7f50e2e3
GB
53862001-10-04 Geert Bosch <bosch@gnat.com>
5387
5388 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
5389 Arg is int, not FILE *, in dummy version of functions.
67f28219 5390
7f50e2e3
GB
5391 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
5392 Arg is int, not FILE *.
5393
5d1a9698
GB
53942001-10-04 Geert Bosch <bosch@gnat.com>
5395
5396 * 3lsoccon.ads: Added file, missed with initial check ins.
67f28219 5397
5d1a9698
GB
5398 * 4lintnam.ads: Fix header format.
5399 Change Linux to GNU/Linux.
67f28219 5400
5d1a9698
GB
5401 * 5iosinte.adb: Change Linux to GNU/Linux.
5402
5403 * 5iosinte.ads: Change Linux to GNU/Linux.
67f28219 5404
5d1a9698 5405 * 5itaprop.adb: Change Linux to GNU/Linux.
67f28219 5406
5d1a9698
GB
5407 * 5itaspri.ads: Change Linux to GNU/Linux.
5408 Update copyright notice.
67f28219 5409
5d1a9698 5410 * 5lintman.adb: Change Linux to GNU/Linux.
67f28219 5411
5d1a9698 5412 * 5lml-tgt.adb: Change Linux to GNU/Linux.
67f28219 5413
5d1a9698 5414 * 5losinte.ads: Change Linux to GNU/Linux.
67f28219 5415
5d1a9698 5416 * 5lsystem.ads: Change Linux to GNU/Linux.
67f28219 5417
5d1a9698 5418 * 5qosinte.adb: Change Linux to GNU/Linux.
67f28219 5419
5d1a9698 5420 * 5qosinte.ads: Change Linux to GNU/Linux.
67f28219 5421
5d1a9698 5422 * 5qparame.ads: Change Linux to GNU/Linux.
67f28219 5423
5d1a9698 5424 * 5qtaprop.adb: Change Linux to GNU/Linux.
67f28219 5425
5d1a9698
GB
5426 * 5qtaspri.ads: Change Linux to GNU/Linux.
5427 Add 2001 to copyright notice.
67f28219 5428
5d1a9698
GB
5429 * 5vintman.ads: Change Linux to GNU/Linux.
5430 Fix header format. Add 2001 to copyright notice.
67f28219 5431
5d1a9698 5432 * g-soccon.ads: Change Linux to GNU/Linux.
67f28219 5433
5d1a9698
GB
5434 * g-trasym.ads: Change Linux to GNU/Linux.
5435 Add 2001 to copyright notice.
67f28219 5436
5d1a9698 5437 * memtrack.adb: Change Linux to GNU/Linux.
67f28219 5438
5d1a9698
GB
5439 * s-intman.ads: Change Linux to GNU/Linux.
5440 Add 2001 to copyright notice. Fix header format.
67f28219 5441
5d1a9698 5442 * s-stache.adb: Change Linux to GNU/Linux.
67f28219 5443
5d1a9698 5444 * adaint.c: Change Linux to GNU/Linux.
67f28219 5445
5d1a9698 5446 * cio.c: Change Linux to GNU/Linux.
67f28219 5447
5d1a9698 5448 * cstreams.c: Change Linux to GNU/Linux.
67f28219 5449
5d1a9698 5450 * init.c: Change Linux to GNU/Linux.
67f28219 5451
5d1a9698 5452 * gmem.c: Change Linux to GNU/Linux.
67f28219 5453
5d1a9698
GB
5454 * tracebak.c: Change Linux to GNU/Linux.
5455
5456
c25ca2d7
GB
54572001-10-02 Geert Bosch <bosch@gnat.com>
5458
5459 * misc.c (insert_default_attributes): Add dummy version.
This page took 1.072987 seconds and 5 git commands to generate.