]> gcc.gnu.org Git - gcc.git/blame - gcc/ada/ChangeLog
explow.c (optimize_save_area_alloca): Do not accept parameters.
[gcc.git] / gcc / ada / ChangeLog
CommitLineData
15ce9ca2
AC
12004-07-06 Vincent Celier <celier@gnat.com>
2
3 * vms_conv.ads: Minor reformatting.
4 Alphabetical order for enumerated values of type Command_Type, to have
5 the command in alphabetical order for the usage.
6
7 * vms_conv.adb (Process_Argument): Set Keep_Temporary_Files to True for
8 the special qualifier /KEEP_TEMPORARY_FILES (minimum 6 characters).
9
10 * gnat_ugn.texi: Document new switch -dn for the GNAT driver.
11
12 * makegpr.adb (Global_Archive_Exists): New global Boolean variable
13 (Add_Archive_Path): Only add the global archive if there is one.
14 (Build_Global_Archive): Set Global_Archive_Exists depending if there is
15 or not any object file to put in the global archive, and don't build
16 a global archive if there is none.
17 (X_Switches): New table
18 (Compile_Link_With_Gnatmake): Pass to gnatmake the -X switches stored
19 in the X_Switches table, if any.
20 (Initialize): Make sure the X_Switches table is empty
21 (Scan_Arg): Record -X switches in table X_Switches
22
23 * opt.ads (Keep_Temporary_Files): New Boolean flag, defaulted to False.
24
25 * make.adb: Minor comment fix
26
27 * gnatname.adb (Gnatname): When not on VMS, and gnatname has been
28 invoked with directory information, add the directory in front of the
29 path.
30
31 * gnatchop.adb (Gnatchop): When not on VMS, and gnatchop has been
32 invoked with directory information, add the directory in front of the
33 path.
34
35 * gnatcmd.adb (Delete_Temp_Config_Files): Only delete temporary files
36 when Keep_Temporary_Files is False.
37 (GNATCmd): When not on VMS, and the GNAT driver has been invoked with
38 directory information, add the directory in front of the path.
39 When not on VMS, handle new switch -dn before the command to set
40 Keep_Temporary_Files to True.
41 (Non_VMS_Usage): Use lower case for the non VMS usage: this is valid
42 everywhere.
43
44 * gnatlink.adb (Gnatlink): When not on VMS, and gnatlink has been
45 invoked with directory information, add the directory in front of the
46 path.
47
482004-07-06 Thomas Quinot <quinot@act-europe.fr>
49
50 * snames.ads, snames.adb (Name_Stub): New name for the distributed
51 systems annex.
52
53 * rtsfind.ads: New RTE TC_Object, for DSA/PolyORB.
54 New RTEs RAS_Proxy_Type and RAS_Proxy_Type_Access, for DSA.
55
56 * g-socket.adb (To_Timeval): Fix incorrect conversion of
57 Selector_Duration to Timeval for the case of 0.0.
58
59 * exp_util.ads (Evolve_Or_Else): Fix overenthusiastic copy/paste of
60 documentation from Evolve_And_Then.
61
622004-07-06 Jose Ruiz <ruiz@act-europe.fr>
63
64 * s-taprop-tru64.adb, s-taprop-os2.adb,
65 s-taprop-mingw.adb, s-taprop-posix.adb: Update comment.
66
672004-07-06 Robert Dewar <dewar@gnat.com>
68
69 * s-osinte-hpux.ads, s-osinte-freebsd.ads,
70 s-osinte-lynxos.ads, s-taprop-lynxos.adb, s-osinte-tru64.ads,
71 s-osinte-aix.ads, s-osinte-irix.ads, s-taprop-irix.adb,
72 s-interr-sigaction.adb, s-taprop-irix-athread.adb,
73 s-osinte-hpux-dce.adb, s-taprop-hpux-dce.adb,
74 s-taprop-linux.adb, s-taprop-dummy.adb, s-taprop-solaris.adb,
75 s-interr-vms.adb, s-osinte-vms.ads, s-taprop-vms.adb,
76 s-osinte-vxworks.ads, s-osprim-vxworks.adb, a-numaux-x86.adb,
77 a-except.adb, a-exexpr.adb, a-intsig.adb, a-tags.adb,
78 a-tags.ads, bindgen.ads, checks.adb, checks.adb,
79 csets.ads, einfo.ads, einfo.ads, elists.adb, exp_ch4.adb,
80 exp_ch7.adb, exp_dist.adb, exp_util.adb, freeze.adb,
81 g-dynhta.adb, gnatmem.adb, g-regexp.adb, inline.adb,
82 i-os2thr.ads, osint.adb, prj.adb, scng.adb, sem_cat.adb,
83 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, sem_ch7.adb,
84 sem_ch8.adb, sem_disp.adb, sem_prag.adb, sem_res.adb,
85 sem_type.adb, sem_type.ads, sem_warn.adb, s-ficobl.ads,
86 s-finimp.adb, s-htable.adb, sinfo.ads, sinput-l.ads,
87 s-interr.adb, s-interr.ads, sprint.adb, s-tarest.adb,
88 s-tasini.ads, s-taskin.ads, s-taskin.ads, uname.adb,
89 vms_data.ads: Minor reformatting,
90 Fix bad box comment format.
91
92 * gnat_rm.texi: Fix minor grammatical error
93
94 * sem_attr.adb, exp_attr.adb: New attribute Has_Access_Values
95
96 * sem_util.ads, sem_util.adb (Requires_Transient_Scope): Allow many
97 more cases of discriminated records to be recognized as not needing a
98 secondary stack.
99 (Has_Access_Values): New function.
100
101 * snames.h, snames.adb, snames.ads: New attribute Has_Access_Values
102
103 * cstand.adb, layout.ads, layout.adb, sem_ch13.ads: Change name
104 Set_Prim_Alignment to Set_Elem_Alignment (more accurate correspondence
105 with LRM terminology).
106 Change terminology in comments primitive type => elementary type.
107
1082004-07-06 Ed Schonberg <schonberg@gnat.com>
109
110 PR ada/15602
111 * sem_ch7.adb (Unit_Requires_Body): For a generic package, the formal
112 parameters do not impose any requirements on the presence of a body.
113
1142004-07-06 Ed Schonberg <schonberg@gnat.com>
115
116 PR ada/15593
117 * sem_ch12.adb (Analyze_Package_Instantiation): If the generic is not a
118 compilation unit and is in an open scope at the point of instantiation,
119 assume that a body may be present later.
120
1212004-07-06 Ed Schonberg <schonberg@gnat.com>
122
123 * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case 'Size):
124 Improve error message when specified size is not supported.
125
126 * sem_ch6.adb (Maybe_Primitive_Operation): A library-level subprogram
127 is never a primitive operation.
128
cb42deba
AS
1292004-07-05 Andreas Schwab <schwab@suse.de>
130
131 * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Use
132 RECORD_OR_UNION_CHECK.
133 (TYPE_CONTAINS_TEMPLATE_P): Likewise.
134
98877933
KC
1352004-07-04 Kelley Cook <kcook@gcc.gnu.org>
136
137 * Make-lang.in (doc/gnat_ugn_unw.texi): Eliminate explicit
138 dependency on xgnatugn, instead build it via a submake.
139 (ADA_INFOFILES): Add doc/gnat_ugn_unw.texi.
140
8fff4fc1
RH
1412004-07-04 Richard Henderson <rth@redhat.com>
142
143 * utils2.c (gnat_mark_addressable): Don't put_var_into_stack.
144
4dfa0342
RH
1452004-07-01 Richard Henderson <rth@redhat.com>
146
147 * trans.c (gnat_stabilize_reference): Don't handle RTL_EXPR.
148 * utils.c (max_size): Likewise.
149
909f21b3
RK
1502004-06-28 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
151
152 * decl.c: Remove calls to add_decl_expr, pushdecl, rest_of_compilation,
153 and rest_of_type_compilation; add arg to create_*_decl.
154 (annotate_decl_with_node): Deleted.
155 (gnat_to_gnu_entity, case E_Array_Type): Set location of fields.
156 * gigi.h (get_decls, block_has_vars, pushdecl): Deleted.
157 (get_current_block_context, gnat_pushdecl): New declarations.
158 (gnat_init_stmt_group): Likewise.
159 (create_var_decl, create_type_decl, create_subprog_decl): Add new arg.
160 * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK): Deleted.
161 (LANG_HOOKS_GETDECLS, LANG_HOOKS_PUSHDECL): Deleted.
162 (gnat_init): Call gnat_init_stmt_group.
163 * trans.c (global_stmt_group, gnu_elab_proc_decl): New variables.
164 (gnu_pending_elaboration_list): Deleted.
165 (mark_visited, mark_unvisited, gnat_init_stmt_group): New functions.
166 (gigi): Rearrange initialization calls and move some to last above.
167 (gnat_to_gnu): If statement and not in procedure, go into elab proc.
168 Delete calls to add_decl_expr; add arg to create_*_decl.
169 (gnat_to_gnu, case N_Loop): Recalculate side effects on COND_EXPR.
170 (gnat_to_gnu, case N_Subprogram_Body): Move some code to
171 begin_subprog_body and call it.
172 Don't push and pop ggc context.
173 (gnat_to_gnu, case N_Compilation_Unit): Rework to support elab proc.
174 (add_stmt): Remove handling of DECL_EXPR from here.
175 If not in function, mark visited.
176 (add_decl_expr): Put global at top level.
177 Check for cases of DECL_INITIAL we have to handle here.
178 (process_type): Add extra arg to create_type_decl.
179 (build_unit_elab): Rework to just gimplify.
180 * utils.c (pending_elaborations, elist_stack, getdecls): Deleted.
181 (block_has_vars, mark_visited, add_pending_elaborations): Likewise.
182 (get_pending_elaborations, pending_elaborations_p): Likewise.
183 (push_pending_elaborations, pop_pending_elaborations): Likewise.
184 (get_elaboration_location, insert_elaboration_list): Likewise.
185 (gnat_binding_level): Renamed from ada_binding_level.
186 (init_gnat_to_gnu): Don't clear pending_elaborations.
187 (global_bindings_p): Treat as global if no current_binding_level.
188 (set_current_block_context): New function.
189 (gnat_pushdecl): Renamed from pushdecl; major rework.
190 All callers changed.
191 (create_type_decl, create_var_decl, create_subprog_decl): Add new arg.
192 (finish_record_type): Call call pushdecl for stub decl.
193 (function_nesting_depth): Deleted.
194 (begin_subprog_body): Delete obsolete code.
195 * utils2.c (build_call_alloc_dealloc): Add new arg to create_var_decl.
196
246d2ceb
AC
1972004-06-28 Robert Dewar <dewar@gnat.com>
198
199 * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb,
200 mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb,
201 mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-solaris.adb,
202 mlib-tgt-vms-alpha.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb,
203 a-strmap.adb, a-strmap.ads, clean.adb: Minor reformatting
204
205 * exp_util.adb (Is_Possibly_Unaligned_Slice): Completely rewritten, to
206 deal with problem of inefficient slices on machines with strict
207 alignment, when the slice is a component of a composite.
208
209 * checks.adb (Apply_Array_Size_Check): Do not special case 64-bit
210 machines, we need the check there as well.
211
2122004-06-28 Ed Schonberg <schonberg@gnat.com>
213
214 * exp_ch5.adb (Expand_Assign_Array): Use correct condition to
215 determine safe copying direction for overlapping slice assignments
216 when component is controlled.
217
218 * sem_ch12.adb (Instantiate_Formal_Package): Implicit operations of a
219 formal derived type in the actual for a formal package are visible in
220 the enclosing instance.
221
2222004-06-28 Ed Schonberg <schonberg@gnat.com>
223
224 PR ada/15600
225 * sem_util.adb (Trace_Components): Diagnose properly an illegal
226 circularity involving a private type whose completion includes a
227 self-referential component.
228 (Enter_Name): Use Is_Inherited_Operation to distinguish a source
229 renaming or an instantiation from an implicit derived operation.
230
2312004-06-28 Pascal Obry <obry@gnat.com>
232
233 * mlib-tgt-mingw.adb: (Library_Exists_For): Remove "lib" prefix from
234 DLL.
235 (Library_File_Name_For): Idem.
236
2372004-06-28 Matthew Gingell <gingell@gnat.com>
238
239 * g-traceb.ads: Add explanatory note on the format of addresses
240 expected by addr2line.
241
2422004-06-28 Jerome Guitton <guitton@act-europe.fr>
243
244 * Makefile.in: Force debugging information on s-tasdeb.adb,
245 a-except.adb and s-assert.adb needed by the debugger.
246
2472004-06-28 Vincent Celier <celier@gnat.com>
248
249 * make.adb (Collect_Arguments_And_Compile): Change Flag1 to
250 Need_To_Build_Lib.
251 (Gnatmake): Ditto.
252
253 * mlib-prj.adb (Check_Library): Replace Flag1 with Need_To_Build_Lib
254
255 * prj.adb: Minor reformatting
256 (Project_Empty): Change Flag1 to Need_To_Build_Lib. Remove Flag2.
257
258 * prj.ads: Comment updates
259 Minor reformatting
260 (Project_Data): Change Flag1 to Need_To_Build_Lib.
261 Remove Flag2: not used.
262
263 * prj-dect.adb (Parse_Declarative_Items): Accept "null" as a
264 declaration.
265
266 * gnat_ugn.texi: Put a "null;" declaration in one project file example
267
268 * gnat_rm.texi: Document Empty declarations "null;".
269
270 * makegpr.adb (Compile_Link_With_Gnatmake): Put the global archives in
271 front of the linker options.
272 (Link_Foreign): Put the global archives and the libraries in front of
273 the linker options.
274
2752004-06-28 Javier Miranda <miranda@gnat.com>
276
277 * rtsfind.adb: (Get_Unit_Name): Fix typo in comment
278 (RTU_Loaded): Code cleanup
279 (Set_RTU_Loaded): New procedure to register as *loaded* explicitly
280 withed predefined units.
281
282 * rtsfind.ads (Set_RTU_Loaded): New procedure to register as *loaded*
283 explicitly withed predefined units.
284 Fix typo in comment
285
286 * sem_ch10.adb (Analyze_Compilation_Unit): Register as *loaded*
287 explicitly withed predefined units.
288
bce3da32
RK
2892004-06-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
290
291 * ada-tree.def (DECL_STMT): Deleted.
292 * ada-tree.h (IS_ADA_STMT): Now test against STMT_STMT.
293 (DECL_STMT_VAR): Deleted.
294 * decl.c: add_decl_stmt now add_decl_expr.
295 * gigi.h: Likewise.
296 * trans.c: Likewise.
297 (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted.
298 (gnat_to_gnu, case N_Subprogram_Body): Set cfun->function_end_locus.
299 (add_stmt): Only handle padded type here.
300 (add_stmt_with_node): Allow gnat_node to not be present.
301 (gnat_gimplify_stmt, case USE_STMT): Set *STMT_P to null.
302 (gnat_gimplify_stmt, case DECL_STMT): Deleted.
303 (gnat_stabilize_reference_1): If COMPONENT_REF of fat pointer,
304 make a SAVE_EXPR for the entire fat pointer.
305 * utils.c (pushdecl): Walk a DECL_EXPR in global case.
306 (create_index_type): Make a DECL_EXPR.
307 (end_subprog_body): Don't call allocate_struct_function here but
308 do clear cfun.
309
0da2c8ac
AC
3102004-06-25 Pascal Obry <obry@gnat.com>
311
312 * makegpr.adb (Build_Library): Remove parameter Lib_Address and
313 Relocatable from Build_Dynamic_Library call.
314
315 * gnat_ugn.texi: Change documentation about Library_Kind. Dynamic and
316 Relocatable are now synonym.
317
318 * Makefile.in: Use s-parame-mingw.adb on MingW platform.
319
320 * mlib-prj.adb (Build_Library): Remove DLL_Address constant definition.
321 Remove parameter Lib_Address and Relocatable from Build_Dynamic_Library
322 call.
323
324 * mlib-tgt.ads, mlib-tgt.adb (Build_Dynamic_Library): Remove parameter
325 Lib_Address and Relocatable.
326 (Default_DLL_Address): Removed.
327
328 * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb,
329 mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb,
330 mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-vxworks.adb:
331 (Build_Dynamic_Library): Remove parameter Lib_Address and Relocatable.
332 (Default_DLL_Address): Removed.
333
334 * mlib-tgt-mingw.adb: Ditto.
335 (Build_Dynamic_Library): Do not add "lib" prefix to the DLL name.
336
337 * s-taprop-mingw.adb (Create_Task): Use Adjust_Storage_Size to compute
338 the initial thread stack size.
339
340 * a-strmap.ads: Move package L to private part as it is not used in
341 the spec. Found while reading code.
342
3432004-06-25 Olivier Hainque <hainque@act-europe.fr>
344
345 * tracebak.c: Introduce support for a GCC infrastructure based
346 implementation of __gnat_backtrace.
347
348 * raise.c: Don't rely on a C mapping of the GNAT_GCC_Exception record
349 any more. Use accessors instead. This eases maintenance and relaxes
350 some alignment constraints.
351 (_GNAT_Exception structure): Remove the Ada specific fields
352 (EID_For, Adjust_N_Cleanups_For): New accessors, exported by
353 a-exexpr.adb.
354 (is_handled_by, __gnat_eh_personality): Replace component references to
355 exception structure by use of the new accessors.
356
357 * init.c (__gnat_initialize): Adjust comments to match the just
358 reverted meaning of the -static link-time option.
359
360 * adaint.c (convert_addresses): Arrange not to define a stub for
361 mips-irix any more, as we now want to rely on a real version from a
362 recent libaddr2line.
363
364 * a-exexpr.adb: Provide new accessors to a GNAT_GCC occurrence, so that
365 the personality routine can use them and not have to rely on a C
366 counterpart of the record anymore. This simplifies maintenance and
367 relaxes the constraint of having Standard'Maximum_Alignment match
368 BIGGEST_ALIGNMENT.
369 Update comments, and add a section on the common header alignment issue.
370
3712004-06-25 Geert Bosch <bosch@gnat.com>
372
373 * a-ngelfu.adb (Tanh): Use full 20 digit precision for constants in
374 polynomial approximation. Fixes inconsistency with Cody/Waite algorithm.
375
3762004-06-25 Robert Dewar <dewar@gnat.com>
377
378 * gnat_rm.texi: Fix section on component clauses to indicate that the
379 restriction on byte boundary placement still applies for bit packed
380 arrays.
381 Add comment on stack usage from Initialize_Scalars
382
383 * gnat_ugn.texi: Add documentation for -gnatyLnnn
384
385 * stylesw.ads, stylesw.adb: Implement new -gnatyLnnn option for
386 limiting nesting level.
387
388 * usage.adb: Add line for -gnatyLnnn switch
389
390 * g-debpoo.ads, xtreeprs.adb, sinput.ads, sem_ch13.ads,
391 sem_ch13.adb, exp_aggr.adb: Minor reformatting
392
393 * sem_prag.adb (Process_Atomic_Shared_Volatile): Set Is_Atomic on base
394 type as well as on the subtype. This corrects a problem in freeze in
395 setting alignments of atomic types.
396
397 * sem_eval.ads: Minor comment typo fixed
398
399 * par-util.adb (Push_Scope_Stack): Check for violation of max nesting
400 level. Minor reformatting.
401
402 * fname.adb (Is_Predefined_File_Name): Require a letter after the
403 minus sign. This means that file names like a--b.adb will not be
404 considered predefined.
405
406 * freeze.adb: Propagate new flag Must_Be_On_Byte_Boundary to containing
407 record Test new flag and give diagnostic for bad component clause.
408 (Freeze_Entity): Set alignment of array from component alignment in
409 cases where this is safe to do.
410
411 * exp_pakd.adb: Set new flag Must_Be_On_Byte_Boundary for large packed
412 arrays.
413
414 * cstand.adb: (Create_Standard): Set alignment of String to 1
415
416 * einfo.ads, einfo.adb: Introduce new flag Must_Be_On_Byte_Boundary
417
418 * exp_ch4.adb (Expand_Array_Equality): Improve efficiency of generated
419 code in the common constrained array cases.
420
421 * a-storio.adb: Change implementation to avoid possible alignment
422 problems on machines requiring strict alignment (data should be moved
423 as type Buffer, not type Elmt).
424
425 * checks.adb (Apply_Array_Size_Check): Improve these checks by
426 killing the overflow checks which we really do not need (64-bits is
427 enough).
428
4292004-06-25 Vincent Celier <celier@gnat.com>
430
431 * makegpr.adb (Is_Included_In_Global_Archive): New Boolean function
432 (Add_Archives.Recursive_Add_Archives): Call Add_Archive_Path
433 inconditionally for the main project.
434 (Recursive_Add_Archives.Add_Archive_Path): New procedure
435 (Link_Executables.Check_Time_Stamps): New procedure
436 (Link_Executables.Link_Foreign): New procedure
437 Changes made to reduce nesting level of this package
438 (Check): New procedure
439 (Add_Switches): When not in quiet output, check that a switch is not
440 the concatenation of several valid switches. If it is, issue a warning.
441 (Build_Global_Archive): If the global archive is rebuilt, linking need
442 to be done.
443 (Compile_Sources): Rebuilding a library archive does not imply
444 rebuilding the global archive.
445 (Build_Global_Archive): New procedure
446 (Build_Library): New name for Build_Archive, now only for library
447 project
448 (Check_Archive_Builder): New procedure
449 (Create_Global_Archive_Dependency_File): New procedure
450 (Gprmake): Call Build_Global_Archive before linking
451 * makegpr.adb: Use Other_Sources_Present instead of Sources_Present
452 throughout.
453 (Scan_Arg): Display the Copyright notice when -v is used
454
455 * gnat_ugn.texi: Document new switch -files= (VMS qualifier /FILES=)
456 for gnatls.
457
458 * vms_data.ads: Add qualifier /MAX_NESTING=nnn (-gnatyLnnn) for GNAT
459 COMPILE.
460 Add new GNAT LIST qualifier /FILES=
461 Added qualifier /DIRECTORY= to GNAT METRIC
462 Added qualifier /FILES= to GNAT METRIC
463 Added qualifier /FILES to GNAT PRETTY
464
465 * switch.adb (Is_Front_End_Switch): Refine the test for --RTS or -fRTS,
466 to take into account both versions of the switch.
467
468 * switch-c.adb (Scan_Front_End_Switches): New switch -gnatez. Should
469 always be the last switch to the gcc driver. Disable switch storing so
470 that switches automatically added by the gcc driver are not put in the
471 ALI file.
472
473 * prj.adb (Project_Empty): Take into account changes in components of
474 Project_Data.
475
476 * prj.ads (Languages_Processed): New enumaration value All_Languages.
477
478 * prj.ads (Project_Data): Remove component Lib_Elaboration: never
479 used. Split Boolean component Ada_Sources_Present in two Boolean
480 components Ada_Sources_Present and Other_Sources_Present.
481 Minor reformatting
482
483 * prj-env.adb (For_All_Source_Dirs.Add): Use Ada_Sources_Present
484 instead of Sources_Present.
485 (Set_Ada_Paths.Add.Recursive_Add): Ditto
486
487 * prj-nmsc.adb: Minor reformatting
488 (Check_Ada_Naming_Scheme): New name of procedure Check_Naming_Scheme
489 (Check_Ada_Naming_Scheme_Validity): New name of previous procedure
490 Check_Ada_Naming_Scheme.
491 Change Sources_Present to Ada_Sources_Present or Other_Sources_Present
492 throughout.
493
494 * prj-part.adb (Post_Parse_Context_Clause): New Boolean parameter
495 In_Limited.
496 Make sure that all cycles where there is at least one "limited with"
497 are detected.
498 (Parse_Single_Project): New Boolean parameter In_Limited
499
500 * prj-proc.adb (Recursive_Check): When Process_Languages is
501 All_Languages, call first Prj.Nmsc.Ada_Check, then
502 Prj.Nmsc.Other_Languages_Check.
503
504 * prj-proc.adb (Process): Use Ada_Sources_Present or
505 Other_Sources_Present (instead of Sources_Present) depending on
506 Process_Languages.
507
508 * lang-specs.h: Keep -g and -m switches in the same order, and as the
509 last switches.
510
511 * lib.adb (Switch_Storing_Enabled): New global Boolean flag
512 (Disable_Switch_Storing): New procedure. Set Switch_Storing_Enabled to
513 False.
514 (Store_Compilation_Switch): Do nothing if Switch_Storing_Enabled is
515 False.
516
517 * lib.ads (Disable_Switch_Storing): New procedure.
518
519 * make.adb: Modifications to reduce nesting level of this package.
520 (Check_Standard_Library): New procedure
521 (Gnatmake.Check_Mains): New procedure
522 (Gnatmake.Create_Binder_Mapping_File): New procedure
523 (Compile_Sources.Compile): Add switch -gnatez as the last option
524 (Display): Never display -gnatez
525
526 * Makefile.generic:
527 When using $(MAIN_OBJECT), always use $(OBJ_DIR)/$(MAIN_OBJECT)
528
529 * gnatcmd.adb (Check_Project): New function
530 (Process_Link): New procedure to reduce nesting depth
531 (Check_Files): New procedure to reduce the nesting depth.
532 For GNAT METRIC, include the inherited sources in extending projects.
533 (GNATCmd): When GNAT LS is invoked with a project file and no files,
534 add the list of files from the sources of the project file. If this list
535 is too long, put it in a temp text files and use switch -files=
536 (Delete_Temp_Config_Files): Delete the temp text file that contains
537 a list of source for gnatpp or gnatmetric, if one has been created.
538 (GNATCmd): For GNAT METRIC and GNAT PRETTY, if the number of sources
539 in the project file is too large, create a temporary text file that
540 list them and pass it to the tool with "-files=<temp text file>".
541 (GNATCmd): For GNAT METRIC add "-d=<abject dir>" as the first switch
542
543 * gnatlink.adb (Gnatlink): Do not compile with --RTS= when the
544 generated file is in not in Ada.
545
546 * gnatls.adb: Remove all parameters And_Save that are no longer used.
547 (Scan_Ls_Arg): Add processing for -files=
548 (Usage): Add line for -files=
549
550 * g-os_lib.adb (On_Windows): New global constant Boolean flag
551 (Normalize_Pathname): When on Windows and the path starts with a
552 directory separator, make sure that the resulting path will start with
553 a drive letter.
554
555 * clean.adb (Clean_Archive): New procedure
556 (Clean_Project): When there is non-Ada code, delete the global archive,
557 the archive dependency files, the object files and their dependency
558 files, if they exist.
559 (Gnatclean): Call Prj.Pars.Parse for All_Languages, not for Ada only.
560
5612004-06-25 Thomas Quinot <quinot@act-europe.fr>
562
563 * sinfo.ads: Fix typo in comment.
564
565 * sem_dist.adb (Process_Remote_AST_Attribute): Simplify code that uses
566 the TSS for remote access-to-subprogram types, since these TSS are
567 always present once the type has been analyzed.
568 (RAS_E_Dereference): Same.
569
570 * sem_attr.adb (Analyze_Attribute): When analysis of an attribute
571 reference raises Bad_Attribute, mark the reference as analyzed so the
572 node (and any children resulting from rewrites that could have occurred
573 during the analysis that ultimately failed) is not analyzed again.
574
575 * exp_ch7.ads (Find_Final_List): Fix misaligned comment.
576
577 * exp_dist.adb: Minor comment fix.
578
579 * exp_ch4.adb (Expand_N_Allocator): For an allocator whose expected
580 type is an anonymous access type, no unchecked deallocation of the
581 allocated object can occur. If the object is controlled, attach it with
582 a count of 1. This allows attachment to the Global_Final_List, if
583 no other relevant list is available.
584 (Get_Allocator_Final_List): For an anonymous access type that is
585 the type of a discriminant or record component, the corresponding
586 finalisation list is the one of the scope of the type.
587
5882004-06-25 Ed Schonberg <schonberg@gnat.com>
589
590 * sem_ch3.adb (Replace_Type): When computing the signature of an
591 inherited subprogram, use the first subtype if the derived type
592 declaration has no constraint.
593
594 * exp_ch6.adb (Add_Call_By_Copy_Code): Check that formal is an array
595 before applying previous optimization. Minor code cleanup.
596
597 * exp_util.adb (Is_Possibly_Unaligned_Slice): If the component is
598 placed at the beginning of an unpacked record without explicit
599 alignment, a slice of it will be aligned and does not need a copy when
600 used as an actual.
601
6022004-06-25 Ed Schonberg <schonberg@gnat.com>
603
604 PR ada/15591
605 PR ada/15592
606 * sem_ch8.adb (Attribute_Renaming): Reject renaming if the attribute
607 reference is written with expressions mimicking parameters.
608
6092004-06-25 Hristian Kirtchev <kirtchev@gnat.com>
610
611 PR ada/15589
612 * sem_ch3.adb (Build_Derived_Record_Type): Add additional check to
613 STEP 2a. The constraints of a full type declaration of a derived record
614 type are checked for conformance with those declared in the
615 corresponding private extension declaration. The message
616 "not conformant with previous declaration" is emitted if an error is
617 detected.
618
6192004-06-25 Vasiliy Fofanov <fofanov@act-europe.fr>
620
621 * g-traceb.ads: Document the need for -E binder switch in the spec.
622
623 * g-trasym.ads: Document the need for -E binder switch in the spec.
624
6252004-06-25 Jose Ruiz <ruiz@act-europe.fr>
626
627 * sem_prag.adb: Add handling of pragma Detect_Blocking.
628
629 * snames.h, snames.ads, snames.adb: Add entry for pragma
630 Detect_Blocking.
631
632 * s-rident.ads: Change reference to pragma Detect_Blocking.
633
634 * targparm.ads, targparm.adb: Allow pragma Detect_Blocking in
635 system.ads.
636
637 * opt.ads (Detect_Blocking): New Boolean variable (defaulted to False)
638 to indicate whether pragma Detect_Blocking is active.
639
640 * par-prag.adb: Add entry for pragma Detect_Blocking.
641
642 * rtsfind.adb (RTU_Loaded): Fix the temporary kludge to get past bug
643 of not handling WITH.
644 Note that this replaces the previous update which was incorrect.
645
6462004-06-25 Javier Miranda <miranda@gnat.com>
647
648 * sem_ch10.adb (Re_Install_Use_Clauses): Force the installation of the
649 use-clauses to have a clean environment.
650
651 * sem_ch8.adb (Install_Use_Clauses): Addition of a new formal to force
652 the installation of the use-clauses to stablish a clean environment in
653 case of compilation of a separate unit; otherwise the call to
654 use_one_package is protected by the barrier Applicable_Use.
655
656 * sem_ch8.ads (Install_Use_Clauses): Addition of a new formal to force
657 the installation of the use-clauses to stablish a clean environment in
658 case of compilation of a separate unit.
659 (End_Use_Clauses): Minor comment cleanup.
660
6612004-06-25 Sergey Rybin <rybin@act-europe.fr>
662
663 * gnat_ugn.texi: Add description of the gnatpp 'files' switch
664
65355d53
RH
6652004-06-23 Richard Henderson <rth@redhat.com>
666
667 * trans.c (gnat_gimplify_stmt): Update gimplify_type_sizes call.
668
c0e3aa48
RK
6692004-06-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
670
671 * decl.c (elaborate_expression, elaborate_expression_1): Arguments
672 now bool instead of int.
673 (gnat_to_gnu_entity, elaborate_expression_1): New arg to COMPONENT_REF.
674 * trans.c (gnu_switch_label_stack): New function.
675 (gnat_to_gnu, N_Object_Renaming_Declaration): Result is what the
676 elaboration of renamed entity returns.
677 (gnat_to_gnu, case N_Case_Statement): Add branches to end label.
678 (add_decl_stmt): Don't add TYPE_DECL for UNCONSTRAINED_ARRAY_TYPE.
679 (gnat_gimplify_stmt): Use alloc_stmt_list, not build_empty_stmt.
680 (gnat_gimplify_stmt, case DECL_STMT): gimplify DECL_SIZE and
681 DECL_SIZE_UNIT and simplify variable-sized case.
682 (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted.
683 Callers changes to call gimplify_type_sizes and gimplify_one_sizepos.
684 (gnat_stabilize_reference): Add arg to COMPONENT_REF.
685 (build_unit_elab): Disable for now.
686 * utils.c (mark_visited): New function.
687 (pushdecl): Walk tree to call it for global decl.
688 (update_pointer_to): Update all variants of pointer and ref types.
689 Add arg to COMPONENT_REF.
690 (convert): Likewise.
691 Move check for converting between variants lower down.
692 * utils2.c (build_simple_component_ref): Add arg to COMPONENT_REF.
693 (build_allocator): Don't force type of MODIFY_EXPR.
694 (gnat_mark_addressable, case VAR_DECL): Unconditionally call
695 put_var_into_stack.
696
966389ee
RK
6972004-06-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
698
699 * ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation.
700 * ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP.
701 * decl.c (gnat_to_gnu_entity): Also set force_global for imported
702 subprograms.
703 * trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack;
704 all callers changed.
705 (gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change
706 the way that EXIT_STMT finds the loop label.
707 (gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise.
708 (gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here.
709 (add_stmt): Use annotate_with_locus insted of setting directly.
710 (pos_to_construct): Set TREE_PURPOSE of each entry to index.
711 (gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF.
712 * utils.c (gnat_install_builtins): Install __builtin_memcmp.
713 (build_vms_descriptor): Add extra args to ARRAY_REF.
714 (convert): Use VIEW_CONVERT_EXPR between aggregate types.
715 * utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST):
716 New cases.
717 (build_binary_op): Don't make explicit CONVERT_EXPR.
718 Add extra rgs to ARRAY_REF.
719
cc335f43
AC
7202004-06-14 Pascal Obry <obry@gnat.com>
721
722 * gnat_ugn.texi: Document relocatable vs. dynamic Library_Kind on
723 Windows. Fix minor typo.
724
725 * mlib-tgt-mingw.adb: New implementation using the GCC -shared option
726 which is now supported on Windows. With this implementation using the
727 Library Project feature is no different on Windows than on UNIX.
728
7292004-06-14 Vincent Celier <celier@gnat.com>
730
731 * makegpr.adb (Compile_Sources): Nothing to do when there are no
732 non-Ada sources.
733
734 * mlib-tgt-vxworks.adb (Library_Exists_For): Remove incorrect comment
735
736 * prj-part.adb (Parse_Single_Project): When a duplicate project name is
737 found, show the project name and the path of the previously parsed
738 project file.
739
7402004-06-14 Ed Schonberg <schonberg@gnat.com>
741
742 * exp_ch6.adb (Add_Call_By_Copy_Code): For an out-parameter that is an
743 array, avoid copying the actual before the call.
744
7452004-06-14 Thomas Quinot <quinot@act-europe.fr>
746
747 * g-debpoo.adb: Remove alignment assumptions from GNAT.Debug_Pools.
748 Instead, allocate memory on worst-case alignment assumptions, and then
749 return an aligned address within the allocated zone.
750
7512004-06-14 Robert Dewar <dewar@gnat.com>
752
753 * bindgen.adb (Gen_Adainit_Ada): Do not generate external references to
754 elab entities in predefined units in No_Run_Time_Mode.
755 (Gen_Adainit_C): Same fix
756 (Gen_Elab_Calls_Ada): Do not generate calls to elaborate predefined
757 units in No_Run_Time_Mode
758 (Gen_Elab_Calls_C): Same fix
759
760 * symbols-vms-alpha.adb: Minor reformatting
761
762 * g-debpoo.ads: Minor reformatting
763
764 * lib.adb (In_Same_Extended_Unit): Version working on node id's
765
766 * lib.ads (In_Same_Extended_Unit): Version working on node id's
767
768 * lib-xref.adb: Minor cleanup, use new version of In_Same_Extended_Unit
769 working on nodes.
770
771 * make.adb: Minor reformatting
772
773 * par-ch12.adb: Minor reformatting
774
775 * par-prag.adb: Add dummy entry for pragma Profile_Warnings
776
777 * prj-strt.adb: Minor reformatting
778
779 * restrict.ads, restrict.adb: Redo handling of profile restrictions to
780 be more general.
781
782 * sem_attr.adb: Minor reformatting
783
784 * sem_ch7.adb: Minor reformatting
785
786 * sem_elab.adb (Check_A_Call): Deal with problem of calling init proc
787 for type in the same unit as the object declaration.
788
789 * sem_prag.adb (Check_Arg_Is_External_Name): New procedure, allows
790 static string expressions and not just string literals.
791 Minor reformatting
792 (Set_Warning): Reset restriction warning flag for restriction pragma
793 Implement pragma Profile_Warnings
794 Implement pragma Profile (Restricted)
795 Give obolescent messages for old restrictions and pragmas
796
797 * snames.h, snames.ads, snames.adb: Add new entry for pragma
798 Profile_Warnings.
799
800 * s-rident.ads: Add declarations for restrictions required by profile
801 Restricted and profile Ravenscar.
802
803 * targparm.ads, targparm.adb: Allow pragma Profile in system.ads
804
805 * gnat_ugn.texi: Correct some missing entries in the list of GNAT
806 configuration pragmas.
807
5453d5bd
AC
8082004-06-11 Vincent Celier <celier@gnat.com>
809
810 * mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to
811 gnatsym, when symbol policy is Restricted.
812
813 * mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to
814 gnatsym, when symbol policy is Restricted.
815
816 * symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted,
817 read the symbol file.
818 (Finalize): Fail in symbol policy Restricted if a symbol in the original
819 symbol file is not in the object files. Do not create a new symbol file
820 when symbol policy is Restricted.
821
822 * gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used
823 in Scng.
824
825 * gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy
826 Restricted.
827 (Usage): Line for new switch -R
828
829 * make.adb (Initialize): When the platform is not VMS, add the
830 directory where gnatmake is invoked in the front of the path, if
831 gnatmake is invoked with directory information. Change the Scan_Args
832 while loop to a for loop.
833 (Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency:
834 if Depth is equal or greater than the proposed depth, there is nothing
835 to do.
836 (Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1
837 instead of 0.
838
839 * prj.ads: Add new symbol policy Restricted.
840
841 * prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction
842 with the new parameters Check_All_Labels and Case_Location.
843
844 * prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted
845 (Library_Symbol_File needs to be defined).
846
847 * prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels
848 and Case_Location If Check_All_Labels is True, check that all values of
849 the string type are used, and output warning(s) if they are not.
850
851 * prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels
852 and Case_Location.
853
854 * gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc"
855
856 * gnat_ugn.texi: Update documentation about the library directory in
857 Library Projects.
858
859 * makegpr.adb (Display_Command): In verbose mode, also display the
860 value of the CPATH env var, when the compiler is gcc.
861 (Initialize): Change the Scan_Args while loop to a for loop
862 (Compile_Individual_Sources): Change directory to object directory
863 before compilations.
864
865 * symbols.ads: New symbol policy Restricted.
866
8672004-06-11 Olivier Hainque <hainque@act-europe.fr>
868
869 * a-except.adb (Raise_After_Setup family): Remove. The responsibility
870 is now taken care of internally in the Exception_Propagation package
871 and does not require clients assistance any more.
872
873 * a-exexpr.adb (Is_Setup_And_Not_Propagated,
874 Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New
875 functions. Helpers to maintain a predicate required in the handling of
876 occurrence transfer between tasks.
877 This is now handled internally and does not require clients assistance
878 for the setup/propagate separation anymore.
879 (Setup_Exception, Propagate_Exception): Simplify the Private_Data
880 allocation strategy, handle the Setup_And_Not_Propagated predicate and
881 document.
882
883 * s-taenca.adb (Check_Exception): Use raise_with_msg instead of
884 raise_after_setup, now that everything is handled internally within the
885 setup/propagation engine.
886
8872004-06-11 Hristian Kirtchev <kirtchev@gnat.com>
888
889 * exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once.
890 Add additional conditions for the case of an actual being a simple
891 name or literal. Improve inlining by preventing the generation
892 of temporaries with a short lifetime (one use).
893
8942004-06-11 Hristian Kirtchev <kirtchev@gnat.com>
895
896 PR ada/15587
897
898 * einfo.ads: Minor comment updates for Has_Completion and
899 E_Constant list of flags.
900
901 * sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations
902 and constant redeclarations now set the Has_Completion flag of their
903 defining identifiers.
904
905 * sem_ch7.adb (Analyze_Package_Spec): Add procedure
906 Inspect_Deferred_Constant_Completion.
907 Used to detect private deferred constants that have not been completed
908 either by a constant redeclaration or pragma Import. Emits error message
909 "constant declaration requires initialization expression".
910
911 * sem_prag.adb (Process_Import_Or_Interface): An Import pragma now
912 completes a deferred constant.
913
9142004-06-11 Geert Bosch <bosch@gnat.com>
915
916 * eval_fat.adb (Decompose_Int): Fix rounding of negative numbers.
917
918 * s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in
919 calculating exponent for scaling denormal numbers.
920 (Leading_Part): Properly raise Constraint_Error for zero or negative
921 Adjustment.
922 (Remainder): Properly raise Constraint_Error for zero divisor.
923
9242004-06-11 Thomas Quinot <quinot@act-europe.fr>
925
926 * sem_util.adb: Minor reformatting.
927
928 * exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit
929 dereference when accessing the entry parameter record.
930 (Check_Array_Type): Always check for possible implicit dereference.
931 (maybe_implicit_dereference): Rename to check_no_implicit_derefence.
932 Abort if a pointer is still present (denoting that an implicit
933 dereference was left in the tree by the front-end).
934
935 * sem_attr.adb (Expand_Entry_Parameter): Generate an explicit
936 dereference when accessing the entry parameter record.
937 (Check_Array_Type): Always check for possible implicit dereference.
938 (maybe_implicit_dereference): Rename to check_no_implicit_derefence.
939 Abort if a pointer is still present (denoting that an implicit
940 dereference was left in the tree by the front-end).
941
9422004-06-11 Emmanuel Briot <briot@act-europe.fr>
943
944 * g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error
945 message, like the compiler itself does. Easier to parse the output.
946
947 * g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments.
948
949 * gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should
950 be base names, and not includes directories.
951
9522004-06-11 Arnaud Charlet <charlet@act-europe.fr>
953
954 * Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES),
955 so that dependencies are properly taken into account by make.
956
9572004-06-11 Arnaud Charlet <charlet@act-europe.fr>
958
959 PR ada/15622
960 * s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads,
961 exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic
962
9632004-06-11 Jerome Guitton <guitton@act-europe.fr>
964
965 * Makefile.in (install-gnatlib): install target-specific run-time files.
966
967 * Make-lang.in: Remove obsolete targets.
968
9692004-06-11 Ed Schonberg <schonberg@gnat.com>
970
971 * par-ch12.adb (P_Generic): Add scope before analyzing subprogram
972 specification, to catch misuses of program unit names.
973
974 * sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on
975 superfluous conversions in an instance.
976
9772004-06-11 Ed Schonberg <schonberg@gnat.com>
978
979 PR ada/15403
980
981 * sem_ch12.adb (Save_References): If operator node has been folded to
982 enumeration literal, associated_node must be discarded.
983
9842004-06-11 Jose Ruiz <ruiz@act-europe.fr>
985
986 * s-stchop-vxworks.adb: Add required pragma Convention to
987 Task_Descriptor because it is updated by a C function.
988
a98f59be
AC
9892004-06-08 Arnaud Charlet <charlet@act-europe.fr>
990
991 PR ada/15568
992
993 * Makefile.in: Remove target specific SO_OPT on IRIX
994
821e1ea1
RK
9952004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
996
997 * ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted.
998 (GNAT_NOP_EXPR, GNAT_LOOP_ID, EXPR_STMT, NULL_STMT): Likewise.
999 (BLOCK_STMT, IF_STMT, GOTO_STMT, LABEL_STMT, RETURN_STMT): Likewise.
1000 (ASM_STMT, BREAK_STMT, REGION_STMT,HANDLER_STMT): Likewise.
1001 (STMT_STMT, USE_STMT): New statement codes.
1002 (LOOP_STMT, EXIT_STMT): Make slight semantic changes.
1003 * ada-tree.h: Reflect above changes.
1004 (struct tree_loop_id): Deleted.
1005 (union lang_tree_node, struct lang_decl, struct lang_type):
1006 Now just contains a tree node; update macros using TYPE_LANG_SPECIFIC
1007 and DECL_LANGUAGE_SPECIFIC to reflect these changes.
1008 (DECL_INIT_BY_ASSIGN_P, TRE_LOOP_NODE_ID, TREE_SLOC): Deleted.
1009 (IS_ADA_STMT): New macro.
1010 * decl.c (annotate_decl_with_node): New function.
1011 (gnat_to_gnu_entity): Use it and Sloc_to_locus instead of set_lineno.
1012 (gnat_to_gnu_entity, case object): Remove call to expand CONVERT_EXPR.
1013 Call add_stmt_with_node to do needed assignments.
1014 Add call to update setjmp buffer directly, not via EXPR_STMT.
1015 (maybe_variable): Argment GNAT_NODE deleted.
1016 * gigi.h (maybe_variable): Likewise.
1017 (make_transform, add_stmt_with_node, set_block_for_group): New.
1018 (gnat_gimplify_expr, gnat_expand_body, Sloc_to_locus): Likewise.
1019 (set_block_jmpbuf_decl, get_block_jmpbuf_decl): Likewise.
1020 (discard_file_names, gnu_block_stack, gnat_to_code): Deleted.
1021 (set_lineno, set_lineno_from_sloc): Likewise.
1022 (record_code_position, insert_code_for): Likewise.
1023 (gnat_poplevel): Now returns void.
1024 (end_subprog_body): Now takes argument.
1025 * misc.c (cgraph.h, tree-inline.h): New includes.
1026 (gnat_tree_size, LANG_HOOKS_TREE_SIZE): Deleted.
1027 (gnat_post_options, LANG_HOOKS_POST_OPTIONS): New.
1028 (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Likewise.
1029 (LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_GIMPLIFY_EXPR): Likewise.
1030 (gnat_parse_file): Don't set immediate_size_expand.
1031 Call cgraph functions.
1032 (gnat_expand_expr): Remove most cases.
1033 (record_code_position, insert_code_for): Remove from here.
1034 * trans.c (toplev.h, tree-gimple.h): Now included.
1035 (discard_file_names): Deleted.
1036 (gnu_block_stack, gnu_block_stmt_node, gnu_block_stmt_free_list): Del.
1037 (first_nondeleted_insn, make_expr_stmt_from_rtl): Likewise.
1038 (struct stmt_group, current_stmt_group, stmt_group_free_list): New.
1039 (gnu_stack_free_list, record_cost_position, insert_code_for): Likewise.
1040 (add_cleanup, push_stack, gnat_gimplify_stmt, add_cleanup): Likewise.
1041 (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Likewise.
1042 (gnat_expand_body_1, gnat_gimplify_expr, annotate_with_node): Likewise.
1043 (set_block_for_group, add_stmt_list): Likewise.
1044 (start_stmt_group): Renamed from start_block_stmt.
1045 (end_stmt_group): Likewise, from end_block_stmt.
1046 (build_stmt_group): Likewise, from build_block_stmt, also add arg.
1047 (gigi): Don't set discard_file_names or call set_lineno.
1048 Disallow front end ZCX; call gnat_to_gnu, not gnat_to_code.
1049 (tree_transform): Deleted, now renamed to be gnat_to_gnu.
1050 Numerous changes throughout to reflect new names and complete
1051 function-at-a-time implementation.
1052 (gnat_expand_stmt): Delete or comment out all cases.
1053 (process_inlined_subprograms): Use add_stmt.
1054 (process_decls): Use gnat_to_gnu, not gnat_to_code, and don't
1055 call set_lineno; also remove unneeded block handling.
1056 (process_type): Remove unneeded block handling.
1057 (build_unit_elab): Remove calls to deleted functions.
1058 * utils.c (cgraph.h, tree-inline.h, tree-gimple.h): Now include.
1059 (tree-dump.h): Likewise.
1060 (struct ada_binding_level): Add field jmpbuf_decl.
1061 (gnat_define_builtin, gnat_install_builtins): New.
1062 (gnat_gimplify_function, gnat_finalize): Likewise.
1063 (gnat_poplevel): No longer return BLOCK, set it instead.
1064 Remove code dealing with nested functions.
1065 (gnat_init_decl_processing): Also set size_type_node.
1066 Call gnat_install_builtins.
1067 (create_var_decl): Don't set DECL_INIT_BY_ASSIGN.
1068 (create_subprog_decl): Change handling of inline_flag; set TREE_STATIC.
1069 Remove special-case for "main".
1070 (end_subprog_body): Add arg and rework for tree-ssa.
1071 (convert): Don't use GNAT_NOP_EXPR or look for TRANSFORM_EXPR.
1072 Add case for BOOLEAN_TYPE.
1073 * utils2.c (rtl.h): Now include.
1074 (build_call_raise): Test Debug_Flag_NN directly.
1075 (build_call_alloc_dealloc): Don't use local stack allocation for now.
1076 (gnat_mark_addressable, case GNAT_NOP_EXPR): Deleted.
1077 (gnat_mark_addressable, case VAR_DECL): Handle both early & late cases.
1078
0ab80019
AC
10792004-06-07 Robert Dewar <dewar@gnat.com>
1080
1081 * a-direct.ads, einfo.ads: Minor comment updates
1082
1083 * s-taprop-lynxos.adb, s-taprop-tru64.adb, s-taprop-irix.adb,
1084 s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
1085 s-taprop-dummy.adb, s-taprop-os2.adb, s-taprop-solaris.adb,
1086 s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb,
1087 s-taprop-posix.adb, s-taprop.ads, exp_dbug.adb: Minor reformatting.
1088
1089 * s-interr-sigaction.adb: Remove unreferenced variable
1090 (Attached_Interrupts). Minor reformatting.
1091 Avoid use of variable I (replace by J).
1092
1093 * par-ch10.adb: Fix text of one error message
1094
1095 * checks.adb, checks.ads, cstand.adb, vms_data.ads, errout.ads,
1096 exp_aggr.adb, exp_ch3.adb, exp_ch3.ads, exp_ch5.adb, exp_ch6.adb,
1097 exp_ch9.adb, exp_code.adb, gnat1drv.adb, lib-load.adb, lib-writ.adb,
1098 opt.adb, par.adb, opt.ads, par-ch11.adb, par-ch3.adb, par-ch4.adb,
1099 par-ch5.adb, par-ch6.adb, par-ch8.adb, par-ch9.adb, par-prag.adb,
1100 par-util.adb, scng.adb, sem_aggr.adb, sem_attr.adb, sem_cat.adb,
1101 sem_ch10.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch2.adb,
1102 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb,
1103 sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_eval.adb, sem_prag.adb,
1104 sem_res.adb, sem_type.adb, sem_util.adb, sinfo.ads, snames.adb,
1105 snames.ads, snames.h, sprint.adb, switch-c.adb: Modifications for Ada
1106 2005 support.
1107
11082004-06-07 Doug Rupp <rupp@gnat.com>
1109
1110 * mlib-tgt-vms.adb: Rename mlib-tgt-vms.adb mlib-tgt-vms-alpha.adb
1111
1112 * s-vaflop-vms.adb: Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb
1113
1114 * mlib-tgt-vms-ia64.adb: New file.
1115
1116 * Makefile.in: Rename mlib-tgt-vms.adb to mlib-tgt-vms-alpha.adb
1117 Add mlib-tgt-vms-ia64.adb
1118 Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb.
1119 Move to alpha specific ifeq section.
1120 Add VMS specific versions of symbols.adb
1121 Renaming of 5q vms files.
1122
1123 * 5qsystem.ads renamed to system-vms_64.ads.
1124
11252004-06-07 Vincent Celier <celier@gnat.com>
1126
1127 * a-calend.ads: Add a GNAT Note comment after function Time_Of to
1128 explain that when a time of day corresponding to the non existing hour
1129 on the day switching to DST is specified, Split may return a different
1130 value for Seconds.
1131
1132 * gnatcmd.adb: Add processing of GNAT METRIC (for gnatmetric), similar
1133 to GNAT PRETTY.
1134
1135 * g-os_lib.adb (OpenVMS): New Boolean value imported from System.
1136 (Normalize_Pathname): Only resolve VMS logical names when on VMS.
1137
1138 * mlib-prj.adb (Build_Library): New flag Gtrasymobj_Needed, initialize
1139 to False.
1140 If Gtrasymobj_Needed is True, add the full path of g-trasym.obj to
1141 the linking options.
1142 (Build_Library.Check_Libs): On VMS, if there is a dependency on
1143 g-trasym.ads, set Gtrasymobj_Needed to True.
1144
1145 * prj-attr.adb: Add new package Metrics for gnatmetric
1146
1147 * prj-nmsc.adb (Record_Other_Sources): Put source file names in
1148 canonical case to take into account files with upper case characters on
1149 Windows.
1150 (Ada_Check): Load the reference symbol file name in the name buffer to
1151 check it, not the symbol file name.
1152
1153 * snames.ads, snames.adb: Add standard name Metrics (name of project
1154 file package for gnatmetric).
1155
1156 * vms_conv.ads: Add Metric to Comment_Type
1157
1158 * vms_conv.adb (Initialize): Add component dor Metric in Command_List
1159
1160 * vms_data.ads: Add qualifiers for GNAT METRIC
1161
1162 * makegpr.adb (Link_Executables): Take into account the switches
1163 specified in package Linker of the main project.
1164
11652004-06-07 Thomas Quinot <quinot@act-europe.fr>
1166
1167 * bindgen.adb (Set_Unit_Number): Units is an instance of Table, and so
1168 the index of the last element is Units.Last, not Units.Table'Last
1169 (which is usually not a valid index within the actually allocated
1170 storage for the table).
1171
1172 * exp_ch4.adb (Insert_Dereference_Action): Change predicate that
1173 determines whether to generate a call to a checked storage pool
1174 Dereference action.
1175 Generate such a call only for a dereference that either comes from
1176 source, or is the result of rewriting a dereference that comes from
1177 source.
1178
11792004-06-07 Romain Berrendonner <berrendo@act-europe.fr>
1180
1181 * bindgen.adb (Gen_Output_File): Add support for GAP builds.
1182
11832004-06-07 Eric Botcazou <ebotcazou@act-europe.fr>
1184
1185 (gnat_to_gnu_entity) <E_Array_Subtype>: For multi-dimensional arrays at
1186 file level, elaborate the stride for inner dimensions in alignment
1187 units, not bytes.
1188
1189 * exp_ch5.adb: Correct wrong reference to Component_May_Be_Bit_Aligned
1190 in a comment.
1191
11922004-06-07 Javier Miranda <miranda@gnat.com>
1193
1194 * exp_ch6.adb: Correct wrong modification in previous patch
1195
11962004-06-07 Vasiliy Fofanov <fofanov@act-europe.fr>
1197
1198 * g-trasym.ads: Corrected comment to properly reflect level of support
1199 on VMS.
1200
12012004-06-07 Hristian Kirtchev <kirtchev@gnat.com>
1202
1203 * lib-xref.adb (Generate_Reference): Add nested function Is_On_LHS. It
1204 includes case of a variable referenced on the left hand side of an
1205 assignment, therefore remove redundant code. Variables and prefixes of
1206 indexed or selected components are now marked as referenced on left
1207 hand side. Warnings are now properly emitted when variables or prefixes
1208 are assigned but not read.
1209
1210 * sem_warn.adb (Output_Unreferenced_Messages): Add additional checks to
1211 left hand side referenced variables. Private access types do not
1212 produce the warning "variable ... is assigned but never read".
1213 Add also additional checks to left hand side referenced variables.
1214 Aliased, renamed objects and access types do not produce the warning
1215 "variable ... is assigned but never read" since other entities may read
1216 the memory location.
1217
12182004-06-07 Jerome Guitton <guitton@act-europe.fr>
1219
1220 * Makefile.in: In the powerpc/vxworks-specific section, restore
1221 EXTRA_GNATRTL_NONTASKING_OBJS and EXTRA_GNATRTL_TASKING_OBJS (removed
1222 by mistake).
1223
12242004-06-07 Ed Schonberg <schonberg@gnat.com>
1225
1226 * sem_ch4.adb (Remove_Abstract_Operations): Refine the removal of
1227 predefined operators.
1228 Removes spurious type errors from g-trasym-vms.adb.
1229
1230 * sem_res.adb (Rewrite_Renamed_Operator): If intrinsic operator is
1231 distinct from the operator appearing in the source, call appropriate
1232 routine to insert conversions when needed, and complete resolution of
1233 node.
1234 (Resolve_Intrinsic_Operator): Fix cut-and-paste bug on transfer of
1235 interpretations for rewritten right operand.
1236 (Set_Mixed_Mode_Operand): Handle properly a universal real operand when
1237 the other operand is overloaded and the context is a type conversion.
1238
12392004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1240
1241 * ada-tree.def (BLOCK_STMT): Now has two operands.
1242 (BREAK_STMT): New.
1243
1244 * ada-tree.h: (BLOCK_STMT_BLOCK): New macro.
1245
1246 * gigi.h: (gnat_poplevel): Now returns a tree.
1247
1248 * trans.c (end_block_stmt): Add arg; all callers changed.
1249 (tree_transform, case N_Case_Statement): Make a BLOCK_STMT for a WHEN.
1250 (start_block_stmt): Clear BLOCK_STMT_BLOCK.
1251 (add_stmt): Set TREE_TYPE.
1252 (gnat_expand_stmt, case BLOCK_STMT): Handle BLOCK_STMT_BLOCK.
1253 (gnat_expand_stmt, case BREAK_STMT): New case.
1254
1255 * utils.c (gnat_poplevel): Return a BLOCK, if we made one.
1256
12572004-06-07 Jose Ruiz <ruiz@act-europe.fr>
1258
1259 * s-stchop.adsm s-stchop.adb, s-stchop-vxworks.adb: Remove the
1260 procedure Set_Stack_Size that is not needed.
1261
12622004-06-07 Sergey Rybin <rybin@act-europe.fr>
1263
1264 * gnat_ugn.texi: Clarify the case when non-standard naming scheme is
1265 used for gnatpp input file and for the files upon which it depends
1266
12672004-06-07 Ben Brosgol <brosgol@gnat.com>
1268
1269 * gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter
1270
12712004-06-07 Arnaud Charlet <charlet@act-europe.fr>
1272
1273 * gnatvsn.ads: Bump version numbers appropriately.
1274 Add new build type.
1275
12762004-06-07 Pascal Obry <obry@gnat.com>
1277
1278 * gnat_ugn.texi: Improve comments about imported names and link names
1279 on Windows. Add a note about the requirement to use -k gnatdll's option
1280 when working with a DLL which has stripped stdcall symbols (no @nn
1281 suffix).
1282
8a36a0cc
AC
12832004-05-27 Vincent Celier <celier@gnat.com>
1284
1285 * vms_data.ads: Add new GNAT PRETTY qualifiers /NO_BACKUP and
1286 COMMENTS_LAYOUT=UNTOUCHED
1287
1288 * symbols-vms.adb, symbols-vms-alpha.adb: Renamed symbols-vms.adb to
1289 symbols-vms-alpha.adb
1290
12912004-05-27 Thomas Quinot <quinot@act-europe.fr>
1292
1293 * sem.ads: Clarify documentation on checks suppression.
1294
1295 * einfo.ads (Is_Known_Non_Null): Minor comment typo fix and rephrasing.
1296
12972004-05-27 Ed Schonberg <schonberg@gnat.com>
1298
1299 * sem_util.adb (Is_Descendent_Of): Examine properly all ancestors in
1300 the case of multiple derivations.
1301 (Is_Object_Reference): For a selected component, verify that the prefix
1302 is itself an object and not a value.
1303
1304 * sem_ch12.adb (Same_Instantiated_Constant): New name for
1305 Same_Instantiated_Entity.
1306 (Same_Instantiated_Variable): Subsidiary to
1307 Check_Formal_Package_Instance, to recognize actuals for in-out generic
1308 formals that are obtained from a previous formal package.
1309 (Instantiate_Subprogram_Body): Emit proper error when
1310 generating code and the proper body of a stub is missing.
1311
1312 * sem_ch4.adb (Remove_Address_Interpretations): If the operation still
1313 has a universal interpretation, do the disambiguation here.
1314
1315 * exp_ch4.adb (Expand_N_Type_Conversion,
1316 Expand_N_Unchecked_Type_Conversion): Special handling when target type
1317 is Address, to avoid typing anomalies when Address is a visible integer
1318 type.
1319
1320 * exp_ch6.adb (Expand_N_Subprogram_Body): Use Is_Descendent_Of_Address
1321 to determine whether a subprogram should not be marked Pure, even when
1322 declared in a pure package.
1323
13242004-05-27 Jose Ruiz <ruiz@act-europe.fr>
1325
1326 * gnat_ugn.texi: Replace pragma Ravenscar by pragma Profile.
1327
1328 * gnat_rm.texi: Replace Max_Entry_Queue_Depth by Max_Entry_Queue_Length
1329 Document No_Dynamic_Attachment, that supersedes No_Dynamic_Interrupts.
1330 Update the documentation about the Ravenscar profile, following the
1331 definition found in AI-249.
1332
1333 * sem_prag.adb: Use FIFO_Within_Priorities and Ceiling_Locking when
1334 setting the Profile (Ravenscar). This must be done in addition to
1335 setting the required restrictions.
1336
1337 * rtsfind.ads: Add the set of operations defined in package
1338 Ada.Interrupts.
1339
1340 * exp_ch6.adb: Check whether we are violating the No_Dynamic_Attachment
1341 restriction.
1342
13432004-05-27 Eric Botcazou <ebotcazou@act-europe.fr>
1344
1345 lang-specs.h: Always require -c or -S and always redirect to /dev/null
1346 if -gnatc or -gnats is passed.
1347
13482004-05-27 Hristian Kirtchev <kirtchev@gnat.com>
1349
1350 * sem_prag.adb (Sig_Flags): A Pragma_Unchecked_Union does not count as
1351 a significant reference. Warnings are now properly emitted when a
1352 discriminated type is not referenced.
1353
1354 * lib-xref.adb (Generate_Reference): A deferred constant completion,
1355 record representation clause or record type discriminant does not
1356 produce a reference to its corresponding entity. Warnings are now
1357 properly emitted when deferred constants and record types are not
1358 referenced.
1359
13602004-05-27 Geert Bosch <bosch@gnat.com>
1361
1362 * Makefile.in: Use long version of libm routines on ia64 gnu/linux.
1363 Fixes ACATS Annex G tests.
1364
13652004-05-27 Robert Dewar <dewar@gnat.com>
1366
1367 * rtsfind.adb (RTU_Loaded): Temporary kludge to get past bug of not
1368 handling WITH
1369
13702004-05-27 Arnaud Charlet <charlet@act-europe.fr>
1371
1372 * s-interr.adb (Server_Task): Take into account case of early return
1373 from sigwait under e.g. linux.
1374
13752004-05-27 Sergey Rybin <rybin@act-europe.fr>
1376
1377 * gnat_ugn.texi: Add description for the new gnatpp options:
1378 -rnb - replace the original source without creating its backup copy
1379 -c0 - do not format comments
1380
0fb2ea01
AC
13812004-05-24 Geert Bosch <bosch@gnat.com>
1382
1383 * a-numaux-x86.adb (Reduce): Reimplement using an approximation of Pi
1384 with 192 bits of precision, sufficient to reduce a double-extended
1385 arguments X with a maximum relative error of T'Machine_Epsilon, for X
1386 in -2.0**32 .. 2.0**32.
1387 (Cos, Sin): Always reduce arguments of 1/4 Pi or larger, to prevent
1388 reduction by the processor, which only uses a 68-bit approximation of
1389 Pi.
1390 (Tan): Always reduce arguments and compute function either using
1391 the processor's fptan instruction, or by dividing sin and cos as needed.
1392
13932004-05-24 Doug Rupp <rupp@gnat.com>
1394
1395 * adaint.c (__gnat_readdir): Cast CRTL function retun value to avoid
1396 gcc error on 32/64 bit VMS.
1397
13982004-05-24 Olivier Hainque <hainque@act-europe.fr>
1399
1400 * init.c (__gnat_error_handler): Handle EEXIST as EACCES for SIGSEGVs,
1401 since this is what we get for stack overflows although not documented
1402 as such.
1403 Document the issues which may require adjustments to our signal
1404 handlers.
1405
14062004-05-24 Ed Schonberg <schonberg@gnat.com>
1407
1408 * inline.adb (Add_Scope_To_Clean): Do not add cleanup actions to the
1409 enclosing dynamic scope if the instantiation is within a generic unit.
1410
14112004-05-24 Arnaud Charlet <charlet@act-europe.fr>
1412
1413 * exp_dbug.ads: Fix typo.
1414
1415 * Makefile.in: s-osinte-linux-ia64.ads was misnamed.
1416 Rename it to its proper name: system-linux-ia64.ads
1417 (stamp-gnatlib1): Remove extra target specific run time files when
1418 setting up the rts directory.
1419
14202004-05-24 Javier Miranda <miranda@gnat.com>
1421
1422 * einfo.ads, einfo.adb (Limited_Views): Removed.
1423 (Limited_View): New attribute that replaces the previous one. It is
1424 now a bona fide package with the limited-view list through the
1425 first_entity and first_private attributes.
1426
1427 * sem_ch10.adb (Install_Private_With_Clauses): Give support to
1428 limited-private-with clause.
1429 (Install_Limited_Withed_Unit): Install the private declarations of a
1430 limited-private-withed package. Update the installation of the shadow
1431 entities according to the new structure (see Build_Limited_Views)
1432 (Build_Limited_Views): Replace the previous implementation of the
1433 limited view by a package entity that references the first shadow
1434 entity plus the first shadow private entity (required for limited-
1435 private-with clause)
1436 (New_Internal_Shadow_Entity): Code cleanup.
1437 (Remove_Limited_With_Clause): Update the implementation to undo the
1438 new work carried out by Build_Limited_Views.
1439 (Build_Chain): Complete documentation.
1440 Replace Ada0Y by Ada 0Y in comments
1441 Minor reformating
1442
1443 * sem_ch3.adb (Array_Type_Declaration): In case of anonymous access
1444 types the level of accessibility depends on the enclosing type
1445 declaration.
1446
1447 * sem_ch8.adb (Find_Expanded_Name): Fix condition to detect shadow
1448 entities. Complete documentation of previous change.
1449
14502004-05-24 Robert Dewar <dewar@gnat.com>
1451
1452 * namet.adb: Minor reformatting
1453 Avoid use of name I (replace by J)
1454 Minor code restructuring
1455
1456 * sem_ch6.adb: Minor reformatting
1457
1458 * lib-writ.adb: Do not set restriction as active if this is a
1459 Restriction_Warning case.
1460
1461 * sem_prag.adb: Reset restriction warning flag if real pragma
1462 restriction encountered.
1463
1464 * s-htable.adb: Minor reformatting
1465 Change rotate count to 3 in Hash (improves hash for small strings)
1466
1467 * 5qsystem.ads: Add comments for type Address (no literals allowed).
1468
1469 * gnat_ugn.texi: Add new section of documentation "Code Generation
1470 Control", which describes the use of -m switches.
1471
14722004-05-24 Eric Botcazou <ebotcazou@act-europe.fr>
1473
a1db9d9c
AC
1474 trans.c (tree_transform) <N_Identifier>: Do the dereference directly
1475 through the DECL_INITIAL for renamed variables.
0fb2ea01 1476
7599f1b0
AC
14772004-05-24 Arnaud Charlet <charlet@act-europe.fr>
1478
1479 * s-osinte-linux-ia64.ads: Renamed system-linux-ia64.ads
1480
c37bb106
AC
14812004-05-19 Joel Brobecker <brobecker@gnat.com>
1482
1483 * exp_dbug.ads: Correct comments concerning handling of overloading,
1484 since we no longer use $ anymore.
1485
14862004-05-19 Sergey Rybin <rybin@act-europe.fr>
1487
1488 * sem_ch10.adb (Optional_Subunit): When loading a subunit, do not
1489 ignore errors if ASIS_Mode is set. This prevents creating ASIS trees
1490 with illegal subunits.
1491
14922004-05-19 Ed Schonberg <schonberg@gnat.com>
1493
1494 * sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram
1495 body with front-end inlining enabled, check whether an inline pragma
1496 appears immediately after the body and applies to it.
1497
1498 * sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is
1499 enabled and the pragma appears after the body of the subprogram.
1500
b5e792e2
AC
15012004-05-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1502
1503 Part of function-at-a-time conversion
1504
1505 * misc.c (adjust_decl_rtl): Deleted.
1506 (LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK):
1507 Define.
1508
1509 * gigi.h: (adjust_decl_rtl, kept_level_p, set_block): Deleted.
1510 (add_decl_stmt, add_stmt, block_has_vars): New functions.
1511 (gnat_pushlevel, gnat_poplevel): Renamed from pushlevel and poplevel.
1512
1513 * decl.c (elaborate_expression, maybe_pad_type): Call add_decl_stmt
1514 when making a decl.
1515 (gnat_to_gnu_entity): Likewise.
1516 Use add_stmt to update setjmp buffer.
1517 Set TREE_ADDRESSABLE instead of calling put_var_into_stack and
1518 flush_addressof.
1519 No longer call adjust_decl_rtl.
1520 (DECL_INIT_BY_ASSIGN_P): New macro.
1521 (DECL_STMT_VAR): Likewise.
1522
1523 * trans.c (gigi): Call start_block_stmt to make the outermost
1524 BLOCK_STMT.
1525 (gnat_to_code, gnu_to_gnu, tree_transform, process_decls, process_type):
1526 Call start_block_stmt and end_block_stmt temporarily.
1527 Use gnat_expand_stmt instead of expand_expr_stmt.
1528 (add_decl_stmt): New function.
1529 (tree_transform): Call it.
1530 (add_stmt): Also emit initializing assignment for DECL_STMT if needed.
1531 (end_block_stmt): Set type and NULL_STMT.
1532 (gnat_expand_stmt): Make recursize call instead of calling
1533 expand_expr_stmt.
1534 (gnat_expand_stmt, case DECL_STMT): New case.
1535 (set_lineno_from_sloc): Do nothing if global.
1536 (gnu_block_stmt_node, gnu_block_stmt_free_list): New variables.
1537 (start_block_stmt, add_stmt, end_block_stmt): New functions.
1538 (build_block_stmt): Call them.
1539 (gnat_to_code): Don't expand NULL_STMT.
1540 (build_unit_elab): Rename pushlevel and poplevel to gnat_* and change
1541 args.
1542 (tree_transform): Likewise.
1543 (tree_transform, case N_Null_Statement): Return NULL_STMT.
1544 (gnat_expand_stmt, case NULL_STMT): New case.
1545 (gnat_expand_stmt, case IF_STMT): Allow nested IF_STMT to have no
1546 IF_STMT_TRUE.
1547
1548 * utils2.c (gnat_mark_addressable, case VAR_DECL): Do not set
1549 TREE_ADDRESSABLE.
1550
1551 * utils.c (create_var_decl): Do not call expand_decl or
1552 expand_decl_init.
1553 Set TREE_ADDRESSABLE instead of calling gnat_mark_addressable.
1554 Set DECL_INIT_BY_ASSIGN_P when needed and do not generate MODIFY_EXPR
1555 here.
1556 (struct e_stack): Add chain_next to GTY.
1557 (struct binding_level): Deleted.
1558 (struct ada_binding_level): New struct.
1559 (free_block_chain): New.
1560 (global_binding_level, clear_binding_level): Deleted.
1561 (global_bindings_p): Rework to see if no chain.
1562 (kept_level_p, set_block): Deleted.
1563 (gnat_pushlevel): Renamed from pushlevel and extensive reworked to use
1564 new data structure and work directly on BLOCK node.
1565 (gnat_poplevel): Similarly.
1566 (get_decls): Look at BLOCK_VARS.
1567 (insert_block): Work directly on BLOCK node.
1568 (block_has_var): New function.
1569 (pushdecl): Rework for new binding structures.
1570 (gnat_init_decl_processing): Rename and rework calls to pushlevel and
1571 poplevel.
1572 (build_subprog_body): Likewise.
1573 (end_subprog_body): Likewise; also set up BLOCK in DECL_INITIAL.
1574
1575 * ada-tree.def (DECL_STMT, NULL_STMT): New codes.
1576
1577 * ada-tree.h: (DECL_INIT_BY_ASSIGN_P): New macro.
1578 (DECL_STMT_VAR): Likewise.
1579
15802004-05-17 Robert Dewar <dewar@gnat.com>
1581
1582 * restrict.ads, restrict.adb (Process_Restriction_Synonym): New
1583 procedure
1584
1585 * sem_prag.adb (Analyze_Pragma, case Restrictions): Cleanup handling
1586 of restriction synonyums by using
1587 Restrict.Process_Restriction_Synonyms.
1588
1589 * snames.ads, snames.adb: Add entries for Process_Restriction_Synonym
1590
1591 * s-restri.ads (Tasking_Allowed): Correct missing comment
1592
1593 * s-rident.ads: Add entries for restriction synonyms
1594
1595 * ali.adb: Fix some problems with badly formatted ALI files that can
1596 result in infinite loops.
1597
1598 * s-taprop-lynxos.adb, s-tpopsp-lynxos.adb, s-taprop-tru64.adb,
1599 s-tpopsp-posix-foreign.adb, s-taprop-irix.adb, s-interr-sigaction.adb,
1600 s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
1601 s-taprop-dummy.adb, s-interr-dummy.adb, s-taprop-os2.adb,
1602 s-taprop-solaris.adb, s-tpopsp-solaris.adb, s-asthan-vms.adb,
1603 s-inmaop-vms.adb, s-interr-vms.adb, s-taprop-vms.adb,
1604 s-tpopde-vms.adb, s-taprop-mingw.adb, s-interr-vxworks.adb,
1605 s-taprop-vxworks.adb, s-tpopsp-vxworks.adb, s-taprop-posix.adb,
1606 s-tpopsp-posix.adb, s-tratas-default.adb, a-dynpri.adb,
1607 a-tasatt.adb, a-taside.adb, a-taside.ads, exp_attr.adb,
1608 exp_ch9.adb, g-thread.adb, rtsfind.ads, sem_attr.adb,
1609 s-interr.adb, s-interr.ads, s-soflin.ads, s-taasde.adb,
1610 s-taasde.ads, s-taenca.adb, s-taenca.ads, s-taprop.ads,
1611 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
1612 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1613 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1614 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
1615 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
1616 s-tpoben.adb, s-tpobop.adb, s-tpobop.ads, s-tporft.adb,
1617 s-tposen.adb, s-tposen.ads, s-tratas.adb, s-tratas.ads: Change Task_ID
1618 to Task_Id (minor cleanup).
1619
16202004-05-17 Vincent Celier <celier@gnat.com>
1621
1622 * g-os_lib.adb (Normalize_Pathname.Final_Value): Remove trailing
1623 directory separator.
1624
1625 * prj-proc.adb (Recursive_Process): Inherit attribute Languages from
1626 project being extended, if Languages is not declared in extending
1627 project.
1628
16292004-05-17 Javier Miranda <miranda@gnat.com>
1630
1631 * sem_ch10.adb (Install_Limited_Withed_Unit): Do not install the
1632 limited view of a visible sibling.
1633
9bc856dd
AC
16342004-05-14 Robert Dewar <dewar@gnat.com>
1635
1636 * gnat_ugn.texi: Minor change to -gnatS documentation
1637
1638 * sprint.adb: Remove some instances of Assert (False) and for this
1639 purpose replace them by output of a ??? string.
1640
1641 * checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma
1642 Assert (False).
1643
1644 * lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit
1645 flag processing. This was suppressing required dependencies in
1646 No_Run_Time mode and is not needed since the binder does not generate
1647 references for things in libgnat anyway.
1648
1649 * sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC
1650 warning.
1651
16522004-05-14 Thomas Quinot <quinot@act-europe.fr>
1653
1654 * gnat_ugn.texi: Document AIX-specific issue with initialization of
1655 resolver library.
1656
1657 * exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference
1658 action for the case of an actual parameter in an init proc call.
1659
16602004-05-14 Ed Schonberg <schonberg@gnat.com>
1661
1662 * sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected
1663 subtype, check visible entities in base type.
1664
1665 * exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup
1666 actions if the object is a renaming.
1667
1668 * sem_ch12.adb (Same_Instantiated_Entity): Predicate for
1669 Check_Formal_Package_Instance, to determine more precisely when the
1670 formal and the actual denote the same entity.
1671
16722004-05-14 Javier Miranda <miranda@gnat.com>
1673
1674 * par-ch10.adb (P_Context_Clause): Complete documentation on AI-262
1675
1676 * sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity
1677 corresponding to a private_with must be removed from visibility; it
1678 will be made visible later, just before we analyze the private part of
1679 the package.
1680 (Check_Private_Child_Unit): Allow private_with clauses in public
1681 siblings.
1682 (Install_Siblings): Make visible the private entities of private-withed
1683 siblings.
1684 (Install_Withed_Unit): Do not install the private withed unit if we
1685 are compiling a package declaration and the Private_With_OK flag was
1686 not set by the caller. These declarations will be installed later,
1687 just before we analyze the private part of the package.
1688
1689 * sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected
1690 during the evaluation of the expression that initializes the object,
1691 decorate it with the expected type to avoid cascade errors.
1692 Code cleanup.
1693
1694 * sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library
1695 subprogram we have to install the private_with clauses after its
1696 specification has been analyzed (as documented in AI-262.TXT).
1697
1698 * sem_ch8.adb (Has_Private_With): New function. Determines if the
1699 current compilation unit has a private with on a given entity.
1700 (Find_Direct_Name): Detect the Beaujolais problem described in
1701 AI-262.TXT
1702
1703 * sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It
1704 provides the functionality of the function Is_Ancestor that was
1705 previously available in sem_ch10. It has been renamed to avoid
1706 overloading.
1707
1708 * sprint.adb (Sprint_Node_Actual): Print limited_with clauses
1709
17102004-05-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1711
1712 * utils.c (build_vms_descriptor): Use SImode pointers.
1713
17142004-05-14 Vasiliy Fofanov <fofanov@act-europe.fr>
1715
1716 * gnat_ugn.texi: Revised chapter "GNAT and Libraries".
1717
17182004-05-14 GNAT Script <nobody@gnat.com>
1719
1720 * Make-lang.in: Makefile automatically updated
1721
084c663c
AC
17222004-05-14 Arnaud Charlet <charlet@act-europe.fr>
1723
1724 Renaming of target specific files for clarity
1725
1726 * Makefile.in: Rename GNAT target specific files.
1727
1728 * 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads,
1729 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads,
1730 3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb,
1731 3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb,
1732 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads,
1733 3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads,
1734 42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads,
1735 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads,
1736 4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads,
1737 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads,
1738 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads,
1739 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads,
1740 51osinte.adb, 51osinte.ads, 51system.ads,
1741 52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads,
1742 55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb,
1743 56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads,
1744 56tpopsp.adb, 57system.ads, 58system.ads,
1745 5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads,
1746 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
1747 5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb,
1748 5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads,
1749 5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb,
1750 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
1751 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb,
1752 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
1753 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
1754 5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads,
1755 5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb,
1756 5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads,
1757 5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads,
1758 5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads,
1759 5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads,
1760 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
1761 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
1762 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
1763 5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb,
1764 5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb,
1765 5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb,
1766 5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads,
1767 5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb,
1768 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
1769 5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads,
1770 5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb,
1771 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
1772 5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb,
1773 5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
1774 5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads,
1775 5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads,
1776 5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb,
1777 5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb,
1778 5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb,
1779 5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb,
1780 5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads,
1781 7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb,
1782 7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb,
1783 7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads,
1784 7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below.
1785
1786 * a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb,
1787 a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb,
1788 a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads,
1789 a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads,
1790 a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads,
1791 a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads,
1792 a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads,
1793 a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads,
1794 a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads,
1795 a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb,
1796 g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads,
1797 g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads,
1798 g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads,
1799 g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads,
1800 g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb,
1801 g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads,
1802 g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads,
1803 g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb,
1804 interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb,
1805 mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb,
1806 mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb,
1807 mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb,
1808 s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb,
1809 s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb,
1810 s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb,
1811 s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb,
1812 s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads,
1813 s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb,
1814 s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb,
1815 s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads,
1816 s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb,
1817 s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads,
1818 s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads,
1819 s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads,
1820 s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads,
1821 s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb,
1822 s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb,
1823 s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb,
1824 s-osinte-solaris.ads, s-osinte-solaris-fsu.ads,
1825 s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads,
1826 s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb,
1827 s-osinte-vms.ads, s-osinte-vxworks.adb,
1828 s-osinte-vxworks.ads, s-osprim-mingw.adb,
1829 s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb,
1830 s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads,
1831 s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads,
1832 s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb,
1833 s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads,
1834 s-proinf-irix-athread.adb, s-proinf-irix-athread.ads,
1835 s-stchop-vxworks.adb, s-taprop-dummy.adb,
1836 s-taprop-hpux-dce.adb, s-taprop-irix.adb,
1837 s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb,
1838 s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb,
1839 s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
1840 s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb,
1841 s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads,
1842 s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads,
1843 s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads,
1844 s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads,
1845 s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads,
1846 s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb,
1847 s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb,
1848 s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb,
1849 s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb,
1850 s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb,
1851 s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb,
1852 s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads,
1853 s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads,
1854 symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads,
1855 system-hpux.ads, system-interix.ads, system-irix-n32.ads,
1856 system-irix-o32.ads, system-linux-x86_64.ads,
1857 system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads,
1858 system-mingw.ads, system-os2.ads, system-solaris-sparc.ads,
1859 system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads,
1860 system-unixware.ads, system-vms.ads, system-vms-zcx.ads,
1861 system-vxworks-alpha.ads, system-vxworks-m68k.ads,
1862 system-vxworks-mips.ads, system-vxworks-ppc.ads,
1863 system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files
1864 above.
1865
90afe2c9
ZW
18662004-05-13 Zack Weinberg <zack@codesourcery.com>
1867
1868 * trans.c (gnat_stabilize_reference_1): Remove case 'b'.
1869
6de9cd9a
DN
18702004-05-13 Diego Novillo <dnovillo@redhat.com>
1871
1872 Merge from tree-ssa-20020619-branch.
1873
1874 * config-lang.in (boot_language, build_by_default): Set
1875 to no.
1876 * utils.c (unchecked_convert): Use OEP_ONLY_CONST.
1877 (max_size): Add static chain op for call_expr.
1878
f5657d67
RS
18792004-05-12 Richard Sandiford <rsandifo@redhat.com>
1880
1881 PR target/15331
1882 * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.
1883
4413b636
RS
18842004-05-11 Roger Sayle <roger@eyesopen.com>
1885
1886 * utils.c (max_size): Use MIN_EXPR to find the minimum value of a
1887 COND_EXPR.
1888
5950a3ac
AC
18892004-05-10 Doug Rupp <rupp@gnat.com>
1890
1891 * 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
1892 system.aux_dec.
1893
1894 * s-auxdec.ads: Add Short_Address subtype (moved here from System).
1895
1896 * Makefile.in: [VMS]: Add translation for 5qauxdec.ads.
1897
1898 * init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
1899 Fixes undefined symbols in IA64 gnatlib.
1900
1901 * 5vinmaop.adb: Reference s-auxdec for Short_Address.
1902
1903 * 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
1904 Short_Address). This will be moved to system.auxdec.
1905
19062004-05-10 Thomas Quinot <quinot@act-europe.fr>
1907
1908 * sem_util.adb: Replace test for presence of a node that is always
1909 present with a call to Discard_Node.
1910
1911 * sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
1912 Analyze on the library unit node after generation of distribution stub
1913 constructs. The call was a no-op because Unit_Node has already been
1914 Analyzed, and the tree fragments for the distribution stubs are
1915 analyzed as they are inserted in Exp_Dist.
1916 Update comment regarding to distribution stubs to reflect that we
1917 do not generate stub in separate files anymore.
1918
1919 * einfo.ads: Clarify the fact that a tagged private type has the
1920 E_Record_Type_With_Private Ekind.
1921
1922 * erroutc.adb: Minor reformatting
1923
1924 * erroutc.ads (Max_Msg_Length): Increase to cover possible larger
1925 values if line length is increased using -gnatyM (noticed during code
1926 reading).
1927
1928 * eval_fat.adb: Minor reformatting
1929 Put spaces around exponentiation operator
1930
19312004-05-10 Ed Schonberg <schonberg@gnat.com>
1932
1933 PR ada/15005
1934 * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
1935 has been rewritten as an explicit dereference, retrieve type of
1936 original node to check for possibly unconstrained record type.
1937
19382004-05-10 Ed Schonberg <schonberg@gnat.com>
1939
1940 * exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
1941 overriding, use the operation of the parent unconditionally.
1942
1943 * sem_ch4.adb (Remove_Address_Interpretations): Remove address
1944 operation when either operand is a literal, to avoid further
1945 ambiguities.
1946
1947 * sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
1948 overridden by a previous explicit declaration, mark the previous entity
1949 as overriding.
1950
1951 * sem_disp.adb (Check_Dispatching_Operation): New predicate
1952 Is_Visibly_Controlled, to determine whether a declaration of a
1953 primitive control operation for a derived type overrides an inherited
1954 one. Add warning if the explicit declaration does not override.
1955
19562004-05-10 Vincent Celier <celier@gnat.com>
1957
1958 * gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
1959 some cases when the sources are no longer present.
1960
1961 * make.adb (Collect_Arguments): Fail if an external source, not part
1962 of any project need to be compiled, when switch -x has not been
1963 specified.
1964
1965 * makeusg.adb: Document new switch -x
1966
1967 * opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
1968 defaulted to False.
1969
1970 * switch-m.adb (Scan_Make_Switches): New switch -x
1971
1972 * vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
1973 gnatmake switch -x.
1974
1975 * gnat_ugn.texi: Document new gnatmake switch -x
1976
19772004-05-10 Eric Botcazou <ebotcazou@act-europe.fr>
1978
1979 * misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.
1980
1981 * utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
1982 (process_attributes): Likewise.
1983
19842004-05-10 Joel Brobecker <brobecker@gnat.com>
1985
1986 * s-inmaop.ads: Fix spelling mistake in one of the comments.
1987
19882004-05-10 Robert Dewar <dewar@gnat.com>
1989
1990 * gnat_ugn.texi: Document that for config pragma files, the maximum
1991 line length is always 32767.
1992
1993 * gnat_rm.texi: For pragma Eliminate, note that concatenation of string
1994 literals is now allowed.
1995
1996 * gnat-style.texi: Remove statement about splitting long lines before
1997 an operator rather than after, since we do not follow this rule at all.
1998 Clarify rule (really lack of rule) for spaces around exponentiation
1999
2000 * sem_elim.adb: Allow concatenation of string literals as well as a
2001 single string literal for pragma arguments.
2002
2003 * sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function
2004
2005 * a-textio.adb (Terminate_Line): Do not add line feed if nothing
2006 written for append case.
2007
2008 * frontend.adb: Changes to avoid checking max line length in config
2009 pragma files.
2010
2011 * g-os_lib.ads: Minor reformatting
2012
2013 * mlib-utl.adb: Do not define Max_Line_Length locally (definition was
2014 wrong in any case. Instead use standard value. Noticed during code
2015 reading.
2016
2017 * opt.ads (Max_Line_Length): New field, used to implement removal of
2018 limitation on length of lines when scanning config pragma files.
2019
2020 * osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
2021 makeutl.ads, makeutl.adb: Minor reformatting
2022
2023 * scn.adb: Do not check line length while scanning config pragma files
2024 Do not check line length while scanning out license information
2025
2026 * scng.adb: Changes to avoid line length checks while parsing config
2027 pragma files.
2028
20292004-05-10 GNAT Script <nobody@gnat.com>
2030
2031 * Make-lang.in: Makefile automatically updated
2032
48664302
AC
20332004-05-05 Arnaud Charlet <charlet@act-europe.fr>
2034
2035 * osint.adb (Find_Program_Name): Fix handling of VMS version
2036 number.
2037
aa720a54
AC
20382004-05-05 Emmanuel Briot <briot@act-europe.fr>
2039
2040 * g-os_lib.ads (Invalid_Time): New constant
2041
2042 * adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now
2043 return OS_Time instead of time_t to match what is imported by Ada.
2044 Now return -1 if the file doesn't exist, instead of a random value
2045
20462004-05-05 Robert Dewar <dewar@gnat.com>
2047
2048 * usage.adb: Add line for -gnatR?s switch
2049
2050 * sem_ch13.adb, exp_ch2.adb: Minor reformatting
2051
2052 * g-regpat.ads, g-regpat.adb: Add documentation on handling of Size
2053 and for Match (Data_First, Data_last)
2054
2055 * lib-writ.adb (Write_With_Lines): Ensure that correct index number is
2056 written when we are dealing with multi-unit files.
2057
20582004-05-05 Jerome Guitton <guitton@act-europe.fr>
2059
2060 * Makefile.in: Remove unused targets and variables.
2061
20622004-05-05 Vincent Celier <celier@gnat.com>
2063
2064 * switch-m.adb: New gnatmake switch -eI
2065
2066 * vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and
2067 of new gnatmake switch -eInnn.
2068
2069 * makegpr.adb: Take into account new parameters Index and Src_Index in
2070 Prj.Util.
2071
2072 * clean.adb: Implement support for multi-unit sources, including new
2073 switch -i.
2074
2075 * gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter
2076 Src_Index.
2077
2078 * make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0
2079 (Extract_From_Q): New out parameter Index
2080 (Mark, Is_Marked): Subprograms moved to Makeutl
2081 (Switches_Of): New parameter Source_Index
2082 (Add_Switch): New parameter Index
2083 (Check): New parameter Source_Index
2084 (Collect_Arguments): New parameter Source_Index
2085 (Collect_Arguments_And_Compile): New parameter Source_Index
2086 (Compile): New parameter Source_Index
2087 Put subprograms in alphabetical order
2088 Add support for multi-source sources, including in project files.
2089
2090 * makeutl.ads, makeutl.adb (Unit_Index_Of): New function
2091 (Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from
2092 Make.
2093
2094 * makeusg.adb: New gnatmake switch -eInnn
2095
2096 * mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to
2097 Prj.Util.Value_Of.
2098
2099 * opt.ads (Main_Index): New variable, defaulted to 0.
2100
2101 * osint.ads, osinte.adb (Add_File): New parameter Index
2102 (Current_Source_Index): New function
2103
2104 * prj.adb: Take into account new components Index and Src_Index
2105
2106 * prj.ads (String_Element): New component Index
2107 (Variable_Value): New component Index
2108 (Array_Element): New component Src_Index
2109
2110 * prj-attr.adb: Indicate that optional index may be specified for
2111 attributes Main, Executable, Spec, Body and some of Switches.
2112
2113 * prj-attr.ads (Attribute_Kind): New values for optional indexes
2114 (Attribute_Record): New component Optional_Index
2115
2116 * prj-com.ads (File_Name_Data): New component Index
2117
2118 * prj-dect.adb (Parse_Attribute_Declaration): Process optional index
2119
2120 * prj-env.adb (Put): Output optional index
2121
2122 * prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and
2123 attributes Spec and Body.
2124
2125 * prj-nmsc.adb: Process optional indexes
2126
2127 * prj-pp.adb: Ouput "at" for optional indexes
2128
2129 * prj-proc.adb: Take into account optional indexes
2130
2131 * prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter
2132 Optional_Index. For string literal,
2133 process optional index when Optional_Index is True.
2134 (Parse_Expresion): New Boolean parameter Optional_Index
2135
2136 * prj-tree.ads, prj-tree.adb (Source_Index_Of): New function
2137 (Set_Source_Index_Of): New procedure
2138
2139 * prj-util.adb (Executable_Of, Value_Of): Take into account optional
2140 index.
2141
2142 * prj-util.ads (Executable_Of): New parameter Index
2143 (Value_Of (Name_Id, Array_Element_Id) returning Variable_Value):
2144 New parameter Src_Index, defaulted to 0.
2145
21462004-05-05 Ed Schonberg <schonberg@gnat.com>
2147
2148 PR ada/15257
2149 * sem_ch3.adb (Access_Definition): If this is an access parameter
2150 whose designated type is imported through a limited_with clause, do
2151 not add the enclosing subprogram to the list of private dependents of
2152 the type.
2153
21542004-05-05 Ed Schonberg <schonberg@gnat.com>
2155
2156 PR ada/15258
2157 * sem_ch6.adb (Base_Types_Match): True if one type is imported through
2158 a limited_with clause, and the other is its non-limited view.
2159
21602004-05-05 Thomas Quinot <quinot@act-europe.fr>
2161
2162 * cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals.
2163
90afe2c9 2164 * exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb,
aa720a54
AC
2165 exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use
2166 Stand.Boolean_Literals to produce references to entities
2167 Standard_False and Standard_True from compile-time computed boolean
2168 values.
2169
2170 * stand.ads (Boolean_Literals): New variable, provides the entity
2171 values for False and True, for use by the expander.
2172
21732004-05-05 Doug Rupp <rupp@gnat.com>
2174
2175 * 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype
2176 5vinmaop.adb: Unchecked convert Short_Address vice Address
2177
2178 * adaint.c, raise.c: Caste CRTL function return value
2179 to avoid gcc error on 32/64 bit IVMS.
2180
2181 * Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and
2182 target = IA64/VMS.
2183
2184 * init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS.
2185
2186 * 5qsystem.ads (Address): Declare as Long_Integer
2187 (Short_Address): Declare as 32 bit subtype of Address
2188 Declare abstract address operations to avoid gratuitous ambiguities.
2189
21902004-05-05 Jose Ruiz <ruiz@act-europe.fr>
2191
2192 * gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249)
2193 instead of the old Boolean_Entry_Barriers.
2194 Ditto for No_Task_Attributes_Package instead of No_Task_Attributes.
2195
21962004-05-05 GNAT Script <nobody@gnat.com>
2197
2198 * Make-lang.in: Makefile automatically updated
2199
1ab2888d
AC
22002004-05-03 Arnaud Charlet <charlet@act-europe.fr>
2201
2202 * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.
2203
9f4fd324
AC
22042004-05-03 Olivier Hainque <hainque@act-europe.fr>
2205
2206 PR ada/15152
2207
2208 * exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments
2209 alone. Replacing object references by literals is inappropriate in a
2210 so low level context.
2211
22122004-05-03 Arnaud Charlet <charlet@act-europe.fr>
2213
2214 * a-exexpr.adb: Add comments
2215
22162004-05-03 Joel Brobecker <brobecker@gnat.com>
2217
2218 * a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to
2219 declare the Ancestor_Tags array in Type_Specific_Data with a small size
2220 without risking a bounds check error when accessing one of its
2221 components.
2222 (Type_Specific_Data): Define Ancestor_Tags as a small array.
2223 This prevents us from hitting a limitation during the debug info
2224 generation when using stabs.
2225
2226 * a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a
2227 small array.
2228 This prevents us from hitting a limitation during the debug info
2229 generation when using stabs.
2230
22312004-05-03 Eric Botcazou <ebotcazou@act-europe.fr>
2232
2233 lang-specs.h: Remove -gnatz* from specs.
2234
22352004-05-03 Vincent Celier <celier@gnat.com>
2236
2237 * gprmake.adb, makegpr.ads, makegpr.adb: New files.
2238
2239 * Make-lang.in, Makefile.in: Add gprmake
2240
22412004-05-03 Thomas Quinot <quinot@act-europe.fr>
2242
2243 * sem_aggr.adb: Fix typo in comment.
2244
22452004-05-03 Robert Dewar <dewar@gnat.com>
2246
2247 * make.adb: Minor reformatting
2248
2249 * rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function
2250
2251 * sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address
2252 so that it works when address is not a private type.
2253
2254 * sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal
2255 properly with rewritten unchecked conversions. This prevents
2256 order-of-elaboration issues that can otherwise arise.
2257 (Minimum_Size): Don't check size of access types under VMS
2258
2259 * sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove
2260 interpretations of integer literals as type System.Address.
2261
2262 * sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function
2263 (Is_Descendent_Of): New function
2264
22652004-05-03 Jose Ruiz <ruiz@act-europe.fr>
2266
2267 * sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
2268 Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length.
2269 No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment.
2270
2271 * sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead
2272 of the old Max_Entry_Queue_Depth.
2273
2274 * snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
2275 Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length
2276 No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment
2277
2278 * snames.ads: New entry for proper handling of Boolean_Entry_Barriers.
2279 New entry for proper handling of Max_Entry_Queue_Depth.
2280 New entry for proper handling of No_Dynamic_Interrupts.
2281
2282 * s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that
2283 supersedes the GNAT specific restriction Boolean_Entry_Barriers.
2284 Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes
2285 the GNAT specific restriction Max_Entry_Queue_Depth.
2286 Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes
2287 the GNAT specific restriction No_Dynamic_Interrupts.
2288
2289 * restrict.ads, restrict.adb: Use the new restriction Simple_Barriers
2290 instead of the old Boolean_Entry_Barriers.
2291 Use the new restriction No_Dynamic_Attachment instead of the old
2292 No_Dynamic_Interrupts.
2293
2294 * exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that
2295 supersedes the GNAT specific restriction Boolean_Entry_Barriers.
2296
2297 * gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead
2298 of the old Max_Entry_Queue_Depth.
2299
23002004-05-03 GNAT Script <nobody@gnat.com>
2301
2302 * Make-lang.in: Makefile automatically updated
2303
d935a36e
AC
23042004-04-29 Ed Schonberg <schonberg@gnat.com>
2305
2306 * checks.adb (Enable_Range_Check): If the prefix of an index component
2307 is an access to an unconstrained array, perform check unconditionally.
2308
23092004-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2310
2311 * decl.c (gnat_to_gnu_field): Also call make_packable_type if
2312 Component_Clause.
2313
23142004-04-29 Olivier Hainque <hainque@act-europe.fr>
2315
2316 * init.c (__gnat_install_handler, __gnat_error_handler): Remove
2317 alternate stack setting. There was no support for the tasking cases
2318 and the changes eventually caused a number of side-effect failures in
2319 the non-tasking case too.
2320
23212004-04-29 Eric Botcazou <ebotcazou@act-europe.fr>
2322
2323 lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or
2324 -gnats is passed.
2325
23262004-04-29 Vincent Celier <celier@gnat.com>
2327
2328 * make.adb (Gnatmake): Increase max size of argument array for
2329 gnatbind for the potential addition of -F.
2330 If there are Stand-Alone Library projects, invoke gnatbind with -F to
2331 be sure that elaboration flags will be checked.
2332
2333 * switch-c.adb: Correct call to Scan_Pos for -gnateI
2334
23352004-04-29 Thomas Quinot <quinot@act-europe.fr>
2336
2337 * sem_warn.adb (Check_References): Move '<access-variable> may be
2338 null' warning out of under Warn_On_No_Value_Assigned.
2339
23402004-04-29 Ed Falis <falis@gnat.com>
2341
2342 * gnat_ugn.texi: Fixed texi error
2343
23442004-04-29 Robert Dewar <dewar@gnat.com>
2345
2346 * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove
2347 abstract operations if they come from predefined files.
2348
2349 * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be
2350 Dynamic, not RM).
2351
2352 * s-addope.adb: Correct obvious error in mod function
2353
23542004-04-28 Andrew W. Reynolds <awreynolds@mac.com>
2355
2356 * Makefile.in: Add target pairs for powerpc darwin*
2357 tasking support.
2358
2359 * a-intnam-darwin.ads, s-osinte-darwin.adb,
2360 s-osinte-darwin.ads, system-darwin-ppc.ads: New files.
2361
ea16c81b
UW
23622004-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2363
2364 * Makefile.in: Add target macro definitions for s390*-linux*.
2365 * system-linux-s390.ads: New file.
2366 * system-linux-s390x.ads: New file.
2367
f0e6f845
JM
23682004-04-28 Joseph S. Myers <jsm@polyomino.org.uk>
2369
2370 * gnat_ugn.texi: Correct argument to @setfilename.
2371
e8c2eedc
UW
23722004-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2373
2374 * a-exexpr.adb (Unwind_Word): New data type.
2375 (Unwind_Exception): Use it as type of Private1 and Private2.
2376
2377 * raise.c (db_action_for): Fix debug printf.
2378
f2c9e65a
AC
23792004-04-27 Ed Schonberg <schonberg@gnat.com>
2380
2381 * a-wtmoio.ads: Formal type must be a modular type, not a signed
2382 integer type.
2383
23842004-04-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2385
2386 * decl.c (gnat_to_gnu_entity, case object): Call
2387 __builtin_update_setjmp_buf.
2388
2389 * gigi.h (update_setjmp_buf): Deleted.
2390 (ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New.
2391
2392 * misc.c: (update_setjmp_buf): Deleted.
2393
2394 * trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue
2395 around block of RTL.
2396
2397 * utils.c (init_gigi_decls): Initialize update_setjmp_buf.
2398
35b7fa6a
AC
23992004-04-26 Thomas Quinot <quinot@act-europe.fr>
2400
2401 * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local
2402 subprogram for which no pragma All_Calls_Remote applies, store the
2403 address of the real subprogram in the underlying record type, so local
2404 dereferences do not go through the PCS.
2405
24062004-04-26 Robert Dewar <dewar@gnat.com>
2407
2408 * i-c.ads: Add some type qualifications to avoid ambiguities when
2409 compiling with s-auxdec.ads and a non-private address type.
2410
24112004-04-26 Arnaud Charlet <charlet@act-europe.fr>
2412
2413 * Makefile.rtl: Fix error in previous check-in:
2414 Add s-addope.o to non tasking object list (rather than tasking object
2415 list).
2416
24172004-04-26 Javier Miranda <miranda@gnat.com>
2418
2419 * sem_aggr.adb: Fix typo in comments
2420 (Resolve_Aggr_Expr): Propagate the type to the nested aggregate.
2421 Required to check the null-exclusion attribute.
2422
2423 * sem_attr.adb (Resolve_Attribute): Check the accessibility level in
2424 case of anonymous access types in record and array components. For a
2425 component definition the level is the same of the enclosing composite
2426 type.
2427
2428 * sem_ch3.adb (Analyze_Component_Declaration): In case of components
2429 that are anonymous access types the level of accessibility depends on
2430 the enclosing type declaration. In order to have this information, set
2431 the scope of the anonymous access type to the enclosing record type
2432 declaration.
2433 (Array_Type_Declaration): In case of components that are anonymous
2434 access types the level of accessibility depends on the enclosing type
2435 declaration. In order to have this information, set the scope of the
2436 anonymous access type to the enclosing array type declaration.
2437
2438 * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous
2439 access type.
2440
2441 * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that
2442 renaming of anonymous access-to-constant types allowed if and only if
2443 the renamed object is access-to-constant.
2444
2445 * sem_util.adb (Type_Access_Level): In case of anonymous access types
2446 that are component_definition or discriminants of a nonlimited type,
2447 the level is the same as that of the enclosing component type.
2448
24492004-04-26 Sergey Rybin <rybin@act-europe.fr>
2450
2451 * sem_elim.adb: Some minor code reorganization from code reading. Fix
2452 misprint in the function name (File_Name_Match).
2453
5a944040
LG
24542004-04-23 Laurent GUERBY <laurent@guerby.net>
2455
90afe2c9 2456 * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after
5a944040 2457 install.
90afe2c9 2458
d0fd1344
RO
24592004-04-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2460
2461 * Make-lang.in (GNATBIND_OBJS): Add s-addope.o.
2462
cc4f0de1
AC
24632004-04-23 Emmanuel Briot <briot@act-europe.fr>
2464
2465 * adaint.c (__gnat_try_lock): No longer requires that the parent
2466 directory be writable, the directory itself is enough.
2467 (gnat_is_absolute_path): Change profile, so that the call from
2468 GNAT.OS_Lib can be made more efficient.
2469
2470 * adaint.h (gnat_is_absolute_path): Change profile, so that the call
2471 from GNAT.OS_Lib can be made more efficient.
2472
2473 * g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid
2474 one copy of the file name. Found by code reading.
2475
24762004-04-23 Vincent Celier <celier@gnat.com>
2477
2478 * gnat_ugn.texi: Add documentation for gnatmake switch -eL
2479 Correct documentation on gnatmake switches transmitted to the compiler
2480
2481 * ali.ads: Minor comment fix
2482
24832004-04-23 Javier Miranda <miranda@gnat.com>
2484
2485 * sem_ch6.adb: (Confirming Types): Code cleanup
2486
2487 * decl.c (gnat_to_gnu_entity): Give support to anonymous access to
2488 subprogram types: E_Anonymous_Access_Subprogram_Type and
2489 E_Anonymous_Access_Protected_Subprogram_Type.
2490
24912004-04-23 Thomas Quinot <quinot@act-europe.fr>
2492
2493 * sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating
2494 whether a pragma All_Calls_Remote applies to the subprogram on which
2495 'Access is taken.
2496 No functional change is introduced by this revision; the new parameter
2497 will be used to allow calls to local RCI subprograms to be optimized
2498 to not use the PCS in the case where no pragma All_Calls_Remote applies,
2499 as is already done in the PolyORB implementation of the DSA.
2500
2501 * exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating
2502 whether a pragma All_Calls_Remote applies to the subprogram on which
2503 'Access is taken.
2504 No functional change is introduced by this revision; the new parameter
2505 will be used to allow calls to local RCI subprograms to be optimized
2506 to not use the PCS in the case where no pragma All_Calls_Remote applies,
2507 as is already done in the PolyORB implementation of the DSA.
2508
25092004-04-23 Robert Dewar <dewar@gnat.com>
2510
2511 * Makefile.rtl: Add entry for s-addope.o in run time library list
2512 * Make-lang.in: Add entry for s-addope.o to GNAT1 objects
2513 * s-addope.ads, s-addope.adb: New files.
2514
90afe2c9
ZW
2515 * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb,
2516 s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb,
cc4f0de1
AC
2517 s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow
2518 System.Address to be non-private and signed.
2519
2520 * sem_elim.adb: Minor reformatting (fairly extensive)
2521 Some minor code reorganization from code reading
2522 Add a couple of ??? comments
2523
25242004-04-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2525
2526 * trans.c (tree_transform, build_unit_elab): Don't call getdecls.
90afe2c9 2527 (tree_transform, case N_If_Statement): Remove non-determinism.
cc4f0de1
AC
2528
2529 * utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL.
2530
25312004-04-23 Sergey Rybin <rybin@act-europe.fr>
2532
2533 * gnat_rm.texi: Small fixes in the changes made in the 'pragma
2534 Eliminate' section.
2535
2536 * snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is
2537 no longer used as a parameter name for Eliminate pragma).
2538
78bad775
LG
25392004-04-22 Laurent GUERBY <laurent@guerby.net>
2540
2541 PR optimization/14984
2542 PR optimization/14985
2543 * trans.c (gigi): Fix non determinism leading to bootstrap
2544 comparison failures.
2545
af4b9434
AC
25462004-04-21 Pascal Obry <obry@gnat.com>
2547
2548 * adaint.c (__gnat_portable_spawn): Quote first argument (argv[0])
2549 passed to spawnvp() to properly handle program pathname with spaces on
2550 Win32.
2551
25522004-04-21 Emmanuel Briot <briot@act-europe.fr>
2553
2554 * g-debpoo.adb (Print_Info): Avoid extra work if Display_Slots is False.
2555 (Allocate, Deallocate, Free_Physically): Make sure the tasks are
2556 unlocked in case of exceptions.
2557
25582004-04-21 Joel Brobecker <brobecker@gnat.com>
2559
2560 * gigi.h (get_target_no_dollar_in_label): Remove extern declaration.
2561 This function does not exist anymore.
2562
25632004-04-21 Thomas Quinot <quinot@act-europe.fr>
2564
2565 * gnatbind.adb, gnatlink.adb: Update name of imported C symbol.
2566
2567 * link.c: Move variables to the __gnat name space.
2568
2569 * Makefile.in: list link.o explicitly when needed.
2570
2571 * mlib.adb: Remove pragma Linker_Option for "link.o" from mlib.
2572
25732004-04-21 Javier Miranda <miranda@gnat.com>
2574
2575 * einfo.adb (Original_Access_Type): New subprogram
2576 (Set_Original_Access_Type): New subprogram
2577 (Write_Field21_Name): Write the name of the new field
2578
2579 * einfo.ads (Original_Access_Type): New field present in access to
2580 subprogram types.
2581 Addition of two new entities: E_Anonymous_Access_Subprogram_Type, and
2582 E_Anonymous_Access_Protected_Subprogram_Type.
2583
2584 * lib-xref.adb (Output_One_Ref): Give support to anonymous access to
2585 subprogram types.
2586
2587 * lib-xref.ads (Xref_Entity_Letters): Initialize values corresponding
2588 to anonymous access to subprogram types.
2589
2590 * sem_attr.adb (Resolve_Attribute): Give support to anonymous access
2591 to subprogram types.
2592
2593 * sem_ch3.adb (Access_Definition): Complete decoration of entities
2594 corresponding to anonymous access to subprogram types.
2595 (Analyze_Component_Declaration): Add new actual to the call to
2596 subprogram replace_anonymous_access_to_protected_subprogram.
2597 (Array_Type_Declaration): Add new actual to the call to subprogram
2598 replace_anonymous_access_to_protected_subprogram.
2599 (Process_Discriminants): Add new actual to the call to subprogram
2600 replace_anonymous_access_to_protected_subprogram.
2601 (Replace_Anonymous_Access_To_Protected_Subprogram): New formal.
2602
2603 * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
2604 formal.
2605
2606 * sem_ch6.adb, sem_type.adb, sem_res.adb: Give support to anonymous
2607 access to subprogram types.
2608
2609 * sem_util.adb (Has_Declarations): Addition of package_specification
2610 nodes.
2611
26122004-04-21 Ed Schonberg <schonberg@gnat.com>
2613
2614 * sem_prag.adb (Make_Inline): If subprogram is a renaming, propagate
2615 inlined flags to renamed entity only if in current unit.
2616
26172004-04-21 Thomas Quinot <quinot@act-europe.fr>
2618
2619 * s-parint.ads: Add DSA implementation marker.
2620
2621 * rtsfind.ads, rtsfind.adb, snames.ads, snames.adb, s-rpc.adb: Use the
2622 value of System.Partition_Interface.DSA_Implementation to determine
2623 what version of the distributed systems annex is available (no
2624 implementation, GLADE, or PolyORB).
2625
26262004-04-21 Joel Brobecker <brobecker@gnat.com>
2627
2628 * targtyps.c (get_target_no_dollar_in_label): Remove, no longer used.
2629
26302004-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2631
2632 * utils.c (convert, case CONSTRUCTOR, COMPONENT_REF): Do not make node
2633 with new type if alias sets differ.
2634 Fixes ACATS c41103b.
2635
26362004-04-21 Vincent Celier <celier@gnat.com>
2637
2638 * prj.ads: Remove FORTRAN as an accepted language: not tested yet.
2639 Add array Lang_Args for the language specific compiling argument
2640 switches.
2641
2642 * gnat_ugn.texi: Explain in more details when a library is rebuilt.
2643
26442004-04-21 Sergey Rybin <rybin@act-europe.fr>
2645
2646 * gnat_rm.texi: Update the descripton of the Eliminate pragma
2647 according to the recent changes in the format of the parameters of the
2648 pragma (replacing Homonym_Number with Source_Location).
2649
7324bf49
AC
26502004-04-19 Arnaud Charlet <charlet@act-europe.fr>
2651
2652 * 5isystem.ads: Removed, unused.
2653
2654 * gnat_rm.texi: Redo 1.13 change.
2655
26562004-04-19 Robert Dewar <dewar@gnat.com>
2657
2658 * s-stoele.ads: Clean up definition of Storage_Offset (the new
2659 definition is cleaner, avoids the kludge of explicit Standard operator
2660 references, and also is consistent with a visible System.Address with
2661 no visible operations.
2662
2663 * s-geveop.adb: Add declarations to avoid assumption of visible
2664 operations on type System.Address (since these might not be available
2665 if Address is a non-private type for which the operations
2666 are made abstract).
2667
2668 * sem_eval.adb: Minor reformatting
2669
2670 * s-carsi8.ads, s-carun8.ads, s-casi16.ads, s-casi32.ads,
2671 s-casi64.ads, s-caun16.ads, s-caun32.ads, s-caun64.ads: Minor
2672 reformatting (new function spec format).
2673
2674 * s-auxdec.adb, s-carsi8.adb, s-carun8.adb, s-casi16.adb,
2675 s-casi32.adb, s-casi64.adb, s-caun16.adb, s-caun32.adb,
2676 s-caun64.adb: Add declarations to avoid assumption of visible
2677 operations on type System.Address (since these might not be available
2678 if Address is a non-private type for which the operations are made
2679 abstract).
2680
2681 * lib.ads, lib.adb (Synchronize_Serial_Number): New procedure.
2682
2683 * exp_intr.adb: Minor comment update
2684
2685 * exp_aggr.adb, exp_attr.adb, exp_ch13.adb: Minor reformatting.
2686
2687 * 5omastop.adb: Add declarations to avoid assumption of visible
2688 operations on type System.Address (since these might not be available
2689 if Address is a non-private type for which the operations
2690 are made abstract).
2691
26922004-04-19 Vincent Celier <celier@gnat.com>
2693
2694 * switch-m.adb: (Scan_Make_Switches): Process new switch -eL
2695
2696 * prj-pars.ads (Parse): New Boolean parameter Process_Languages,
2697 defaulted to Ada.
2698
2699 * prj-proc.adb (Process): New Boolean parameter Process_Languages,
2700 defaulted to Ada.
2701 Call Check with Process_Languages.
2702 (Check): New Boolean parameter Process_Languages. Call Recursive_Check
2703 with Process_Languages.
2704 (Recursive_Check): New Boolean parameter Process_Languages. Call
2705 Nmsc.Ada_Check or Nmsc.Other_Languages_Check according to
2706 Process_Languages.
2707
2708 * prj-proc.ads (Process): New Boolean parameter Process_Languages,
2709
2710 * prj-util.ads, prj-util.adb (Executable_Of): New Boolean
2711 parameter Ada_Main, defaulted to True.
2712 Check for Ada specific characteristics only when Ada_Main is True.
2713
2714 * opt.ads: (Follow_Links): New Boolean flag for gnatmake
2715
2716 * prj.adb: (Project_Empty): Add new Project_Data components.
2717
2718 * prj.ads: New types and tables for non Ada languages.
2719 (Project_Data): New components Languages, Impl_Suffixes,
2720 First_Other_Source, Last_Other_Source, Imported_Directories_Switches,
2721 Include_Path, Include_Data_Set.
2722
2723 * prj-env.ads, prj-env.adb: Minor reformatting
2724
2725 * prj-nmsc.ads, prj-nmsc.adb: (Other_Languages_Check): New procedure
2726 Put subprograms in alphabetical order
2727
2728 * prj-pars.adb (Parse): New Boolean parameter Process_Languages,
2729 defaulted to Ada; Call Prj.Proc.Process with Process_Languages and
2730 Opt.Follow_Links.
2731
2732 * mlib-prj.adb: Back out modification in last version, as they are
2733 incorrect.
2734 (Build_Library.Check_Libs): Remove useless pragma Warnings (Off)
2735
2736 * make.adb: (Mains): Moved to package Makeutl
2737 (Linker_Opts): Moved to package Makeutl
2738 (Is_External_Assignment): Moved to package Makeutl
2739 (Test_If_Relative_Path): Moved to package Makeutl
2740 (Gnatmake): Move sorting of linker options to function
2741 Makeutl.Linker_Options_Switches.
2742
8f9df7d8
VC
2743 * makeutl.ads, makeutl.adb: New files.
2744
7324bf49
AC
2745 * Makefile.in: Add makeutl.o to the object files for gnatmake
2746
2747 * makeusg.adb: Add line for new switch -eL.
2748
2749 * gnatls.adb (Image): New function.
2750 (Output_Unit): If in verbose mode, output the list of restrictions
2751 specified by pragmas Restrictions.
2752
2753 * 5bml-tgt.adb, 5vml-tgt.adb (Build_Dynamic_Library): Do not use
2754 Text_IO.
2755
2756 * a-calend.adb (Split): Shift the date by multiple of 56 years, if
2757 needed, to put it in the range 1970 (included) - 2026 (excluded).
2758 (Time_Of): Do not shift Unix_Min_Year (1970).
2759 Shift the date by multiple of 56 years, if needed, to put it in the
2760 range 1970 (included) - 2026 (excluded).
2761
2762 * adaint.h, adaint.c (__gnat_set_executable): New function.
2763
27642004-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2765
2766 * trans.c (tree_transform, case N_Subprogram_Body): Temporarily push
2767 and pop GC context.
2768 (tree_transform, case N_Procedure_Call): Fix typo in setting TREE_TYPE.
2769 (tree_transform, case N_Label): Don't set LABEL_STMT_FIRST_IN_EH.
2770 (tree_transform, case N_Procedure_Call_Statement): Build a tree.
2771 (tree_transform, case N_Code_Statement): Likewise.
2772 (gnat_expand_stmt, case LABEL_STMT): Don't look at
2773 LABEL_STMT_FIRST_IN_EH.
2774 (gnat_expand_stmt, case ASM_STMT): New case.
2775
2776 * utils2.c (build_unary_op): Properly set TREE_READONLY of
2777 UNCONSTRAINED_ARRAY_REF.
2778
2779 * utils.c (poplevel): Temporarily push/pop GC context around inline
2780 function expansion.
2781
2782 * decl.c (maybe_variable): Properly set TREE_READONLY of
2783 UNCONSTRAINED_ARRAY_REF.
2784 (make_packable_type): Only reference TYPE_IS_PADDING_P for RECORD_TYPE.
2785
2786 * ada-tree.def: (ASM_STMT): New.
2787
2788 * ada-tree.h: (LABEL_STMT_FIRST_IN_EH): Deleted.
2789 (ASM_STMT_TEMPLATE, ASM_STMT_OUTPUT, ASM_STMT_ORIG_OUT,
2790 ASM_STMT_INPUT): New.
2791 (ASM_STMT_CLOBBER): Likewise.
2792
27932004-04-19 Thomas Quinot <quinot@act-europe.fr>
2794
2795 * a-except.adb, s-parint.ads, s-parint.adb, types.ads, types.h: Use
2796 general rcheck mechanism to raise Program_Error for E.4(18), instead
2797 of a custom raiser in System.Partition_Interface.
2798 Part of general cleanup work before PolyORB integration.
2799
2800 * snames.ads, snames.adb: Add new runtime library entities and names
2801 for PolyORB DSA.
2802
2803 * sem_dist.ads, sem_dist.adb (Get_Subprogram_Id): Move from sem_dist to
2804 exp_dist.
2805 (Build_Subprogram_Id): New subprogram provided by exp_dist
2806 Code reorganisation in preparation for PolyORB integration.
2807
2808 * exp_dist.ads, exp_dist.adb (Get_Subprogram_Id): Move from sem_dist to
2809 exp_dist.
2810 (Build_Subprogram_Id): New subprogram provided by exp_dist
2811
2812 * sem_ch4.adb (Analyze_One_Call): Fix error message for mismatch in
2813 actual parameter types for call to dereference of an
2814 access-to-subprogram type.
2815
2816 * rtsfind.ads: Add new runtime library entities and names for PolyORB
2817 DSA.
2818
2819 * gnatlink.adb (Value): Remove. Use Interfaces.C.Strings.Value
2820 instead, which has the same behaviour here since we never pass it a
2821 NULL pointer.
2822
2823 * link.c (run_path_option, Solaris case): Use -Wl, as for other
2824 platforms.
2825
2826 * Makefile.in: adjust object file lists for gnatlink and gnatmake
2827 to account for new dependency upon Interfaces.C.Strings + link.o
2828 For x86 FreeBSD, use 86numaux.
2829
2830 * make.adb, gnatcmd.adb: Linker_Library_Path_Option has been moved up
2831 from Mlib.Tgt to Mlib.
2832
2833 * mlib.ads, mlib.adb (Linker_Library_Path_Option): New subprogram, now
2834 target-independent.
2835
2836 * mlib-tgt.ads, mlib-tgt.adb (Linker_Library_Path_Option): Remove
2837 target-specific versions of this subprogram, now implemented as a
2838 target-independent function in Mlib.
2839
2840 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, 5lml-tgt.adb,
2841 5sml-tgt.adb, 5vml-tgt.adb, 5zml-tgt.adb, 5wml-tgt.adb
2842 (Linker_Library_Path_Option): Remove target-specific versions of this
2843 subprogram, now implemented as a target-independent function in Mlib.
2844
2845 * atree.adb: (Allocate_Initialize_Node): New subprogram.
2846 Factors out node table slots allocation.
2847 (Fix_Parents): New subprogram.
2848 Encapsulate the pattern of fixing up parent pointers for syntactic
2849 children of a rewritten node.
2850 (New_Copy_Tree): Use New_Copy to copy non-entity nodes.
2851 (Rewrite): Use New_Copy when creating saved copy of original node.
2852 (Replace): Use Copy_Node to copy nodes.
2853
28542004-04-19 Javier Miranda <miranda@gnat.com>
2855
2856 * sprint.adb (Sprint_Node_Actual): Give support to the new
2857 Access_To_Subprogram node available in Access_Definition nodes. In
2858 addition, give support to the AI-231 node fields: null-exclusion,
2859 all-present, constant-present.
2860
2861 * sem_util.ads, sem_util.adb: (Has_Declarations): New subprogram
2862
90afe2c9 2863 * sinfo.ads, sinfo.adb:
7324bf49
AC
2864 New field Access_To_Subprogram_Definition in Access_Definition nodes
2865
2866 * sem_ch6.adb (Process_Formals): Move here the code that creates and
2867 decorates internal subtype declaration corresponding to the
2868 null-excluding formal. This code was previously in Set_Actual_Subtypes.
2869 In addition, carry out some code cleanup on this code. In case of
2870 access to protected subprogram call
2871 Replace_Anonymous_Access_To_Protected_Subprogram.
2872 (Set_Actual_Subtypes): Code cleanup.
2873
2874 * sem_ch8.adb (Analyze_Object_Renaming): Remove un-necessary call to
2875 Find_Type in case of anonymous access renamings. Add warning in case of
2876 null-excluding attribute used in anonymous access renaming.
2877
2878 * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
2879 subprogram
2880
2881 * sem_ch3.adb (Replace_Anonymous_Access_To_Protected_Subprogram): New
2882 subprogram.
2883 (Access_Definition): In case of anonymous access to subprograms call
2884 the corresponding semantic routine to decorate the node.
2885 (Access_Subprogram_Declaration): Addition of some comments indicating
2886 some code that probably should be added here. Detected by comparison
2887 with the access_definition subprogram.
2888 (Analyze_Component_Declaration): In case of access to protected
2889 subprogram call Replace_Anonymous_Access_To_Protected.
2890 (Array_Type_Declaration): In case of access to protected subprogram call
2891 Replace_Anonymous_Access_To_Protected_Subprogram.
2892 (Process_Discriminants): In case of access to protected subprogram call
2893 Replace_Anonymous_Access_To_Protected_Subprogram.
2894
2895 * par.adb (P_Access_Definition): New formal that indicates if the
2896 null-exclusion part was present.
2897 (P_Access_Type_Definition): New formal that indicates if the caller has
2898 already parsed the null-excluding part.
2899
2900 * par-ch3.adb (P_Subtype_Declaration): Code cleanup.
2901 (P_Identifier_Declarations): Code cleanup and give support to renamings
2902 of anonymous access to subprogram types.
2903 (P_Derived_Type_Def_Or_Private_Ext_Decl): Code cleanup.
2904 (P_Array_Type_Definition): Give support to AI-254.
2905 (P_Component_Items): Give support to AI-254.
2906 (P_Access_Definition): New formal that indicates if the header was
2907 already parsed by the caller.
2908 (P_Access_Type_Definition): New formal that indicates if the caller has
2909 already parsed the null-excluding part.
2910
2911 * par-ch6.adb (P_Formal_Part): Add the null-excluding parameter to the
2912 call to P_Access_Definition.
2913
29142004-04-19 Geert Bosch <bosch@gnat.com>
2915
2916 * checks.adb (Apply_Float_Conversion_Check): New procedure to implement
2917 the delicate semantics of floating-point to integer conversion.
2918 (Apply_Type_Conversion_Checks): Use Apply_Float_Conversion_Check.
2919
2920 * eval_fat.adb (Machine_Mantissa): Moved to spec.
2921 (Machine_Radix): New function.
2922
2923 * eval_fat.ads (Machine_Mantissa): Moved from body for use in
2924 conversion checks.
2925 (Machine_Radix): New function also for use in conversion checks.
2926
29272004-04-19 Ed Schonberg <schonberg@gnat.com>
2928
2929 * par-prag.adb (Source_File_Name_Project): Fix typo in error message.
2930
2931 * exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Call analyze
2932 to decorate the access-to-protected subprogram and the equivalent type.
2933
2934 * checks.adb (Null_Exclusion_Static_Checks): Code cleanup. Give support
2935 to anonymous access to subprogram types.
2936
2937 * exp_ch4.adb (Expand_N_In): Preserve Static flag before
2938 constant-folding, for legality checks in contexts that require an RM
2939 static expression.
2940
2941 * exp_ch6.adb (Expand_N_Function_Call): If call may generate large
2942 temporary but stack checking is not enabled, increment serial number
2943 to so that symbol generation is consistent with and without stack
2944 checking.
2945
2946 * exp_util.ads, exp_util.adb (May_Generate_Large_Temp): Predicate is
2947 independent on whether stack checking is enabled, caller must check
2948 the corresponding flag.
2949
2950 * sem_ch3.adb (Constrain_Index): Index bounds given by attributes need
2951 range checks.
2952 (Build_Derived_Concurrent_Type): Inherit Is_Constrained flag from
2953 parent if it has discriminants.
2954 (Build_Derived_Private_Type): Constructed full view does
2955 not come from source.
2956 (Process_Discriminants): Default discriminants on a tagged type are
2957 legal if this is the internal completion of a private untagged
2958 derivation.
2959
2960 * sem_ch6.adb (Set_Actual_Subtypes): The generated declaration needs
2961 no constraint checks, because it corresponds to an existing object.
2962
2963 * sem_prag.adb (Process_Convention): Pragma applies
2964 only to subprograms in the same declarative part, i.e. the same unit,
2965 not the same scope.
2966
2967 * sem_res.adb (Valid_Conversion): In an instance or inlined body,
2968 ignore type mismatch on a numeric conversion if expression comes from
2969 expansion.
2970
29712004-04-19 Sergey Rybin <rybin@act-europe.fr>
2972
2973 * sem_elim.adb (Process_Eliminate_Pragma): Remove the processing for
2974 Homonym_Number parameter, add processing for Source_Location parameter
2975 corresponding.
2976 (Check_Eliminated): Remove the check for homonym numbers, add the check
2977 for source location traces.
2978
2979 * sem_elim.ads (Process_Eliminate_Pragma): Replace Arg_Homonym_Number
2980 with Arg_Source_Location corresponding to the changes in the format of
2981 the pragma.
2982
2983 * sem_prag.adb: (Analyze_Pragma): Changes in the processing of
2984 Eliminate pragma corresponding to the changes in the format of the
2985 pragma: Homonym_Number is replaced with Source_Location, two ways of
2986 distinguishing homonyms are mutially-exclusive.
2987
29882004-04-19 Joel Brobecker <brobecker@gnat.com>
2989
2990 * get_targ.ads (Get_No_Dollar_In_Label): Remove.
2991
2992 * exp_dbug.adb (Output_Homonym_Numbers_Suffix): Remove use of
2993 No_Dollar_In_Label, no longer necessary, as it is always True.
2994 (Strip_Suffixes): Likewise.
2995
29962004-04-19 Gary Dismukes <dismukes@gnat.com>
2997
2998 * s-stalib.ads (type Exception_Code): Use Integer'Size for exponent of
2999 modulus for compatibility with size clause on targets with 16-bit
3000 Integer.
3001
3002 * layout.adb (Discrimify): In the case of private types, set Vtyp to
3003 full type to fix type mismatches on calls to size functions for
3004 discriminant-dependent array components.
3005
30062004-04-19 Jerome Guitton <guitton@act-europe.fr>
3007
3008 * Makefile.in (gnatlib-zcx): New target, for building a ZCX run-time
3009 lib.
3010
30112004-04-19 Pascal Obry <obry@gnat.com>
3012
3013 * mdll-utl.adb (Locate): New version is idempotent.
3014
30152004-04-17 Laurent Guerby <laurent@guerby.net>
fa795c69
LG
3016
3017 PR ada/14988 (partial)
3018 * impunit.adb: Fix typo.
90afe2c9 3019
cce0244b
NN
30202004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
3021
3022 * Make-lang.in: Remove obsolete rts-none, rts-cert, install-rts-none,
3023 and install-rts-cert targets. Remove all gnatlib and gnattools
3024 targets and all other rts-* targets (moved to libada). Remove (now)
3025 unused Make variables CHMOD, CHMOD_AX_FLAGS, shext, THREAD_KIND,
3026 TRACE, GNATLIBFLAGS, GNATLIBCFLAGS.
3027
af152989
AC
30282004-04-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3029
3030 * trans.c (tree_transform): Shortcut returning error_mark_node for
3031 statements in annotate_only_mode.
3032 (tree_transform, case N_Label, case N_Return_Statement,
3033 N_Goto_Statement): Make statement tree instead of generating code.
3034 (tree_transform, case N_Assignment_Statement): No longer check
3035 type_annotate_only.
3036 (gnat_expand_stmt, case GOTO_STMT, case LABEL_STMT, case
3037 RETURN_STMT): New.
3038 (first_nondeleted_insn, build_block_stmt, make_expr_stmt_from_rtl):
3039 New fcns.
3040 (gnat_to_gnu): Collect any RTL generated and deal with it.
3041 (tree_transform, case N_And_Then): Refine when have non-null RTL_EXPR.
3042 (tree_transform case N_If_Statement): Rewrite to make IF_STMT.
3043 (gnat_expand_stmt, case BLOCK_STMT, IF_STMT): New cases.
3044
3045 * ada-tree.def (GOTO_STMT, LABEL_STMT, RETURN_STMT): New tree nodes.
3046
3047 * ada-tree.def (EXPR_STMT): Fix typo in name.
3048 (BLOCK_STMT, IF_STMT): New nodes.
3049
3050 * ada-tree.h (GOTO_STMT_LABEL, LABEL_STMT_LABEL,
3051 LABEL_STMT_FIRST_IN_EH): New macros.
3052 (RETURN_STMT_EXPR): Likewise.
3053
3054 * ada-tree.h: (BLOCK_STMT_LIST, IF_STMT_COND, IF_STMT_TRUE,
3055 IF_STMT_ELSEIF, IF_STMT_ELSE): New macros.
3056
30572004-04-08 Thomas Quinot <quinot@act-europe.fr>
3058
3059 * atree.ads: Correct documentation on extended nodes.
3060
3061 * link.c: Set run_path_option for FreeBSD.
3062
30632004-04-08 Vincent Celier <celier@gnat.com>
3064
3065 * mlib-prj.adb (Build_Library.Check_Libs): On OpenVMS, if dec.ali is
3066 one of the ALI file, do not link with DEC lib.
3067
3068 * par.adb Remove the last two characters ("%s" or "%b") when checking
3069 if a language defined unit may be recompiled.
3070
30712004-04-08 Ed Schonberg <schonberg@gnat.com>
3072
3073 * sem_ch4.adb (Remove_Abstract_Operations): Improve error message when
3074 removal of abstract operation leaves no possible interpretation for
3075 expression.
3076
3077 * sem_eval.adb (Eval_Qualified_Expression): Use
3078 Set_Raises_Constraint_Error on node when needed, so that it does not
3079 get optimized away by subsequent optimizations.
3080
3081 * sem_res.adb (Resolve_Intrinsic_Operator): Save interpretations of
3082 operands even when they are not wrapped in a type conversion.
3083
30842004-04-08 Olivier Hainque <hainque@act-europe.fr>
3085
3086 * sem_prag.adb (Set_Exported): Warn about making static as result of
3087 export only when the export is coming from source. This may be not
3088 be true e.g. on VMS where we expand export pragmas for exception codes
3089 together with imported or exported exceptions, and we don't want the
3090 user to be warned about something he didn't write.
3091
30922004-04-08 Thomas Quinot <quinot@act-europe.fr>
3093
3094 * sem_util.adb (Note_Possible_Modification): Reorganize to remove code
3095 duplication between normal entities and those declared as renamings.
3096 No functional change.
3097
90afe2c9 3098 * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently
af152989
AC
3099 inline functions returning an unconstrained result.
3100
31012004-04-08 Eric Botcazou <ebotcazou@act-europe.fr>
3102
3103 * utils.c (type_for_mode): Handle BLKmode and VOIDmode properly, to
3104 conform to what other front-ends do.
3105
31062004-04-08 Doug Rupp <rupp@gnat.com>
3107
3108 * 5vml-tgt.adb: Use Gas instead of VMS Macro to build auto init shared
3109 libraries.
3110
3984e89a
AC
31112004-04-06 Pascal Obry <obry@gnat.com>
3112
3113 * adaint.c (DIR_SEPARATOR): Properly set DIR_SEPARATOR on Win32.
3114
3115 * osint.adb (Program_Name): Do not look past a directory separator.
3116
31172004-04-06 Thomas Quinot <quinot@act-europe.fr>
3118
3119 * atree.adb: Update comment (Rewrite_Substitute_Node no longer exists).
3120
3121 * exp_ch6.adb (Rewrite_Function_Call): Clarify documentation of
3122 requirement for preserving a copy of the original assignment node.
3123
3124 * sinfo.ads: Update comment (Original_Tree -> Original_Node).
3125
31262004-04-06 Olivier Hainque <hainque@act-europe.fr>
3127
3128 (__gnat_initialize [Vxworks]): Enable references to the crtstuff bits
3129 when supported.
3130
31312004-04-06 Ed Schonberg <schonberg@gnat.com>
3132
3133 * sem_ch4.adb (Remove_Abstract_Operations): Extend previous changes to
3134 operator calls in functional notation, and apply
3135 Universal_Interpretation to operands, not to their type.
3136
31372004-04-06 Robert Dewar <dewar@gnat.com>
3138
3139 * 5wdirval.adb: Minor reformatting
3140
31412004-04-06 Ed Falis <falis@gnat.com>
3142
3143 * gnat_rm.texi: Improve a reference to the GCC manual
3144
30c20106
AC
31452004-04-05 Vincent Celier <celier@gnat.com>
3146
3147 * adaint.h, adaint.c: Add function __gnat_named_file_length
3148
3149 * impunit.adb: Add Ada.Directories to the list
3150
3151 * Makefile.in: Add VMS and Windows versions of
3152 Ada.Directories.Validity package body.
3153
3154 * Makefile.rtl: Add a-direct and a-dirval
3155
3156 * mlib-tgt.ads: Minor comment update.
3157
3158 * a-dirval.ads, a-dirval.adb, 5vdirval.adb, 5wdirval.adb,
3159 a-direct.ads, a-direct.adb: New files.
3160
31612004-04-05 Vincent Celier <celier@gnat.com>
3162
3163 PR ada/13620
3164 * make.adb (Scan_Make_Arg): Pass any -fxxx switches to gnatlink, not
3165 just to the compiler.
3166
31672004-04-05 Robert Dewar <dewar@gnat.com>
3168
3169 * a-except.adb (Exception_Name_Simple): Make sure lower bound of
3170 returned string is 1.
3171
3172 * ali-util.adb: Use proper specific form for Warnings (Off, entity)
3173
3174 * eval_fat.ads: Minor reformatting
3175
3176 * g-curexc.ads: Document that lower bound of returned string values
3177 is always one.
3178
3179 * gnatlink.adb: Add ??? comment for previous change
3180 (need to document why this is VMS specific)
3181
3182 * s-stoele.ads: Minor reformatting
3183
3184 * tbuild.ads: Minor reformatting throughout (new function specs)
3185
3186 * par-ch10.adb (P_Context_Clause): Handle comma instead of semicolon
3187 after WITH.
3188
3189 * scng.adb: Minor reformatting
3190
31912004-04-05 Geert Bosch <bosch@gnat.com>
3192
3193 * eval_fat.adb (Machine): Remove unnecessary suppression of warning.
3194 (Leading_Part): Still perform truncation to machine number if the
3195 specified radix_digits is greater or equal to machine_mantissa.
3196
31972004-04-05 Javier Miranda <miranda@gnat.com>
3198
3199 * par-ch3.adb: Complete documentation of previous change
3200 Correct wrong syntax documentation of the OBJECT_DECLARATION rule
3201 (aliased must appear before constant).
3202
3203 * par-ch4.adb: Complete documentation of previous change.
3204
3205 * par-ch6.adb: Complete documentation of previous change.
3206
3207 * sinfo.ads: Fix typo in commment.
3208
32092004-04-05 Ed Schonberg <schonberg@gnat.com>
3210
3211 * sem_ch3.adb (Inherit_Components): If derived type is private and has
3212 stored discriminants, use its discriminants to constrain parent type,
3213 as is done for non-private derived record types.
3214
3215 * sem_ch4.adb (Remove_Abstract_Operations): New subprogram to implement
3216 Ada 2005 AI-310: an abstract non-dispatching operation is not a
3217 candidate interpretation in an overloaded call.
3218
3219 * tbuild.adb (Unchecked_Convert_To): Preserve conversion node if
3220 expression is Null and target type is not an access type (e.g. a
3221 non-private address type).
3222
32232004-04-05 Thomas Quinot <quinot@act-europe.fr>
3224
3225 * exp_ch6.adb (Rewrite_Function_Call): When rewriting an assignment
3226 statement whose right-hand side is an inlined call, save a copy of the
3227 original assignment subtree to preserve enough consistency for
3228 Analyze_Assignment to proceed.
3229
3230 * sem_ch5.adb (Analyze_Assignment): Remove a costly copy of the
3231 complete assignment subtree which is now unnecessary, as the expansion
3232 of inlined call has been improved to preserve a consistent assignment
3233 tree. Note_Possible_Modification must be called only
3234 after checks have been applied, or else unnecessary checks will
3235 be generated.
3236
3237 * sem_util.adb (Note_Possible_Modification): Reorganise the handling
3238 of explicit dereferences that do not Come_From_Source:
3239 - be selective on cases where we must go back to the dereferenced
3240 pointer (an assignment to an implicit dereference must not be
3241 recorded as modifying the pointer);
3242 - do not rely on Original_Node being present (Analyze_Assignment
3243 calls Note_Possible_Modification on a copied tree).
3244
3245 * sem_warn.adb (Check_References): When an unset reference to a pointer
3246 that is never assigned is encountered, prefer '<pointer> may be null'
3247 warning over '<pointer> is never assigned a value'.
3248
32492004-04-05 Ramon Fernandez <fernandez@gnat.com>
3250
3251 * tracebak.c: Change STOP_FRAME in ppc vxworks to be compliant with
3252 the ABI.
3253
32542004-04-05 Olivier Hainque <hainque@act-europe.fr>
3255
3256 * 5gmastop.adb (Pop_Frame): Comment out the pragma Linker_Option for
3257 libexc. We currently don't reference anything in this library and
3258 linking it in triggers linker warnings we don't want to see.
3259
3260 * init.c: Update comments.
3261
4f976745
RK
32622004-04-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3263
3264 * decl.c (gnat_to_gnu_entity): Use TYPE_READONLY.
3265 * utils.c (create_field_decl): Likewise.
3266 * utils2.c (build_unary_op, gnat_build_constructor): Likewise.
3267
6da7d579
AC
32682004-04-02 Arnaud Charlet <charlet@act-europe.fr>
3269
3270 * gnat-style.texi, gnat_rm.texi, gnat_ugn.texi: Remove RCS tags.
3271 Replace ifinfo by ifnottex, to make makeinfo --html happy again.
3272 Add info directory entry and category.
3273
18c6ada9
JH
32742004-04-02 Jan Hubicka <jh@suse.cz>
3275
3276 * utils.c: Include function.h
3277 (end_subprog_body): Clear DECL_STRUCT_FUNCTION.
3278
7cd4527e
AC
32792004-04-01 Arnaud Charlet <charlet@act-europe.fr>
3280
3281 PR ada/14150
3282 * Make-lang.in: Clean up generation of documentation
3283
3284 * gnat-style.texi, gnat_rm.texi, ug_words: Resync with AdaCore version
3285
3286 * xgnatug.adb: Removed, replaced by xgnatugn.adb
3287
3288 * xgnatugn.adb: Replaces xgnatug.adb
3289
3290 * gnat_ug.texi: Removed, replaced by gnat_ugn.texi
3291
3292 * gnat_ugn.texi: Replaces gnat_ug.texi. Resync with AdaCore version
3293
3294 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3295 gnat_ug_wnt.texi: Removed.
3296
0c250f07
AC
32972004-04-01 Arnaud Charlet <charlet@act-europe.fr>
3298
3299 * utils2.c: Update copyright notice.
3300
6b6fcd3e
AC
33012004-04-01 Robert Dewar <dewar@gnat.com>
3302
3303 * checks.adb: Minor reformatting throughout
3304 Note that prev checkin added RM reference to alignment warning
3305
33062004-04-01 Ed Schonberg <schonberg@gnat.com>
3307
3308 * exp_aggr.adb (Get_Component_Val): Treat a string literal as
3309 non-static when building aggregate for bit-packed array.
3310
3311 * exp_ch4.adb (Expand_N_Slice): If a packed slice is an actual of a
3312 function call that is itself the actual in a procedure call, build
3313 temporary for it.
3314
3315 * exp_pakd.adb (Expand_Bit_Packed_Element_Set): If right-hand side is
3316 a string literal, create a temporary for it, constant folding only
3317 handles scalars here.
3318
33192004-04-01 Vincent Celier <celier@gnat.com>
3320
3321 * ali-util.adb (Post_Scan, Error_Msg, Error_Msg_S, Error_Msg_SC,
3322 Error_Msg_SP): New empty procedures to instantiate the Scanner.
3323 (Style, Scanner): Instantiations of Styleg and Scng to be able to scan
3324 tokens.
3325 (Accumulate_Checksum, Initialize_Checksum): Remove procedures.
3326 (Get_File_Checksum): Use the instantiated scanner to scan all the tokens
3327 and get the checksum.
3328
3329 * make.adb (Gnatmake): Do not insert into Q the Main_Source if it is
3330 already in the Q.
3331 Increase the Marking_Label at the end of the Multiple_Main_Loop,
3332 instead of at the beginning.
3333
3334 * osint.adb (Lib_File_Name): Use Multi_Unit_Index_Character, not '~'
3335 directly.
3336 (Osint package elaboration): Change Multi_Unit_Index_Character to '$' if
3337 on VMS.
3338
3339 * osint.ads (Multi_Unit_Index_Character): New Character global variable
3340
3341 * osint-c.adb (Set_Library_Info_Name): Use Multi_Unit_Index_Character,
3342 not '~' directly.
3343
3344 * par.adb: Remove test on file name to detect language defined units.
3345 Add test on unit name, after parsing, to detect language defined units
3346 that are not compiled with -gnatg (except System.RPC and its children)
3347
3348 * par-ch10.adb (P_Compilation_Unit): In multi-unit sources, scan the
3349 following units without style checking.
3350
3351 * switch-c.adb: Change -gnatC to -gnateI
3352
3353 * usage.adb: Document new switch -gnateInnn
3354
3355 * scng.adb (Accumulate_Token_Checksum): New procedure
3356 (Scan): Call Accumulate_Token_Checksum after each identifier, reserved
3357 word or literal number.
3358 (Scan.Nlit.Scan_Integer): Do not accumulate internal '_' in litteral
3359 numbers.
3360
33612004-04-01 Thomas Quinot <quinot@act-europe.fr>
3362
3363 * a-tasatt.adb,
3364 g-comlin.adb, sinput-c.adb, s-secsta.adb, s-tpobop.adb,
3365 switch-m.adb, 56taprop.adb, 5ginterr.adb, 5gmastop.adb,
3366 5staprop.adb, 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb,
3367 5vtpopde.adb: Add missing 'constant' keywords.
3368
33692004-04-01 Javier Miranda <miranda@gnat.com>
3370
3371 * par-ch4.adb: (P_Allocator): Code cleanup
3372
3373 * sem_ch3.adb (Access_Definition): Properly set the null-excluding
3374 attribute.
3375
3376 * sinfo.ads: Complete documentation of previous change
3377
33782004-04-01 Pascal Obry <obry@gnat.com>
3379
3380 * gnatlink.adb (Process_Binder_File): Remove duplicate linker options
3381 only on VMS. This special handling was done because an old GNU/ld bug
3382 on Windows which has been fixed.
3383
33842004-04-01 GNAT Script <nobody@gnat.com>
3385
3386 * Make-lang.in: Makefile automatically updated
3387
8df83eae
RK
33882004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3389
3390 * decl.c (gnat_to_gnu_entity, make_type_from_size):
3391 Use TYPE_UNSIGNED, not TREE_UNSIGNED.
3392 * trans.c (tree_transform, convert_with_check): Likewise.
3393 * utils.c (gnat_signed_or_unsigned_type): Likewise.
3394 (build_vms_descriptor, unchecked_convert): Likewise.
3395 * utils2.c (nonbinary_modular_operation): Likewise.
3396
2820d220
AC
33972004-03-29 Javier Miranda <miranda@gnat.com>
3398
3399 * checks.adb (Null_Exclusion_Static_Checks): New subprogram
3400 (Install_Null_Excluding_Check): Local subprogram that determines whether
3401 an access node requires a runtime access check and if so inserts the
3402 appropriate run-time check.
3403 (Apply_Access_Check): Call Install_Null_Excluding check if required
3404 (Apply_Constraint_Check): Call Install_Null_Excluding check if required
3405
3406 * checks.ads: (Null_Exclusion_Static_Checks): New subprogram
3407
3408 * einfo.ads: Fix typo in comment
3409
3410 * exp_ch3.adb (Build_Assignment): Generate conversion to the
3411 null-excluding type to force the corresponding run-time check.
3412 (Expand_N_Object_Declaration): Generate conversion to the null-excluding
3413 type to force the corresponding run-time check.
3414
3415 * exp_ch5.adb (Expand_N_Assignment_Statement): Generate conversion to
3416 the null-excluding type to force the corresponding run-time check.
3417
3418 * exp_ch6.adb (Expand_Call): Do not generate the run-time check in
3419 case of access types unless they have the null-excluding attribute.
3420
3421 * sprint.adb (Sprint_Node_Actual): Give support to the null-exclusing
3422 part.
3423
3424 * exp_util.ads: Fix typo in comment
3425
3426 * par.adb (P_Null_Exclusion): New subprogram
3427 (P_Subtype_Indication): New formal that indicates if the null-excluding
3428 part has been scanned-out and it was present
3429
3430 * par-ch3.adb, par-ch4.adb, par-ch6.adb: Give support to AI-231
3431
3432 * sem_aggr.adb: (Check_Can_Never_Be_Null): New subprogram
3433 (Aggregate_Constraint_Checks): Generate conversion to the null-excluding
3434 type to force the corresponding run-time check
3435 (Resolve_Aggregate): Propagate the null-excluding attribute to the array
3436 components
3437 (Resolve_Array_Aggregate): Carry out some static checks
3438 (Resolve_Record_Aggregate.Get_Value): Carry out some static check
3439
3440 * sem_ch3.adb (Access_Definition): In Ada 0Y the Can_Never_Be_Null
3441 attribute must be set only if specified by means of the null-excluding
3442 part. In addition, we must also propagate the access-constant attribute
3443 if present.
3444 (Access_Subprogram_Declaration, Access_Type_Declaration,
3445 Analyze_Component_Declaration, Analyze_Object_Declaration,
3446 Array_Type_Declaration, Process_Discriminants,
3447 Analyze_Subtype_Declaration): Propagate the null-excluding attribute
3448 and carry out some static checks.
3449 (Build_Derived_Access_Type): Set the null-excluding attribute
3450 (Derived_Type_Declaration, Process_Subtype): Carry out some static
3451 checks.
3452
3453 * sem_ch4.adb (Analyze_Allocator): Carry out some static checks
3454
3455 * sem_ch5.adb (Analyze_Assignment): Carry out some static checks
3456
3457 * sem_ch6.adb (Process_Formals): Carry out some static checks.
3458 (Set_Actual_Subtypes): Generate null-excluding subtype if the
3459 null-excluding part was present; it is not required to be done here in
3460 case of anonymous access types.
3461 (Set_Formal_Mode): Ada 0Y allows anonymous access to have the null
3462 value.
3463
3464 * sem_res.adb (Resolve_Actuals): Carry out some static check
3465 (Resolve_Null): Allow null in anonymous access
3466
3467 * sinfo.adb: New subprogram Null_Exclusion_Present
3468 All_Present and Constant_Present available on access_definition nodes
3469
3470 * sinfo.ads: New flag Null_Exclusion_Present on subtype_declaration,
3471 object_declaration, derived_type_definition, component_definition,
3472 discriminant_specification, access_to_object_definition,
3473 access_function_definition, allocator, access_procedure_definition,
3474 access_definition, parameter_specification, All_Present and
3475 Constant_Present flags available on access_definition nodes.
3476
34772004-03-29 Robert Dewar <dewar@gnat.com>
3478
3479 * fname.adb, fname.ads, fname-sf.adb, fname-uf.adb, fname-uf.ads,
3480 gnat1drv.adb, lib.adb, lib.ads, lib-load.adb, lib-writ.adb,
3481 opt.ads, osint.adb, osint.ads, osint-c.adb, par.adb,
3482 par-ch10.adb, par-load.adb, par-prag.adb, sfn_scan.adb,
3483 sfn_scan.ads, sinput-l.adb, sinput-l.ads, switch-c.adb,
3484 sem_prag.adb: Updates to handle multiple units/file
3485
3486 * par.adb: Change test for s-rpc to s-rp for detecting rpc and children
3487
3488 * par.adb, memtrack.adb, prj-makr.adb, prj-part.adb,
3489 sem_util.adb: Minor reformatting
3490
3491 * sem_ch12.adb: Add comment for previous change
3492
34932004-03-29 Laurent Pautet <pautet@act-europe.fr>
3494
3495 * osint.adb (Executable_Prefix): Set Exec_Name to the current
3496 executable name when not initialized. Otherwise, use its current value.
3497
3498 * osint.ads (Exec_Name): Move Exec_Name from body to spec in order to
3499 initialize it to another executable name than the current one. This
3500 allows to configure paths for an executable name (gnatmake) different
3501 from the current one (gnatdist).
3502
35032004-03-29 Ed Schonberg <schonberg@gnat.com>
3504
3505 * exp_ch6.adb (Expand_Call): A call to a function declared in the
3506 current unit cannot be inlined if it appears in the body of a withed
3507 unit, to avoid order of elaboration problems in gigi.
3508
3509 * exp_ch9.adb (Build_Protected_Sub_Specification): Generate debugging
3510 information for protected (wrapper) operation as well, to simplify gdb
3511 use.
3512
3513 * sem_ch6.adb (Analyze_Subprogram_Body): For a private operation in a
3514 protected body, indicate that the entity for the generated spec comes
3515 from source, to ensure that references are properly generated for it.
3516 (Build_Body_To_Inline): Do not inline a function that returns a
3517 controlled type.
3518
3519 * sem_prag.adb (Process_Convention): If subprogram is overloaded, only
3520 apply convention to homonyms that are declared explicitly.
3521
3522 * sem_res.adb (Make_Call_Into_Operator): If the operation is a function
3523 that renames an equality operator and the operands are overloaded,
3524 resolve them with the declared formal types, before rewriting as an
3525 operator.
3526
35272004-03-29 GNAT Script <nobody@gnat.com>
3528
3529 * Make-lang.in: Makefile automatically updated
3530
6d11af89
AC
35312004-03-25 Vasiliy Fofanov <fofanov@act-europe.fr>
3532
3533 * memtrack.adb: Log realloc calls, which are treated as free followed
3534 by alloc.
3535
35362004-03-25 Vincent Celier <celier@gnat.com>
3537
3538 * prj-makr.adb (Process_Directories): Detect when a file contains
3539 several units. Do not include such files in the config pragmas or
3540 in the naming scheme.
3541
3542 * prj-nmsc.adb (Record_Source): New parameter Trusted_Mode.
3543 Resolve links only when not in Trusted_Mode.
3544 (Find_Sources, Recursive_Find_Dirs, Find_Source_Dirs, Locate_Directory):
3545 Do not resolve links for the display names.
3546
3547 * prj-part.adb (Parse_Single_Project, Project_Path_Name_Of): Do not
3548 resolve links when computing the display names.
3549
35502004-03-25 Thomas Quinot <quinot@act-europe.fr>
3551
3552 * sem_attr.adb (Check_Dereference): When the prefix of a 'Tag
3553 attribute reference does not denote a subtype, it can be any
3554 expression that has a classwide type, potentially after an implicit
3555 dereference. In particular, the prefix can be a view conversion for
3556 a classwide type (for which Is_Object_Reference holds), but it can
3557 also be a value conversion for an access-to-classwide type. In the
3558 latter case, there is an implicit dereference, and the original node
3559 for the prefix does not verify Is_Object_Reference.
3560
3561 * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): A view
3562 conversion of a discriminant-dependent component of a mutable object
3563 is one itself.
3564
35652004-03-25 Ed Schonberg <schonberg@gnat.com>
3566
3567 * freeze.adb (Freeze_Entity): When an inherited subprogram is
3568 inherited, has convention C, and has unconstrained array parameters,
3569 place the corresponding warning on the derived type declaration rather
3570 than the original subprogram.
3571
3572 * sem_ch12.adb (Instantiate_Formal_Subprogram): Set From_Default
3573 indication on renaming declaration, if formal has a box and actual
3574 is absent.
3575
3576 * sem_ch8.adb (Analyze_Subprogram_Renaming): Use From_Default flag to
3577 determine whether to generate an implicit or explicit reference to
3578 the renamed entity.
3579
3580 * sinfo.ads, sinfo.adb: New flag From_Default, to indicate that a
3581 subprogram renaming comes from a defaulted formal subprogram in an
3582 instance.
3583
35842004-03-25 Gary Dismukes <dismukes@gnat.com>
3585
3586 * sem_elab.adb (Check_Elab_Call): Refine loop that checks for default
3587 value expressions to ensure that calls within a component definition
3588 will be checked (since those are evaluated during the record type's
3589 elaboration).
3590
35912004-03-25 Arnaud Charlet <charlet@act-europe.fr>
3592
3593 * s-tpobop.adb: Code clean up:
3594 (Requeue_Call): Extract from PO_Service_Entries to remove duplicated
3595 code.
3596 (PO_Do_Or_Queue): Remove duplicated code and use Requeue_Call.
3597
35982004-03-25 Jose Ruiz <ruiz@act-europe.fr>
3599
3600 * Makefile.in: Clean up in the ravenscar run time.
3601
22421b79
RK
36022004-03-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3603
3604 * decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value
3605 of No_Strict_Aliasing to build_pointer_type_for_mode.
3606 * utils.c (update_pointer_to): Walk pointer and ref chains.
3607
24105bab
AC
36082004-03-22 Cyrille Comar <comar@act-europe.fr>
3609
3610 * ali.ads: Fix Comment about Dynamic_Elab.
3611
3612 * gnatls.adb (Output_Unit): Add output of many flags (Dynamic_Elab,
3613 Has_RACW, Is_Generic, etc.)
3614 (Output_Object, Gnatls): Take into account ALI files not attached to
3615 an object.
3616
36172004-03-22 Vincent Celier <celier@gnat.com>
3618
3619 * gprep.adb: Change all String_Access to Name_Id
3620 (Is_ASCII_Letter): new function
3621 (Double_File_Name_Buffer): New procedure
3622 (Preprocess_Infile_Name): New procedure
3623 (Process_Files): New procedure
3624 (Gnatprep): Check if output and input are existing directories.
3625 Call Process_Files to do the real job.
3626
36272004-03-22 Robert Dewar <dewar@gnat.com>
3628
3629 * prj-env.adb, prj-nmsc.ads, prj-proc.ads,
3630 s-stache.ads, s-stache.adb: Comment updates. Minor reformatting.
3631
36322004-03-22 Sergey Rybin <rybin@act-europe.fr>
3633
3634 * scn.adb (Contains): Add check for EOF, is needed for a degenerated
3635 case when the source contains only comments.
3636
36372004-03-22 Ed Schonberg <schonberg@gnat.com>
3638
3639 * sem_ch10.adb (Analyze_Compilation_Unit): When generating a
3640 declaration for a child subprogram body that acts as a spec, indicate
3641 that the entity in the declaration needs debugging information.
3642
3643 * sem_ch3.adb (Complete_Private_Subtype): Do not build an underlying
3644 full view if the subtype is created for a constrained record component;
3645 gigi has enough information to construct the record, and there is no
3646 place in the tree for the declaration.
3647
3648 * sem_ch6.adb (Build_Body_To_Inline): Use an internal name without
3649 serial number for the dummy body that is built for analysis, to avoid
3650 inconsistencies in the generation of internal names when compiling
3651 with -gnatN.
3652
36532004-03-22 Thomas Quinot <quinot@act-europe.fr>
3654
3655 * sem_util.adb (Is_Object_Reference): A view conversion denotes an
3656 object.
3657
36582004-03-22 GNAT Script <nobody@gnat.com>
3659
3660 * Make-lang.in: Makefile automatically updated
3661
6fce44af
RK
36622004-03-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3663
3664 * decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3665 * trans.c (tree_transform, emit_index_check): Likewise.
3666 * utils.c (build_template): Likewise.
3667 (max_size, convert): Remove handling of WITH_RECORD_EXPR.
3668 (maybe_unconstrained_array, unchecked_convert): Likewise.
3669 * utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise.
3670 (build_unary_op): Likewise.
3671 (compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3672 (fill_vms_descriptor): Likewise.
3673 (build_call_alloc_dealloc): Likewise.
3674 ALIGN is unsigned.
3675 * gigi.h (build_call_alloc_dealloc): Alignment is unsigned.
3676
802f6d4b
JM
36772004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
3678
3679 PR other/14630
3680 * gnat_ug.texi: Add info directory category and entry.
3681 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3682 gnat_ug_wnt.texi: Regenerate.
3683
30f3b32b
AC
36842004-03-19 Arnaud Charlet <charlet@act-europe.fr>
3685
3686 * ada-tree.h: Update copyright notice.
3687 Minor reformatting.
3688
36892004-03-19 Olivier Hainque <hainque@act-europe.fr>
3690
3691 * decl.c (gnat_to_gnu_entity, case E_Exception): Handle VMS exceptions
3692 as regular exception objects and not as mere integers representing the
3693 condition code. The latter approach required some dynamics to mask off
3694 severity bits, which did not fit well into the GCC table based model.
3695 (gnat_to_gnu_entity, objects): Don't supply an external name for VMS
3696 exception data objects. We don't it and it would conflict with the other
3697 external symbol we have to generate for such exceptions.
3698
3699 * trans.c (tree_transform, case N_Exception_Handler): Remove part of
3700 the special code for VMS exceptions, since these are now represented
3701 as regular exceptions objects.
3702
7548281d
RK
37032004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3704
3705 * decl.c (debug_no_type_hash): Remove.
3706 (gnat_to_gnu_entity, case E_Array_Type): Don't set and clear it.
3707 * misc.c (LANG_HOOK_HASH_TYPE): Redefine.
3708
7324bf49 37092004-03-19 Laurent Guerby <laurent@guerby.net>
dbee7ab9 3710
90afe2c9 3711 * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of
dbee7ab9 3712 aggregate, allows bootstrap from 3.3 on powerpc-darwin.
90afe2c9 3713
eb34af89
RK
37142004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3715
3716 * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking.
3717 (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise.
3718 (TYPE_RM_SIZE_INT): Directly use type.values.
3719 (TREE_LOOP_ID): Clean up check.
3720 * decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use
3721 TYPE_VALUES, not TYPE_FIELDS.
3722 * trans.c (convert_with_check): Delay access of bounds of basetype
3723 until sure is numeric.
3724
a336eaca
AC
37252004-03-18 Arnaud Charlet <charlet@act-europe.fr>
3726
3727 * 5atpopsp.adb: Remove RTEMS from list of platforms using this file.
3728
3729 Code clean up:
3730 * 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb,
3731 5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use
3732 Specific.Set instead of direct call to e.g pthread_setspecific.
3733
37342004-03-18 Thomas Quinot <quinot@act-europe.fr>
3735
3736 * adaint.c: Update comments.
3737
3738 * Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and
3739 GNATLIB_SHARED for FreeBSD.
3740
37412004-03-18 Jose Ruiz <ruiz@act-europe.fr>
3742
3743 * init.c [VxWorks]: Do not fix the stack size for the environment task.
3744 When needed (stack checking) the stack size is retrieved
3745 from the VxWorks kernel.
3746
3747 * Makefile.in: Flag -nostdinc is required when building the run time
3748 for avoiding looking for files in the base compiler.
3749 Add the VxWorks specific version of the package body for
3750 System.Stack_checking.Operations (5zstchop.adb).
3751
3752 * Make-lang.in: Add the object file for
3753 System.Stack_Checking.Operations.
3754
3755 * Makefile.rtl: Add object file for the package
3756 System.Stack_Checking.Operations.
3757
3758 * s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files.
3759
3760 * s-stache.ads, s-stache.adb: Move the operations related to stack
3761 checking from this package to package System.Stack_Checking.Operations.
3762 This way, stack checking operations are only linked in the final
3763 executable when using the -fstack-check flag.
3764
37652004-03-18 Doug Rupp <rupp@gnat.com>
3766
3767 * Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads).
3768 Reorganize ifeq's.
3769
3770 * 5qsystem.ads, 5xcrtl.ads: New files.
3771
37722004-03-18 Vincent Celier <celier@gnat.com>
3773
3774 * prj.adb (Reset): Reset hash table Files_Htable
3775
3776 * prj-env.adb (Source_Paths, Object_Paths): New tables.
3777 (Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace
3778 the procedures Add_To_Path_File.
3779 (Set_Ada_Paths): Accumulate source and object dirs in the tables,
3780 making sure that each directory is present only once and, for object
3781 dirs, when a directory already present is added, the duplicate is
3782 removed and the directory is always put as the last in the table.
3783 Write the path files at the end of these accumulations.
3784
3785 * prj-nmsc.adb (Record_Source): Add source file name in hash table
3786 Files_Htable for all sources.
3787
3788 * prj-proc.adb (Process): Remove restrictions between not directly
3789 related extending projects.
3790
37912004-03-18 Emmanuel Briot <briot@act-europe.fr>
3792
3793 * prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode.
3794 (Find_Sources): Minor speed optimization.
3795
3796 * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New
3797 parameter Trusted_Mode.
3798
37992004-03-18 Sergey Rybin <rybin@act-europe.fr>
3800
3801 * scn.adb (Determine_License): Take into account a degenerated case
3802 when the source contains only comments.
3803
38042004-03-18 Ed Schonberg <schonberg@gnat.com>
3805
3806 * sem_warn.adb (Check_References): For a warning on a selected
3807 component that does not come from source, locate an uninitialized
3808 component of the record type to produce a more precise error message.
3809
e6f69614
AC
38102004-03-15 Jerome Guitton <guitton@act-europe.fr>
3811
3812 * 3zsoccon.ads: Fix multicast options.
3813
3814 * s-thread.ads: Move unchecked conversion from ATSD_Access to Address
3815 in the spec.
3816
38172004-03-15 Robert Dewar <dewar@gnat.com>
3818
3819 * sem_prag.adb: Make sure No_Strict_Aliasing flag is set right when
3820 pragma used for a private type.
3821
3822 * lib-xref.adb (Generate_Reference): Do not generate warning if
3823 reference is in a different unit from the pragma Unreferenced.
3824
3825 * 5vtpopde.adb: Minor reformatting
3826 Fix casing of To_Task_ID
3827
3828 * sem_ch13.adb (Validate_Unchecked_Conversion): Set No_Strict_Aliasing
3829 flag if we have an unchecked conversion to an access type in the same
3830 unit.
3831
38322004-03-15 Geert Bosch <bosch@gnat.com>
3833
3834 * a-ngcoty.adb (Modulus): In alternate formula for large real or
3835 imaginary parts, use Double precision throughout.
3836
3837 * a-tifiio.adb (Put_Scaled): Remove remaining pragma Debug. Not only
3838 we want to be able to compile run-time with -gnata for testing, but
3839 this may also be instantiated in user code that is compiled with -gnata.
3840
38412004-03-15 Olivier Hainque <hainque@act-europe.fr>
3842
3843 * s-stalib.ads (Exception_Code): New type, to represent Import/Export
3844 codes. Having a separate type for this is useful to enforce consistency
3845 throughout the various run-time units.
3846 (Exception_Data): Use Exception_Code for Import_Code.
3847
3848 * s-vmextra.ads, s-vmexta.adb: Use Exception_Code instead of a mix of
3849 Natural and Integer in various places.
3850 (Register_VMS_Exception): Use Base_Code_In to compute the exception code
3851 with the severity bits masked off.
3852 (Register_VMS_Exception): Handle the additional exception data pointer
3853 argument.
3854
3855 * raise.c (_GNAT_Exception structure): Remove the handled_by_others
3856 component, now reflected by an exported accessor.
3857 (is_handled_by): New routine to compute whether the propagated
3858 occurrence matches some handler choice specification. Extracted out of
3859 get_action_description_for, and expanded to take care of the VMS
3860 specifities.
3861 (get_action_description_for): Use is_handled_by instead of an explicit
3862 complex condition to decide if the current choice at hand catches the
3863 propagated occurrence.
3864
3865 * raise.h (Exception_Code): New type for C.
3866
3867 * rtsfind.ads (RE_Id, RE_Unit_Table): Add
3868 System.Standard_Library.Exception_Code, to allow references from the
3869 pragma import/export expander.
3870
3871 * a-exexpr.adb (Is_Handled_By_Others, Language_For, Import_Code_For):
3872 New accessors to allow easy access to GNAT exception data
3873 characteristics.
3874 (GNAT_GCC_Exception record, Propagate_Exception): Get rid of the
3875 redundant Handled_By_Others component, helper for the personality
3876 routine which will now be able to call the appropriate exception data
3877 accessor instead.
3878
3879 * cstand.adb (Create_Standard): Adjust the type of the Import_Code
3880 component of Standard_Exception_Type to be the closest possible to
3881 Exception_Code in System.Standard_Library, that we cannot get at this
3882 point. Expand a ??? comment to notify that this type node should
3883 probably be rewritten later on.
3884
3885 * exp_prag.adb (Expand_Pragma_Import_Export_Exception): Adjust the
3886 registration call to include a pointer to the exception object in the
3887 arguments.
3888
3889 * init.c (__gnat_error_handler): Use Exception_Code and Base_Code_In
3890 instead of int and explicit bitmasks.
3891
38922004-03-15 Vincent Celier <celier@gnat.com>
3893
3894 * vms_data.ads: Add new GNAT BIND qualifier /STATIC. Makes /NOSHARED
3895 equivalent to /STATIC and /NOSTATIC equivalent to /SHARED.
3896
3897 * a-tasatt.adb (To_Access_Code): Remove this UC instantiation, no
3898 longer needed now that it is in the spec of
3899 System.Tasking.Task_Attributes.
3900
3901 * adaint.h, adaint.c: (__gnat_create_output_file): New function
3902
3903 * gnatcmd.adb: Fix bug introduced in previous rev: /= instead of =
3904
3905 * g-os_lib.ads, g-os_lib.adb (Create_Output_Text_File): New function.
3906
3907 * make.adb (Gnatmake): Do not check the executable suffix; it is being
3908 taken care of in Scan_Make_Arg.
3909 (Scan_Make_Arg): Add the executable suffix only if the argument
3910 following -o, in canonical case, does not end with the executable
3911 suffix. When in verbose mode and executable file name does not end
3912 with executable suffix, output the executable name, in canonical case.
3913
3914 * s-tataat.ads (Access_Dummy_Wrapper): Add pragma No_Strict_Aliasing
3915 to avoid warnings when instantiating Ada.Task_Attributes.
3916 Minor reformating.
3917
3918 * mlib-prj.adb (Process_Imported_Libraries): Get the imported libraries
3919 in the correct order.
3920
3921 * prj-makr.adb (Process_Directory): No longer use GNAT.Expect, but
3922 redirect standard output and error to a file for the invocation of the
3923 compiler, then read the file.
3924
3925 * prj-nmsc.adb (Find_Sources): Use the Display_Value for each
3926 directory, instead of the Value.
3927 (Find_Source_Dirs): Remove useless code & comments.
3928
39292004-03-15 Ed Schonberg <schonberg@gnat.com>
3930
3931 * exp_ch3.adb (Freeze_Record_Type): If a primitive operation of a
3932 tagged type is inherited, and the parent operation is not frozen yet,
3933 force generation of a freeze node for the inherited operation, so the
3934 corresponding dispatch entry is properly initialized.
3935 (Make_Predefined_Primitive_Specs): Check that return type is Boolean
3936 when looking for user-defined equality operation.
3937
3938 * exp_ch4.adb (Expand_Composite_Equality): Check that return type is
3939 boolean when locating primitive equality of tagged component.
3940
3941 * exp_ch5.adb (Expand_Assign_Array): If the left-hand side is a
3942 bit-aligned field and the right-hand side a string literal, introduce
3943 a temporary before expanding assignment into a loop.
3944
3945 * exp_ch9.adb (Expand_N_Task_Type_Declaration): Copy expression for
3946 priority in full, to ensure that any expanded subepxressions of it are
3947 elaborated in the scope of the init_proc.
3948
3949 * exp_prag.adb (Expand_Pragma_Import): Search for initialization call
3950 after object declaration, skipping over code that may have been
3951 generated for validity checks.
3952
3953 * sem_ch12.adb (Validate_Private_Type_Instance): If type has unknown
3954 discriminants, ignore the known discriminants of its full view, if
3955 any, to check legality.
3956
3957 * sem_ch3.adb (Complete_Private_Subtype): Do not create constrained
3958 component if type has unknown discriminants.
3959 (Analyze_Private_Extension_Declaration): Discriminant constraint is
3960 null if type has unknown discriminants.
3961
3962 * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Generate reference
3963 for end label when present.
3964
3965 * s-fileio.adb (Open): When called with a C_Stream, use given name for
3966 temporary file, rather than an empty string.
3967
39682004-03-15 Ed Falis <falis@gnat.com>
3969
3970 * s-thread.adb: Removed, no longer used.
3971
39722004-03-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3973
3974 * decl.c (target.h): Now include.
3975 (gnat_to_gnu_entity, case E_Access_Type): Use mode derived from ESIZE
3976 in new build_pointer_from_mode calls for non-fat/non-thin pointer.
3977 (validate_size): For POINTER_TYPE, get smallest size permitted on
3978 machine.
3979
3980 * fe.h: Sort Einfo decls and add Set_Mechanism.
3981
3982 * Makefile.in: (LIBGNAT_SRCS): Remove types.h.
3983 (ada/decl.o): Depends on target.h.
3984
3985 * trans.c (tree_transform, N_Unchecked_Type_Conversion): Do not use
3986 FUNCTION_BOUNDARY; always use TYPE_ALIGN.
3987
39882004-03-15 Thomas Quinot <quinot@act-europe.fr>
3989
3990 * 5ztpopsp.adb, 56tpopsp.adb: Fix spelling of Task_ID.
3991
3992 * exp_ch4.adb (Expand_N_Indexed_Component): Do not call
3993 Insert_Dereference_Action when rewriting an implicit dereference into
3994 an explicit one, this will be taken care of during expansion of the
3995 explicit dereference.
3996 (Expand_N_Slice): Same. Always do the rewriting, even for the case
3997 of non-packed slices, since the dereference action generated by
3998 expansion of the explicit dereference is needed in any case.
3999 (Expand_N_Selected_Component): When rewriting an implicit dereference,
4000 analyze and resolve the rewritten explicit dereference so it is seen
4001 by the expander.
4002 (Insert_Dereference_Action): This procedure is now called only for the
4003 expansion of an N_Explcit_Dereference_Node. Do insert a check even for
4004 dereferences that do not come from source (including explicit
4005 dereferences resulting from rewriting implicit ones), but do not
4006 recursively insert a check for the dereference nodes contained within
4007 the check.
4008 (Insert_Dereference_Action): Clarify and correct comment.
4009
e4c9c075
PB
40102004-03-08 Paolo Bonzini <bonzini@gnu.org>
4011
4012 PR ada/14131
4013 Move language detection to the top level.
4014 * config-lang.in: Build by default.
4015
8a6a52dc
AC
40162004-03-05 Robert Dewar <dewar@gnat.com>
4017
4018 * 56taprop.adb, 5ataprop.adb: Remove unneeded unchecked conversions
4019
4020 * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads,
4021 i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads,
90afe2c9 4022 5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb,
8a6a52dc
AC
4023 5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move
4024 unchecked conversion to spec to avoid warnings.
4025
4026 * s-tasini.adb, s-taskin.ads, 5atpopsp.adb: Correct spelling Task_Id
4027 to Task_ID
4028
4029 * 7stpopsp.adb: Correct casing in To_Task_ID call
4030
4031 * a-strsea.ads, a-strsea.adb: Minor reformatting
4032
4033 * einfo.ads, einfo.adb: Define new flag No_Strict_Aliasing
4034
4035 * errout.ads: Switch for VMS is now NO_STRICT_ALIASING.
4036 Adjust Max_Msg_Length to be clearly large enough.
4037
4038 * fe.h: Define In_Same_Source_Unit
4039
4040 * osint.adb: Add pragma Warnings Off to suppress warnings
4041 * g-dyntab.adb, g-table.adb, g-thread.adb: Add Warnings (Off) to kill
4042 aliasing warnings.
4043
4044 * opt.ads: Put entries in alpha order. Add entry for No_Strict_Aliasing
4045
4046 * par-prag.adb: Add dummy entry for No_Strict_Aliasing pragma
4047
4048 * sem_ch13.adb: Generate validate unchecked conversion nodes for gcc.
4049
4050 * sem_ch3.adb: Set No_Strict_Aliasing flag if config pragma set.
4051
4052 * sem_prag.adb: Implement pragma No_Strict_Aliasing.
4053
4054 * sinfo.ads: Remove obsolete comment on validate unchecked conversion
4055 node. We now do generate them for gcc back end.
4056
4057 * table.adb, sinput.adb: Add pragma Warnings Off to suppress aliasing
4058 warning.
4059
4060 * sinput-c.adb: Fix bad name in header.
4061 Add pragma Warnings Off to suppress aliasing warning.
4062
4063 * sinput-l.adb: Add pragma Warnings Off to suppress aliasing warning.
4064
4065 * snames.h, snames.ads, snames.adb: Add entry for pragma
4066 No_Strict_Aliasing.
4067
40682004-03-05 Vincent Celier <celier@gnat.com>
4069
4070 * prj-com.ads: Add hash table Files_Htable to check when a file name
4071 is already a source of another project.
4072
4073 * prj-nmsc.adb (Record_Source): Before recording a new source, check
4074 if its file name is not already a source of another project. Report an
4075 error if it is.
4076
4077 * gnatcmd.adb: When GNAT PRETTY is invoked with a project file and no
4078 source file name, call gnatpp with all the sources of the main project.
4079
4080 * vms_conv.adb (Initialize): GNAT PRETTY may be called with any number
4081 of file names.
4082
4083 * vms_data.ads: Correct documentation of new /OPTIMIZE keyword
4084 NO_STRICT_ALIASING. Add new qualifier for GNAT PRETTY:
4085 /RUNTIME_SYSTEM=, converted to --RTS=
4086 /NOTABS, converted to -notabs
4087
40882004-03-05 Pascal Obry <obry@gnat.com>
4089
4090 * make.adb: Minor reformatting.
4091
40922004-03-05 Ed Schonberg <schonberg@gnat.com>
4093
4094 Part of implemention of AI-262.
4095 * par-ch10.adb (P_Context_Clause): Recognize private with_clauses.
4096
4097 * sem_ch10.ads, sem_ch10.adb: (Install_Private_With_Clauses): New
4098 procedure.
4099
4100 * sem_ch3.adb (Analyze_Component_Declaration): Improve error message
4101 when component type is a partially constrained class-wide subtype.
4102 (Constrain_Discriminated_Type): If parent type has unknown
4103 discriminants, a constraint is illegal, even if full view has
4104 discriminants.
4105 (Build_Derived_Record_Type): Inherit discriminants when deriving a type
4106 with unknown discriminants whose full view is a discriminated record.
4107
4108 * sem_ch7.adb (Preserve_Full_Attributes): Preserve Has_Discriminants
4109 flag, to handle properly derivations of tagged types with unknown
4110 discriminants.
4111 (Analyze_Package_Spec, Analyze_Package_Body): Install
4112 Private_With_Clauses before analyzing private part or body.
4113
4114 * einfo.ads: Indicate that both Has_Unknown_Discriminants and
4115 Has_Discriminants can be true for a given type (documentation).
4116
41172004-03-05 Arnaud Charlet <charlet@act-europe.fr>
4118
4119 * s-restri.ads: Fix license (GPL->GMGPL).
4120
4121 * s-tassta.adb: Minor reformatting.
4122
4123 * s-tasren.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
4124 by calls to Exit_One_ATC_Level, since additional clean up is performed
4125 by this function.
4126
4127 * s-tpobop.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
4128 by calls to Exit_One_ATC_Level, since additional clean up is performed
4129 by this function.
4130
41312004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4132
4133 * trans.c: Reflect GCC changes to fix bootstrap problem.
4134 Add warning for suspicious aliasing unchecked conversion.
4135
41362004-03-05 GNAT Script <nobody@gnat.com>
4137
4138 * Make-lang.in: Makefile automatically updated
4139
555360a5
AC
41402004-03-02 Emmanuel Briot <briot@act-europe.fr>
4141
4142 * ali.adb (Read_Instantiation_Instance): Do not modify the
4143 current_file_num when reading information about instantiations, since
4144 this corrupts files in later references.
4145
41462004-03-02 Vincent Celier <celier@gnat.com>
4147
4148 * bcheck.adb (Check_Consistency): Get the full path of an ALI file
4149 before checking if it is read-only.
4150
4151 * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front
4152 of SRC_DIRS and eliminate duplicates.
4153
4154 * gprcmd.adb: Replace command "path" with command "path_sep" to return
4155 the path separator.
4156 (Usage): Document path_sep
4157
4158 * Makefile.generic: For Ada and GNU C++ cases, link directly with the
4159 C++ compiler. No need for a script.
4160 Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH.
4161 Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function
4162 subst.
4163
4164 * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project
4165 where there are Ada sources.
4166 (Set_Ada_Paths): Only add to the include path the source dirs of project
4167 with Ada sources.
4168 (Add_To_Path): Add the Display_Values of the directories, not their
4169 Values.
4170
4171 * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project
4172 data.
4173
4174 * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value
4175 is not No_Name.
4176 (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only
4177 Value is canonicalized.
4178 (Language_Independent_Check): Do not copy Value to Display_Value when
4179 canonicalizing Value.
4180
4181 * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased
4182 path to find limited with cycles.
4183 (Parse_Single_Project): Use canonical cased path to find the end of a
4184 with cycle.
4185
41862004-03-02 Ed Schonberg <schonberg@gnat.com>
4187
4188 * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit
4189 and not a child unit.
4190
4191 * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can
4192 appear in a with_clause.
4193
4194 * decl.c (gnat_to_gnu_type): If entity is a generic type, which can
4195 only happen in type_annotate mode, do not try to elaborate it.
4196
4197 * exp_util.adb (Force_Evaluation): If expression is a selected
4198 component on the left of an assignment, use a renaming rather than a
4199 temporary to remove side effects.
4200
4201 * freeze.adb (Freeze_Entity): Do not freeze a global entity within an
4202 inlined instance body, which is analyzed before the end of the
4203 enclosing scope.
4204
42052004-03-02 Robert Dewar <dewar@gnat.com>
4206
4207 * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb,
4208 sem_ch4.adb: Use new feature for substitution of keywords in VMS
4209
4210 * errout.ads, errout.adb: Implement new circuit for substitution of
4211 keywords in VMS.
4212
4213 * sem_case.adb (Analyze_Choices): Place message properly when case is
4214 a subtype reference rather than an explicit range.
4215
4216 * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting
4217
42182004-03-02 Doug Rupp <rupp@gnat.com>
4219
4220 * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF.
4221
42222004-03-02 Thomas Quinot <quinot@act-europe.fr>
4223
4224 * s-tporft.adb: Add missing locking around call to Initialize_ATCB.
4225
42262004-03-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4227
4228 * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a
4229 BLKmode bitfield.
4230
8a7988f5
AC
42312004-02-25 Robert Dewar <dewar@gnat.com>
4232
4233 * 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads,
4234 55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads,
4235 5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads,
4236 5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads,
4237 5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads,
4238 5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to
4239 the defining instance of the type to avoid aliasing problems.
4240 Fix copyright header. Fix bad comments in package header.
4241
4242 * exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting
4243
42442004-02-25 Ed Schonberg <schonberg@gnat.com>
4245
4246 * exp_ch2.adb (Param_Entity): Handle properly formals that have been
4247 rewritten as references when aliased through an address clause.
4248
4249 * sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking
4250 whether call can be interpreted as an indirect call to the result of a
4251 parameterless function call returning an access subprogram.
4252
42532004-02-25 Arnaud Charlet <charlet@act-europe.fr>
4254
4255 Code clean up:
4256 * exp_ch7.adb (Make_Clean): Remove generation of calls to
4257 Unlock[_Entries], since this is now done by Service_Entries directly.
4258
4259 * exp_ch9.adb (Build_Protected_Subprogram_Body): ditto.
4260
4261 * s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure
4262 Requeue_Call for better code readability. Change spec and update calls:
4263 PO_Service_Entries now unlock the PO on exit.
4264 (Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to
4265 PO_Service_Entries.
4266
4267 * s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit.
4268
4269 * s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries.
4270
42712004-02-25 Sergey Rybin <rybin@act-europe.fr>
4272
4273 * exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the
4274 protected subprogram call and analyzing the result of such expanding
4275 in case when the called protected subprogram is eliminated.
4276
4277 * sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope
4278 names.
4279
42802004-02-25 Jerome Guitton <guitton@act-europe.fr>
4281
4282 * Makefile.in: Clean ups.
4283
6871ba5f
AC
42842004-02-23 Ed Schonberg <schonberg@gnat.com>
4285
4286 * exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create
4287 protected operations if original subprogram is flagged as eliminated.
4288 (Expand_N_Subprogram_Body): For a protected operation, create
4289 discriminals for next operation before checking whether the operation
4290 is eliminated.
4291
4292 * exp_ch9.adb (Expand_N_Protected_Body,
4293 Expand_N_Protected_Type_Declaration): Do not generate specs and bodies
4294 for internal protected operations if the original subprogram is
4295 eliminated.
4296
4297 * sem_elim.adb (Check_Eliminated): Handle properly protected operations
4298 declared in a single protected object.
4299
43002004-02-23 Vincent Celier <celier@gnat.com>
4301
4302 * prj-attr.adb: Make attribute Builder'Executable an associative array,
4303 case insensitive if file names are case insensitive, instead of a
4304 standard associative array.
4305
4306 * prj-attr.adb (Initialize): For 'b' associative arrays, do not set
4307 them as case insensitive on platforms where the file names are case
4308 sensitive.
4309
4310 * prj-part.adb (Parse_Single_Project): Make sure, when checking if
4311 project file has already been parsed that canonical path are compared.
4312
43132004-02-23 Robert Dewar <dewar@gnat.com>
4314
4315 * sinput-c.ads: Correct bad unit title in header
4316
4317 * freeze.adb: Minor reformatting
4318
43192004-02-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4320
4321 * trans.c (tree_transform, case N_Procedure_Call_Statement): For
4322 nonaddressable COMPONENT_REF that is removing padding that we are
4323 taking the address of, take the address of the padded record instead
4324 if item is variable size.
4325
6e059adb
AC
43262004-02-20 Robert Dewar <dewar@gnat.com>
4327
4328 * bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting
4329
43302004-02-20 Ed Schonberg <schonberg@gnat.com>
4331
4332 * freeze.adb (Freeze_Record_Type): Generalize mechanism that generates
4333 itype references for the constrained designated type of a component
4334 whose base type is already frozen.
4335
43362004-02-20 Arnaud Charlet <charlet@act-europe.fr>
4337
4338 * init.c (__gnat_error_handler [tru64]): Rewrite previous change to
4339 avoid GCC warnings.
4340
43412004-02-20 Sergey Rybin <rybin@act-europe.fr>
4342
4343 * sem_ch12.adb (Analyze_Formal_Package): Create a new defining
4344 identifier for a phantom package that rewrites the formal package
4345 declaration with a box. The Add semantic decorations for the defining
4346 identifier from the original node (that represents the formal package).
4347
88e3a2a3
MK
43482004-02-19 Matt Kraai <kraai@alumni.cmu.edu>
4349
4350 * Make-lang.in (ada/stamp-sdefault): Use the top level
4351 move-if-change.
4352
4221057e
RH
43532004-02-19 Richard Henderson <rth@redhat.com>
4354
4355 * misc.c (record_code_position): Add third build arg for RTL_EXPR.
4356
5c1c8a03
AC
43572004-02-18 Emmanuel Briot <briot@act-europe.fr>
4358
4359 * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that
4360 Scan_ALI can be used for multiple ALI files without reinitializing
4361 between calls.
4362
43632004-02-18 Robert Dewar <dewar@gnat.com>
4364
4365 * debug.adb: Minor reformatting.
4366
43672004-02-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4368
4369 * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET
4370 to zero if there is an address clause.
4371
43722004-02-18 Thomas Quinot <quinot@act-europe.fr>
4373
4374 * exp_util.adb (Side_Effect_Free): Any literal is side effects free.
4375
43762004-02-18 Gary Dismukes <dismukes@gnat.com>
4377
4378 * layout.adb (Layout_Component_List): Revise generation of call to
4379 discriminant-checking function to pass selections of all of the type's
4380 discriminants rather than just the variant-controlling discriminant.
4381
43822004-02-18 Olivier Hainque <hainque@act-europe.fr>
4383
4384 * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to
4385 fail in the current setup and triggers spurious system error messages.
4386 Pretend it occurred and failed instead.
4387
43882004-02-18 Vincent Celier <celier@gnat.com>
4389
4390 * bld.adb: Mark FLDFLAGS as saved
4391 (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when
4392 it is not the root project. Put each directory to be
4393 extended between double quotes to prevent it to be expanded on Windows.
4394 (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing
4395 the project file. Set them back to their initial values if they have not
4396 been set in the project file.
4397
4398 * gprcmd.adb: (Gprdebug, Debug): New global variables
4399 (Display_Command): New procedure
4400 (Usage): Document new command "linkopts"
4401 Call Display_Command when env var GPRDEBUG has the value "TRUE"
4402 Implement new command "linkopts"
4403 Remove quotes that may be around arguments for "extend"
4404 Always call Normalize_Pathname with arguments formatted for the platform
4405
4406 * Makefile.generic: Link C/C++ mains with $(FLDFLAGS)
4407 Change @echo to @$(display) in target clean to be able to clean silently
4408
4409 * Makefile.prolog: Save FLDFLAGS and give it an initial empty value
4410
4411 * prj-part.adb (Project_Path_Name_Of): Do not put final result in
4412 canonical case.
4413
4414 * prj-part.adb (Parse_Single_Project): Always call with From_Extended
4415 = Extending_All when current project is an extending all project.
4416
4417 * vms_conv.adb (Output_File_Expected): New Boolean global variable,
4418 set to True only for LINK command, after Unix switch -o.
4419 (Process_Arguments): Set Output_File_Expected to True for LINK command
4420 after Unix switch -o. When Output_File_Expected is True, never add an
4421 extension to a file name.
4422
4423 * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the
4424 option file name, only to the --for-linker= switch.
4425 (Option_File_Name): If option file name do not end with ".opt", append
4426 "/OPTIONS".
4427
44282004-02-18 GNAT Script <nobody@gnat.com>
4429
4430 * Make-lang.in: Makefile automatically updated
4431
80bcb4d2
MK
44322004-02-17 Matt Kraai <kraai@alumni.cmu.edu>
4433
4434 * Make-lang.in (stamp-sdefault): Do not depend on
4435 move-if-change.
4436
1daa84b6
ZW
44372004-02-12 Zack Weinberg <zack@codesourcery.com>
4438
4439 * config-lang.in: Disable Ada by default until probe logic for
4440 a bootstrap Ada compiler can be moved to the top level configure
4441 script.
4442
18c0ecbe
AC
44432004-02-12 Olivier Hainque <hainque@act-europe.fr>
4444
4445 * decl.c (components_to_record): Don't claim that the internal fields
4446 we make to hold the variant parts are semantically addressable, because
4447 they are not.
4448
4449 * exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and
4450 adjust the comment describing the modular type form when we can use it.
4451 (Install_PAT): Account for the Esiz renaming.
4452
4453 * init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the
4454 sc_onstack context indication before raising the exception to which
4455 the signal is mapped. Allows better handling of later signals possibly
4456 triggered by the resumed user code if the exception is handled.
4457
44582004-02-12 Arnaud Charlet <charlet@act-europe.fr>
4459
4460 * 5zinit.adb: Removed, no longer used.
4461
44622004-02-12 Robert Dewar <dewar@gnat.com>
4463
4464 * ali.adb: Remove separating space between parameters on R line. Makes
4465 format consistent with format used by the binder for Set_Globals call.
4466
4467 * atree.ads, atree.adb: Minor reformatting (new function header format)
4468
4469 * bindgen.adb: Add Run-Time Globals documentation section containing
4470 detailed documentation of the globals passed from the binder file to
4471 the run time.
4472
4473 * gnatls.adb: Minor reformatting
4474
4475 * init.c (__gnat_set_globals): Add note pointing to documentation in
4476 bindgen.
4477
4478 * lib-writ.ads, lib-writ.adb: Remove separating space between
4479 parameters on R line.
4480 Makes format consistent with format used by the binder for Set_Globals
4481 call.
4482
4483 * osint.ads: Add 2004 to copyright notice
4484 Minor reformatting
4485
4486 * snames.ads: Correct capitalization of FIFO_Within_Priorities
4487 Noticed during code reading, documentation issue only
4488
4489 * usage.adb: Remove junk line for obsolete C switch
4490 Noticed during code reading
4491
44922004-02-12 Vincent Celier <celier@gnat.com>
4493
4494 * bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd
4495 extend for each directory, so that multiple /** directories are
4496 extended individually.
4497 (Recursive_Process): Set the default for LANGUAGES to ada
4498
4499 * gprcmd.adb: Define new command "ignore", to do nothing.
4500 Implement new comment "path".
4501
4502 * Makefile.generic: Suppress output when SILENT is set
4503 Make sure that when compiler for C/C++ is gcc, the correct -x switch is
4504 used, so that the correct compiler is invoked.
4505 When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/
4506 CXX_INCLUDE_PATH, to avoid failure with too long command lines.
4507
45082004-02-12 Jerome Guitton <guitton@act-europe.fr>
4509
4510 * Makefile.in: Clean ups and remove obsolete targets.
4511
45122004-02-12 Ed Schonberg <schonberg@gnat.com>
4513
4514 * exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar
4515 predicate declared in exp_util.
4516
4517 * exp_util.adb: Add comments.
4518
4519 * sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from
4520 visibility before compiling context of the subunit.
4521
4522 * sem_res.adb (Check_Parameterless_Call): If the context expects a
4523 value but the name is a procedure, do not attempt to analyze as a call,
4524 in order to obtain more telling diagnostics.
4525
4526 * sem_util.adb (Wrong_Type): Further enhancement to diagnose missing
4527 'Access on parameterless function calls.
4528 (Normalize_Actuals): For a parameterless function call with missing
4529 actuals, defer diagnostic until resolution of enclosing call.
4530
4531 * sem_util.adb (Wrong_Type): If the context type is an access to
4532 subprogram and the expression is a procedure name, suggest a missing
4533 'attribute.
4534
c1dcfa14
AC
45352004-02-10 Arnaud Charlet <charlet@act-europe.fr>,
4536 Nathanael Nerode <neroden@gcc.gnu.org>
4537
4538 PR ada/6637, PR ada/5911
4539 Merge with libada-branch:
90afe2c9 4540 * config-lang.in: Build libada only when ada is built.
c1dcfa14 4541
2e071734
AC
45422004-02-09 Ed Schonberg <schonberg@gnat.com>
4543
4544 * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality
4545 for a tagged type, verify that both formals have the same type.
4546
4547 * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the
4548 temporary when the formal is an in-parameter and the actual a possibly
4549 unaligned slice.
4550
4551 * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even
4552 when expansion is disabled, to ensure proper name capture with
4553 overloaded literals. Condition can be of any boolean type, resolve
4554 accordingly.
4555
4556 * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the
4557 renaming is for a formal subprogram with a default operator name, and
4558 there is a usable operator that is visible at the point of
4559 instantiation.
4560
45612004-02-09 Robert Dewar <dewar@gnat.com>
4562
4563 * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major
4564 rewrite to ignore errors in ali files, intended to allow tools downward
4565 compatibility with new versions of ali files.
4566
4567 * ali.ads: Add new parameter Ignore_Errors
4568
4569 * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes
4570 duplicating the error message giving the file with restrictions.
4571
4572 * debug.adb: Add debug flag I for gnatbind
4573
4574 * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around
4575 operators for the case where the operator is a defining operator.
4576
4577 * exp_ch3.adb: Minor reformatting (new function spec format).
4578
4579 * exp_ch4.adb: Add comment for previous change, and make minor
4580 adjustment to loop to always check for improper loop termination.
4581 Minor reformatting throughout (new function spec format).
4582
4583 * gnatbind.adb: Implement -di debug flag for gnatbind
4584
4585 * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True
4586
4587 * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True
4588
4589 * lib-load.adb: Fix bad assertion.
4590 Found by testing and code reading.
4591 Minor reformatting.
4592
4593 * lib-load.ads: Minor reformatting.
4594
4595 * lib-writ.adb: There is only one R line now.
4596
4597 * lib-writ.ads: Add documentation on making downward compatible changes
4598 to ali files so old tools work with new ali files.
4599 There is only one R line now.
4600 Add documentation on format incompatibilities (with special GPS note)
4601
4602 * namet.ads, namet.adb: (Is_Operator_Name): New procedure
4603
4604 * par-load.adb: Minor reformatting
4605
4606 * sem_ch8.adb: Fix to error message from last update
4607 Minor reformatting and restructuring of code from last update
4608
4609 * par-prag.adb, snames.adb, snames.ads, snames.h,
4610 sem_prag.adb: Implement pragma Profile.
4611
4612 * stylesw.adb: Implement -gnatyN switch to turn off all style check
4613 options.
4614
4615 * usage.adb: Add line for -gnatyN switch
4616
4617 * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN
4618
a41ea816
AC
46192004-02-09 Albert Lee <lee@gnat.com>
4620
4621 * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX
4622
46232004-02-09 Ed Schonberg <schonberg@gnat.com>
4624
4625 * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null
4626 slices.
4627
4628 * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram
4629 is nested in an instance that is not frozen yet, to avoid
4630 order-of-elaboration problems in gigi.
4631
4632 * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined
4633 body the attribute is legal.
4634
46352004-02-09 Robert Dewar <dewar@gnat.com>
4636
4637 * s-rident.ads: Minor comment correction
4638
4639 * targparm.adb: Remove dependence on uintp completely. There was
4640 always a bug in Make in that it called Targparm before initializing
4641 the Uint package. The old code appeared to get away with this, but
4642 the new code did not! This caused an assertion error in gnatmake.
4643
4644 * targparm.ads: Fix bad comment, restriction pragmas with parameters
4645 are indeed fully supported.
4646
725c60f8
AM
46472004-02-06 Alan Modra <amodra@bigpond.net.au>
4648
4649 * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.
4650
136e64db
KH
46512004-02-05 Kazu Hirata <kazu@cs.umass.edu>
4652
4653 * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES
4654 with targetm.calls.promote_prototypes.
4655
06effe87
AC
46562004-02-04 Robert Dewar <dewar@gnat.com>
4657
4658 * 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb,
4659 ali.ads, gprcmd.adb: Minor reformatting
4660
4661 * bindgen.adb: Output restrictions string for new style restrictions
4662 handling
4663
4664 * impunit.adb: Add s-rident.ads (System.Rident) and
4665 s-restri (System.Restrictions)
4666
4667 * lib-writ.adb: Fix bug in writing restrictions string (last few
4668 entries wrong)
4669
4670 * s-restri.ads, s-restri.adb: Change name Restrictions to
4671 Run_Time_Restrictions to avoid conflict with package name.
4672 Add circuit to read and acquire run time restrictions.
4673
46742004-02-04 Jose Ruiz <ruiz@act-europe.fr>
4675
4676 * restrict.ads, restrict.adb: Use the new restriction
4677 No_Task_Attributes_Package instead of the old No_Task_Attributes.
4678
4679 * sem_prag.adb: No_Task_Attributes is a synonym of
4680 No_Task_Attributes_Package.
4681
4682 * snames.ads, snames.adb: New entry for proper handling of
4683 No_Task_Attributes.
4684
4685 * s-rident.ads: Adding restriction No_Task_Attributes_Package
4686 (AI-00249) that supersedes the GNAT specific restriction
4687 No_Task_Attributes.
4688
46892004-02-04 Ed Schonberg <schonberg@gnat.com>
4690
90afe2c9 4691 * sem_prag.adb:
06effe87
AC
4692 (Analyze_Pragma, case Warnings): In an inlined body, as in an instance
4693 body, an identifier may be wrapped in an unchecked conversion.
4694
46952004-02-04 Vincent Celier <celier@gnat.com>
4696
4697 * lib-writ.ads: Comment update for the W lines
4698
4699 * bld.adb: (Expression): An empty string list is static
4700
4701 * fname-uf.adb: Minor comment update
4702
4703 * fname-uf.ads: (Get_File_Name): Document new parameter May_Fail
4704
4705 * gnatbind.adb: Initialize Cumulative_Restrictions with the
4706 restrictions on the target.
4707
2fb00d7f
KH
47082004-02-03 Kazu Hirata <kazu@cs.umass.edu>
4709
4710 * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
4711 gen_rtx.
4712
5ed23e25
AC
47132004-02-02 Arnaud Charlet <charlet@gnat.com>
4714
4715 * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.
4716
6e937c1c
AC
47172004-02-02 Vincent Celier <celier@gnat.com>
4718
4719 * gprcmd.adb (Check_Args): If condition is false, print the invoked
4720 comment before the usage.
4721 Gprcmd: Fail when command is not recognized.
4722 (Usage): Document command "prefix"
4723
4724 * g-md5.adb (Digest): Process last block.
4725 (Update): Do not process last block. Store remaining characters and
4726 length in Context.
4727
4728 * g-md5.ads (Update): Document that several call to update are
4729 equivalent to one call with the concatenated string.
4730 (Context): Add fields to allow new Update behaviour.
4731
4732 * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail,
4733 defaulted to False.
4734 When May_Fail is True and no existing file can be found, return No_File.
4735
4736 * 6vcstrea.adb: Inlined functions are now wrappers to implementation
4737 functions.
4738
4739 * lib-writ.adb (Write_With_Lines): When body file does not exist, use
4740 spec file name instead on the W line.
4741
47422004-02-02 Robert Dewar <dewar@gnat.com>
4743
4744 * ali.adb: Read and acquire info from new format restrictions lines
4745
4746 * bcheck.adb: Add circuits for checking restrictions with parameters
4747
4748 * bindgen.adb: Output dummy restrictions data
4749 To be changed later
4750
4751 * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4752 exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb,
4753 freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb,
4754 sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb,
4755 sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling.
4756
4757 * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses
4758 the warning message on access to possibly uninitialized variable S)
4759 Minor changes for new restrictions handling.
4760
4761 * gnatbind.adb: Minor reformatting
4762 Minor changes for new restrictions handling
4763 Move circuit for -r processing here from bcheck (cleaner)
4764
4765 * gnatcmd.adb, gnatlink.adb: Minor reformatting
4766
4767 * lib-writ.adb: Output new format restrictions lines
4768
4769 * lib-writ.ads: Document new R format lines for new restrictions
4770 handling.
4771
4772 * s-restri.ads/adb: New files
4773
4774 * Makefile.rtl: Add entry for s-restri.ads/adb
4775
4776 * par-ch3.adb: Fix bad error messages starting with upper case letter
4777 Minor reformatting
4778
4779 * restrict.adb: Major rewrite throughout for new restrictions handling
4780 Major point is to handle restrictions with parameters
4781
4782 * restrict.ads: Major changes in interface to handle restrictions with
4783 parameters. Also generally simplifies setting of restrictions.
4784
4785 * snames.ads/adb: New entry for proper handling of No_Requeue
4786
4787 * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks
4788 restriction counting.
4789 Other minor changes for new restrictions handling
4790
4791 * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements.
4792 Restriction_Warnings now allows full parameter notation
4793 Major rewrite of Restrictions for new restrictions handling
4794
47952004-02-02 Javier Miranda <miranda@gnat.com>
4796
4797 * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y
4798 syntax rule for object renaming declarations.
4799 (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for
4800 component definitions.
4801
4802 * sem_ch3.adb (Analyze_Component_Declaration): Give support to access
4803 components.
4804 (Array_Type_Declaration): Give support to access components. In addition
4805 it was also modified to reflect the name of the object in anonymous
4806 array types. The old code did not take into account that it is possible
4807 to have an unconstrained anonymous array with an initial value.
4808 (Check_Or_Process_Discriminants): Allow access discriminant in
4809 non-limited types.
4810 (Process_Discriminants): Allow access discriminant in non-limited types
4811 Initialize the new Access_Definition field in N_Object_Renaming_Decl
4812 node. Change Ada0Y to Ada 0Y in comments
4813
4814 * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in
4815 equality operators.
4816 Change Ada0Y to Ada 0Y in comments
4817
4818 * sem_ch8.adb (Analyze_Object_Renaming): Give support to access
4819 renamings Change Ada0Y to Ada 0Y in comments
4820
4821 * sem_type.adb (Find_Unique_Type): Give support to the equality
4822 operators for universal access types
4823 Change Ada0Y to Ada 0Y in comments
4824
4825 * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms
4826
4827 * sinfo.ads (N_Component_Definition): Addition of Access_Definition
4828 field.
4829 (N_Object_Renaming_Declaration): Addition of Access_Definition field
4830 Change Ada0Y to Ada 0Y in comments
4831
4832 * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for
4833 component definition and object renaming nodes
4834 Change Ada0Y to Ada 0Y in comments
4835
48362004-02-02 Jose Ruiz <ruiz@act-europe.fr>
4837
4838 * restrict.adb: Use the new restriction identifier
4839 No_Requeue_Statements instead of the old No_Requeue for defining the
4840 restricted profile.
4841
4842 * sem_ch9.adb (Analyze_Requeue): Check the new restriction
4843 No_Requeue_Statements.
4844
4845 * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249)
4846 that supersedes the GNAT specific restriction No_Requeue. The later is
4847 kept for backward compatibility.
4848
48492004-02-02 Ed Schonberg <schonberg@gnat.com>
4850
4851 * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads,
4852 5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant
4853 pragma and fix incorrect ones.
4854
4855 * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a
4856 warning if the pragma is redundant.
4857
48582004-02-02 Thomas Quinot <quinot@act-europe.fr>
4859
4860 * 5staprop.adb: Add missing 'constant' keywords.
4861
4862 * Makefile.in: use consistent value for SYMLIB on
4863 platforms where libaddr2line is supported.
4864
48652004-02-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4866
4867 * utils.c (end_subprog_body): Do not call rest_of_compilation if just
4868 annotating types.
4869
48702004-02-02 Olivier Hainque <hainque@act-europe.fr>
4871
4872 * init.c (__gnat_install_handler): Setup an alternate stack for signal
4873 handlers in the environment thread. This allows proper propagation of
4874 an exception on stack overflows in this thread even when the builtin
4875 ABI stack-checking scheme is used without support for a stack reserve
4876 region.
4877
4878 * utils.c (create_field_decl): Augment the head comment about bitfield
4879 creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P
4880 here, because the former is not accurate enough at this point.
4881 Let finish_record_type decide instead.
4882 Don't make a bitfield if the field is to be addressable.
4883 Always set a size for the field if the record is packed, to ensure the
4884 checks for bitfield creation are triggered.
4885 (finish_record_type): During last pass over the fields, clear
4886 DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is
4887 not covered by the calls to layout_decl. Adjust DECL_NONADDRESSABLE_P
4888 from DECL_BIT_FIELD.
4889
71cbe2c1
KC
48902004-01-30 Kelley Cook <kcook@gcc.gnu.org>
4891
90afe2c9 4892 * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir).
71cbe2c1
KC
4893 (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
4894 (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
4895
7f996f90
RO
48962004-01-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4897
4898 * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.
4899
4900 * 5fsystem.ads (Functions_Return_By_DSP): Set to False.
4901 (ZCX_By_Default): Likewise.
4902 (Front_End_ZCX_Support): Likewise.
4903
4904 * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced.
4905 (Initialize_Lock): Mark Level unreferenced.
4906 (Sleep): Mark Reason unreferenced.
4907 (Timed_Sleep): Likewise.
4908 (Wakeup): Likewise.
4909 (Exit_Task): Use Result.
4910 (Check_No_Locks): Mark Self_ID unreferenced.
90afe2c9 4911
7f996f90
RO
4912 * 5gtasinf.adb (New_Sproc): Make Attr constant.
4913 (Bound_Thread_Attributes): Make Sproc constant.
4914 (New_Bound_Thread_Attributes): Likewise.
4915
26fd4eae
AC
49162004-01-26 Ed Schonberg <schonberg@gnat.com>
4917
4918 * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for
4919 one-dimensional array an slice assignments, when component type is
4920 controlled.
4921
4922 * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional,
4923 component type is controlled, and control_actions are in effect, use
4924 TSS procedure rather than generating inline code.
4925
4926 * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional
4927 arrays with controlled components.
4928
49292004-01-26 Vincent Celier <celier@gnat.com>
4930
4931 * gnatcmd.adb (GNATCmd): Add specification of argument file on the
4932 command line for the non VMS case.
4933
4934 * gnatlink.adb (Process_Binder_File): When building object file, if
4935 GNU linker is used, put all object paths between quotes, to prevent ld
4936 error when there are unusual characters (such as '!') in the paths.
4937
4938 * Makefile.generic: When there are sources in Ada and the main is in
4939 C/C++, invoke gnatmake with -B, instead of -z.
4940
4941 * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted
4942 from VMS_Conversion.
4943 (Process_Argument): New procedure, extracted from VMS_Conversion. Add
4944 specification of argument file on the command line.
4945
49462004-01-26 Bernard Banner <banner@gnat.com>
4947
4948 * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64
4949
49502004-01-26 Ed Schonberg <schonberg@gnat.com>
4951
4952 * snames.adb: Update copyright notice.
4953 Add info on slice assignment for controlled arrays.
4954
b7e429ab
AC
49552004-01-23 Robert Dewar <dewar@gnat.com>
4956
4957 * exp_aggr.adb: Minor reformatting
4958
4959 * exp_ch9.adb: Minor code clean up
4960 Minor reformatting
4961 Fix bad character in comment
4962
4963 PR ada/13471
4964 * targparm.adb (Get_Target_Parameters): Give clean abort error on
4965 unexpected end of file, along with more detailed message.
4966
49672004-01-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4968
4969 * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
4970 PAT.
4971
4972 * decl.c (copy_alias_set): New function.
4973 (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.
4974
49752004-01-23 Doug Rupp <rupp@gnat.com>
4976
4977 * Makefile.in (install-gnatlib): Change occurrences of lib$$file to
4978 lib$${file} in case subsequent character is not a separator.
4979
49802004-01-23 Vincent Celier <celier@gnat.com>
4981
4982 * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
4983 when the GCC version is at least 3.
4984
4985 * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
4986 Remove all "Opt.", to prepare for opt split
4987
4988 * prj-part.adb (Parse_Single_Project): New Boolean out parameter
4989 Extends_All. Set to True when the project parsed is an extending all
4990 project. Fails for importing an extending all project only when the
4991 imported project is an extending all project.
4992 (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
4993 depending on the value of Extends_All returned.
4994
4995 * prj-proc.adb (Process): Check that no project shares its object
4996 directory with a project that extends it, directly or indirectly,
4997 including a virtual project.
4998 Check that no project extended by another project shares its object
4999 directory with another also extended project.
5000
5001 * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
5002 Kind = N_With_Clause
5003
5004 * prj-tree.ads: Minor reformatting
5005 Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).
5006
50072004-01-23 Ed Schonberg <schonberg@gnat.com>
5008
5009 * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
5010 applies to a type with an incomplete view, use full view in Name of
5011 clause, for consistency with uses of Get_Attribute_Definition_Clause.
5012
50132004-01-23 Arnaud Charlet <charlet@act-europe.fr>
5014
5015 * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
5016 SCHED_RR, since other values are not supported by this policy.
5017 (Initialize): Move initialization of mutex attribute to package
5018 elaboration, to prevent early access to this variable.
5019
5020 * Makefile.in: Remove mention of Makefile.adalib, unused.
5021
b291953f
AC
5022 * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
5023 1ssecsta.ads: Removed, unused.
b7e429ab 5024
adc04486
AC
50252004-01-21 Javier Miranda <miranda@gnat.com>
5026
5027 * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
5028 entity if already built in the current scope.
5029
5030 * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
5031 reminder in internal scopes. Required for nested limited aggregates.
5032
50332004-01-21 Doug Rupp <rupp@gnat.com>
5034
5035 * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
5036 VMS. Replace all occurences of libgnat- and libgnarl- with
5037 libgnat$(hyphen) and libgnarl$(hyphen).
5038 Fixed shared library build problem on VMS.
5039
50402004-01-21 Robert Dewar <dewar@gnat.com>
5041
5042 * mlib-prj.adb: Minor reformatting
5043
50442004-01-21 Thomas Quinot <quinot@act-europe.fr>
5045
5046 * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
5047 'constant' keywords for declaration of pointers that are not modified.
5048
5049 * exp_pakd.adb: Fix English in comment.
5050
50512004-01-21 Ed Schonberg <schonberg@gnat.com>
5052
5053 PR ada/10889
5054 * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
5055 copy all attributes of the parent, including the foreign language
5056 convention.
5057
50582004-01-21 Sergey Rybin <rybin@act-europe.fr>
5059
5060 PR ada/10565
5061 * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
5062 for 'delay until' statement.
5063
a541f69d
KC
50642004-01-20 Kelley Cook <kcook@gcc.gnu.org>
5065
5066 * Make-lang.in: Replace $(docdir) with doc.
5067 (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
5068 doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
5069 to use consistent MAKEINFO rule.
5070 (ada.man, ada.srcman): Dummy entry.
5071 (ADA_INFOFILES): Define.
5072 (ada.info, ada.srcinfo): New rules.
5073
c01a9391
AC
50742004-01-19 Arnaud Charlet <charlet@act-europe.fr>
5075
5076 * utils.c: Update copyright notice, missed in previous change.
5077
50782004-01-19 Vincent Celier <celier@gnat.com>
5079
5080 * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
5081 args if Bind is True. Set First_ALI, if not already done.
5082 (Build_Library): For Stand Alone Libraries, extract from one ALI file
5083 an eventual --RTS switch, for gnatbind, and all backend switches +
5084 --RTS, for linking.
5085
50862004-01-19 Robert Dewar <dewar@gnat.com>
5087
5088 * sem_attr.adb, memtrack.adb: Minor reformatting
5089
50902004-01-19 Ed Schonberg <schonberg@gnat.com>
5091
5092 * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
5093 that rename enumeration literals. This is properly done in sem_eval.
5094
5095 * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
5096 to functions that rename enumeration literals.
5097
5098 * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
5099 functions that rename enumeration literals.
5100
510d1e80
KH
51012004-01-16 Kazu Hirata <kazu@cs.umass.edu>
5102
5103 * Make-lang.in (utils.o): Depend on target.h.
5104 * utils.c: Include target.h.
5105 (process_attributes): Use targetm.have_named_sections instead
5106 of ASM_OUTPUT_SECTION_NAME.
5107
fbf3e0dd
AJ
51082004-01-16 Andreas Jaeger <aj@suse.de>
5109
5110 * Makefile.in: Add $(DESTDIR).
5111
acd47d2a
AC
51122004-01-15 Olivier Hainque <hainque@act-europe.fr>
5113
5114 * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
5115 also when not defining if a Size clause applies. That information is
5116 not to be ignored.
5117
51182004-01-15 Arnaud Charlet <charlet@act-europe.fr>
5119
5120 * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
5121 symbolic links for the shared gnat run time when needed.
5122
51232004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr>
5124
5125 * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
5126 for writing, and terminate with an error message if not.
5127
51282004-01-15 Ed Schonberg <schonberg@gnat.com>
5129
5130 * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
5131 warning on an access to subprogram in an instance, when the target
5132 type is declared in the same generic unit.
5133 (Eval_Attribute): If 'access is known to fail accessibility check,
5134 rewrite as a raise statement.
5135
51362004-01-15 GNAT Script <nobody@gnat.com>
5137
5138 * Make-lang.in: Makefile automatically updated
5139
03787dfd
KC
51402004-01-15 Kelley Cook <kcook@gcc.gnu.org>
5141
5142 * Make-lang.in (ada.srcextra): Dummy entry.
5143
73e232f0
KC
51442004-01-14 Kelley Cook <kcook@gcc.gnu.org>
5145
5146 * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
5147
9bc43c53
AC
51482004-01-13 Ed Schonberg <schonberg@gnat.com>
5149
5150 * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
5151 components that are initialized with aggregates.
5152
51532004-01-13 Vincent Celier <celier@gnat.com>
5154
5155 * gnatlink.adb (Process_Binder_File): To find directory of shared
5156 libgcc, if "gcc-lib" is not a subdirectory, look for the last
5157 subdirectory "lib" in the path of the shared libgnat or libgnarl.
5158
5159 * make.adb (Gnatmake): If GCC version is at least 3, link with
5160 -shared-libgcc, when there is at least one shared library project.
5161
5162 * opt.ads (GCC_Version): New integer constant.
5163
5164 * adaint.c (get_gcc_version): New function.
5165
51662004-01-13 Robert Dewar <dewar@gnat.com>
5167
5168 * sem_dist.adb, sem_res.adb, sem_util.adb,
5169 sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
5170 exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
5171
51722004-01-13 Thomas Quinot <quinot@act-europe.fr>
5173
5174 * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
5175 g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
5176 declarations.
5177
8b52de7b
AC
51782004-01-12 Arnaud Charlet <charlet@act-europe.fr>
5179
f6ea0188
AC
5180 * misc.c: Remove trailing spaces.
5181 Update copyright notice missed in previous change.
5182
8b52de7b
AC
5183 PR ada/13572
5184 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
5185 prefix/share/make
5186
5187 * Makefile.generic: Update copyright.
5188 Add license notice.
5189
5190 * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
5191 of prefix/share/make.
5192
5193 * Makefile.prolog: Update copyright.
5194 Add license notice.
5195
51962004-01-12 Laurent Pautet <pautet@act-europe.fr>
5197
5198 * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
5199 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
5200 g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
5201 instead of String.
5202
5203 * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
5204 signature.
5205
52062004-01-12 Javier Miranda <miranda@gnat.com>
5207
5208 * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
5209 exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
5210 sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
5211 sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
5212 Component_Definition node.
5213
52142004-01-12 Ed Falis <falis@gnat.com>
5215
5216 * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
5217
52182004-01-12 Thomas Quinot <quinot@act-europe.fr>
5219
5220 * link.c: Change default libgnat kind to STATIC for FreeBSD.
5221
52222004-01-12 Bernard Banner <banner@gnat.com>
5223
5224 * Makefile.in: map 86numaux to a-numaux for x86_64
5225
52262004-01-12 Ed Schonberg <schonberg@gnat.com>
5227
5228 * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
5229 generated to rename a generic actual, go to the actual itself, the
5230 subtype is not a user-visible entity.
5231
5232 * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
5233 part is a private subtype, reset the visibility of its full view, if
5234 any, to be consistent.
5235
5236 PR ada/13417
5237 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
5238 to use a generic package G as a formal package for another generic
5239 declared within G.
5240
52412004-01-12 Robert Dewar <dewar@gnat.com>
5242
5243 * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
5244
5245 * usage.adb: Remove mention of obsolete -gnatwb switch
5246 Noticed during code reading
5247
52482004-01-12 Jerome Guitton <guitton@act-europe.fr>
5249
5250 * 1ssecsta.adb: Minor changes for -gnatwa warnings
5251
52522004-01-12 GNAT Script <nobody@gnat.com>
5253
5254 * Make-lang.in: Makefile automatically updated
5255
0fab64a3
MM
52562004-01-09 Mark Mitchell <mark@codesourcery.com>
5257
5258 * misc.c (gnat_expand_expr): Add alt_rtl parameter.
5259
47527624
RO
52602004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5261
5262 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
5263
dedebde1
KC
52642004-01-05 Kelley Cook <kcook@gcc.gnu.org>
5265
fbf3e0dd 5266 * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
dedebde1
KC
5267 Update comment and copyright date.
5268 * stamp-xgnatug: Delete.
5269
91b1417d
AC
52702004-01-05 Robert Dewar <dewar@gnat.com>
5271
5272 * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
5273 be modified by the binder generated main program if the -D switch is
5274 used.
5275
5276 * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
5277 imported functions (since now we expect this to be done for imported
5278 functions)
5279
5280 * 5vtaprop.adb: Add several ??? for sections requiring more comments
5281 Minor reformatting throughout
5282
5283 * 5zinit.adb: Minor reformatting
5284 Add 2004 to copyright date
5285 Minor changes to avoid -gnatwa warnings
5286 Correct some instances of using OR instead of OR ELSE (noted while
5287 doing reformatting)
5288
5289 * sprint.adb: Minor updates to avoid -gnatwa warnings
5290
fbf3e0dd 5291 * s-secsta.ads, s-secsta.adb:
91b1417d
AC
5292 (SS_Get_Max): New function to obtain high water mark for ss stack
5293 Default_Secondary_Stack is not a constant since it may be modified by
5294 the binder generated main program if the -D switch is used.
5295
5296 * switch-b.adb: New -Dnnn switch for binder
5297
fbf3e0dd 5298 * switch-c.adb:
91b1417d
AC
5299 Make -gnatg imply all warnings currently in -gnatwa
5300
5301 * vms_conv.adb: Minor reformatting
5302 Add 2004 to copyright notice
5303 Add 2004 to printed copyright notice
5304
5305 * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
5306 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
5307 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
5308 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
5309 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
5310 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
5311 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
5312 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
5313 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
5314 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
5315 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
5316 vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
5317 xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
5318 sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
5319 checks.adb, clean.adb, cstand.adb, einfo.ads,
5320 einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
5321 exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
5322 prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
5323 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
5324 g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
5325 lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
5326 Minor reformatting and code clean ups.
5327 Minor changes to prevent -gnatwa warnings
5328
5329 * ali.adb: Minor reformatting and cleanup of code
5330 Acquire new SS indication of secondary stack use from ali files
5331
5332 * a-numaux.ads: Add Pure_Function pragmas for all imported functions
5333 (since now we expect this to be done for imported functions)
5334
5335 * bindgen.adb: Generate call to modify default secondary stack size if
5336 -Dnnn switch given
5337
5338 * bindusg.adb: Add line for new -D switch
5339
5340 * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
5341 replacement name for Type_May_Have_Non_Bit_Aligned_Components!
5342 Add circuitry for both records and arrays to avoid gigi
5343 processing if the type involved has non-bit-aligned components
5344
5345 * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
5346 N_String_Literal node always references an E_String_Literal_Subtype
5347 entity. This may not be true in the future.
5348 (Possible_Bit_Aligned_Component): Move processing of
5349 Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
5350
5351 * exp_ch6.adb (Expand_Thread_Body): Pick up
5352 Default_Secondary_Stack_Size as variable so that we get value modified
5353 by possible -Dnnn binder parameter.
5354
5355 * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
5356 (Type_May_Have_Bit_Aligned_Components): New function.
5357
5358 * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
5359 (Type_May_Have_Bit_Aligned_Components): New function.
5360
5361 * fe.h: (Set_Identifier_Casing): Fix prototype.
5362 Add declaration for Sem_Elim.Eliminate_Error_Msg.
5363 Minor reformatting.
5364
5365 * freeze.adb (Freeze_Entity): Add RM reference to error message about
5366 importing constant atomic/volatile objects.
5367 (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
5368 unless explicit Pure_Function pragma given, to avoid insidious bug of
5369 call to non-pure imported function getting eliminated.
5370
5371 * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
5372 gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
5373 gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
5374 Add 2004 to printed copyright notice
5375
5376 * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
5377 stack used.
5378
5379 * Makefile.rtl: Add entry for g-sestin.o
5380 g-sestin.ads: New file.
5381
5382 * mdll.adb: Minor changes to avoid -gnatwa warnings
5383
5384 * mlib-tgt.adb: Minor reformatting
5385
5386 * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
5387 New switch Sec_Stack_Used (GNAT, GNATBIND)
5388 Make Default_Secondary_Stack_Size a variable instead of a constant,
5389 so that it can be modified by the new -Dnnn bind switch.
5390
5391 * rtsfind.adb (Load_Fail): Give full error message in configurable
5392 run-time mode if all_errors mode is set. This was not done in the case
5393 of a file not found, which was an oversight.
5394 Note if secondary stack unit is used by compiler.
5395
5396 * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
5397 ineffective elaborate all pragmas on non-visible packages (this
5398 happened when a renamed subprogram was called). Now the elaborate all
5399 always goes on the package containing the renaming rather than the one
5400 containing the renamed subprogram.
5401
5402 * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
5403 (Process_Eliminate_Pragma): Add parameter to capture pragma location.
5404
5405 * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
5406 has an Etype that references an E_String_Literal.
5407 (Eval_String_Literal): Avoid assumption that N_String_Literal node
5408 always references an E_String_Literal_Subtype entity. This may not
5409 be true in the future.
5410
5411 * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
5412 pragma location.
5413
5414 * sem_res.adb (Resolve): Specialize msg for function name used in proc
5415 call.
5416
54172004-01-05 Ed Falis <falis@gnat.com>
5418
5419 * g-debuti.adb: Replaced direct boolean operator with short-circuit
5420 form.
5421
54222004-01-05 Vincent Celier <celier@gnat.com>
5423
5424 * bld.adb: Minor comment updates
5425 (Process_Declarative_Items): Correct incorrect name (Index_Name instead
5426 of Item_Name).
5427
5428 * make.adb (Gnatmake): Special process for files to compile/check when
5429 -B is specified. Fail when there are only foreign mains in attribute
5430 Main of the project file and -B is not specified. Do not skip bind/link
5431 steps when -B is specified.
5432
5433 * makeusg.adb: Document new switch -B
5434
5435 * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
5436
5437 * switch-m.adb: (Scan_Make_Switches): Process -B switch
5438
5439 * vms_data.ads: Add new GNAT PRETTY qualifier
5440 /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
5441
54422004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5443
5444 * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
5445 case.
5446
5447 * misc.c (gnat_printable_name): If VERBOSITY is 2, call
5448 Set_Identifier_Casing.
5449
5450 * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
5451 has size that overflows.
5452
54532004-01-05 Gary Dismukes <dismukes@gnat.com>
5454
5455 * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
5456 -gnatwa warning on static condition.
5457
54582004-01-05 Doug Rupp <rupp@gnat.com>
5459
5460 * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
5461
54622004-01-05 Arnaud Charlet <charlet@act-europe.fr>
5463
5464 * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
5465 all attributes, including read-only attribute.
5466
54672004-01-05 Pascal Obry <obry@gnat.com>
5468
5469 * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
5470 library naming scheme.
5471
5472 * mlib-prj.adb (Build_Library): Generate different names for the static
5473 or dynamic version of the GNAT runtime. This is needed to support the
5474 new shared library naming scheme.
5475 (Process_Binder_File): Add detection of shared library in binder file
5476 based on the new naming scheme.
5477
5478 * gnatlink.adb (Process_Binder_File): Properly detect the new naming
5479 scheme for the shared runtime libraries.
5480
5481 * Makefile.in:
5482 (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
5483 scheme.
5484 (install-gnatlib): Do not create symlinks for shared libraries.
5485 (gnatlib-shared-default): Idem.
5486 (gnatlib-shared-dual-win32): New target. Not used for now as the
5487 auto-import feature does not support arrays/records.
5488 (gnatlib-shared-win32): Do not create copy for the shared libraries.
5489 (gnatlib-shared-vms): Fix shared runtime libraries names.
5490
5491 * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
5492 dependent runtime shared library name.
5493
54942004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
5495
5496 * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
5497 than the object.
5498
54992004-01-05 Ed Schonberg <schonberg@gnat.com>
5500
5501 * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
5502 protected objects when allocator has a subtype indication, not a
5503 qualified expression. Note that qualified expressions may have to be
5504 checked when limited aggregates are implemented.
5505
5506 * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
5507 pure, emit warning.
5508 (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
5509 subprogram is imported, remove warning.
5510
55112004-01-05 Geert Bosch <bosch@gnat.com>
5512
5513 * s-poosiz.adb: Update copyright notice.
5514 (Allocate): Use Task_Lock to protect against concurrent access.
5515 (Deallocate): Likewise.
5516
55172004-01-05 Joel Brobecker <brobecker@gnat.com>
5518
5519 * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
5520 comment.
5521
2ab127f3
KC
55222003-12-23 Kelley Cook <kcook@gcc.gnu.org>
5523
5524 * gnat_ug.texi: Force a CVS commit by updating copyright.
5525 * gnat_ug_vxw.texi: Regenerate.
5526 * gnat_ug_wnt.texi: Regenerate.
5527 * gnat_ug_vms.texi: Regenerate.
5528 * gnat_ug_unx.texi: Regenerate.
5529
aed8bfdc
KH
55302003-12-20 Kazu Hirata <kazu@cs.umass.edu>
5531
5532 * trans.c: Remove uses of "register" specifier in
5533 declarations of local variables.
5534
90c2f1de
KC
55352003-12-18 Kelley Cook <kcook@gcc.gnu.org>
5536
5537 * stamp-xgnatug: New stamp file.
5538 * Make-lang.in (stamp-xgnatug): New stamp file and comment.
5539 (ada/doctools/xgnatug): Add $(build_exeext).
5540 (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
5541 ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
5542
891a6e79
AC
55432003-12-17 Ed Falis <falis@gnat.com>
5544
5545 * a-elchha.adb (Tailored_Exception_Information): made Info constant to
5546 eliminate warning.
5547
5548 * a-exextr.adb: Add context clause for
5549 Ada.Exceptions.Last_Chance_Handler.
5550
55512003-12-17 Sergey Rybin <rybin@act-europe.fr>
5552
5553 * cstand.adb (Create_Standard): Change the way how the declaration of
5554 the Duration type is created (making it the same way as it is for all
5555 the other standard types).
5556
55572003-12-17 Robert Dewar <dewar@gnat.com>
5558
5559 * s-crtl.ads: Fix header format
5560 Change Pure to Preelaborate
5561
55622003-12-17 Ed Schonberg <schonberg@gnat.com>
5563
5564 * checks.adb (Selected_Length_Checks): Generate an Itype reference for
5565 the expression type only if it is declared in the current unit.
5566
5567 * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
5568 are universal and already analyzed, as can occur in constrained
5569 subcomponents that depend on discriminants, when one constraint is a
5570 subtype mark.
5571
5572 * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
5573 type Any_Fixed is legal as the argument of a conversion, if only one
5574 fixed-point type is in context.
5575
55762003-12-17 GNAT Script <nobody@gnat.com>
5577
5578 * Make-lang.in: Makefile automatically updated
5579
209db2bf
AC
55802003-12-15 Robert Dewar <dewar@gnat.com>
5581
5582 * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
5583 sec stack size.
5584
55852003-12-15 Vincent Celier <celier@gnat.com>
5586
5587 * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
5588 (Gnatchop): Do not set failure status when reporting the number of
5589 warnings.
5590
55912003-12-15 Doug Rupp <rupp@gnat.com>
5592
5593 * s-ctrl.ads: New file.
5594
5595 * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
5596
5597 * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
5598 (GNATBIND_OBJS): Add ada/s-crtl.o.
5599
5600 * Makefile.in [VMS]: Clean up ifeq rules.
5601
5602 * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
5603 a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
5604 g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
5605 s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
5606 s-tasdeb.adb: Update copyright.
5607 Import System.CRTL.
5608 Make minor modifications to use System.CRTL declared functions instead
5609 of importing locally.
5610
56112003-12-15 GNAT Script <nobody@gnat.com>
5612
5613 * Make-lang.in: Makefile automatically updated
5614
a9f4e3d2
AC
56152003-12-11 Ed Falis <falis@gnat.com>
5616
5617 * 5zinit.adb: Clean up.
5618
5619 * 5zintman.adb (Notify_Exception): replaced case statement with a call
5620 to __gnat_map_signal, imported from init.c to support
5621 signal -> exception mappings that depend on the vxWorks version.
5622
fbf3e0dd 5623 * init.c:
a9f4e3d2
AC
5624 Created and exported __gnat_map_signal to support signal -> exception
5625 mapping that is dependent on the VxWorks version.
5626 Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
5627
56282003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr>
5629
5630 * 5wosinte.ads: Link with -mthreads switch.
5631
56322003-12-11 Arnaud Charlet <charlet@act-europe.fr>
5633
5634 * init.c (__gnat_install_handler [NetBSD]): Set
5635 __gnat_handler_installed, as done on all other platforms.
5636 Remove duplicated code.
5637
56382003-12-11 Jerome Guitton <guitton@act-europe.fr>
5639
5640 * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
5641
56422003-12-11 Thomas Quinot <quinot@act-europe.fr>
5643
5644 * sinfo.ads: Fix inconsistent example code in comment.
5645
56462003-12-11 Robert Dewar <dewar@gnat.com>
5647
5648 * a-tiinau.adb: Add a couple of comments
5649
5650 * sem_ch3.adb: Minor reformatting
5651
fbf3e0dd 5652 * sem_prag.adb:
a9f4e3d2
AC
5653 Fix bad prototype of Same_Base_Type in body (code reading cleanup)
5654 Minor reformatting throughout
5655
56562003-12-11 Ed Schonberg <schonberg@gnat.com>
5657
5658 * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
5659 bounds of a loop, create a separate block in order to generate proper
5660 cleanup actions to prevent memory leaks.
5661
5662 * sem_res.adb (Resolve_Call): After a call to
5663 Establish_Transient_Scope, the call may be rewritten and relocated, in
5664 which case no further processing is needed.
5665
5666 * sem_util.adb: (Wrong_Type): Refine previous fix.
5667 Fixes ACATS regressions.
5668
5669 PR ada/13353
5670
5671 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
5672 be inlined.
5673
c45b6ae0
AC
56742003-12-08 Jerome Guitton <guitton@act-europe.fr>
5675
5676 * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
5677 i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
5678 obsolete files.
5679
5680 * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
5681 (rts-zfp): Ditto.
5682
56832003-12-08 Robert Dewar <dewar@gnat.com>
5684
5685 * 7sintman.adb: Minor reformatting
5686
5687 * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
5688 standard linker options to get standard libraries linked. We now plan
5689 to provide dummy versions of these libraries to match the appropriate
5690 configurable run-time (e.g. if a library is not needed at all, provide
5691 a dummy empty library).
5692
5693 * targparm.ads: Configurable_Run_Time mode no longer affects linker
5694 options (-L parameters and standard libraries). What we plan to do is
5695 to provide dummy libraries where the libraries are not required.
5696
5697 * gnatbind.adb: Minor comment improvement
5698
56992003-12-08 Javier Miranda <miranda@gnat.com>
5700
5701 * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
5702 aggregate in the parent. Otherwise constants with limited aggregates
5703 are not supported. Add new formal to pass the component type (Ctype).
5704 It is required to call the corresponding IP subprogram in case of
5705 default initialized components.
5706 (Gen_Assign): In case of default-initialized component, generate a
5707 call to the IP subprogram associated with the component.
5708 (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
5709 of aggregate with default initialized components.
5710 (Has_Default_Init_Comps): Improve implementation to recursively check
5711 all the present expressions.
5712
5713 * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
5714 to indicate that the initialization call corresponds to a
5715 default-initialized component of an aggregate.
5716 In case of default initialized aggregate with tasks this parameter is
5717 used to generate a null string (this is just a workaround that must be
5718 improved later). In case of discriminants, this parameter is used to
5719 generate a selected component node that gives access to the discriminant
5720 value.
5721
5722 * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
5723 subprogram, based on Build_Task_Allocate_Block, but adapted to expand
5724 allocated aggregates with default-initialized components.
5725
5726 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
5727 the box notation is used in positional aggregates.
5728
57292003-12-08 Samuel Tardieu <tardieu@act-europe.fr>
5730
5731 * lib.ads: Fix typo in comment
5732
57332003-12-08 Vincent Celier <celier@gnat.com>
5734
5735 * prj.adb (Project_Empty): New component Unkept_Comments
5736 (Scan): Remove procedure; moved to Prj.Err.
5737
5738 * prj.ads (Project_Data): New Boolean component Unkept_Comments
5739 (Scan): Remove procedure; moved to Prj.Err.
5740
5741 * prj-dect.adb: Manage comments for the different declarations.
5742
5743 * prj-part.adb (With_Record): New component Node
5744 (Parse): New Boolean parameter Store_Comments, defaulted to False.
5745 Set the scanner to return ends of line and comments as tokens, if
5746 Store_Comments is True.
5747 (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
5748 comments are associated with these nodes. Store the node IDs in the
5749 With_Records.
5750 (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
5751 With_Records.
5752 (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
5753 the N_Project node. Call Tree.Save and Tree.Reset before scanning the
5754 current project. Call Tree.Restore afterwards. Set the various nodes
5755 for comment storage (Next_End, End_Of_Line, Previous_Line,
5756 Previous_End).
5757
5758 * prj-part.ads (Parse): New Boolean parameter Store_Comments,
5759 defaulted to False.
5760
5761 * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
5762 to False. When Truncated is True, truncate the string, never go to the
5763 next line.
5764 (Write_End_Of_Line_Comment): New procedure
5765 (Print): Process comments for nodes N_With_Clause,
5766 N_Package_Declaration, N_String_Type_Declaration,
5767 N_Attribute_Declaration, N_Typed_Variable_Declaration,
5768 N_Variable_Declaration, N_Case_Construction, N_Case_Item.
5769 Process nodes N_Comment.
5770
5771 * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
5772 without comments and there are some comments, set the flag
5773 Unkept_Comments to True.
5774 (Scan): If there are comments, set the flag Unkept_Comments to True and
5775 clear the comments.
5776 (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
5777 (Next_End_Nodes: New table
5778 (Comment_Zones_Of): New function
5779 (Scan): New procedure; moved from Prj. Accumulate comments in the
5780 Comments table and set end of line comments, comments after, after end
5781 and before end.
5782 (Add_Comments): New procedure
5783 (Save, Restore, Seset_State): New procedures
5784 (There_Are_Unkept_Comments): New function
5785 (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
5786 (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
5787 procedures.
5788 (First_Comment_After, First_Comment_After_End): New functions
5789 (First_Comment_Before, First_Comment_Before_End): New functions
5790 (Next_Comment): New function
5791 (End_Of_Line_Comment, Follows_Empty_Line,
5792 Is_Followed_By_Empty_Line): New functions
5793 (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
5794 (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
5795 (Set_Next_Comment): New procedure
5796 (Default_Project_Node): Associate comment before if the node can store
5797 comments.
5798
5799 * scans.ads (Token_Type): New enumeration value Tok_Comment
5800 (Comment_Id): New global variable
5801
5802 * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
5803 defaulted to False.
5804 (Scan): Store position of start of comment. If comments are tokens, set
5805 Comment_Id and set Token to Tok_Comment when scanning a comment.
5806 (Set_Comment_As_Token): New procedure
5807
5808 * sinput-p.adb: Update Copyright notice
5809 (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
5810 that no longer exists.
5811
58122003-12-08 Javier Miranda <miranda@gnat.com>
5813
5814 * sem_aggr.adb: Add dependence on Exp_Tss package
5815 Correct typo in comment
5816 (Resolve_Aggregate): In case of array aggregates set the estimated
5817 type of the aggregate before calling resolve. This is needed to know
5818 the name of the corresponding IP in case of limited array aggregates.
5819 (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
5820 in case of default initialized array components.
5821
5822 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
5823 types. Required to give support to limited aggregates in generic
5824 formals.
5825
58262003-12-08 Ed Schonberg <schonberg@gnat.com>
5827
5828 * sem_ch3.adb (Check_Initialization): For legality purposes, an
5829 inlined body functions like an instantiation.
5830 (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
5831 until bounds are analyzed, to diagnose premature use of type.
5832
5833 * sem_util.adb (Wrong_Type): Improve error message when the type of
5834 the expression is used prematurely.
5835
58362003-12-08 GNAT Script <nobody@gnat.com>
5837
5838 * Make-lang.in: Makefile automatically updated
5839
0875a894
AC
58402003-12-08 Arnaud Charlet <charlet@act-europe.fr>
5841
7618d510
AC
5842 * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
5843 they are automatically generated by Make-lang.in and cause nothing but
0875a894
AC
5844 maintenance troubles.
5845
5b4994bc
AC
58462003-12-05 Thomas Quinot <quinot@act-europe.fr>
5847
5848 * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
5849 version of this unit).
5850
58512003-12-05 Olivier Hainque <hainque@act-europe.fr>
5852
5853 * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
5854 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
5855 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
5856 the body of System.Interrupt_Management common to several targets.
5857 Update copyright notice when appropriate.
5858
5859 * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
5860 constant.
5861
5862 * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
5863 to ensure that the kernel fills in the interrupted context structure
5864 before calling a signal handler, which is necessary to be able to
5865 unwind past it. Update the copyright notice.
5866
58672003-12-05 Jerome Guitton <guitton@act-europe.fr>
5868
5869 * a-elchha.ads: New file.
5870
5871 * a-elchha.adb: New default last chance handler. Contents taken from
5872 Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
5873
5874 * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
5875 is moved to a-elchha.adb to provide a target-independent default last
5876 chance handler.
5877
5878 * Makefile.rtl: Add a-elchha.o
5879
5880 * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
5881
58822003-12-05 Ed Schonberg <schonberg@gnat.com>
5883
5884 * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
5885 declared in an instance, do not inline the call if the instance is not
5886 frozen yet, to prevent order of elaboration problems.
5887
5888 * sem_prag.adb: Add comments for previous fix.
5889
58902003-12-05 Samuel Tardieu <tardieu@act-europe.fr>
5891
5892 * g-table.adb: Use the right variable in Set_Item.
5893 Update copyright notice.
5894
58952003-12-05 Arnaud Charlet <charlet@act-europe.fr>
5896
5897 * Makefile.in: Remove unused rules.
5898
58992003-12-05 Vincent Celier <celier@gnat.com>
5900
5901 * switch-c.adb (Scan_Front_End_Switches): Remove processing of
5902 -nostdlib. Not needed here after all.
5903
efdfd311
AC
59042003-12-03 Thomas Quinot <quinot@act-europe.fr>
5905
5906 PR ada/11724
5907
fbf3e0dd 5908 * adaint.h, adaint.c, g-os_lib.ads:
efdfd311
AC
5909 Do not assume that the offset argument to lseek(2) is a 32 bit integer,
5910 on some platforms (including FreeBSD), it is a 64 bit value.
5911 Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
5912
59132003-12-03 Arnaud Charlet <charlet@act-europe.fr>
5914
5915 * gnatvsn.ads (Library_Version): Now contain only the relevant
5916 version info.
5917 (Verbose_Library_Version): New constant.
5918
5919 * g-spipat.adb, g-awk.adb, g-debpoo.adb,
5920 g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
5921 s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
5922
5923 * gnatlbr.adb: Clean up: replace Library_Version by
5924 Verbose_Library_Version.
5925
fbf3e0dd 5926 * make.adb, lib-writ.adb, exp_attr.adb:
efdfd311
AC
5927 Clean up: replace Library_Version by Verbose_Library_Version.
5928
5929 * 5lintman.adb: Removed.
5930
fbf3e0dd 5931 * Makefile.in:
efdfd311
AC
5932 Update and simplify computation of LIBRARY_VERSION.
5933 Fix computation of GSMATCH_VERSION.
5934 5lintman.adb is no longer used: replaced by 7sintman.adb.
5935
59362003-12-03 Robert Dewar <dewar@gnat.com>
5937
fbf3e0dd 5938 * exp_ch5.adb:
efdfd311
AC
5939 (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
5940 name. Modified to consider small non-bit-packed arrays as troublesome
5941 and in need of component-by-component assigment expansion.
5942
59432003-12-03 Vincent Celier <celier@gnat.com>
5944
5945 * lang-specs.h: Process nostdlib as nostdinc
5946
5947 * back_end.adb: Update Copyright notice
5948 (Scan_Compiler_Arguments): Process -nostdlib directly.
5949
59502003-12-03 Jose Ruiz <ruiz@act-europe.fr>
5951
fbf3e0dd 5952 * Makefile.in:
efdfd311
AC
5953 When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
5954 redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
5955 included in HIE_NONE_TARGET_PAIRS.
5956
59572003-12-03 Ed Schonberg <schonberg@gnat.com>
5958
fbf3e0dd 5959 * sem_attr.adb:
efdfd311
AC
5960 (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
5961 is legal in an instance, because legality is cheched in the template.
5962
fbf3e0dd 5963 * sem_prag.adb:
efdfd311
AC
5964 (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
5965 appplied to an unchecked conversion of a formal parameter.
5966
fbf3e0dd 5967 * sem_warn.adb:
efdfd311
AC
5968 (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
5969 variables.
5970
59712003-12-03 Olivier Hainque <hainque@act-europe.fr>
5972
5973 * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
5974 routines. The second one is new functionality to deal with backtracing
5975 through signal handlers.
5976 (unwind): Split into the two separate subroutines above.
5977 Update the documentation, and deal properly with sizeof (REG) different
5978 from sizeof (void*).
5979
08aa9a4a
AC
59802003-12-01 Nicolas Setton <setton@act-europe.fr>
5981
5982 * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
5983 so that the debugger can reliably access the value of the parameter,
5984 and therefore is able to display the exception name when an exception
5985 breakpoint is reached.
5986
59872003-12-01 Thomas Quinot <quinot@act-europe.fr>
5988
5989 * fmap.adb: Fix typo in warning message.
5990
5991 * g-socket.ads, g-socket.adb: Make Free a visible instance of
5992 Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
5993
59942003-12-01 Vincent Celier <celier@gnat.com>
5995
5996 * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
5997 ther is no Afile.
5998 (Build_Library): Get the switches only if Default_Switches is declared
5999 in package Binder.
6000
60012003-12-01 Ed Schonberg <schonberg@gnat.com>
6002
6003 * exp_ch6.adb (Expand_Actuals): When applying validity checks to
6004 actuals that are indexed components, reanalyze actual to ensure that
6005 packed array references are properly expanded.
6006
6007 * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
6008 attempted assignment to a discriminant.
6009
60102003-12-01 Robert Dewar <dewar@gnat.com>
6011
6012 * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
6013 reformatting.
6014
6015 * switch-c.adb: Minor reformatting of comments
6016
60172003-12-01 Arnaud Charlet <charlet@act-europe.fr>
6018
6019 * Makefile.in: Clean ups.
6020
60212003-12-01 GNAT Script <nobody@gnat.com>
6022
6023 * Make-lang.in: Makefile automatically updated
6024
c6135994
AC
60252003-12-01 Arnaud Charlet <charlet@act-europe.fr>
6026
6027 * 5wsystem.ads: Disable zero cost exception, not ready yet.
6028
51a30506
UW
60292003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
6030
6031 * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
6032 to force serialization.
6033
81a5b587
AC
60342003-11-26 Thomas Quinot <quinot@act-europe.fr>
6035
fbf3e0dd 6036 * g-socket.ads, g-socket.adb:
81a5b587
AC
6037 Clarify documentation of function Stream. Introduce a Free procedure
6038 to release the returned Stream once it becomes unused.
6039
6040 * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
6041
60422003-11-26 Arnaud Charlet <charlet@act-europe.fr>
6043
6044 (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
6045 since NT 4 cannot handle timeout values that are too large,
6046 e.g. DWORD'Last - 1.
6047
60482003-11-26 Ed Schonberg <schonberg@gnat.com>
6049
fbf3e0dd 6050 * exp_ch4.adb:
81a5b587
AC
6051 (Expand_N_Slice): Recognize all cases of slices that appear as actuals
6052 in procedure calls and whose expansion must be deferred.
6053
6054 * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
6055 is in exp_ch4.
6056
fbf3e0dd 6057 * sem_ch3.adb:
81a5b587
AC
6058 (Build_Derived_Array_Type): Create operator for unconstrained type
6059 if ancestor is unconstrained.
6060
60612003-11-26 Vincent Celier <celier@gnat.com>
6062
6063 * make.adb (Project_Object_Directory): New global variable
6064 (Change_To_Object_Directory): New procedure
6065 (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
6066 of Change_Dir directly. Do not change working directory to object
6067 directory of main project after each compilation.
6068 (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
6069 directly.
6070 Change to object directory of main project before binding step.
6071 (Initialize): Initialize Project_Object_Directory to No_Project
6072
fbf3e0dd 6073 * mlib-prj.adb:
81a5b587
AC
6074 (Build_Library): Take into account Builder'Default_Switches ("Ada") when
6075 binding a Stand-Alone Library.
6076
6077 * output.adb: Update Copyright notice
6078 (Write_Char): Output buffer when full
6079
60802003-11-26 Robert Dewar <dewar@gnat.com>
6081
6082 * sem_ch13.adb: (Check_Size): Reset size if size is too small
6083
fbf3e0dd 6084 * sem_ch13.ads:
81a5b587
AC
6085 (Check_Size): Fix documentation to include bit-packed array case
6086
6087 * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
6088
6089 * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
6090
6091 * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
6092
d4c47b51
AC
60932003-11-24 Arnaud Charlet <charlet@act-europe.fr>
6094
6095 PR ada/13142
6096 * utils.c (init_gigi_decls): Change name of built-in setjmp to
6097 __builtin_setjmp, since this is apparently needed by recent
6098 non Ada changes.
6099
7677e9e0
RO
61002003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6101
d4c47b51 6102 * adadecode.c: Only include ctype.h if not IN_GCC.
7677e9e0
RO
6103 (__gnat_decode): Use ISDIGIT from safe-ctype.h.
6104
6c1e24d3
AC
61052003-11-24 Jose Ruiz <ruiz@act-europe.fr>
6106
fbf3e0dd 6107 * Makefile.in:
6c1e24d3
AC
6108 Use 5zintman.ads for VxWorks targets. This file avoid confusion between
6109 signals and interrupts.
6110
6111 * 5zintman.ads: New File.
6112
6113 * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
6114 add exception signals to the set of unmasked signals.
6115
fbf3e0dd 6116 * 5ztaprop.adb:
6c1e24d3
AC
6117 Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
6118 between signals and interrupts.
6119 Add to Unblocked_Signal_Mask the set of signals that are in
6120 Keep_Unmasked.
6121
fbf3e0dd 6122 * 7sinmaop.adb:
6c1e24d3
AC
6123 Adding a check to see whether the Interrupt_ID we want to unmask is in
6124 the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
6125 reason is that the index type of the Keep_Unmasked array is not always
6126 Interrupt_ID; it may be a subtype of Interrupt_ID.
6127
61282003-11-24 Gary Dismukes <dismukes@gnat.com>
6129
fbf3e0dd 6130 * exp_util.adb:
6c1e24d3
AC
6131 (Remove_Side_Effects): Condition constantness of object created for a
6132 an unchecked type conversion on the constantness of the expression
6133 to ensure the correct value for 'Constrained when passing components
6134 of view-converted class-wide objects.
6135
61362003-11-24 Robert Dewar <dewar@gnat.com>
6137
6138 * par-load.adb (Load): Improve handling of misspelled and missing units
6139 Removes several cases of compilation abandoned messages
6140
6141 * lib.adb: (Remove_Unit): New procedure
6142
6143 * lib.ads: (Remove_Unit): New procedure
6144
6145 * lib-load.adb: Minor reformatting
6146
61472003-11-24 Vincent Celier <celier@gnat.com>
6148
fbf3e0dd 6149 * make.adb:
6c1e24d3
AC
6150 (Gnatmake, Initialize): Call Usage instead of Makeusg directly
6151 (Marking_Label): Label to mark processed source files. Incremented for
6152 each executable.
6153 (Gnatmake): Increase Marking_Labet for each executable
6154 (Is_Marked): Compare against marking label
6155 (Mark): Mark with marking label
6156
61572003-11-24 Jerome Guitton <guitton@act-europe.fr>
6158
fbf3e0dd 6159 * s-thread.ads:
6c1e24d3
AC
6160 Move the declaration of the TSD for System.Threads to System.Soft_Links.
6161 Add some comments.
6162
6163 * Makefile.in: Added target pair for s-thread.adb for cert runtime.
6164 (rts-cert): build a single relocatable object for the run-time lib.
6165 Fix perms.
6166
61672003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr>
6168
fbf3e0dd 6169 * Make-lang.in:
6c1e24d3
AC
6170 Use gnatls rather than gcc to obtain the location of GNAT RTL for
6171 crosstools build.
6172
61732003-11-24 Sergey Rybin <rybin@act-europe.fr>
6174
6175 * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
6176 can not use it as before (that is, as a variable) when dumping it into
6177 the tree file. Add a local variable to store the result of this
6178 function and to be used as the string to be written into the tree.
6179
6180 * scn.adb (Initialize_Scanner): Add comments explaining the recent
6181 changes.
6182
6183 * sinput.adb (Source_First, Source_Last): In case of
6184 Internal_Source_File, replace returning attributes of
6185 Internal_Source_Ptr (which is wrong) with returning attributes of
6186 Internal_Source.
6187
61882003-11-24 Ed Schonberg <schonberg@gnat.com>
6189
fbf3e0dd 6190 * sem_ch3.adb:
6c1e24d3
AC
6191 (New_Concatenation_Op): Proper name for New_Binary_Operator, only
6192 used for implicit concatenation operators.
6193 Code cleanup.
6194
fbf3e0dd 6195 * sem_elab.adb:
6c1e24d3
AC
6196 (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
6197 task bodies that are in the scope of a Suppress pragma.
6198 (Check_A Call): Use the flag to prevent spurious elaboration checks.
6199
fbf3e0dd 6200 * sinfo.ads, sinfo.adb:
6c1e24d3
AC
6201 New flag No_Elaboration_Check on function/procedure calls, to properly
6202 suppress checks on calls in task bodies that are within a local suppress
6203 pragma.
6204
fbf3e0dd 6205 * exp_ch4.adb:
6c1e24d3
AC
6206 (Expand_Concatenate_Other): Use the proper integer type for the
6207 expression for the upper bound, to avoid universal_integer computations
6208 when possible.
6209
6f2aeb72
KC
62102003-11-21 Kelley Cook <kcook@gcc.gnu.org>
6211
6212 * .cvsignore: Delete.
6213
e9f85cd6
AS
62142003-11-21 Andreas Schwab <schwab@suse.de>
6215
6216 * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
6217
4e074baf
VF
62182003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr>
6219
6220 * 5wsystem.ads: Enable zero cost exception.
6221
f1f9fe30
AC
62222003-11-21 Jerome Guitton <guitton@act-europe.fr>
6223
6224 * 5ztiitho.adb: Remove an unreferenced variable.
6225
62262003-11-21 Thomas Quinot <quinot@act-europe.fr>
6227
6228 * adaint.c: For FreeBSD, use mkstemp.
6229
62302003-11-21 Arnaud Charlet <charlet@act-europe.fr>
6231
6232 * gnatlbr.adb: Now reference Gnat_Static_Version_String.
6233
62342003-11-21 Robert Dewar <dewar@gnat.com>
6235
6236 * bld.adb: Remove useless USE of gnatvsn
6237
6238 * gnatchop.adb: Minor reformatting
6239 Clean up version handling to be more consistent
6240
6241 * gnatxref.adb: Minor reformatting
6242
6243 * gprcmd.adb: Minor reformatting
6244 Fix output of copyright to be more consistent with other tools
6245
62462003-11-21 Vincent Celier <celier@gnat.com>
6247
6248 * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
6249
62502003-11-21 Sergey Rybin <rybin@act-europe.fr>
6251
6252 * atree.adb (Initialize): Add initializations for global variables
6253 used in New_Copy_Tree.
6254
6255 * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
6256 Internal_Source_File as the actual).
6257 Put the set of statements creating Any_Character before the set of
6258 statements creating Any_Array to have Any_Character fully initialized
6259 when it is used in creating Any_Array.
6260
6261 * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
6262 not call Scan in case if the actual is Internal_Source_File
6263 Add 2003 to copyright note.
6264
6265 * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
6266 processing Internal_Source_File.
6267
6268 * types.ads: Add the constant Internal_Source_File representing the
6269 source buffer for artificial source-code-like strings created within
6270 the compiler (the definition of Source_File_Index is changed).
6271
c5b2a8ae
AC
62722003-11-20 Arnaud Charlet <charlet@act-europe.fr>
6273
6274 * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
6275 56system.ads: New file, FreeBSD version.
6276
a03ad584
JM
62772003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
6278
6279 * Make-lang.in (ada.extraclean): Delete.
6280
19f0526a
AC
62812003-11-19 Arnaud Charlet <charlet@act-europe.fr>
6282
6283 * gnatmem.adb: Clean up verbose output.
6284
6285 * gprcmd.adb: Change copyright to FSF.
6286
62872003-11-19 Vincent Celier <celier@gnat.com>
6288
6289 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
6290 and Version (ignored).
6291
6292 * symbols.ads: (Policy): New type
6293 (Initialize): New parameter Reference, Symbol_Policy and
6294 Library_Version.
6295 Remove parameter Force.
6296 Minor reformatting.
6297
6298 * snames.ads, snames.adbadb: New standard names
6299 Library_Reference_Symbol_File and Library_Symbol_Policy
6300
fbf3e0dd 6301 * mlib-prj.adb:
19f0526a
AC
6302 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
6303 project.
6304
fbf3e0dd 6305 * mlib-tgt.adb:
19f0526a
AC
6306 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
6307
6308 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
6309
6310 * prj.adb: (Project_Empty): New component Symbol_Data
6311
6312 * prj.ads: (Policy, Symbol_Record): New types
6313 (Project_Data): New component Symbol_Data
6314
fbf3e0dd 6315 * prj-attr.adb:
19f0526a
AC
6316 New attributes Library_Symbol_File, Library_Symbol_Policy and
6317 Library_Reference_Symbol_File.
6318
fbf3e0dd 6319 * prj-nmsc.adb:
19f0526a
AC
6320 (Ada_Check): When project is a Stand-Alone library project, process
6321 attribute Library_Symbol_File, Library_Symbol_Policy and
6322 Library_Reference_Symbol_File.
6323
6324 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
6325 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
6326 5sml-tgt.adb (Build_Dynamic_Library): New parameter
6327 Symbol_Data (ignored).
6328
6329 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
6330 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
6331 functions Option_File_Name and Version_String. Set new options of
6332 gnatsym related to symbol file, symbol policy and reference symbol
6333 file.
6334
fbf3e0dd 6335 * 5vsymbol.adb:
19f0526a
AC
6336 Extensive modifications to take into account the reference symbol file,
6337 the symbol policy, the library version and to put in the symbol file the
6338 minor and major IDs.
6339
6340 * bld.adb (Process_Declarative_Items): Put second argument of
6341 gprcmd to_absolute between single quotes, to avoid problems with
6342 Windows.
6343
6344 * bld-io.adb: Update Copyright notice.
6345 (Flush): Remove last character of a line, if it is a back slash, to
6346 avoid make problems.
6347
fbf3e0dd 6348 * gnatsym.adb:
19f0526a
AC
6349 Implement new scheme with reference symbol file and symbol policy.
6350
6351 * g-os_lib.ads: (Is_Directory): Clarify comment
6352
63532003-11-19 Robert Dewar <dewar@gnat.com>
6354
6355 * atree.adb: Move New_Copy_Tree global variables to head of package
6356
6357 * errout.adb: Minor reformatting
6358
63592003-11-19 Javier Miranda <miranda@gnat.com>
6360
6361 * sem_ch4.adb: (Diagnose_Call): Improve error message.
6362 Add reference to Ada0Y (AI-50217)
6363
6364 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
6365 sem_util.adb: Add reference to AI-50217
6366
6367 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
6368
6369 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
6370
6371 * sem_aggr.adb: Complete documentation of AI-287 changes
6372
6373 * par-ch4.adb: Document previous changes.
6374
6375 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
6376 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
6377 Ada0Y (AI-50217)
6378
6379 * exp_aggr.adb: Add references to AI-287 in previous changes
6380
63812003-11-19 Ed Schonberg <schonberg@gnat.com>
6382
fbf3e0dd 6383 * exp_ch6.adb:
19f0526a
AC
6384 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
6385 in the rewriting is the result of an inlined call.
6386
6387 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
6388 parameter is a type conversion, use original node to construct the
6389 post-call assignment, because expression may have been rewritten, e.g.
6390 if it is a packed array.
6391
fbf3e0dd 6392 * sem_attr.adb:
19f0526a
AC
6393 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
6394 body, just as it is in an instance.
6395 Categorization routines
6396
6397 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
6398 Instantiate_Object): Set proper sloc reference for message on missing
6399 actual.
6400
64012003-11-19 Thomas Quinot <quinot@act-europe.fr>
6402
6403 * Makefile.in: Add FreeBSD libgnat pairs.
6404
6405 * usage.adb: Fix typo in usage message.
6406
64072003-11-19 Jerome Guitton <guitton@act-europe.fr>
6408
6409 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
6410 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
6411 pragma Thread_Body.
6412 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
6413
6414 * s-thread.adb: This file is now a dummy implementation of
6415 System.Thread.
6416
64172003-11-19 Sergey Rybin <rybin@act-europe.fr>
6418
6419 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
6420
64212003-11-19 Emmanuel Briot <briot@act-europe.fr>
6422
6423 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
6424 instanciation references in the parent type description.
6425
0d77ab84
AC
64262003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6427
6428 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
6429
6430 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
6431 TYPE_PRECISION directly from esize.
6432
64332003-11-18 Thomas Quinot <quinot@act-europe.fr>
6434
fbf3e0dd 6435 * cstreams.c:
0d77ab84
AC
6436 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
6437
6438 * init.c: Initialization routines for FreeBSD
6439
6440 * link.c: Link info for FreeBSD
6441
6442 * sysdep.c: Add the case of FreeBSD
6443
cb7a5092
AC
64442003-11-17 Jerome Guitton <guitton@act-europe.fr>
6445
6446 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
6447 already called in System.Threads.
6448
6449 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
6450 environment task, as it has been moved to System.Threads.Initialization.
6451
64522003-11-17 Arnaud Charlet <charlet@act-europe.fr>
6453
6454 * adaint.c (__gnatlib_install_locks): Only reference
6455 __gnat_install_locks on VMS, since other platforms can avoid using
6456 --enable-threads=gnat
6457
64582003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6459
6460 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
6461
6462 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
6463 TYPE_PACKED_ARRAY_TYPE_P.
6464 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
6465
6466 Part of PR ada/12806
6467 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
6468 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
6469
64702003-11-17 Vincent Celier <celier@gnat.com>
6471
6472 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
6473 to False.
6474 Do not set exit status to Failure when Warning is True.
6475 (Gnatchop): Make errors "no compilation units found" and
6476 "no source files written" warnings only.
6477
6478 * make.adb (Gnatmake): When using a project file, set
6479 Look_In_Primary_Dir to False.
6480 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
6481 and Local_Configuration_Pragmas in the project where they are declared
6482 not an extending project which might have inherited them.
6483
6484 * osint.adb (Locate_File): If Name is already an absolute path, do not
6485 look for a directory.
6486
6487 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
6488 -gnats (Check_Syntax) is used, issue only a warning, not an error.
6489
6490 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
6491 in objects of type Variable_Value.
6492
6493 * prj.ads: (Variable_Value): New component Project
6494
6495 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
6496 is in a project extended by Project.
6497
6498 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
6499 Project of Variable_Values to this new parameter value.
6500 (Expression): Set component Project of Variable_Values.
6501 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
6502 Set the component Project in array elements.
6503
65042003-11-17 Sergey Rybin <rybin@act-europe.fr>
6505
6506 * errout.adb: (Initialize): Add initialization for error nodes.
6507
6508 * sem_ch12.adb (Initialize): Add missing initializations for
6509 Exchanged_Views and Hidden_Entities.
6510
65112003-11-17 Ed Schonberg <schonberg@gnat.com>
6512
6513 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
6514 already instantiated tree for use in subsequent inlining.
6515 (Analyze_Associations, Instantiate_Formal_Subprogram,
6516 Instantiate_Object): improve error message for mismatch in
6517 instantiations.
6518
6519 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
6520 instantiations of subprograms declared in instances.
6521
65222003-11-17 Javier Miranda <miranda@gnat.com>
6523
6524 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
6525 executed only under the Extensions_Allowed flag.
6526
65272003-11-17 Robert Dewar <dewar@gnat.com>
6528
6529 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
6530 zeroes suppressed.
6531 (Address_Image): Fix bug of returning 0x instead of 0x0
6532 Minor reformatting (function specs).
6533
6534 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
6535 (missed case of 33-63)
6536
6537 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
6538
6539 * s-thread.adb: Add comments for pragma Restriction
6540
6541 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
6542 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
6543
65442003-11-17 Ed Falis <falis@gnat.com>
6545
6546 * s-thread.adb: Added No_Tasking restriction for this implementation.
6547
65482003-11-17 Emmanuel Briot <briot@act-europe.fr>
6549
6550 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
6551 instanciation references in the parent type description.
6552
65532003-11-17 GNAT Script <nobody@gnat.com>
6554
6555 * Make-lang.in: Makefile automatically updated
6556
7d60db05
JM
65572003-11-16 Jason Merrill <jason@redhat.com>
6558
6559 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
6560 and TAGS files that include them for each front end.
6561
c0040397
AJ
65622003-11-14 Andreas Jaeger <aj@suse.de>
6563
a477ab83 6564 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
fbf3e0dd 6565 is the canonical version.
a477ab83
AJ
6566 * misc.c (gnat_handle_option): Likewise.
6567
c0040397
AJ
6568 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
6569
6570 * 5nsystem.ads: New file for x86_64-linux-gnu.
6571
95a6aaf9
AC
65722003-11-14 Arnaud Charlet <charlet@act-europe.fr>
6573
262cc585 6574 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
95a6aaf9 6575
4a4fe537
AC
6576 * comperr.adb: Fix logic in previous change.
6577
65356e64
AC
65782003-11-13 Vincent Celier <celier@gnat.com>
6579
6580 * 5bml-tgt.adb (Build_Dynamic_Library): Use
6581 Osint.Include_Dir_Default_Prefix instead of
6582 Sdefault.Include_Dir_Default_Name.
6583
6584 * gnatlbr.adb: Update Copyright notice
6585 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
6586 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
6587 instead of Sdefault.Object_Dir_Default_Name
6588
c0040397 6589 * gnatlink.adb:
65356e64
AC
6590 (Process_Binder_File): Never suppress the option following -Xlinker
6591
c0040397 6592 * mdll-utl.adb:
65356e64
AC
6593 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
6594 Sdefault.Object_Dir_Default_Name.
6595
c0040397 6596 * osint.ads, osint.adb:
65356e64
AC
6597 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
6598 Minor reformatting.
6599
6600 * vms_conv.ads: Minor reformating
6601 Remove GNAT STANDARD and GNAT PSTA
6602
c0040397 6603 * vms_conv.adb:
65356e64
AC
6604 Allow GNAT MAKE to have several files on the command line.
6605 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
6606 Sdefault.Object_Dir_Default_Name.
6607 Minor Reformating
6608 Remove data for GNAT STANDARD
6609
c0040397 6610 * vms_data.ads:
65356e64
AC
6611 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
6612 Remove data for GNAT STANDARD
6613 Remove options and documentation for -gnatwb/-gnatwB: these warning
6614 options no longer exist.
6615
66162003-11-13 Ed Falis <falis@gnat.com>
6617
6618 * 5zthrini.adb: (Init_RTS): Made visible
6619
c0040397 6620 * 5zthrini.adb:
65356e64
AC
6621 (Register): Removed unnecessary call to taskVarGet that checked whether
6622 an ATSD was already set as a task var for the argument thread.
6623
c0040397 6624 * s-thread.adb:
65356e64
AC
6625 Updated comment to reflect that this is a VxWorks version
6626 Added context clause for System.Threads.Initialization
6627 Added call to System.Threads.Initialization.Init_RTS
6628
66292003-11-13 Jerome Guitton <guitton@act-europe.fr>
6630
c0040397 6631 * 5zthrini.adb:
65356e64
AC
6632 (Init_RTS): New procedure, for the initialization of the run-time lib.
6633
c0040397 6634 * s-thread.adb:
65356e64
AC
6635 Remove dependancy on System.Init, so that this file can be used in the
6636 AE653 sequential run-time lib.
6637
66382003-11-13 Robert Dewar <dewar@gnat.com>
6639
6640 * bindgen.adb: Minor reformatting
6641
66422003-11-13 Ed Schonberg <schonberg@gnat.com>
6643
c0040397 6644 * checks.adb:
65356e64
AC
6645 (Apply_Discriminant_Check): Do no apply check if target type is derived
6646 from source type with no applicable constraint.
6647
c0040397 6648 * lib-writ.adb:
65356e64
AC
6649 (Ensure_System_Dependency): Do not apply the style checks that may have
6650 been specified for the main unit.
6651
c0040397 6652 * sem_ch8.adb:
65356e64
AC
6653 (Find_Selected_Component): Further improvement in error message, with
6654 RM reference.
6655
c0040397 6656 * sem_res.adb:
65356e64
AC
6657 (Resolve): Handle properly the case of an illegal overloaded protected
6658 procedure.
6659
66602003-11-13 Javier Miranda <miranda@gnat.com>
6661
c0040397 6662 * exp_aggr.adb:
65356e64
AC
6663 (Has_Default_Init_Comps): New function to check the presence of
6664 default initialization in an aggregate.
6665 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
6666 extension aggregate of a limited record. In addition, a new formal
6667 was added to do not initialize the record controller (if any) during
6668 this recursive expansion of ancestors.
6669 (Init_Controller): Add support for limited record components.
6670 (Expand_Record_Aggregate): In case of default initialized components
6671 convert the aggregate into a set of assignments.
6672
6673 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
6674 describing the new syntax.
6675 Nothing else needed to be done because this subprogram delegates part of
6676 its work to P_Precord_Or_Array_Component_Association.
6677 (P_Record_Or_Array_Component_Association): Give support to the new
6678 syntax for default initialization of components.
6679
c0040397 6680 * sem_aggr.adb:
65356e64
AC
6681 (Resolve_Aggregate): Relax the strictness of the frontend in case of
6682 limited aggregates.
6683 (Resolve_Record_Aggregate): Give support to default initialized
6684 components.
6685 (Get_Value): In case of default initialized components, duplicate
6686 the corresponding default expression (from the record type
6687 declaration). In case of default initialization in the *others*
6688 choice, do not check that all components have the same type.
6689 (Resolve_Extension_Aggregate): Give support to limited extension
6690 aggregates.
6691
c0040397 6692 * sem_ch3.adb:
65356e64
AC
6693 (Check_Initialization): Relax the strictness of the front-end in case
6694 of aggregate and extension aggregates. This test is now done in
6695 Get_Value in a per-component manner.
6696
6697 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
6698 expression corresponds to a limited aggregate. This test is now done
6699 in Get_Value.
6700
6701 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
6702 Box_Present flag.
6703
6704 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
6705 present in an N_Component_Association node
6706
67072003-11-13 Thomas Quinot <quinot@act-europe.fr>
6708
6709 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
6710 type-conformant entry only if they are homographs.
6711
67122003-11-13 GNAT Script <nobody@gnat.com>
6713
6714 * Make-lang.in: Makefile automatically updated
6715
49add53f
RO
67162003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6717
6718 * adadecode.c: Use <> form of include for ctype.h.
6719 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
6720
94bae1cc
RO
67212003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6722
6723 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
6724 Works around PR middle-end/6552.
6725
463f452c
AC
67262003-11-10 Ed Falis <falis@gnat.com>
6727
6728 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
6729
6730 * 5zinit.adb: (Install_Handler): Moved back to spec
6731 (Install_Signal_Handlers): Deleted
6732
6733 * 5zthrini.adb: Added context clause for System.Storage_Elements
6734 (Register): Only handles creation of taskVar; initialization moved to
6735 Thread_Body_Enter.
6736 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
6737 Added declaration of environment task secondary stack and
6738 initialization.
6739
6740 * s-thread.adb: Implement bodies for thread body processing
6741
c0040397 6742 * s-thread.ads:
463f452c
AC
6743 Added comment identifying supported targets for pragma Thread_Body.
6744
67452003-11-10 Pascal Obry <obry@gnat.com>
6746
6747 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
6748 GNAT_MAX_PATH_LEN.
6749
c0040397 6750 * s-fileio.adb:
463f452c
AC
6751 (Open): Properly check for string length before copying into the buffer.
6752 Raises Name_Error if buffer is too small. Note that this was a potential
6753 buffer overflow.
6754
67552003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
6756
6757 * bindgen.adb, comperr.adb: Code clean ups.
6758 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
6759
67602003-11-10 Sergey Rybin <rybin@act-europe.fr>
6761
6762 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
6763
67642003-11-10 Vincent Celier <celier@gnat.com>
6765
c0040397 6766 * gprcmd.adb:
463f452c
AC
6767 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
6768 installation.
6769
6770 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
6771
6772 * prj.adb: (Project_Empty): Add new boolean component Virtual
6773
6774 * prj.ads: (Virtual_Prefix): New constant string
6775 (Project_Data): New boolean component Virtual
6776
6777 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
6778 a library project is extended by a virtual extending project.
6779
c0040397 6780 * prj-part.adb:
463f452c
AC
6781 Modifications throughout to implement extending-all project, including:
6782 (Virtual_Hash, Processed_Hash): New hash tables
6783 (Create_Virtual_Extending_Project): New procedure
6784 (Look_For_Virtual_Projects_For): New procedure
6785
c0040397 6786 * prj-proc.adb:
463f452c
AC
6787 (Process): After checking the projects, if main project is an
6788 extending-all project, set the object directory of all virtual extending
6789 project to the object directory of the main project.
6790 Adjust error message when a virtual extending project has the same
6791 object directory as an project being extended.
6792 (Recursive_Process): If name starts with the virtual prefix, set Virtual
6793 to True in the project data.
6794
c0040397 6795 * prj-tree.adb:
463f452c
AC
6796 (Default_Project_Node): Add new boolean component Extending_All
6797 (Is_Extending_All): New function
6798 (Set_Is_Extending_All): New procedure
6799
6800 * prj-tree.ads: (Is_Extending_All): New function
6801 (Set_Is_Extending_All): New procedure
6802 (Project_Node_Record): New boolean component Extending_All
6803
6804 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
6805
c0040397 6806 * vms_data.ads:
463f452c
AC
6807 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
6808
6809 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
6810 "gprcmd prefix" to define it.
6811
68122003-11-10 Thomas Quinot <quinot@act-europe.fr>
6813
6814 * einfo.ads: Fix a typo and remove an extraneous word in comments.
6815
c0040397 6816 * lib-load.adb:
463f452c
AC
6817 (Create_Dummy_Package_Unit): Set the scope of the entity for the
6818 created dummy package to Standard_Standard, not to itself, to
6819 defend other parts of the front-end against encoutering a cycle in
6820 the scope chain.
6821
c0040397 6822 * sem_ch10.adb:
463f452c
AC
6823 (Analyze_With_Clause): When setting the entities for the successive
6824 N_Expanded_Names that constitute the name of a child unit, do not
6825 attempt to go further than Standard_Standard in the chain of scopes.
6826 This case arises from the placeholder units created by
6827 Create_Dummy_Package_Unit in the case of a with_clause for a
6828 nonexistent child unit.
6829
68302003-11-10 Ed Schonberg <schonberg@gnat.com>
6831
c0040397 6832 * exp_ch6.adb:
463f452c
AC
6833 (Expand_Thread_Body): Place subprogram on scope stack, so that new
6834 declarations are given the proper scope.
6835
c0040397 6836 * sem_ch13.adb:
463f452c
AC
6837 (Check_Expr_Constants): Reject an expression that contains a constant
6838 created during expansion, and that appears after the object to which
6839 the address clause applies.
6840
6841 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
6842 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
6843 that uses 'Range of a function call with controlled components, so
6844 that the function result can be finalized before starting the loop.
6845
c0040397 6846 * sem_ch8.adb:
463f452c
AC
6847 (Find_Selected_Component): Improve error message when prefix is
6848 an implicit dereference of an incomplete type.
6849
68502003-11-10 Robert Dewar <dewar@gnat.com>
6851
6852 * opt.ads: New Print_Standard flag for -gnatS switch
6853
6854 * sem_ch13.adb: Remove some additional checks for unaligned arrays
6855
6856 * cstand.adb (Create_Standard): Print out package standard if -gnatS
6857 switch set
6858
6859 * debug.adb: Update doc for -gnatds to discuss relationship with new
6860 -gnatS flag
6861
6862 * sinfo.adb: Add new field Entity_Or_Associated_Node
6863
6864 * sinfo.ads: Add new field Entity_Or_Associated_Node
6865 Update documentation for Associated_Node and Entity fields to clarify
6866 relationship and usage.
6867
c0040397 6868 * sprint.adb:
463f452c
AC
6869 (Write_Id): Properly process Associated_Node field in generic template
6870
c0040397 6871 * switch-c.adb:
463f452c
AC
6872 Recognize new -gnatS switch for printing package Standard
6873 This replaces gnatpsta
6874
c0040397 6875 * usage.adb:
463f452c
AC
6876 Add line for new -gnatS switch for printing package Standard
6877 This replaces gnatpsta
6878
c77c5f2e
AJ
68792003-11-10 Andreas Jaeger <aj@suse.de>
6880
6881 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
6882 integer.
6883
5c90f17f
AC
68842003-11-10 Arnaud Charlet <charlet@act-europe.fr>
6885
6886 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
6887 by gnat1.
6888
139f0d1e
AC
68892003-11-10 Arnaud Charlet <charlet@act-europe.fr>
6890
6891 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
6892 no longer needed.
6893
6894 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
6895
6896 * sysdep.c: Add handling of cygwin.
6897
f3e4c05c
GS
68982003-11-10 GNAT Script <nobody@gnat.com>
6899
6900 * Make-lang.in: Makefile automatically updated
6901
2cdc8909
AC
69022003-11-10 Arnaud Charlet <charlet@act-europe.fr>
6903
6904 PR 12950
6905 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
6906 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
6907 Replace GNAT_ROOT by GCC_ROOT.
6908
6909 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
6910
37783865
ZW
69112003-11-06 Zack Weinberg <zack@codesourcery.com>
6912
6913 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
6914 and update for changed meaning of GET_MODE_BITSIZE.
6915
6bc1c519
AC
69162003-11-04 Doug Rupp <rupp@gnat.com>
6917
6918 * sysdep.c: Problem discovered during IA64 VMS port.
6919 [VMS] #include <unixio.h> to get proper prototypes.
6920
37783865 6921 * adaint.c:
6bc1c519
AC
6922 Issues discovered/problems fixed during IA64 VMS port.
6923 [VMS] #define _POSIX_EXIT for proper semantics.
6924 [VMS] #include <unixio.h> for proper prototypes.
6925 [VMS] (fork): #define IA64 version.
6926 (__gnat_os_exit): Remove unnecessary VMS specific code.
6927
69282003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6929
6930 Part of PR ada/12806
6931
6932 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
6933 tree, not integer.
6934
37783865 6935 * decl.c:
6bc1c519
AC
6936 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
6937 not integer.
6938
6939 * targtyps.c, decl.c, misc.c,
6940 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
6941 routines to work around change in FP sizing semantics in GCC.
6942
37783865 6943 * utils.c:
6bc1c519
AC
6944 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
6945
6946 * gigi.h: (enumerate_modes): New function.
6947
6948 * Make-lang.in: (ada/misc.o): Add real.h.
6949
6950 * misc.c: (enumerate_modes): New function.
6951
69522003-11-04 Robert Dewar <dewar@gnat.com>
6953
6954 * 3vtrasym.adb: Minor reformatting
6955 Use terminology encoded/decoded name, rather than C++ specific notion
6956 of mangling (this is the terminology used throughout GNAT).
6957
6958 * einfo.h: Regenerated
6959
6960 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
6961
37783865 6962 * exp_ch6.adb:
6bc1c519
AC
6963 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
6964
6965 * par-prag.adb: Add dummy entry for Thread_Body pragma
6966
37783865 6967 * rtsfind.ads:
6bc1c519
AC
6968 Add entries for System.Threads entities for thread body processing
6969
37783865 6970 * sem_attr.adb:
6bc1c519
AC
6971 (Analyze_Pragma, Access attributes): Check these are not applied to a
6972 thread body, since this is not permitted
6973
6974 * sem_prag.adb: Add processing for Thread_Body pragma.
6975 Minor comment fix.
6976
37783865 6977 * sem_res.adb:
6bc1c519
AC
6978 (Resolve_Call): Check for incorrect attempt to call a thread body
6979 procedure with a direct call.
6980
6981 * snames.ads, snames.adb: Add entry for Thread_Body pragma
6982 Add names associated with thread body expansion
6983
6984 * snames.h: Add entry for Thread_Body pragma
6985
6986 * s-thread.adb: Add entries for thread body processing
6987 These are dummy bodies so far
6988
6989 * s-thread.ads: Add documentation on thread body handling.
6990 Add entries for thread body processing.
6991
69922003-11-04 Javier Miranda <miranda@gnat.com>
6993
37783865 6994 * sem_ch10.adb:
6bc1c519
AC
6995 (Build_Limited_Views): Return after posting an error in case of limited
6996 with_clause on subprograms, generics, instances or generic renamings
6997 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
6998 on subprograms, generics, instances or generic renamings
6999
70002003-11-04 Arnaud Charlet <charlet@act-europe.fr>
7001
7002 * raise.c (setup_to_install): Correct mistake in last revision; two
7003 arguments out of order.
7004
7005 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
7006 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
7007 notice, missed in previous change.
7008 Remove trailing blanks and other style errors introduced in previous
7009 change.
7010
70112003-11-04 Olivier Hainque <hainque@act-europe.fr>
7012
7013 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
7014 rid of the wrapper for a LJM type, ensuring we don't do that if the
7015 field is addressable. This avoids potential low level type view
7016 mismatches later on, for instance in a by-reference argument passing
7017 process.
7018
70192003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7020
7021 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
7022 aligned at byte boundary.
7023
70242003-11-04 Joel Brobecker <brobecker@gnat.com>
7025
7026 * decl.c (components_to_record): Do not delete the empty variants from
7027 the end of the union type.
7028
70292003-11-04 Ed Schonberg <schonberg@gnat.com>
7030
7031 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
7032 operation for a derived type, an explicit declaration may use a local
7033 subtype of Boolean.
7034
70352003-11-04 Vincent Celier <celier@gnat.com>
7036
7037 * make.adb (Gnatmake): Allow main sources on the command line with a
7038 library project when it is only for compilation (no binding or
7039 linking).
7040
487e9fff
RO
70412003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7042
7043 * Makefile.in: Remove many duplicate variables.
7044
63069342
KC
70452003-11-03 Kelley Cook <kcook@gcc.gnu.org>
7046
7047 * Make-lang.in (dvi): Move targets to $(docobjdir).
7048 (gnat_ug_vms.dvi): Simplify rule and adjust target.
7049 (gnat_ug_wnt.dvi): Likewise.
7050 (gnat_ug_unx.dvi): Likewise.
7051 (gnat_ug_vxw.dvi): Likewise.
7052 (gnat_rm.dvi): Likewise.
7053 (gnat-style.dvi): Likewise.
7054
c2edc52b
KC
70552003-10-31 Kelley Cook <kcook@gcc.gnu.org>
7056
7057 * gigi.h: Missed commit from update for C90.
7058
14df9585
KC
70592003-10-31 Kelley Cook <kcook@gcc.gnu.org>
7060
7061 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
7062
acd8e984
AS
70632003-10-31 Andreas Schwab <schwab@suse.de>
7064
7065 * raise.c (get_action_description_for): Fix typo in last change.
7066
b2c62c45
NN
70672003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
7068
7069 PR ada/12761
7070 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
7071 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
7072
9373164a
KC
70732003-10-30 Kelley Cook <kcook@gcc.gnu.org>
7074
7075 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
7076 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
7077 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
7078 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
7079 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
7080
bde58e32
AC
70812003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
7082
37783865 7083 * 3vtrasym.adb:
bde58e32
AC
7084 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
7085 numbers when symbol name is too long.
7086
70872003-10-30 Ed Falis <falis@gnat.com>
7088
7089 * g-signal.ads, g-signal.adb: New files
7090
7091 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
7092
7093 * Makefile.rtl: Introduce GNAT.Signals
7094
70952003-10-30 Robert Dewar <dewar@gnat.com>
7096
7097 * freeze.adb: Minor reformatting
7098
7099 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
7100
37783865
ZW
7101 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
7102 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
bde58e32
AC
7103 New handling of Id_Check parameter to improve recognition of keywords
7104 used as identifiers.
7105 Update copyright notice to include 2003
7106
657a9dd9
AC
71072003-10-29 Robert Dewar <dewar@gnat.com>
7108
7109 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
7110 sem_ch10.adb: Minor reformatting
7111
7112 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
7113 (Expand_Assign_Record): Test right hand side for bit unaligned as well
7114
71152003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
7116
37783865 7117 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
657a9dd9
AC
7118 Support for TBK$SYMBOLIZE-based symbolic traceback.
7119
71202003-10-29 Jose Ruiz <ruiz@act-europe.fr>
7121
37783865 7122 * exp_disp.adb:
657a9dd9
AC
7123 Revert previous change, that did not work well when pragma No_Run_Time
7124 was used in conjunction with a run-time other than ZFP.
7125
71262003-10-29 Vincent Celier <celier@gnat.com>
7127
37783865 7128 * make.adb:
657a9dd9
AC
7129 (Gnatmake): When there are no Ada mains in attribute Main, disable the
7130 bind and link steps only is switch -z is not used.
7131
71322003-10-29 Arnaud Charlet <charlet@act-europe.fr>
7133
7134 * Makefile.generic: Remove duplicated setting of CC.
7135
7136 * Makefile.prolog: Set CC to gcc by default, to override make's
7137 default (cc).
7138
7139 * einfo.h: Regenerated.
7140
71412003-10-29 Ed Schonberg <schonberg@gnat.com>
7142
7143 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
7144 current body, after compiling subunit.
7145
7146 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
7147 when in deleted code, because gigi needs properly ordered freeze
7148 actions to annotate types.
7149
7150 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
7151 prevent the premature freezing of record type that contains
7152 subcomponents with a private type that does not yet have a completion.
7153
71542003-10-29 Javier Miranda <miranda@gnat.com>
7155
37783865 7156 * sem_ch12.adb:
657a9dd9
AC
7157 (Analyze_Package_Instantiation): Check that instances can not be used in
7158 limited with_clauses.
7159
37783865 7160 * sem_ch8.adb:
657a9dd9
AC
7161 (Analyze_Package_Renaming): Check that limited withed packages cannot
7162 be renamed. Improve text on error messages related to limited
7163 with_clauses.
7164
7165 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
7166
7167 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
7168 Update copyright notice.
7169
7170 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
7171 (Install_Limited_Context_Clauses): New subprogram that isolates all the
7172 checks required for limited context_clauses and installs the limited
7173 view.
7174 (Install_Limited_Withed_Unit): Complete its documentation.
7175 (Analyze_Context): Check that limited with_clauses are only allowed in
7176 package specs.
7177 (Install_Context): Call Install_Limited_Context_Clauses after the
7178 parents have been installed.
7179 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
7180 package as 'From_With_Type'; this mark indicates that the limited view
7181 is installed. Used to check bad usages of limited with_clauses.
7182 (Build_Limited_Views): Do not add shadow entities to the scope's list
7183 of entities. Do not add real entities to the Non_Limited_Views chain.
7184 Improve error notification.
7185 (Remove_Context_Clauses): Remove context clauses in two phases:
7186 limited views first and regular views later (to maintain the
7187 stack model).
7188 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
7189 its visible entities.
7190
71912003-10-29 Thomas Quinot <quinot@act-europe.fr>
7192
7193 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
7194 with any type that Is_Fixed_Point_Type.
7195
7196 * sinfo.ads: Fix documentation for Associated_Node attribute.
7197
71982003-10-29 Sergey Rybin <rybin@act-europe.fr>
7199
7200 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
7201 both '-gnatc' and '-gnatt' are specified.
7202
7203 * atree.adb (Initialize): Add initialization for Node_Count (set to
7204 zero).
7205
72062003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7207
7208 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
7209 do not consider as Pure.
7210
7211 Part of implementation of function-at-a-time:
7212
7213 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
7214 (tree_transform): Add new argument to build_component_ref.
7215 (tree_transform, case N_Assignment_Statement): Make and return an
7216 EXPR_STMT.
7217 (tree_transform): If result IS_STMT, set flags and return it.
7218 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
7219
7220 * utils2.c (build_simple_component_ref, build_component_ref): Add new
7221 arg, NO_FOLD_P.
7222 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
7223 (build_allocator): Likewise.
7224
7225 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
7226 Add new arg to build_component_ref.
7227 (maybe_unconstrained_array, unchecked_convert): Likewise.
7228
7229 * ada-tree.def (EXPR_STMT): New code.
7230
7231 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
7232
7233 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
7234 build_component_ref calls.
7235
7236 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
7237
7238 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
7239 (build_component_ref): Add new argument, NO_FOLD_P.
7240
ecad994d
AC
72412003-10-27 Arnaud Charlet <charlet@act-europe.fr>
7242
7243 * Makefile.generic: Add missing substitution on object_deps handling.
7244
7245 PR ada/5909:
7246 * Make-lang.in (check-ada): Enable ACATS test suite.
7247
72482003-10-27 Robert Dewar <dewar@gnat.com>
7249
37783865 7250 * exp_ch3.adb:
ecad994d
AC
7251 (Freeze_Array_Type): We do not need an initialization routine for types
7252 derived from String or Wide_String. They should be treated the same
7253 as String and Wide_String themselves. This caused problems with the
7254 use of Initialize_Scalars.
7255
37783865 7256 * exp_ch5.adb:
ecad994d
AC
7257 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
7258 composites. This allows use of component clauses that are not byte
7259 aligned.
7260
37783865 7261 * sem_prag.adb:
ecad994d
AC
7262 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
7263 is an attempt to pack an array of atomic objects.
7264
7265 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
7266
72672003-10-27 Pascal Obry <obry@gnat.com>
7268
37783865 7269 * g-dirope.adb:
ecad994d
AC
7270 (Basename): Check for drive letters in a pathname only on DOS based OS.
7271
72722003-10-27 Vincent Celier <celier@gnat.com>
7273
37783865 7274 * make.adb:
ecad994d
AC
7275 (Gnatmake): When unable to change dir to the object dir, display the
7276 content of the parent dir of the obj dir, to try to understand why this
7277 happens.
7278
72792003-10-27 GNAT Script <nobody@gnat.com>
7280
7281 * Make-lang.in: Makefile automatically updated
7282
72832003-10-27 Ed Schonberg <schonberg@gnat.com>
7284
37783865 7285 * sem_ch12.adb:
ecad994d
AC
7286 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
7287 should not be done in Save/Restore_Scope_Stack, because it is performed
7288 locally.
7289
37783865 7290 * sem_ch8.adb:
ecad994d
AC
7291 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
7292 whether use clauses should be removed/restored.
7293
37783865 7294 * sem_ch8.ads:
ecad994d
AC
7295 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
7296 whether use clauses should be removed/restored.
7297
b6b3c138
AJ
72982003-10-26 Andreas Jaeger <aj@suse.de>
7299
7300 * Makefile.in: Remove duplicated lines.
7301
b6d83931
AC
73022003-10-24 Arnaud Charlet <charlet@act-europe.fr>
7303
7304 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
7305 minimize the differences with ACT tree.
7306
7307 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
7308 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
7309 Gnatvsn.Gnat_Static_Version_String to reduce differences between
7310 ACT and FSF trees.
7311
73122003-10-24 Pascal Obry <obry@gnat.com>
7313
7314 * adadecode.c (ostrcpy): New function.
7315 (__gnat_decode): Use ostrcpy of strcpy.
7316 (has_prefix): Set first parameter a const.
7317 (has_suffix): Set first parameter a const.
7318 Update copyright notice. Fix source name in header.
7319 Removes a trailing space.
7320 PR ada/12014.
7321
73222003-10-24 Jose Ruiz <ruiz@act-europe.fr>
7323
b6b3c138 7324 * exp_disp.adb:
b6d83931
AC
7325 Remove the test against being in No_Run_Time_Mode before generating a
7326 call to Register_Tag. It is redundant with the test against the
7327 availability of the function Register_Tag.
7328
73292003-10-24 Vincent Celier <celier@gnat.com>
7330
7331 * g-catiio.adb: (Month_Name): Correct spelling of February
7332
7333 * make.adb: (Mains): New package
7334 (Initialize): Call Mains.Delete
7335 (Gnatmake): Check that each main on the command line is a source of a
7336 project file and, if there are several mains, each of them is a source
7337 of the same project file.
7338 (Gnatmake): When a foreign language is specified in attribute Languages,
7339 no main is specified on the command line and attribute Mains is not
7340 empty, only build the Ada main. If there is no Ada main, just compile
7341 the Ada sources and their closure.
7342 (Gnatmake): If a main is specified on the command line with directory
7343 information, check that the source exists and, if it does, that the path
7344 is the actual path of a source of a project.
7345
b6b3c138 7346 * prj-env.adb:
b6d83931
AC
7347 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
7348 Full_Path is True, return the full path instead of the simple file name.
7349 (Project_Of): New function
7350
b6b3c138 7351 * prj-env.ads:
b6d83931
AC
7352 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
7353 defaulted to False.
7354 (Project_Of): New function
7355
73562003-10-24 Arnaud Charlet <charlet@act-europe.fr>
7357
b6b3c138 7358 * Makefile.generic:
b6d83931
AC
7359 Ensure objects of main project are always checked and rebuilt if needed.
7360 Set CC to gcc by default.
7361 Prepare new handling of link by creating a global archive (not activated
7362 yet).
7363
7364 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
7365 stringt.h: Update copyright notice. Remove trailing blanks.
7366 Fix source name in header.
7367
73682003-10-24 Robert Dewar <dewar@gnat.com>
7369
7370 * sem_ch12.adb: Minor reformatting
7371
b6b3c138 7372 * sem_ch3.adb:
b6d83931
AC
7373 Minor reformatting (including new function return style throughout)
7374
b6b3c138 7375 * sem_ch3.ads:
b6d83931
AC
7376 Minor reformatting (including new function return style throughout)
7377
73782003-10-24 Arnaud Charlet <charlet@act-europe.fr>
7379
7380 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
7381 stringt.h: Update copyright notice. Remove trailing blanks.
7382 Fix source name in header.
7383
73842003-10-24 GNAT Script <nobody@gnat.com>
7385
7386 * Make-lang.in: Makefile automatically updated
7387
b4e2d709
NN
73882003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
7389
7390 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
7391 stringt.h: Convert to ISO C90 declarations and definitions.
7392
9d7d51be
AC
73932003-10-23 Thomas Quinot <quinot@act-europe.fr>
7394
7395 PR ada/11978:
7396 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
7397 External_Tag attribute definition clauses.
7398
73992003-10-23 Ed Schonberg <schonberg@gnat.com>
7400
7401 PR ada/7613:
7402 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
7403 child unit, generate a fully qualified name to avoid spurious errors
7404 when the context contains renamings of different child units with
7405 the same simple name.
7406
7407 * exp_dbug.ads: Add documentation on name qualification for renamings
7408 of child units.
7409
74102003-10-23 Robert Dewar <dewar@gnat.com>
7411
7412 * g-regpat.ads, g-regpat.adb: Minor reformatting
7413
74142003-10-23 Jose Ruiz <ruiz@act-europe.fr>
7415
7416 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
7417
74182003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7419
7420 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
7421 Machine call.
7422
7423 * urealp.h: (Machine): Update to proper definition.
7424
6d244bbe
AC
74252003-10-23 Arnaud Charlet <charlet@act-europe.fr>
7426
7427 * init.c, adaint.c: Minor reformatting.
7428
8f4eb34b
DS
74292003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
7430
6d244bbe 7431 * adaint.c (w32_epoch_offset): Define static const at file level.
8f4eb34b
DS
7432 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
7433 rather than t_create, t_access in call to GetFileTime. Use union
7434 to convert between FILETIME and unsigned long long.
7435 (__gnat_file_time_name): Test for invalid file handle.
7436 (__gnat_set_filetime_name): Support win32 targets using
7437 w32api SetFileTime.
7438
25412599
DS
74392003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
7440
7441 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
7442
7443 * ctrl_c.c (__gnat_int_handler): Remove declaration.
7444
7445 * decl.c (creat_concat_name): Const-ify prefix.
7446
7447 * adaint.c: Include ctype.h if __MINGW32__.
7448 (__gnat_readlink): Mark arguments as possibly unused.
7449 (__gnat_symlink): Likewise.
7450 (__gnat_is_symbolic_link): Likewise.
7451 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
7452 declaration
b6b3c138 7453 (__gnat_file_time_name): Don't declare struct stat statbuf when
25412599
DS
7454 not needed.
7455 (__gnat_is_absolute_path): Add parenthesis around condition of
7456 'if' statement to avoid warning.
7457 (__gnat_plist_init): Specify void as parameter.
7458 (plist_enter): Likewise.
7459 (plist_leave): Likewise.
7460 (remove_handle): Make static. Initialize prev.
7461
698a5e79
AC
74622003-10-22 Arnaud Charlet <charlet@act-europe.fr>
7463
6d244bbe 7464 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
698a5e79
AC
7465 * cstreams.c (__gnat_full_name): Minor improvements and clean up
7466 of previous change.
7467
e97c30aa
RO
74682003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7469
7470 * tracebak.c (MAX): Avoid redefinition warning.
7471
7472 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
7473 Change msg to const char *.
7474 (__gnat_install_handler): Remove ss, unused.
7475 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
7476 to const char *.
7477 * cstreams.c (__gnat_full_name): Declare p only when used.
7478 (__gnat_full_name) [sgi] Return buffer.
7479
65f1ebd1
AC
74802003-10-22 Arnaud Charlet <charlet@act-europe.fr>
7481
7482 * mingw32.h: New file.
0c644933
AC
7483 * gnat_wrapper.adb: New file.
7484
6d244bbe 74852003-10-22 Jerome Roussel <roussel@act-europe.fr>
0c644933
AC
7486
7487 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
7488 string match a pre compiled regular expression (the corresponding
7489 version of the function working on a raw regular expression)
7490 Fix typos in various comments
7491 Update copyright notice in spec
7492
6d244bbe 74932003-10-21 Gary Dismukes <dismukes@gnat.com>
0c644933 7494
b6b3c138 7495 * exp_ch3.adb:
0c644933
AC
7496 (Component_Needs_Simple_Initialization): Return False when the type is a
7497 packed bit array. Revise spec comments to document this case.
7498
b6b3c138 7499 * exp_prag.adb:
0c644933
AC
7500 (Expand_Pragma_Import): Set any expression on the imported object to
7501 empty to avoid initializing imported objects (in particular this
7502 covers the case of zero-initialization of bit arrays).
7503 Update copyright notice.
7504
6d244bbe 75052003-10-21 Ed Schonberg <schonberg@gnat.com>
0c644933 7506
b6b3c138 7507 * sem_ch12.adb:
0c644933
AC
7508 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
7509 a subunit is missing.
7510 (Instantiate_Subprogram_Body): If body of function is missing, set type
7511 of return expression explicitly in dummy body, to prevent cascaded
7512 errors when a subunit is missing.
7513 Fixes PR 5677.
7514
b6b3c138 7515 * sem_ch3.adb:
0c644933
AC
7516 (Access_Subprogram_Declaration): Verify that return type is valid.
7517 Fixes PR 8693.
7518
b6b3c138 7519 * sem_elab.adb:
0c644933
AC
7520 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
7521 generic.
7522 Fixes PR 12318.
7523
b6b3c138 7524 * sem_util.adb:
0c644933
AC
7525 (Corresponding_Discriminant): If the scope of the discriminant is a
7526 private type without discriminant, use its full view.
7527 Fixes PR 8247.
65f1ebd1 7528
fbf5a39b
AC
75292003-10-21 Arnaud Charlet <charlet@act-europe.fr>
7530
7531 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
7532 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
7533 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
7534 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
7535 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
7536 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
7537 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
7538 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
7539 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
7540 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
7541 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
7542 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
7543 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
7544 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
7545 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
7546 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
7547 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
7548 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
7549 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
7550 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
7551 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
7552 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
7553 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
7554 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
7555 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
7556 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
7557 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
7558 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
7559 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
7560 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
7561 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
7562 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
7563 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
7564 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
7565 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
7566 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
7567 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
7568 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
7569 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
7570 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
7571 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
7572 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
7573 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
7574 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
7575 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
7576 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
7577 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
7578 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
7579 vms_conv.ads, vms_conv.adb, vms_data.ads,
7580 vxaddr2line.adb: Files added. Merge with ACT tree.
7581
7582 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
7583 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
7584 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
7585 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
7586 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
7587 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
7588 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
7589 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
7590 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
7591 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
7592
7593 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
7594 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
7595 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
7596 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
7597 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
7598 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
7599 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
7600 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
7601 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
7602 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
7603 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
7604 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
7605 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
7606 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
7607 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
7608 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
7609 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
7610 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
7611 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
7612 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
7613 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
7614 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
7615 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
7616 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
7617 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
7618 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
7619 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
7620 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
7621 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
7622 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
7623 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
7624 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
7625 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
7626 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
7627 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
7628 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
7629 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
7630 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
7631 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
7632 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
7633 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
7634 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
7635 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
7636 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
7637 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
7638 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
7639 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
7640 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
7641 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
7642 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
7643 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
7644 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
7645 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
7646 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
7647 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
7648 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
7649 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
7650 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
7651 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
7652 checks.adb, checks.ads, cio.c, comperr.adb,
7653 comperr.ads, csets.adb, cstand.adb, cstreams.c,
7654 debug_a.adb, debug_a.ads, debug.adb, decl.c,
7655 einfo.adb, einfo.ads, errout.adb, errout.ads,
7656 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
7657 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
7658 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
7659 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
7660 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
7661 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
7662 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
7663 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
7664 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
7665 fe.h, fmap.adb, fmap.ads, fname.adb,
7666 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
7667 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
7668 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
7669 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
7670 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
7671 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
7672 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
7673 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
7674 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
7675 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
7676 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
7677 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
7678 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
7679 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
7680 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
7681 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
7682 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
7683 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
7684 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
7685 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
7686 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
7687 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
7688 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
7689 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
7690 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
7691 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
7692 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
7693 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
7694 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
7695 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
7696 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
7697 layout.adb, lib.adb, lib.ads, lib-list.adb,
7698 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
7699 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
7700 link.c, live.adb, make.adb, make.ads,
7701 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
7702 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
7703 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
7704 misc.c, mkdir.c, mlib.adb, mlib.ads,
7705 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
7706 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
7707 namet.adb, namet.ads, namet.h, nlists.ads,
7708 nlists.h, nmake.adt, opt.adb, opt.ads,
7709 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
7710 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
7711 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
7712 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
7713 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
7714 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
7715 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
7716 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
7717 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
7718 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
7719 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
7720 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
7721 prj-util.adb, prj-util.ads, raise.c, raise.h,
7722 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
7723 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
7724 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
7725 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
7726 scans.ads, scn.adb, scn.ads, s-crc32.adb,
7727 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
7728 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
7729 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
7730 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
7731 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
7732 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
7733 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
7734 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
7735 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
7736 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
7737 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
7738 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
7739 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
7740 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
7741 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
7742 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
7743 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
7744 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
7745 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
7746 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
7747 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
7748 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
7749 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
7750 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
7751 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
7752 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
7753 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
7754 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
7755 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
7756 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
7757 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
7758 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
7759 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
7760 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
7761 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
7762 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
7763 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
7764 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
7765 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
7766 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
7767 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
7768 stringt.adb, stringt.ads, stringt.h, style.ads,
7769 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
7770 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
7771 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
7772 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
7773 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
7774 table.adb, table.ads, targparm.adb, targparm.ads,
7775 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
7776 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
7777 ttypes.ads, types.ads, types.h, uintp.adb,
7778 uintp.ads, uintp.h, uname.adb, urealp.adb,
7779 urealp.ads, urealp.h, usage.adb, utils2.c,
7780 utils.c, validsw.adb, validsw.ads, widechar.adb,
7781 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
7782 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
7783 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
7784 gnatvsn.ads: Merge with ACT tree.
7785
7786 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
7787
97ae108d
MM
77882003-10-20 Mark Mitchell <mark@codesourcery.com>
7789
de696511
MM
7790 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
7791 (gnat_ug_vmx.info): Likewise.
7792 (gnat_ug_vxw.info): Likewise.
7793 (gnat_ug_wnt.info): Likewise.
7794 (gnat_rm.info): Likewise.
7795 (gnat-style.info): Likewise.
7796
97ae108d
MM
7797 * Make-lang.in (ada.install-info): Remove target.
7798 (info): New target.
7799 (install-info): Likewise.
7800 (gnat_ug_unx.info): Simplify rule.
7801 (gnat_ug_vmx.info): Likewise.
7802 (gnat_ug_vxw.info): Likewise.
7803 (gnat_ug_wnt.info): Likewise.
7804 (gnat_rm.info): Likewise.
7805 (gnat-style.info): Likewise.
7806
43aba518
NN
78072003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
7808
7809 * Make-lang.in: Replace uses of $(target_alias) with
7810 $(target_noncanonical).
7811 * ada/Makefile.in: Remove unused mention of $(target_alias).
7812
62b81e45
MM
78132003-10-06 Mark Mitchell <mark@codesourcery.com>
7814
7815 * Make-lang.in (ada.info): Replace with ...
7816 (info): ... this.
7817 (ada.dvi): Replace with ...
7818 (dvi): ... this.
7819
783be936
ZW
78202003-09-29 Zack Weinberg <zack@codesourcery.com>
7821
7822 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
7823 initialize dconstp5 and dconstmp5.
7824
177560b2
RH
78252003-09-28 Richard Henderson <rth@redhat.com>
7826
7827 * trans.c (tree_transform): Update call to expand_asm_operands.
7828
f31686a3
RH
78292003-09-21 Richard Henderson <rth@redhat.com>
7830
7831 * trans.c, utils.c: Revert.
7832
7e2af53a
RH
78332003-09-21 Richard Henderson <rth@redhat.com>
7834
7835 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
7836 change to const.
7837
5f1e32fa
MM
78382003-09-04 Michael Matz <matz@suse.de>
7839
7840 * misc.c: Include "target.h".
7841 * Make-lang.in (misc.o): Add dependency on target.h.
7842
61f71b34
DD
78432003-09-03 DJ Delorie <dj@redhat.com>
7844
7845 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
7846 hook.
7847
2ed26f6b
ZW
78482003-08-30 Zack Weinberg <zack@codesourcery.com>
7849
7850 * Makefile.in: Update substitutions to match changes to
7851 configure. Use include directives instead of @-insertions
7852 to read in host and target fragments. Add a rule to
7853 regenerate ada/Makefile.
7854
b2e608ca
NB
78552003-07-18 Neil Booth <neil@daikokuya.co.uk>
7856
7857 * lang-options.h: Remove.
7858 * lang.opt: Add help text.
7859
0cea056b
NS
78602003-07-07 Nathan Sidwell <nathan@codesourcery.com>
7861
7862 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
7863 calls.
7864
cb66e385
NB
78652003-07-06 Neil Booth <neil@daikokuya.co.uk>
7866
7867 * misc.c (gnat_handle_option): Don't handle filenames.
7868
8c90b13a
L
78692003-07-04 H.J. Lu <hongjiu.lu@intel.com>
7870
7871 * Make-lang.in: Replace PWD with PWD_COMMAND.
7872 * Makefile.adalib: Likewise.
7873 * Makefile.in: Likewise.
7874
9c286213
MK
78752003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
7876
7877 * misc.c (gnat_argv): Revert last change.
7878 (gnat_handle_option, gnat_init_options): Copy arguments.
7879
b9add449
NB
78802003-07-03 Neil Booth <neil@daikokuya.co.uk>
7881
9c286213 7882 * misc.c (gnat_argv): Make const.
b9add449 7883
836d77a9
NB
78842003-07-02 Neil Booth <neil@daikokuya.co.uk>
7885
7886 * misc.c (save_argc, save_argv): Keep non-static!
7887
b86f6cd9
NB
78882003-07-02 Neil Booth <neil@daikokuya.co.uk>
7889
7890 * misc.c (save_argc, save_argv): Make static.
7891 (gnat_init_options): New prototype.
7892 (gnat_init_options): Update.
7893
6344b1f1
MK
78942003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
7895
7896 * gnat_ug.texi: Remove unlikely characters from @vars.
7897 * gnat_ug_vms.texi: Regenerate.
7898
2e040219
NS
78992003-06-27 Nathan Sidwell <nathan@codesourcery.com>
7900
7901 * misc.c (record_code_position): Adjust emit_note call.
7902
9eee5e72
NB
79032003-06-26 Neil Booth <neil@daikokuya.co.uk>
7904
7905 * misc.c (gnat_handle_option): Don't check for missing arguments.
7906
1f9cc6db
NS
79072003-06-20 Nathan Sidwell <nathan@codesourcery.com>
7908
7909 * utils.c (end_subprog_body): Adjust expand_function_end call.
7910
23d6baa3
MK
79112003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
7912
7913 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
7914 Bind_Main_Program.
7915
be43ab4e
NB
79162003-06-15 Neil Booth <neil@daikokuya.co.uk>
7917
7918 * lang.opt: Declare Ada.
7919 * misc.c (gnat_init_options): Update.
7920
ee6b0296
NS
79212003-06-14 Nathan Sidwell <nathan@codesourcery.com>
7922
7923 * utils.c (begin_subprog_body): Adjust init_function_start call.
7924
d7b42618
NB
79252003-06-14 Neil Booth <neil@daikokuya.co.uk>
7926
7927 * Make-lang.in: Update to use options.c and options.h.
7928 * misc.c: Include options.h not aoptions.h.
7929 (gnat_handle_option): Abort on unrecognized switch.
7930 (gnat_init_options): Request Ada switches.
7931
57eb6503
NB
79322003-06-14 Neil Booth <neil@daikokuya.co.uk>
7933
7934 * lang.opt: Add -Wall.
7935 * misc.c (gnat_handle_option): Handle it.
7936
70fd6569
NB
79372003-06-12 Neil Booth <neil@daikokuya.co.uk>
7938
7939 * misc.c (gnat_handle_option): Fix warnings.
7940
8cdea5a1
MK
79412003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
7942
7943 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
7944
3c900cb5
NB
79452003-06-11 Neil Booth <neil@daikokuya.co.uk>
7946
7947 * Make-lang.in: Update to handle command-line options.
7948 * lang.opt: New file.
7949 * misc.c: Include aoptions.h.
7950 (cl_options_count, cl_options): Remove.
7951 (gnat_handle_option): New.
7952 (gnat_decode_option): Remove.
7953 (LANG_HOOKS_DECODE_OPTION): Remove.
7954 (LANG_HOOKS_HANDLE_OPTION): Override.
7955
e8face4c
NN
79562003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
7957
7958 * init.c, misc.c, trans.c, utils.c: Remove dead code.
7959
4665e56c
NN
79602003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
7961
7962 * Makefile.in: Replace "host_canonical" with "host" for autoconf
7963 substitution.
7964
a165c302
NB
79652003-06-08 Neil Booth <neil@daikokuya.co.uk>
7966
7967 * Make-lang.in: Update.
7968 * misc.c: Include opts.h. Define cl_options_count and cl_options.
7969
2772ef3e
NB
79702003-06-07 Neil Booth <neil@daikokuya.co.uk>
7971
7972 * misc.c (gnat_init_options): Update.
7973
d8277a55
MK
79742003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
7975
7976 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
7977 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
7978 __attribute__ ((__unused__)).
7979
602a82f3 79802003-06-05 Jan Hubicka <jh@suse.cz>
8f231b5d
JH
7981
7982 * Make-lang.in: Add support for stageprofile and stagefeedback
7983
3aa07c6d
MK
79842003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
7985
7986 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
7987 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
7988
f1093866
MK
79892003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
7990
7991 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
7992 Remove non-VMS directive.
7993 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
7994 alternatives.
7995 (Examples of gnatls Usage): Remove VMS alternative.
dee2df72
OH
7996
79972003-06-04 Olivier Hainque <hainque@act-europe.fr>
7998
2ed26f6b
ZW
7999 PR ada/9953:
8000 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
8001 and turn ZCX_By_Default back to False since the underlying support
8002 is not quite there yet.
dee2df72 8003
80eaf415
AJ
80042003-06-01 Andreas Jaeger <aj@suse.de>
8005
8006 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
8007 and ROUND_TYPE_SIZE_UNIT.
8008
36f9020c
GB
80092003-05-22 Geert Bosch <bosch@gnat.com>
8010
8011 * gnat_rm.texi : Remove reference to Ada Core Technologies.
8012
e7b5f0c9
NS
80132003-05-03 Nathan Sidwell <nathan@codesourcery.com>
8014
8015 * trans.c (tree_transform): Use location_t and input_location
8016 directly.
8017 (build_unit_elab): Likewise.
8018 * utils.c (create_label_decl): Likewise.
8019
d479d37f
NS
80202003-05-01 Nathan Sidwell <nathan@codesourcery.com>
8021
561712fe
NS
8022 * trans.c (tree_transform, build_unit_elab,
8023 set_lineno): Rename lineno to input_line.
d479d37f
NS
8024 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
8025 end_subprog_body): Likewise.
8026 * utils2.c (build_call_raise): Likewise.
8027
4f9335cd
LG
80282003-05-01 Laurent Guerby <guerby@acm.org>
8029
2ed26f6b
ZW
8030 PR ada/10546
8031 * 5iosinte.ads: Increase pthread_cond_t size to match recent
8032 LinuxThread and NPTL version, merge from ACT.
80eaf415 8033
0864034e
ZW
80342003-04-28 Zack Weinberg <zack@codesourcery.com>
8035
8036 * utils.c (convert): No need to clear TREE_CST_RTL.
8037
bcea76b6
GB
80382003-04-23 Geert Bosch <bosch@gnat.com>
8039
8040 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
8041 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
8042 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
8043 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
8044 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
8045 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
8046 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
8047 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
8048 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
8049 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
8050 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
8051 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
8052 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
8053 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
8054 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
8055 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
8056 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
8057 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
8058 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
8059 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
8060 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
8061 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
8062 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
8063 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
8064 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
8065 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
8066 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
8067 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
8068 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
8069 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
8070 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
8071 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
8072 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
8073 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
8074 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
8075 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
8076 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
8077 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
8078 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
8079 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
8080 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
8081 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
8082 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
8083 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
8084 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
8085 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
8086 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
8087 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
8088 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
8089 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
8090 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
8091 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
8092 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
8093 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
8094 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
8095 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
8096 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
8097 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
8098 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
8099 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
8100 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
8101 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
8102 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
8103 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
8104 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
8105 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
8106 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
8107 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
8108 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
8109 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
8110 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
8111 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
8112 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
8113 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
8114 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
8115 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
8116 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
8117 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
8118 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
8119 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
8120 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
8121 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
8122 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
8123 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
8124 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
8125 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
8126 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
8127 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
8128 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
8129 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
8130 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
8131 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
8132 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
8133 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
8134 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
8135 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
8136 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
8137 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
8138 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
8139 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
8140 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
8141 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
8142 ali.adb, ali.ads, alloc.ads, argv.c,
8143 atree.adb, atree.ads, atree.h, aux-io.c,
8144 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
8145 binde.adb, binde.ads, binderr.adb, binderr.ads,
8146 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
8147 butil.adb, butil.ads, cal.c, calendar.ads,
8148 casing.adb, casing.ads, ceinfo.adb, checks.adb,
8149 checks.ads, cio.c, comperr.adb, comperr.ads,
8150 config-lang.in, csets.adb, csets.ads, csinfo.adb,
8151 cstand.adb, cstand.ads, cuintp.c, debug.adb,
8152 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
8153 dec-io.ads, dec.ads, deftarg.c, directio.ads,
8154 einfo.adb, einfo.ads, elists.adb, elists.ads,
8155 elists.h, errno.c, errout.adb, errout.ads,
8156 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
8157 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
8158 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
8159 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
8160 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
8161 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
8162 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
8163 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
8164 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
8165 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
8166 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
8167 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
8168 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
8169 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
8170 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
8171 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
8172 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
8173 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
8174 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
8175 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
8176 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
8177 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
8178 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
8179 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
8180 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
8181 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
8182 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
8183 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
8184 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
8185 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
8186 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
8187 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
8188 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
8189 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
8190 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
8191 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
8192 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
8193 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
8194 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
8195 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
8196 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
8197 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
8198 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
8199 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
8200 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
8201 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
8202 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
8203 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
8204 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
8205 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
8206 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
8207 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
8208 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
8209 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
8210 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
8211 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
8212 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
8213 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
8214 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
8215 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
8216 lib.adb, lib.ads, live.adb, live.ads,
8217 machcode.ads, make.adb, make.ads, makeusg.adb,
8218 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
8219 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
8220 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
8221 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
8222 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
8223 mlib.ads, namet.adb, namet.ads, nlists.adb,
8224 nlists.ads, opt.adb, opt.ads, osint-b.adb,
8225 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
8226 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
8227 osint.ads, output.adb, output.ads, par-ch10.adb,
8228 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
8229 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
8230 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
8231 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
8232 par-tchk.adb, par-util.adb, par.adb, par.ads,
8233 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
8234 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
8235 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
8236 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
8237 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
8238 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
8239 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
8240 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
8241 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
8242 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
8243 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
8244 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
8245 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
8246 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
8247 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
8248 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
8249 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
8250 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
8251 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
8252 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
8253 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
8254 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
8255 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
8256 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
8257 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
8258 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
8259 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
8260 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
8261 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
8262 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
8263 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
8264 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
8265 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
8266 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
8267 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
8268 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
8269 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
8270 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
8271 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
8272 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
8273 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
8274 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
8275 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
8276 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
8277 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
8278 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
8279 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
8280 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
8281 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
8282 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
8283 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
8284 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
8285 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
8286 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
8287 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
8288 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
8289 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
8290 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
8291 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
8292 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
8293 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
8294 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
8295 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
8296 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
8297 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
8298 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
8299 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
8300 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
8301 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
8302 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
8303 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
8304 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
8305 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
8306 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
8307 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
8308 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
8309 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
8310 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
8311 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
8312 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
8313 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
8314 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
8315 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
8316 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
8317 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
8318 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
8319 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
8320 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
8321 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
8322 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
8323 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
8324 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
8325 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
8326 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
8327 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
8328 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
8329 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
8330 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
8331 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
8332 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
8333 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
8334 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
8335 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
8336 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
8337 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
8338 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
8339 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
8340 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
8341 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
8342 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
8343 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
8344 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
8345 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
8346 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
8347 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
8348 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
8349 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
8350 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
8351 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
8352 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
8353 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
8354 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
8355 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
8356 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
8357 snames.ads, sprint.adb, sprint.ads, stand.adb,
8358 stand.ads, stringt.adb, stringt.ads, style.adb,
8359 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
8360 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
8361 switch-m.ads, switch.adb, switch.ads, system.ads,
8362 table.adb, table.ads, targparm.adb, targparm.ads,
8363 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
8364 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
8365 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
8366 ttypef.ads, ttypes.ads, types.adb, types.ads,
8367 uintp.adb, uintp.ads, uname.adb, uname.ads,
8368 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
8369 usage.adb, usage.ads, validsw.adb, validsw.ads,
8370 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
8371 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
8372 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
8373 formatting and other trivial changes from ACT.
8374
dcf92453
ZW
83752003-04-12 Zack Weinberg <zack@codesourcery.com>
8376
8377 * gigi.h, utils2.c (build_constructor):
8378 Rename gnat_build_constructor. Use build_constructor.
8379 * decl.c (gnat_to_gnu_entity)
8380 * trans.c (tree_transform, pos_to_constructor, extract_values)
8381 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
8382 (unchecked_convert)
8383 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
8384 (fill_vms_descriptor):
8385 Update to match.
8386
d78e771d
ZW
83872003-04-06 Zack Weinberg <zack@codesourcery.com>
8388
8389 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
8390 * misc.c (gnat_tree_size): New function.
8391 (LANG_HOOKS_TREE_SIZE): Override.
8392
78d55cc8
JM
83932003-04-03 Jason Merrill <jason@redhat.com>
8394
8395 * misc.c (gnat_adjust_rli): #if 0.
8396
b174e2d4
GB
83972003-03-31 Geert Bosch <bosch@gnat.com>
8398
8399 PR ada/10020
8400 * link.c : Fix misspelled "const" keyword
8401
f29a2bd1
MM
84022003-03-23 Mark Mitchell <mark@codesourcery.com>
8403
8404 PR c++/7086
8405 * utils2.c: Adjust calls to put_var_into_stack.
8406
08e247b1
NN
84072003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
8408
8409 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
8410
4bfec483
NB
84112003-03-08 Neil Booth <neil@daikokuya.co.uk>
8412
8413 * misc.c (gnat_init): Update for new prototype.
8414
3d713bb8
GB
84152003-03-05 Olivier Hainque <hainque@gnat.com>
8416
8417 ada/9961
78d55cc8
JM
8418 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
8419 warning, and fix return type for the IN_RTS && !SJLJ case.
3d713bb8 8420
8b89fcdf
TT
84212003-03-04 Tom Tromey <tromey@redhat.com>
8422
8423 * Make-lang.in (ada.tags): New target.
8424
3d713bb8 84252003-03-04 Olivier Hainque <hainque@act-europe.fr>
23cae84f
OH
8426
8427 ada/9911
8428 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
8429 wrapper, which name remains constant whatever underlying GCC
8430 scheme.
8431
8432 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
8433 the stable interface needed for a-except.
8434
f4ae98be
AJ
84352003-03-02 Andreas Jaeger <aj@suse.de>
8436
8437 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8438 gnat_ug_wnt.texi: Regenerate.
8439
5348742b
LG
84402003-03-02 Laurent Guerby <guerby@acm.org>
8441
f4ae98be 8442 * Makefile.in (install-gnatlib): Match previous change there
5348742b 8443 so it works.
f4ae98be 8444
8c108db2
AS
84452003-02-28 Andreas Schwab <schwab@suse.de>
8446
8447 * Make-lang.in (install-gnatlib): Change to ada directory before
8448 running make instead of using ada/Makefile directly.
8449
601d71bc
BE
84502003-02-18 Ben Elliston <bje@redhat.com>
8451
8452 Part of fix for PR ada/9406
8453 * gnat_ug.texi (Binder output file): Grammar fix.
8454
bf7c02dd
BE
84552003-02-18 Ben Elliston <bje@redhat.com>
8456
8457 PR other/7350
8458 * 5qtaprop.adb (Sleep): Fix typo in comment.
8459
b3a8389d
JM
84602003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
8461
8462 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
8463 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8464 gnat_ug_wnt.texi: Regenerate.
8465
5da14cb5
CC
84662003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
8467
8468 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
8469 be created if necessary.
8470 (ada.install-common): Let $(DESTDIR)$(bindir) be created
8471 if necessary. Remove erroneous and redundant gnatchop
8472 installation commands. Test for gnatdll before attempting
8473 to install it.
8474 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
8475 and gnatdll from all plausible locations.
8476
271bd540
RS
84772003-02-01 Richard Sandiford <rsandifo@redhat.com>
8478
8479 * utils2.c (build_unary_op): Don't check flag_volatile.
8480 * gnat_ug.texi: Remove -fvolatile from example.
8481 * gnat_ug_vxw.texi: Likewise.
8482
c1cc6a51
LG
84832003-01-29 Laurent Guerby <guerby@acm.org>
8484
d78e771d
ZW
8485 PR ada/8344
8486 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
8487 * Makefile.in: match previous change.
8488 * Make-lang.in: match previous change.
c1cc6a51 8489
c4039eb0
JS
84902003-01-29 Joel Sherrill <joel@OARcorp.com>
8491
8492 * 5rosinte.ads: Add SIGXCPU.
8493 * 5rtpopsp.adb: New file.
8494 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
8495 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
8496 specific file 5rtpopsp.adb.
8497 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
8498 is likely needed for all newlib targets.
8499 * init.c: Add RTEMS specific version of __gnat_initialize().
8500
00d29f7d
RO
85012003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8502
8503 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
8504
437026ef
RO
85052003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8506
8507 * init.c (__gnat_error_handler): Make msg const.
8508
8509 * gmem.c (convert_addresses): Move declaration ...
8510 * adaint.h: ... here.
8511 * adaint.c (convert_addresses): Adapt addrs type to match
8512 prototype.
8513
8514 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
8515
e12825cd
AS
85162003-01-24 Andreas Schwab <schwab@suse.de>
8517
8518 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
8519 size_t to avoid warning.
8520
a8729406
ZW
85212003-01-21 Zack Weinberg <zack@codesourcery.com>
8522
b09b91b9 8523 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
a8729406 8524
17211ab5
GK
85252003-01-09 Geoffrey Keating <geoffk@apple.com>
8526
8527 * gnat_rm.texi: Remove RCS version number.
8528
8529 * ada-tree.h (union lang_tree_node): Add chain_next option.
8530
1d27195c
CC
85312003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
8532
8533 * Make-lang.in (ada.install-info, ada.install-common,
8534 ada.uninstall): Prepend $(DESTDIR) to the destination
8535 directory in all (un)installation commands.
8536 * Makefile.in (install-gnatlib, install-rts): Ditto.
8537
bdefb2ab
JM
85382002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
8539
8540 * gnat_rm.texi, gnat_ug.texi: Use @copying.
8541 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8542 gnat_ug_wnt.texi: Regenerate.
8543
46d40353
JM
85442002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
8545
8546 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
8547 only.
8548 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
8549 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
8550 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
8551 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
8552 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
8553 $(srcdir)/doc/include/gcc-common.texi.
8554
d2f97d3e
GB
85552002-12-15 Geert Bosch <bosch@gnat.com>
8556
8557 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
8558
93a81b02
GB
85592002-12-14 Geert Bosch <bosch@gnat.com>
8560
4977bab6
ZW
8561 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
8562 case of a body created for a Renaming_As_Body, on which
8563 conformance checks are not performed. Fixes PR ada/5690.
8564
85652002-11-30 Zack Weinberg <zack@codesourcery.com>
8566
8567 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
8568 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
8569 not already included.
8570 * Make-lang.in: Update dependencies.
93a81b02 8571
dfc15546
NN
85722002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
8573 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
4977bab6 8574 solution to buffer overflow bug on GNU/Linux.
dfc15546 8575
8b54424d
NN
85762002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
8577 Closes PR ada/5856 and PR ada/6919 !
8578 * bindgen.adb: Remove all references to Public_Version.
8579 * comperr.adb: Remove all references to Public_Version and
8580 GNATPRO_Version; correct bug reporting instructions.
8581 * comperr.ads: Change to match bug box.
8582 * gnatvsn.ads: Remove all references to Public version and
8583 GNATPRO version.
8584
cc41268d 85852002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
1a083c0e
NN
8586 PR ada/6919
8587 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
8588 GNU/Linux.
8589
cc41268d
NN
8590 PR ada/6558
8591 * config-lang.in: Remove diff_excludes.
8592
1c7b0712
GS
85932002-11-05 Graham Stott <graham.stott@btinternet.com>
8594 PR ada/8358
8595 * trans.c (gnu_pending_elaboration_lists): New GC root.
4977bab6 8596 (build_unit_elab): Use..
1c7b0712 8597
1c4048ca
GB
85982002-10-30 Geert Bosch <bosch@gnat.com>
8599 PR ada/6558
8600 * misc.c : Include optabs.h
8601
8602 * Make-lang.in (misc.o): Add dependency on optabs.h
8603
f0d96f9c 86042002-10-29 Geert Bosch <bosch@gnat.com>
4977bab6 8605 PR ada/6558
f0d96f9c
GB
8606 * Make-lang.in (gnatbind): Depend on CONFIG_H
8607
a7512dec 86082002-10-29 Geert bosch <bosch@gnat.com>
4977bab6
ZW
8609 PR ada/6558
8610 * misc.c: Unrevert misc.c (1.13)
a7512dec 8611
c6362f4f
NN
86122002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
8613
8614 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
8615 maintainership comments.
8616
86172002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
91ed4b19 8618 PR ada/5904
4977bab6
ZW
8619 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
8620 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
8621 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
8622 7staprop.adb: Correct statements in comments about
91ed4b19
NN
8623 maintainership of GNAT.
8624
1f02b6af 8625 PR ada/5904
4977bab6
ZW
8626 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
8627 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
8628 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
8629 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
8630 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
8631 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
8632 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
1f02b6af
NN
8633 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
8634 comments about maintainership of GNAT.
8635
71ff80dc 8636 PR ada/6919 (forward port of patch for PR ada/5904)
4977bab6
ZW
8637 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
8638 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
8639 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
8640 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
8641 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
8642 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
8643 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
8644 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
8645 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
8646 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
8647 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
8648 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
8649 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
8650 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
8651 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
8652 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
8653 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
8654 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
8655 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
8656 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
8657 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
8658 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
8659 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
8660 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
8661 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
8662 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
8663 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
8664 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
8665 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
8666 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
8667 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
8668 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
8669 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
8670 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
8671 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
8672 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
8673 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
8674 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
8675 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
8676 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
8677 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
8678 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
8679 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
8680 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
8681 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
8682 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
8683 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
8684 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
8685 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
8686 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
8687 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
8688 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
8689 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
8690 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
8691 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
8692 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
8693 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
8694 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
8695 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
8696 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
8697 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
8698 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
8699 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
8700 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
8701 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
8702 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
8703 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
8704 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
8705 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
8706 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
8707 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
8708 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
8709 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
8710 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
8711 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
8712 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
8713 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
8714 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
8715 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
8716 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
8717 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
8718 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
8719 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
8720 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
8721 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
8722 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
8723 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
8724 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
8725 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
8726 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
8727 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
8728 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
8729 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
8730 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
8731 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
8732 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
8733 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
8734 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
8735 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
8736 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
8737 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
8738 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
8739 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
8740 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
8741 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
8742 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
8743 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
8744 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
8745 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
8746 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
8747 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
8748 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
8749 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
8750 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
8751 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
8752 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
8753 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
8754 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
8755 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
8756 par-endh.adb par-labl.adb par-load.adb par-prag.adb
8757 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
8758 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
8759 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
8760 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
8761 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
8762 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
8763 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
8764 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
8765 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
8766 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
8767 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
8768 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
8769 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
8770 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
8771 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
8772 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
8773 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
8774 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
8775 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
8776 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
8777 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
8778 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
8779 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
8780 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
8781 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
8782 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
8783 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
8784 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
8785 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
8786 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
8787 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
8788 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
8789 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
8790 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
8791 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
8792 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
8793 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
8794 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
8795 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
8796 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
8797 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
8798 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
8799 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
8800 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
8801 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
8802 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
8803 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
8804 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
8805 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
8806 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
8807 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
8808 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
8809 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
8810 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
8811 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
8812 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
8813 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
8814 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
8815 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
8816 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
8817 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
8818 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
8819 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
8820 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
8821 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
8822 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
8823 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
8824 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
8825 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
8826 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
8827 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
8828 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
8829 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
8830 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
8831 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
8832 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
8833 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
8834 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
8835 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
8836 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
8837 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
8838 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
8839 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
8840 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
8841 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
8842 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
8843 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
8844 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
8845 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
8846 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
8847 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
8848 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
8849 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
8850 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
8851 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
8852 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
8853 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
8854 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
8855 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
8856 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
8857 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
8858 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
8859 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
8860 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
8861 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
8862 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
8863 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
8864 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
8865 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
8866 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
8867 stringt.ads stringt.h style.adb style.ads stylesw.adb
8868 stylesw.ads switch.adb switch.ads sysdep.c system.ads
8869 table.adb table.ads targparm.adb targparm.ads targtyps.c
8870 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
8871 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
8872 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
8873 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
8874 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
8875 usage.ads utils.c utils2.c validsw.adb validsw.ads
8876 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
8877 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
71ff80dc
NN
8878 xtreeprs.adb: Correct statements in comments about maintainership
8879 of GNAT.
8880
b4f94ac1
ZW
88812002-09-23 Zack Weinberg <zack@codesourcery.com>
8882
8883 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
8884 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
8885 * gnatvsn.ads: Gnat_Version_String is now a function.
8886 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
8887 copy the C version_string into a String and return it.
8888 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
8889 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
8890 Remove pragma Ident (Gnat_Version_String). If this was the
8891 sole use of package Gnatvsn, remove the with statement too.
8892 * gnat1drv.adb: Tweak -gnatv output.
8893
eaff3bf8
RH
88942002-09-17 Richard Henderson <rth@redhat.com>
8895
8896 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
8897 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
8898 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
8899 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
8900 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
8901 and real_2expN instead of a loop.
8902 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
8903 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
8904
d241f75b 89052002-08-25 Andre Leis <a.leis@gmx.net>
f4ae98be 8906 David Billinghurst (David.Billinghurst@riotinto.com>
d241f75b 8907
f4ae98be 8908 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
d241f75b 8909
4320085a
RO
89102002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8911
8912 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
8913 Remove $(CONFIG_H) dependency.
8914
22aa533e
NS
89152002-08-08 Nathan Sidwell <nathan@codesourcery.com>
8916
8917 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
8918
1dcd444b
KG
89192002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8920
8921 * adadecode.c (ada_demangle): Use xstrdup in lieu of
8922 xmalloc/strcpy.
8923 * misc.c (gnat_decode_option): Likewise.
8924
7bc7d27b
FW
89252002-07-15 Florian Weimer <fw@deneb.enyo.de>
8926
8927 * make.adb (Add_Switch): Make Generic_Position a procedure. The
8928 function approach did not work well because of a side effect (the
8929 function call could reallocate the table which was being indexed
8930 using its result). Fixes ada/4851. [RESURRECTED]
8931
6a2dd09a
RS
89322002-07-01 Roger Sayle <roger@eyesopen.com>
8933
8934 * ada/utils.c (builtin_function): Accept an additional parameter.
8935
c168bbd7
AJ
89362002-06-28 Andreas Jaeger <aj@suse.de>
8937
8938 PR ada/7144
8939 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
8940 <adi@thur.de>.
8941
b41e09a7
KG
89422002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8943
8944 * Makefile.in (SHELL): Set to @SHELL@.
8945
62c71f4b
KG
89462002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8947
8948 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
8949 array size calculation.
8950
94213cff
AJ
89512002-06-04 Andreas Jaeger <aj@suse.de>
8952
8953 * Make-lang.in (gnatbind): Readd rule that has been lost in last
8954 patch.
8955
e2500fed
GK
89562002-06-03 Geoffrey Keating <geoffk@redhat.com>
8957
8958 Merge from pch-branch:
8959
8960 * config-lang.in (gtfiles): Add ada-tree.h.
8961 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
8962 (SET_TYPE_MODULUS): New.
8963 (SET_TYPE_INDEX): New.
8964 (SET_TYPE_DIGITS_VALUE): New.
8965 (SET_TYPE_RM_SIZE): New.
8966 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
8967 (SET_TYPE_ADA_SIZE): New.
8968 (SET_TYPE_ACTUAL_BOUNDS): New.
8969 (SET_DECL_CONST_CORRESPONDING_VAR): New.
8970 (SET_DECL_ORIGINAL_FIELD): New.
8971 (TREE_LOOP_ID): Correct typo.
8972 * decl.c: Use new macros.
8973 * utils.c: Include debug.h, use new macros.
94213cff 8974 * utils2.c: Use new macros.
e2500fed
GK
8975
8976 * ada-tree.h: Update all macros for new tree description.
8977 (struct tree_loop_id): New.
8978 (union lang_tree_node): New.
8979 (struct lang_decl): New.
8980 (struct lang_type): New.
8981 * misc.c (gnat_mark_tree): Delete.
8982 (LANG_HOOKS_MARK_TREE): Delete.
8983 * trans.c (tree_transform): No longer any need to cast
8984 for TREE_LOOP_ID.
8985
8986 * utils.c (struct language_function): New dummy structure.
8987
8988 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
8989 (misc.o): Likewise.
8990 (utils.o): Likewise; also gtype-ada.h.
8991 * Make-lang.in (gnat1): Add dependency on s-gtype.
8992 (gnatbind): Add dependency on $(CONFIG_H).
8993 * utils.c: Correct last #include.
8994 (stuct e_stack): Remove unnecessary 'static'.
8995 (mark_e_stack): Remove unused prototype.
8996
8997 * scn-nlit.adb: Remove whitespace after version number to
8998 keep lines under 80 chars.
8999 * snames.adb: Likewise.
9000 * treepr.ads: Likewise.
94213cff 9001
e2500fed
GK
9002 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
9003 (misc.o): Likewise.
9004 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
9005 * config-lang.in (gtfiles): New.
9006 * decl.c: Use gengtype for roots.
9007 * gigi.h: Use gengtype for roots.
9008 * trans.c: Use gengtype for roots.
9009 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
9010
27e511e0
GDR
90112002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
9012
9013 * misc.c (gnat_init): Adjust setting of internal_error_function.
9014
113dc143
JM
90152002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
9016
9017 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
9018 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
9019 gnat_ug_wnt.texi: Regenerate.
9020
5321fb3e
FW
90212002-05-31 Florian Weimer <fw@deneb.enyo.de>
9022
15e6136e
FW
9023 * 5ntaprop.adb (with System.OS_Primitives): Remove.
9024
019310ac
FW
9025 * cstreams.c (max_path_len): Move from here ...
9026 * adaint.c (__gnat_max_path_len): ... to here.
9027 * adaint.c (__gnat_max_path_len): Declare.
9028 * g-dirope.adb (Max_Path): Adjust.
9029 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
94213cff 9030 * i-cstrea.ads (max_path_len): Adjust.
019310ac
FW
9031 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
9032 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
9033
5321fb3e
FW
9034 * Makefile.in, Make-lang.in: Documentation is now built in
9035 Make-lang.in. Store Info and generated Texinfo files in the
9036 source directory.
9037 * gnat_ug.texi: Remove CVS keywords, correct version number.
9038 Set file name correctly.
9039
9040 * gnat_ug_*.texi: Add.
9041 * .cvsignore: Ignore generated Texinfo files.
9042
b1c12c4b
ZW
90432002-05-30 Zack Weinberg <zack@codesourcery.com>
9044
9045 * ada.h: Add MI guard macro.
9046 (SUBTYPE): Define constants with an anonymous enum, not static
9047 const variables.
9048 (IN): Cast constants to appropriate type before use.
9049
ead33da9
JM
90502002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
9051
9052 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
9053 (experimental)".
9054
7d600178
RO
90552002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9056
9057 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
9058 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
9059 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
9060 (ALL_ADA_CFLAGS): Likewise.
9061 (ADA_INCLUDES): Likewise.
9062 Adapt for new working dir.
9063 (GNATBIND): Use Makefile.in version.
9064 (.SUFFIXES): Copy from Makefile.in.
9065 (ada-warn): Define.
9066 (.adb.o, .ads.o): Copy from Makefile.in.
9067 Added $(OUTPUT_OPTION).
9068 (GNAT1_C_OBJS): Moved from Makefile.in.
9069 Prefix with ada subdir.
9070 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
9071 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
9072 Adapt for new working dir.
9073 (EXTRA_GNATBIND_OBJS): Likewise.
9074 (ADA_BACKEND): Moved from Makefile.in.
9075 Renamed to avoid conflict with global BACKEND.
9076 Use that one.
9077 (TARGET_ADA_SRCS): Moved from Makefile.in.
9078 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
9079 Use ADA_BACKEND.
9080 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
9081 (ada_extra_files): Moved from Makefile.in.
9082 Prefix with ada subdir.
9083 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
9084 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
9085 (ada/nmake.ads): Likewise.
9086 (update-sources): Moved from Makefile.in.
9087 Prefix with ada subdir.
9088 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
9089 (ADA_TREE_H): Likewise.
9090 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
9091 (ada/memtrack.o): Likewise.
9092 (ada/adadecode.o): Likewise.
9093 Update dependencies.
9094 (ada/adaint.o): New.
9095 (ada/argv.o): Moved from Makefile.in.
9096 Prefix with ada subdir.
94213cff 9097 Update dependencies.
7d600178
RO
9098 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
9099 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
9100 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
9101 Prefix with ada subdir.
9102 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
9103 (GNAT DEPENDENCIES): Regenerate.
9104 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
9105 toplevel Makefile.in.
9106 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
9107 (TARGET_ADA_SRCS): Removed.
9108 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
9109 (GNATBIND_OBJS): Likewise.
9110 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
9111 (BACKEND): Removed.
9112 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
9113 (TREE_H): Likewise.
9114 (ada_extra_files): Likewise.
9115 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
9116 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
9117 (update-sources): Likewise.
9118 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
9119 (ADA_TREE_H): Likewise.
9120 (adadecoce.o): Likewise.
9121 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
9122 (GNAT DEPENDENCIES): Likewise.
9123
1e6347d8
RO
91242002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9125
9126 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
9127 * Makefile.in: Likewise.
9128
db80834f
RO
91292002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9130
9131 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
9132 Restore $(CONFIG_H) and prefix.o dependencies.
9133 (ada.stage[1-4]): Depend on stage?-start.
9134
9135 * Makefile.in (b_gnatb.c): Depend on interfac.o.
9136
ac293f98
JW
91372002-05-02 Jim Wilson <wilson@redhat.com>
9138
9139 * utils.c (finish_record_type): Change record_size to record_type.
9140
b303008e
JDA
91412001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
9142
9143 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
9144 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
9145 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
94213cff 9146
ff45c01e
NB
91472002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
9148
9149 * misc.c (gnat_parse_file): Update.
9150
349ae713
NB
91512002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
9152
9153 * misc.c (gnat_init): Don't set lang_attribute_common.
9154
ace133aa
JM
91552002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
9156
9157 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
9158
5c558dd9
FW
91592002-04-21 Florian Weimer <fw@deneb.enyo.de>
9160
b4f94ac1 9161 * gnat_ug.texi: New file.
88e1739c 9162
5c558dd9
FW
9163 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
9164 instead of gfdl.texi
9165
9166 * xgnatug.adb, ug_words: New files.
9167
9168 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
b4f94ac1 9169 gnat_rm and gnat-style manuals.
5c558dd9 9170
7a228918
NB
91712002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
9172
9173 * gigi.h (incomplete_type_error): Remove.
9174 * utils.c (incomplete_type_error): Remove.
9175
b2123dc0
MM
91762002-04-16 Mark Mitchell <mark@codesourcery.com>
9177
9178 * trans.c (tree_transform): Add has_scope argument to
9179 expand_start_stmt_expr.
9180
78ef5b89
NB
91812002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
9182
9183 * gigi.h (truthvalue_conversion): Rename.
9184 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
9185 * trans.c (tree_transform): Update.
9186 * utils2.c (truthvalue_conversion): Rename, update.
9187 (build_binary_op, build_unary_op): Update.
9188
a71742a8
LG
91892002-04-04 Laurent Guerby <guerby@acm.org>
9190
9191 * make.adb: Implement -margs, remove restriction about file name placement.
9192 * makeusg.adb: Documentation update.
9193 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
9194 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
9195
82a4b025
NB
91962002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
9197
9198 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
9199 (builtin_function): Similarly.
9200
dffd7eb6
NB
92012002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
9202
9203 * decl.c (gnat_to_gnu_entity): Update.
9204 * gigi.h (mark_addressable): Rename.
9205 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
9206 * trans.c (tree_transform): Update.
9207 * utils.c (create_var_decl): Update.
9208 * util2.c (build_binary_op, build_unary_op,
9209 fill_vms_descriptor): Update.
9210 (mark_addressable): Rename, update.
9211
ceef8ce4
NB
92122002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
9213
9214 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
9215 Rename.
9216 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
9217 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
9218 * trans.c (tree_transform, convert_with_check): Update.
9219 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
9220 Rename.
9221
48a7a235
NB
92222002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
9223
9224 * gigi.h (finish_incomplete_decl): Rename.
9225 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
9226 * utils.c (gnat_init_decl_processing): Don't set hook.
9227 (finish_incomplete_decl): Rename.
9228
1d5af871
AS
92292002-03-29 Andreas Schwab <schwab@suse.de>
9230
9231 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
9232 directory.
9233
8cbb664e
MG
92342001-03-28 Robert Dewar <dewar@gnat.com>
9235
9236 * checks.ads:
9237 (Remove_Checks): New procedure
9238
9239 * checks.adb:
9240 (Remove_Checks): New procedure
9241
9242 * exp_util.adb:
9243 Use new Duplicate_Subexpr functions
9244 (Duplicate_Subexpr_No_Checks): New procedure
9245 (Duplicate_Subexpr_No_Checks_Orig): New procedure
9246 (Duplicate_Subexpr): Restore original form (checks duplicated)
9247 (Duplicate_Subexpr): Call Remove_Checks
9248
82a4b025 9249 * exp_util.ads:
8cbb664e
MG
9250 (Duplicate_Subexpr_No_Checks): New procedure
9251 (Duplicate_Subexpr_No_Checks_Orig): New procedure
9252 Add 2002 to copyright notice
9253
9254 * sem_util.adb: Use new Duplicate_Subexpr functions
9255
82a4b025 9256 * sem_eval.adb:
8cbb664e
MG
9257 (Eval_Indexed_Component): This is the place to call
9258 Constant_Array_Ref and to replace the value. We simply merge
9259 the code of this function in here, since it is now no longer
9260 used elsewhere. This fixes the problem of the back end not
9261 realizing we were clever enough to see that this was
9262 constant.
9263 (Expr_Val): Remove call to Constant_Array_Ref
9264 (Expr_Rep_Val): Remove call to Constant_Array_Ref
9265 Minor reformatting
9266 (Constant_Array_Ref): Deal with string literals (patch
9267 suggested by Zack Weinberg on the gcc list)
9268
92692001-03-28 Ed Schonberg <schonber@gnat.com>
9270
82a4b025 9271 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
8cbb664e
MG
9272 Duplicate_Subexpr_Move_Checks.
9273
82a4b025 9274 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
8cbb664e
MG
9275 Duplicate_Subexpr_Move_Checks.
9276
82a4b025
NB
9277 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
9278 value of array exists before retrieving it (it may a private
8cbb664e
MG
9279 protected component in a function).
9280
792c4e74
GB
92812002-03-28 Geert Bosch <bosch@gnat.com>
9282
9283 * prj-pp.adb : New file.
9284
9285 * prj-pp.ads : New file.
9286
915e8bad
AJ
92872002-03-28 Andreas Jaeger <aj@suse.de>
9288
9289 * Makefile.in (stamp-sdefault): Fix path for Makefile.
9290
0840811c
NB
92912002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
9292
9293 * misc.c (gnat_expand_expr): Move prototype.
9294
7ffb4fd2
NB
92952002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
9296
9297 * misc.c (insert_default_attributes): Remove.
9298
c9d892a8
NB
92992002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
9300
9301 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
9302 (gnat_init): Don't set hook.
9303 (gnat_expand_expr): Fix prototype.
9304
31c816cf
NB
93052002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
9306
9307 * misc.c (ggc_p): Remove.
9308
ef83161c
GB
93092002-03-27 Geert Bosch <bosch@gnat.com>
9310
9311 * prj-makr.ads, prj-makr.adb : New files.
9312
4f0ade92
NB
93132002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
9314
9315 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
9316 (lang_mark_tree): Make static, rename.
9317
c88770e9
NB
93182002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
9319
9320 * misc.c (maybe_build_cleanup): Remove.
9321
05671968
NB
93222002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
9323
9324 * gigi.h (yyparse): Remove.
9325
ad42149c
FW
93262002-03-23 Florian Weimer <fw@deneb.enyo.de>
9327
82a4b025 9328 * gnat_rm.texi: Sync with ACT version.
b4f94ac1 9329 (From Ben Brosgol <brosgol@gnat.com>)
ad42149c 9330
7afff7cf
NB
93312002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
9332
9333 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
9334 (gnat_init): Remove old hook.
9335
52dabb6c
NB
93362002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
9337
9338 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
9339 (yyparse): Rename gnat_parse_file.
9340
6cbcc541
GK
93412002-03-14 Geoffrey Keating <geoffk@redhat.com>
9342
9343 Delete all lines containing "$Revision:".
9344 * xeinfo.adb: Don't look for revision numbers.
9345 * xnmake.adb: Likewise.
9346 * xsinfo.adb: Likewise.
9347 * xsnames.adb: Likewise.
9348 * xtreeprs.adb: Likewise.
9349
2f9834e8
KG
93502002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9351
9352 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
9353 gnat_tree_code_name): Delete.
9354 (tree_code_type, tree_code_length, tree_code_name): Define.
9355 (gnat_init): Don't try to copy into the various tree_code
9356 arrays.
9357
63adb4ff
RH
93582002-03-11 Richard Henderson <rth@redhat.com>
9359
9360 * Makefile.in (.NOTPARALLEL): Add fake tag.
9361
43ff4547
GB
93622002-03-07 Geert Bosch <bosch@gnat.com>
9363
82a4b025
NB
9364 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
9365 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
9366 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
43ff4547
GB
9367 switch-m.adb, switch-m.ads : New files.
9368
07fc65c4
GB
93692002-03-07 Geert Bosch <bosch@gnat.com>
9370
9371 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
9372 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
9373 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
9374 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
9375 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
9376 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
9377 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
9378 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
9379 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
9380 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
9381 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
9382 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
9383 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
9384 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
9385 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
9386 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
9387 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
9388 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
9389 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
9390 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
9391 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
9392 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
9393 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
9394 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
9395 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
9396 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
9397 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
9398 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
9399 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
9400 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
9401 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
9402 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
9403 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
9404 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
9405 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
9406 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
9407 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
9408 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
9409 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
9410 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
9411 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
9412 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
9413 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
9414 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
9415 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
9416 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
9417 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
9418 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
9419 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
9420 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
9421 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
9422 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
9423 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
9424 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
9425 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
9426 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
9427 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
9428 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
9429 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
9430 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
9431 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
9432 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
9433 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
9434 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
9435 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
9436 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
9437 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
9438 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
9439 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
9440 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
9441 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
9442 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
9443 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
9444 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
9445 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
9446 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
9447 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
9448 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
9449 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
9450 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
9451 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
9452 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
9453 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
9454 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
9455 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
9456 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
9457 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
9458 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
9459 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
9460 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
9461 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
9462 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
9463 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
9464 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
9465 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
9466 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
9467 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
9468
9469 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
9470 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
9471 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
9472 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
9473
9474 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
9475 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
9476
9477 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
9478 to mdll-fil.ad[bs] and mdll-util.ad[bs]
9479
9480 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
9481 from mdllfile.ad[bs] and mdlltool.ad[bs]
9482
ca7558fc
KG
94832002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9484
9485 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
9486 lieu of explicit sizeof/sizeof.
9487
63e1b1c4
NB
94882002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
9489
9490 * misc.c (copy_lang_decl): Remove.
9491
f458d1d5
ZW
94922002-02-27 Zack Weinberg <zack@codesourcery.com>
9493
9494 * misc.c: Delete traditional-mode-related code copied from the
9495 C front end but not used, or used only to permit the compiler
9496 to link.
9497
21e09952
RH
94982002-02-07 Richard Henderson <rth@redhat.com>
9499
9500 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
9501 * adaint.h (__gnat_to_gm_time): Update prototype.
9502
ead39bdf 95032002-01-30 Richard Henderson <rth@redhat.com>
e803a64b
RH
9504
9505 * trans.c (tree_transform) [N_Loop_Statement]: Use
9506 expand_exit_loop_top_cond.
9507
72ac12bf
RH
95082001-12-23 Richard Henderson <rth@redhat.com>
9509
9510 * utils.c (end_subprog_body): Push GC context around
9511 rest_of_compilation for nested functions.
9512
14aacce7
RH
95132001-12-23 Richard Henderson <rth@redhat.com>
9514
9515 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
9516
b3d45d87
FW
95172001-12-23 Florian Weimer <fw@deneb.enyo.de>
9518
ece2d1b8
FW
9519 * gnat-style.texi (Declarations and Types): Remove ancient style
9520 rule which was mandated by code generation issues.
82a4b025 9521
b3d45d87
FW
9522 * gnat-style.texi (header): Add @dircategory, @direntry.
9523 (title page): Remove date.
9524 (general) Add @./@: where approriate, and two spaces after the
9525 full stop at the end of a sentence. Use @samp markup when
9526 referring concrete lexical entities (keywords, attribute names
9527 etc.), and @syntax for ARM grammar elements. Use @r for English
9528 text in comments. Use @emph for emphasis. Change "if-statements"
9529 etc. to "if statements" (without @samp). Break long lines. Make
9530 casing of section names consistent.
9531 (Identifiers): Use @samp markup for variable names.
9532 (Comments): Use @samp markup for comment characters. Line-end
9533 comments may follow any Ada code, not just statements. Fix
9534 misspelling of "Integer" as "integer".
9535 (Loop statements): Do not use variable name "I", use "J".
9536 (Subprogram Declarations): Document alignment.
9537 (Subprogram Bodies, Block statements): Document empty line before
9538 "begin".
9539
7a73ad55
FW
95402001-12-22 Florian Weimer <fw@deneb.enyo.de>
9541
9542 * make.adb (Add_Switch): Make Generic_Position a procedure. The
9543 function approach did not work well because of a side effect (the
9544 function call could reallocate the table which was being indexed
9545 using its result). Fixes ada/4851.
9546
17c5c8a5
GB
95472001-12-19 Robert Dewar <dewar@gnat.com>
9548
9549 * bindgen.adb: Minor reformatting
82a4b025 9550
17c5c8a5 9551 * cstand.adb: Minor reformatting
82a4b025 9552
17c5c8a5
GB
9553 * fmap.adb: Minor reformatting
9554 Change name from Add for Add_To_File_Map (Add is much too generic)
9555 Change Path_Name_Of to Mapped_Path_Name
9556 Change File_Name_Of to Mapped_File_Name
9557 Fix copyright dates in header
82a4b025 9558
17c5c8a5
GB
9559 * fmap.ads:
9560 Change name from Add for Add_To_File_Map (Add is much too generic)
9561 Change Path_Name_Of to Mapped_Path_Name
9562 Change File_Name_Of to Mapped_File_Name
9563 Fix copyright dates in header
82a4b025 9564
17c5c8a5
GB
9565 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
9566 Add use clause for Fmap.
82a4b025 9567
17c5c8a5 9568 * make.adb: Minor reformatting
82a4b025 9569
17c5c8a5
GB
9570 * osint.adb: Minor reformatting. Change of names in Fmap.
9571 Add use clause for Fmap.
82a4b025 9572
17c5c8a5 9573 * prj-env.adb: Minor reformatting
82a4b025 9574
17c5c8a5 9575 * prj-env.ads: Minor reformatting
82a4b025 9576
07fc65c4
GB
9577 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
9578 error found (there were odd exceptions to this general rule in
17c5c8a5 9579 -gnatec/-gnatem processing)
82a4b025 9580
17c5c8a5
GB
95812001-12-19 Olivier Hainque <hainque@gnat.com>
9582
07fc65c4
GB
9583 * raise.c (__gnat_eh_personality): Exception handling personality
9584 routine for Ada. Still in rough state, inspired from the C++ version
17c5c8a5 9585 and still containing a bunch of debugging artifacts.
07fc65c4 9586 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
17c5c8a5 9587 inspired from the C++ library.
82a4b025 9588
07fc65c4 9589 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
17c5c8a5 9590 exception handling integration.
82a4b025 9591
17c5c8a5
GB
95922001-12-19 Arnaud Charlet <charlet@gnat.com>
9593
9594 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
9595 (HIE_SOURCES): Add s-secsta.ad{s,b}.
9596 (HIE_OBJS): Add s-fat*.o
07fc65c4 9597 (RAVEN_SOURCES): Remove files that are no longer required. Add
17c5c8a5
GB
9598 interrupt handling files.
9599 (RAVEN_MOD): Removed, no longer needed.
82a4b025 9600
17c5c8a5
GB
96012001-12-19 Robert Dewar <dewar@gnat.com>
9602
9603 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
9604 Add 2001 to copyright date
82a4b025 9605
07fc65c4 9606 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
17c5c8a5 9607 need to force universal inlining for these cases.
82a4b025 9608
17c5c8a5
GB
96092001-12-19 Arnaud Charlet <charlet@gnat.com>
9610
07fc65c4 9611 * s-taprob.adb: Minor clean ups so that this unit can be used in
17c5c8a5 9612 Ravenscar HI.
82a4b025 9613
17c5c8a5
GB
9614 * exp_ch7.adb: Allow use of secondary stack in HI mode.
9615 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
82a4b025 9616
17c5c8a5
GB
96172001-12-19 Vincent Celier <celier@gnat.com>
9618
07fc65c4 9619 * prj-tree.ads (Project_Node_Record): Add comments for components
17c5c8a5 9620 Pkg_Id and Case_Insensitive.
82a4b025 9621
17c5c8a5
GB
96222001-12-19 Pascal Obry <obry@gnat.com>
9623
9624 * g-socket.adb: Minor reformatting. Found while reading code.
82a4b025 9625
17c5c8a5
GB
96262001-12-19 Robert Dewar <dewar@gnat.com>
9627
9628 * prj-tree.ads: Minor reformatting
9629
38be19f6
JM
96302001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
9631
9632 * config-lang.in (diff_excludes): Remove.
9633
6510f4c9
GB
96342001-12-17 Ed Schonberg <schonber@gnat.com>
9635
07fc65c4
GB
9636 * sem_res.adb (Resolve_Selected_Component): do not generate a
9637 discriminant check if the selected component is a component of
6510f4c9
GB
9638 the argument of an initialization procedure.
9639
07fc65c4
GB
9640 * trans.c (tree_transform, case of arithmetic operators): If result
9641 type is private, the gnu_type is the base type of the full view,
6510f4c9 9642 given that the full view itself may be a subtype.
82a4b025 9643
6510f4c9
GB
96442001-12-17 Robert Dewar <dewar@gnat.com>
9645
9646 * sem_res.adb: Minor reformatting
82a4b025 9647
07fc65c4
GB
9648 * trans.c (tree_transform, case N_Real_Literal): Add missing third
9649 parameter in call to Machine (unknown horrible effects from this
6510f4c9 9650 omission).
82a4b025 9651
6510f4c9
GB
9652 * urealp.h: Add definition of Round_Even for call to Machine
9653 Add third parameter for Machine
82a4b025 9654
6510f4c9
GB
96552001-12-17 Ed Schonberg <schonber@gnat.com>
9656
07fc65c4 9657 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
6510f4c9 9658 predefined units in No_Run_Time mode.
82a4b025 9659
6510f4c9
GB
96602001-12-17 Richard Kenner <kenner@gnat.com>
9661
9662 * misc.c (insn-codes.h): Now include.
82a4b025 9663
6510f4c9
GB
96642001-12-17 Olivier Hainque <hainque@gnat.com>
9665
07fc65c4 9666 * a-except.adb: Preparation work for future integration of the GCC 3
6510f4c9
GB
9667 exception handling mechanism
9668 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
9669 to factorize previous code sequences and make them externally callable,
9670 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
9671 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
9672 Use the new notification routines.
82a4b025 9673
6510f4c9
GB
96742001-12-17 Emmanuel Briot <briot@gnat.com>
9675
9676 * prj-tree.ads (First_Choice_Of): Document the when others case
82a4b025 9677
6510f4c9
GB
96782001-12-17 Arnaud Charlet <charlet@gnat.com>
9679
07fc65c4 9680 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
6510f4c9 9681 HI-E mode, in order to support Ravenscar profile properly.
82a4b025 9682
07fc65c4 9683 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
6510f4c9 9684 mode on 32 bits targets.
82a4b025 9685
6510f4c9
GB
96862001-12-17 Vincent Celier <celier@gnat.com>
9687
9688 * fmap.adb: Initial version.
82a4b025 9689
6510f4c9 9690 * fmap.ads: Initial version.
82a4b025 9691
6510f4c9
GB
9692 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
9693 If search is successfully done, add to mapping.
82a4b025 9694
6510f4c9 9695 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
82a4b025 9696
6510f4c9
GB
9697 * make.adb:
9698 (Gnatmake): Add new local variable Mapping_File_Name.
9699 Create mapping file when using project file(s).
9700 Delete mapping file before exiting.
82a4b025 9701
6510f4c9 9702 * opt.ads (Mapping_File_Name): New variable
82a4b025 9703
6510f4c9 9704 * osint.adb (Find_File): Use path name found in mapping, if any.
82a4b025 9705
6510f4c9 9706 * prj-env.adb (Create_Mapping_File): New procedure
82a4b025 9707
6510f4c9 9708 * prj-env.ads (Create_Mapping_File): New procedure.
82a4b025 9709
07fc65c4 9710 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
6510f4c9 9711 (Mapping_File)
82a4b025 9712
6510f4c9 9713 * usage.adb: Add entry for new switch -gnatem.
82a4b025 9714
6510f4c9 9715 * Makefile.in: Add dependencies for fmap.o.
82a4b025 9716
6510f4c9
GB
97172001-12-17 Ed Schonberg <schonber@gnat.com>
9718
07fc65c4 9719 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
6510f4c9
GB
9720 is a package instantiation rewritten as a package body.
9721 (Install_Withed_Unit): Undo previous change, now redundant.
82a4b025 9722
6510f4c9
GB
97232001-12-17 Gary Dismukes <dismukes@gnat.com>
9724
9725 * layout.adb:
9726 (Compute_Length): Move conversion to Unsigned to callers.
9727 (Get_Max_Size): Convert Len expression to Unsigned after calls to
9728 Compute_Length and Determine_Range.
9729 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
9730 Compute_Length and Determine_Range.
9731 Above changes fix problem with length computation for supernull arrays
07fc65c4 9732 where Max (Len, 0) wasn't getting applied due to the Unsigned
6510f4c9 9733 conversion used by Compute_Length.
82a4b025 9734
6510f4c9
GB
97352001-12-17 Arnaud Charlet <charlet@gnat.com>
9736
9737 * rtsfind.ads:
9738 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
9739 System.Secondary_Stack.
9740 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
9741 in HI-E mode.
9742 Remove unused entity RE_Exception_Data.
82a4b025 9743
6510f4c9 9744 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
82a4b025 9745
6510f4c9
GB
9746 * rident.ads (No_Secondary_Stack): New restriction.
9747
3a77b68d
GB
97482001-12-17 Joel Brobecker <brobecke@gnat.com>
9749
07fc65c4 9750 * gnat_rm.texi: Fix minor typos. Found while reading the section
3a77b68d
GB
9751 regarding "Bit_Order Clauses" that was sent to a customer.
9752 Very interesting documentation!
82a4b025 9753
3a77b68d
GB
97542001-12-17 Robert Dewar <dewar@gnat.com>
9755
07fc65c4
GB
9756 * sem_case.adb (Choice_Image): Avoid creating improper character
9757 literal names by using the routine Set_Character_Literal_Name. This
3a77b68d 9758 fixes bombs in certain error message cases.
82a4b025 9759
3a77b68d
GB
97602001-12-17 Arnaud Charlet <charlet@gnat.com>
9761
9762 * a-reatim.adb: Minor reformatting.
82a4b025 9763
3a77b68d
GB
97642001-12-17 Ed Schonberg <schonber@gnat.com>
9765
07fc65c4
GB
9766 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
9767 case where the formal is an extension of another formal in the current
3a77b68d 9768 unit or in a parent generic unit.
82a4b025 9769
3a77b68d
GB
97702001-12-17 Arnaud Charlet <charlet@gnat.com>
9771
07fc65c4 9772 * s-tposen.adb: Update comments. Minor reformatting.
3a77b68d 9773 Minor code clean up.
82a4b025 9774
3a77b68d 9775 * s-tarest.adb: Update comments. Minor code reorganization.
82a4b025 9776
3a77b68d
GB
97772001-12-17 Gary Dismukes <dismukes@gnat.com>
9778
07fc65c4 9779 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
3a77b68d 9780 when Java_VM.
82a4b025 9781
3a77b68d
GB
97822001-12-17 Robert Dewar <dewar@gnat.com>
9783
9784 * exp_attr.adb: Minor reformatting
82a4b025 9785
3a77b68d
GB
97862001-12-17 Ed Schonberg <schonber@gnat.com>
9787
07fc65c4 9788 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
3a77b68d
GB
9789 derivations nested within a child unit: verify that the parent
9790 type is declared in an outer scope.
82a4b025 9791
3a77b68d
GB
97922001-12-17 Robert Dewar <dewar@gnat.com>
9793
9794 * sem_ch12.adb: Minor reformatting
82a4b025 9795
3a77b68d
GB
97962001-12-17 Ed Schonberg <schonber@gnat.com>
9797
07fc65c4
GB
9798 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
9799 warning if current unit is a predefined one, from which bodies may
3a77b68d 9800 have been deleted.
82a4b025 9801
3a77b68d
GB
98022001-12-17 Robert Dewar <dewar@gnat.com>
9803
9804 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
9805 Fix header format. Add 2001 to copyright date.
82a4b025 9806
07fc65c4 9807 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
3a77b68d
GB
9808 which caused CE during compilation if checks were enabled.
9809
79503fdd
GB
98102001-12-17 Vincent Celier <celier@gnat.com>
9811
9812 * make.adb:
9813 (Switches_Of): New function
9814 (Test_If_Relative_Path): New procedure
9815 (Add_Switches): Use new function Switches_Of
9816 (Collect_Arguments_And_Compile): Use new function Switches_Of.
9817 When using a project file, test if there are any relative
9818 search path. Fail if there are any.
07fc65c4
GB
9819 (Gnatmake): Only add switches for the primary directory when not using
9820 a project file. When using a project file, change directory to the
9821 object directory of the main project file. When using a project file,
9822 test if there are any relative search path. Fail if there are any.
9823 When using a project file, fail if specified executable is relative
9824 path with directory information, and prepend executable, if not
9825 specified as an absolute path, with the exec directory. Make sure
79503fdd 9826 that only one -o switch is transmitted to the linker.
82a4b025 9827
79503fdd 9828 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
82a4b025 9829
79503fdd
GB
9830 * prj-nmsc.adb:
9831 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
9832 when using a non standard naming scheme.
9833 (Check_Ada_Naming_Scheme): Make sure that error messages
9834 do not raise exceptions.
9835 (Is_Illegal_Append): Return True if there is no dot in the suffix.
9836 (Language_Independent_Check): Check the exec directory.
82a4b025 9837
79503fdd 9838 * prj.adb (Project_Empty): Add new component Exec_Directory
82a4b025 9839
79503fdd
GB
9840 * prj.ads:
9841 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
9842 (Project_Data): Add component Exec_Directory
82a4b025 9843
79503fdd 9844 * snames.adb: Updated to match snames.ads revision 1.215
82a4b025 9845
79503fdd 9846 * snames.ads: Added Exec_Dir
82a4b025 9847
79503fdd
GB
98482001-12-17 Robert Dewar <dewar@gnat.com>
9849
9850 * make.adb: Minor reformatting
82a4b025 9851
79503fdd 9852 * prj-nmsc.adb: Minor reformatting
82a4b025 9853
79503fdd 9854 * snames.adb: Updated to match snames.ads
82a4b025 9855
79503fdd
GB
9856 * snames.ads: Alphebetize entries for project file
9857
98582001-12-17 Ed Schonberg <schonber@gnat.com>
9859
07fc65c4 9860 * trans.c (process_freeze_entity): Do nothing if the entity is a
79503fdd 9861 subprogram that was already elaborated.
82a4b025 9862
79503fdd 98632001-12-17 Richard Kenner <kenner@gnat.com>
82a4b025 9864
07fc65c4 9865 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
79503fdd
GB
9866 and Esize if object is referenced via pointer.
9867
855ff2e1
GB
98682001-12-17 Ed Schonberg <schonber@gnat.com>
9869
07fc65c4 9870 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
855ff2e1 9871 is discrete before analyzing choices.
82a4b025 9872
855ff2e1
GB
98732001-12-17 Joel Brobecker <brobecke@gnat.com>
9874
07fc65c4
GB
9875 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
9876 containing the name of the Ada Main Program. This string is mainly
855ff2e1
GB
9877 intended for the debugger.
9878 (Gen_Output_File_C): Do the equivalent change when generating a C file.
82a4b025 9879
855ff2e1
GB
98802001-12-17 Robert Dewar <dewar@gnat.com>
9881
9882 * ali.adb: Set new Dummy_Entry field in dependency entry
82a4b025 9883
855ff2e1 9884 * ali.ads: Add Dummy_Entry field to source dependency table
82a4b025 9885
855ff2e1 9886 * bcheck.adb (Check_Consistency): Ignore dummy D lines
82a4b025 9887
855ff2e1 9888 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
82a4b025 9889
855ff2e1 9890 * lib-writ.ads: Document dummy D lines for missing files.
82a4b025 9891
855ff2e1
GB
9892 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
9893
c1c22e7a
GB
98942001-12-17 Robert Dewar <dewar@gnat.com>
9895
9896 * ali.adb: Type reference does not reset current file.
82a4b025 9897
c1c22e7a 9898 * ali.adb: Recognize and scan renaming reference
82a4b025 9899
c1c22e7a 9900 * ali.ads: Add spec for storing renaming references.
82a4b025 9901
c1c22e7a 9902 * lib-xref.ads: Add documentation for handling of renaming references
82a4b025 9903
c1c22e7a 9904 * lib-xref.adb: Implement output of renaming reference.
82a4b025 9905
c1c22e7a
GB
9906 * checks.adb:
9907 (Determine_Range): Document local variables
9908 (Determine_Range): Make sure Hbound is initialized. It looks as though
9909 there could be a real problem here with an uninitialized reference
9910 to Hbound, but no actual example of failure has been found.
82a4b025 9911
c1c22e7a
GB
99122001-12-17 Laurent Pautet <pautet@gnat.com>
9913
9914 * g-socket.ads:
9915 Fix comment of Shutdown_Socket and Close_Socket. These functions
9916 should not fail silently because if they are called twice, this
9917 probably means that there is a race condition in the user program.
9918 Anyway, this behaviour is consistent with the rest of this unit.
9919 When an error occurs, an exception is raised with the error message
9920 as exception message.
9921
7eb7bb07
RD
99222001-12-17 Robert Dewar <dewar@gnat.com>
9923
07fc65c4 9924 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
7eb7bb07 9925 that it happens before modification of Sloc values for -gnatD.
82a4b025 9926
07fc65c4 9927 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
7eb7bb07 9928 so that it happens before modification of Sloc values for -gnatD.
82a4b025 9929
7eb7bb07
RD
9930 * switch.adb: Minor reformatting
9931
b6434700
RH
99322001-12-15 Richard Henderson <rth@redhat.com>
9933
9934 * sem_ch7.adb: Wrap comment.
9935
44d6a706
JM
99362001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
9937
9938 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
9939 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
9940 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
9941 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
9942 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
9943 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
9944 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
9945 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
9946 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
9947 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
9948 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
9949 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
9950 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
9951 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
9952 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
9953 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
9954 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
9955 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
9956 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
9957 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
9958 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
9959 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
9960 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
9961 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
9962 spelling errors.
9963
226ada7a
GB
99642001-12-14 Vincent Celier <celier@gnat.com>
9965
07fc65c4 9966 * osint.adb(Create_Debug_File): When an object file is specified,
226ada7a 9967 put the .dg file in the same directory as the object file.
82a4b025 9968
226ada7a
GB
99692001-12-14 Robert Dewar <dewar@gnat.com>
9970
9971 * osint.adb: Minor reformatting
82a4b025 9972
07fc65c4 9973 * lib-xref.adb (Output_Instantiation): New procedure to generate
226ada7a 9974 instantiation references.
82a4b025 9975
226ada7a 9976 * lib-xref.ads: Add documentation of handling of generic references.
82a4b025 9977
07fc65c4 9978 * ali.adb (Read_Instantiation_Ref): New procedure to read
226ada7a 9979 instantiation references
82a4b025 9980
226ada7a 9981 * ali.ads: Add spec for storing instantiation references
82a4b025 9982
226ada7a 9983 * bindusg.adb: Minor reformatting
82a4b025 9984
226ada7a 9985 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 9986
226ada7a 9987 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 9988
226ada7a 9989 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 9990
226ada7a 9991 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 9992
226ada7a
GB
9993 * csets.ads:
9994 Fix header format
9995 Add 2001 to copyright date
9996 Add entry for Latin-5 (Cyrillic ISO-8859-5)
82a4b025 9997
226ada7a
GB
99982001-12-14 Matt Gingell <gingell@gnat.com>
9999
07fc65c4 10000 * adaint.c: mktemp is a macro on Lynx and can not be used as an
226ada7a 10001 expression.
82a4b025 10002
226ada7a
GB
100032001-12-14 Richard Kenner <kenner@gnat.com>
10004
07fc65c4 10005 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
226ada7a 10006 if operand is CONSTRUCTOR.
82a4b025 10007
226ada7a
GB
100082001-12-14 Ed Schonberg <schonber@gnat.com>
10009
07fc65c4
GB
10010 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
10011 before emiting check on right-hand side, so that exception information
226ada7a
GB
10012 is correct.
10013
100142001-12-14 Richard Kenner <kenner@gnat.com>
82a4b025 10015
07fc65c4 10016 * utils.c (create_var_decl): Throw away initializing expression
226ada7a 10017 if just annotating types and non-constant.
82a4b025 10018
226ada7a
GB
100192001-12-14 Vincent Celier <celier@gnat.com>
10020
10021 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
10022 Default_Ada_...
82a4b025 10023
07fc65c4 10024 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
226ada7a
GB
10025 Remove functions.
10026 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
82a4b025 10027
07fc65c4 10028 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
226ada7a
GB
10029 Remove functions.
10030 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
10031
9b94bf9e
JM
100322001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
10033
10034 * ChangeLog: Remove piece of diff output.
10035
449d2be3
GB
100362001-12-14 Geert Bosch <bosch@gnat.com>
10037
10038 * config-lang.in: Update copyright notice
10039
10040 * layout.adb: Remove commented out code.
10041
10042 * mdllfile.ads: Update copyright notice. Fix header format.
10043
10044 * sem_case.ads: Likewise.
10045
10046 * sem_ch3.adb: Minor reformatting.
10047
e5bd5cb4
GB
100482001-12-12 Geert Bosch <bosch@gnat.com>
10049
10050 * freeze.ads: Update copyright date.
10051
10052 * g-comlin.ads: Minor reformatting.
10053
10054 * gnat-style.texi: Fix typo.
10055
b468d8ec
GB
100562001-12-12 Geert Bosch <bosch@gnat.com>
10057
10058 * einfo.h: Regenerate.
10059
ed7da216
GB
100602001-12-12 Ed Schonberg <schonber@gnat.com>
10061
07fc65c4 10062 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
ed7da216 10063 on known node types, rather than untyped fields. Further cleanups.
82a4b025 10064
ed7da216
GB
100652001-12-12 Robert Dewar <dewar@gnat.com>
10066
10067 * sem_ch12.adb:
10068 (Save_Entity_Descendant): Minor comment update.
10069 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
07fc65c4 10070 of an N_Attribute_Reference node. As per note below, this does not
ed7da216 10071 eliminate need for Associated_Node in attribute ref nodes.
07fc65c4 10072 (Associated_Node): Documentation explicitly mentions attribute
ed7da216 10073 reference nodes, since this field is used in such nodes.
82a4b025 10074
ed7da216
GB
10075 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
10076
de76a39c
GB
100772001-12-12 Robert Dewar <dewar@gnat.com>
10078
10079 * s-stalib.adb: Add more comments on with statements being needed
82a4b025 10080
de76a39c 10081 * par-ch12.adb: Minor reformatting
82a4b025 10082
de76a39c 10083 * prj-dect.ads: Fix copyright header
82a4b025 10084
07fc65c4 10085 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
de76a39c 10086 inputs fit in 32 bits, but the result still overflows.
82a4b025 10087
de76a39c 10088 * s-fatgen.ads: Minor comment improvement
82a4b025 10089
de76a39c
GB
100902001-12-12 Ed Schonberg <schonber@gnat.com>
10091
07fc65c4
GB
10092 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
10093 formal derived type, look for an inherited component from the full
de76a39c 10094 view of the parent, if any.
82a4b025 10095
de76a39c
GB
100962001-12-12 Robert Dewar <dewar@gnat.com>
10097
10098 * checks.ads (Apply_Alignment_Check): New procedure.
82a4b025 10099
07fc65c4
GB
10100 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
10101 ensure that the alignment of objects with address clauses is
de76a39c
GB
10102 appropriate, and raise PE if not.
10103
07fc65c4 10104 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
de76a39c 10105 Exp_Pakd.Known_Aligned_Enough
82a4b025 10106
de76a39c
GB
10107 * mdllfile.ads: Minor reformatting
10108
10109 * mlib-fil.ads: Minor reformatting
82a4b025 10110
de76a39c
GB
101112001-12-12 Ed Schonberg <schonber@gnat.com>
10112
07fc65c4
GB
10113 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
10114 fix to any component reference if enclosing record has non-standard
de76a39c 10115 representation.
82a4b025 10116
de76a39c
GB
101172001-12-12 Vincent Celier <celier@gnat.com>
10118
07fc65c4 10119 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
de76a39c 10120 Iteration
82a4b025 10121
de76a39c
GB
101222001-12-12 Ed Schonberg <schonber@gnat.com>
10123
07fc65c4 10124 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
de76a39c 10125 sem_attr.
82a4b025 10126
de76a39c
GB
101272001-12-12 Robert Dewar <dewar@gnat.com>
10128
10129 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
82a4b025 10130
de76a39c
GB
101312001-12-12 Emmanuel Briot <briot@gnat.com>
10132
10133 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
10134 and it adds dependencies to system.io.
82a4b025 10135
de76a39c
GB
101362001-12-12 Pascal Obry <obry@gnat.com>
10137
07fc65c4 10138 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
de76a39c
GB
10139 variable name.
10140
0b09835f
ES
101412001-12-11 Ed Schonberg <schonber@gnat.com>
10142
10143 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
07fc65c4
GB
10144 that is the parent of other generics, the instance body replaces the
10145 instance node. Retrieve the instance of the spec, which is the one
0b09835f
ES
10146 that is visible in clients and within the body.
10147
598c3446
GB
101482001-12-11 Vincent Celier <celier@gnat.com>
10149
10150 * gnatmain.adb: Initial version.
82a4b025 10151
598c3446 10152 * gnatmain.ads: Initial version.
82a4b025 10153
598c3446 10154 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
82a4b025 10155
598c3446 10156 * snames.adb: Updated to match snames.ads.
82a4b025 10157
598c3446 10158 * snames.ads: Added Gnatstub.
82a4b025 10159
598c3446
GB
101602001-12-11 Vincent Celier <celier@gnat.com>
10161
07fc65c4 10162 * prj-attr.adb (Initialization_Data): Change name from
598c3446 10163 Initialisation_Data.
82a4b025 10164
598c3446
GB
101652001-12-11 Emmanuel Briot <briot@gnat.com>
10166
10167 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
10168 + and * applied to backslashed expressions like \r.
82a4b025 10169
598c3446
GB
101702001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
10171
07fc65c4 10172 * g-os_lib.ads: String_List type added, Argument_List type is now
598c3446 10173 subtype of String_List.
82a4b025 10174
598c3446
GB
101752001-12-11 Robert Dewar <dewar@gnat.com>
10176
10177 * g-os_lib.ads: Change copyright to FSF
10178 Add comments for String_List type
82a4b025 10179
598c3446
GB
101802001-12-11 Vincent Celier <celier@gnat.com>
10181
07fc65c4 10182 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
598c3446
GB
10183 string to the buffer).
10184
7fb754a1
GB
101852001-12-11 Ed Schonberg <schonber@gnat.com>
10186
10187 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
10188 sem_attr.
82a4b025 10189
7fb754a1 10190 * sem_attr.adb: Simplify previous fix for Address.
07fc65c4
GB
10191 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
10192 to avoid anomalies where the bound of the type appears to raise
7fb754a1
GB
10193 constraint error.
10194
101952001-12-11 Robert Dewar <dewar@gnat.com>
10196
07fc65c4 10197 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
7fb754a1 10198 handled.
82a4b025 10199
7fb754a1
GB
102002001-12-11 Ed Schonberg <schonber@gnat.com>
10201
07fc65c4 10202 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
7fb754a1 10203 renamed unit before checking for recursive instantiations.
82a4b025 10204
7fb754a1
GB
102052001-12-11 Emmanuel Briot <briot@gnat.com>
10206
10207 * prj.ads: Add comments for some of the fields.
10208
0873bafc
GB
102092001-12-11 Robert Dewar <dewar@gnat.com>
10210
07fc65c4 10211 * lib-xref.adb (Output_Refs): Don't output type references outside
0873bafc 10212 the main unit if they are not otherwise referenced.
82a4b025 10213
0873bafc
GB
102142001-12-11 Ed Schonberg <schonber@gnat.com>
10215
07fc65c4 10216 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
0873bafc 10217 code and diagnose additional illegal uses
82a4b025 10218
07fc65c4 10219 * sem_util.adb (Is_Object_Reference): An indexed component is an
0873bafc 10220 object only if the prefix is.
82a4b025 10221
0873bafc
GB
102222001-12-11 Vincent Celier <celier@gnat.com>
10223
10224 * g-diopit.adb: Initial version.
82a4b025 10225
0873bafc 10226 * g-diopit.ads: Initial version.
82a4b025 10227
0873bafc
GB
10228 * g-dirope.adb:
10229 (Expand_Path): Avoid use of Unbounded_String
10230 (Find, Wildcard_Iterator): Moved to child package Iteration
82a4b025 10231
0873bafc 10232 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
82a4b025 10233
7fb754a1 102342001-12-11 Robert Dewar <dewar@gnat.com>
0873bafc
GB
10235
10236 * sem_attr.adb: Minor reformatting
10237
d087cd96
GB
102382001-12-11 Ed Schonberg <schonber@gnat.com>
10239
10240 * sem_ch3.adb: Clarify some ???.
82a4b025 10241
d087cd96
GB
102422001-12-11 Robert Dewar <dewar@gnat.com>
10243
07fc65c4 10244 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
d087cd96 10245 Exp_Pakd.Known_Aligned_Enough
82a4b025 10246
07fc65c4 10247 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
d087cd96
GB
10248 version is moved to Exp_Ch13.
10249
102502001-12-11 Robert Dewar <dewar@gnat.com>
10251
10252 * einfo.ads: Minor reformatting
82a4b025 10253
d087cd96 10254 * exp_ch5.adb: Add comment for previous.change
82a4b025 10255
d087cd96 10256 * ali.adb: New interface for extended typeref stuff.
82a4b025 10257
d087cd96 10258 * ali.ads: New interface for typeref stuff.
82a4b025 10259
d087cd96 10260 * checks.adb (Apply_Alignment_Check): New procedure.
82a4b025 10261
d087cd96 10262 * debug.adb: Add -gnatdM for modified ALI output
82a4b025 10263
d087cd96 10264 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
82a4b025 10265
07fc65c4
GB
10266 * lib-xref.adb: Extend generation of <..> notation to cover
10267 subtype/object types. Note that this is a complete rewrite,
10268 getting rid of the very nasty quadratic algorithm previously
d087cd96 10269 used for derived type output.
82a4b025 10270
07fc65c4
GB
10271 * lib-xref.ads: Extend description of <..> notation to cover
10272 subtype/object types. Uses {..} for these other cases.
d087cd96 10273 Also use (..) for pointer types.
82a4b025 10274
d087cd96 10275 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
82a4b025 10276
07fc65c4 10277 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
d087cd96
GB
10278 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
10279
290986ed
GB
102802001-12-11 Vincent Celier <celier@gnat.com>
10281
10282 * gnatcmd.adb:
10283 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
10284 Changed /BIND_ONLY to /ACTIONS=BIND
10285 Changed /LINK_ONLY to /ACTIONS=LINK
82a4b025 10286
290986ed
GB
102872001-12-11 Ed Schonberg <schonber@gnat.com>
10288
10289 * sem_ch8.adb (Find_Selected_Component): improved search for a
10290 candidate package in case of error.
82a4b025 10291
290986ed
GB
10292 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
10293 chain back on scope stack before reinstalling use clauses.
82a4b025 10294
290986ed
GB
10295 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
10296 is enabled, do not kill the code for the condition, to preserve
10297 warning.
10298
84157f51
GB
102992001-12-11 Robert Dewar <dewar@gnat.com>
10300
07fc65c4 10301 * checks.adb (Insert_Valid_Check): Apply validity check to expression
84157f51
GB
10302 of conversion, not to result of conversion.
10303
103042001-12-11 Ed Schonberg <schonber@gnat.com>
82a4b025 10305
07fc65c4
GB
10306 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
10307 before freezing parent. If the declarations are mutually recursive,
10308 an access to the current record type may be frozen before the
84157f51
GB
10309 derivation is complete.
10310
7ffa903f
VC
103112001-12-05 Vincent Celier <celier@gnat.com>
10312
07fc65c4 10313 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
7ffa903f 10314 -c /COMPILE_ONLY, -l /LINK_ONLY
82a4b025 10315
7ffa903f
VC
10316 * opt.ads:
10317 (Bind_Only): New Flag
10318 (Link_Only): New flag
82a4b025 10319
07fc65c4 10320 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
7ffa903f 10321 and -l (Link_Only)
82a4b025 10322
7ffa903f 10323 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
82a4b025 10324
7ffa903f
VC
10325 * make.adb:
10326 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
10327 (Gnatmake): Set the step flags. Only perform a step if the
10328 corresponding step flag is True.
10329 (Scan_Make_Arg): Reset the bind and link step flags when -u
10330 or -gnatc has been specified.
10331
f91b40db
GB
103322001-12-05 Ed Schonberg <schonber@gnat.com>
10333
07fc65c4 10334 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
f91b40db 10335 get bounds from right operand.
82a4b025 10336
f91b40db 10337 * sem_eval.adb: Minor reformatting
82a4b025 10338
07fc65c4 10339 * exp_util.adb (Make_Literal_Range): use bound of literal rather
f91b40db 10340 than Index'First, its lower bound may be different from 1.
82a4b025 10341
07fc65c4 10342 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
f91b40db 10343 and C48009J
82a4b025 10344
f91b40db
GB
103452001-12-05 Vincent Celier <celier@gnat.com>
10346
10347 * prj-nmsc.adb Minor reformatting
82a4b025 10348
07fc65c4 10349 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
f91b40db 10350 set and libraries are not supported.
82a4b025 10351
f91b40db
GB
103522001-12-05 Ed Schonberg <schonber@gnat.com>
10353
07fc65c4
GB
10354 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
10355 private view explicitly, so the back-end can treat as a global
f91b40db
GB
10356 when appropriate.
10357
45d04cbb
GB
103582001-12-05 Ed Schonberg <schonber@gnat.com>
10359
10360 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
10361 unit, always replace instance node with new body, for ASIS use.
10362
103632001-12-05 Vincent Celier <celier@gnat.com>
82a4b025 10364
07fc65c4
GB
10365 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
10366 libraries are not supported and both attributes Library_Name and
45d04cbb 10367 Library_Dir are specified.
82a4b025 10368
07fc65c4 10369 * prj-proc.adb (Expression): Set location of Result to location of
45d04cbb 10370 first term.
82a4b025 10371
45d04cbb
GB
10372 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
10373 (prj-nmsc is now importing MLib.Tgt)
82a4b025 10374
45d04cbb
GB
10375 * prj-proc.adb: Put the change indicated above that was forgotten.
10376
84436014
RD
103772001-12-05 Robert Dewar <dewar@gnat.com>
10378
10379 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
10380
7ae0dcd8
ES
103812001-12-05 Ed Schonberg <schonber@gnat.com>
10382
10383 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
10384 constraint, introduce explicit subtype declaration and derive from it.
82a4b025 10385
7ae0dcd8
ES
10386 * sem_ch3.adb: Minor reformatting
10387
c9a4817d
RD
103882001-12-05 Robert Dewar <dewar@gnat.com>
10389
07fc65c4 10390 * checks.adb (Determine_Range): Increase cache size for checks.
c9a4817d 10391 Minor reformatting
82a4b025 10392
c9a4817d
RD
10393 * exp_ch6.adb: Minor reformatting
10394 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
10395 a parameter whose root type is System.Address, since treating such
10396 subprograms as pure in the code generator is almost surely a mistake
10397 that will lead to unexpected results.
82a4b025 10398
07fc65c4 10399 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
c9a4817d 10400 change handling of conversions.
82a4b025 10401
c9a4817d
RD
10402 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
10403
2514b839
ES
104042001-12-05 Ed Schonberg <schonber@gnat.com>
10405
07fc65c4
GB
10406 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
10407 aggregate with static wrong size, attach generated Raise node to
2514b839
ES
10408 declaration.
10409
457b6274
RD
104102001-12-05 Robert Dewar <dewar@gnat.com>
10411
07fc65c4 10412 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
457b6274
RD
10413 Fixes compilation abandoned bomb in B24009B.
10414
19349925
ES
104152001-12-05 Ed Schonberg <schonber@gnat.com>
10416
10417 * sem_ch12.adb:
10418 Document use of Associated_Node on Selected_Components.
10419 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
10420 to clarify use of untyped descendant fields.
10421
6663c393
RD
104222001-12-05 Robert Dewar <dewar@gnat.com>
10423
10424 * prj-dect.ads: Add ??? comment
10425 Add 2001 to copyright notice (was not done in after all)
82a4b025 10426
6663c393 10427 * prj-part.adb: Minor reformatting. Reword one awkward error message.
82a4b025 10428
6663c393 10429 * prj.ads: Minor reformatting throughout, and add some ??? comments
82a4b025 10430
6663c393
RD
10431 * snames.ads: Minor reformatting
10432
d7b2a6af
GB
104332001-12-05 Geert Bosch <bosch@gnat.com>
10434
10435 * snames.adb: Autoupdate
10436
fbc9a404
VC
104372001-12-05 Vincent Celier <celier@gnat.com>
10438
10439 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
82a4b025 10440
fbc9a404 10441 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
82a4b025 10442
fbc9a404 10443 * prj-env.adb: Minor comment changes (modifying -> extends).
82a4b025 10444
fbc9a404 10445 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
82a4b025 10446
07fc65c4 10447 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
fbc9a404 10448 Tok_Extends.
82a4b025 10449
fbc9a404 10450 * prj.adb (Initialize): Change Modifying to Extends.
82a4b025 10451
fbc9a404 10452 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
82a4b025 10453
fbc9a404 10454 * prj.ads: Minor comment change (Modifying -> extending).
82a4b025 10455
fbc9a404
VC
10456 * snames.ads: Change modifying to extends.
10457
7cff0b1b
RD
104582001-12-05 Robert Dewar <dewar@gnat.com>
10459
07fc65c4 10460 * sem_warn.adb: Remove stuff for conditionals, we are not going to
7cff0b1b 10461 do this after all.
82a4b025 10462
07fc65c4 10463 * sem_warn.ads: Remove stuff for conditionals, we are not going to
7cff0b1b
RD
10464 do this after all. Add 2001 to copyright notice
10465
4f56ebb7
GB
104662001-12-04 Geert Bosch <bosch@gnat.com>
10467
10468 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
10469
053defdf
RD
104702001-12-04 Robert Dewar <dewar@gnat.com>
10471
07fc65c4
GB
10472 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
10473 location if we already have errors. Stops some cases of cascaded
053defdf 10474 errors.
82a4b025 10475
053defdf
RD
10476 * errout.adb: Improve comment.
10477
f311e166
RD
104782001-12-04 Robert Dewar <dewar@gnat.com>
10479
10480 * sem_ch12.adb:
10481 (Analyze_Formal_Type_Definition): Defend against Error.
10482 (Analyze_Formal_Subprogram): Defend against Error.
82a4b025 10483
07fc65c4 10484 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
f311e166
RD
10485 remove following semicolon if present. Removes cascaded error.
10486
d61bd65a
DR
104872001-12-04 Douglas B. Rupp <rupp@gnat.com>
10488
10489 * bindgen.adb:
10490 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
10491 exceptions equals 0.
10492 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
10493 Fixes PIWG E tests (which have to be run with -gnatL).
10494
4ba603e2
RD
104952001-12-04 Robert Dewar <dewar@gnat.com>
10496
10497 * einfo.ads: Minor reformatting
10498
57568d91
ES
104992001-12-04 Ed Schonberg <schonber@gnat.com>
10500
07fc65c4
GB
10501 * einfo.ads: Block_Node points to the identifier of the block, not to
10502 the block node itself, to preserve the link when the block is
10503 rewritten, e.g. within an if-statement with a static condition.
82a4b025 10504
07fc65c4 10505 * inline.adb (Cleanup_Scopes): recover block statement from block
57568d91 10506 entity using new meaning of Block_Node.
82a4b025 10507
07fc65c4 10508 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
57568d91
ES
10509 identifier of block node, rather than to node itself.
10510
0815d36a 105112001-12-04 Gary Dismukes <dismukes@gnat.com>
82a4b025 10512
0815d36a
GD
10513 * layout.adb:
10514 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
10515 (Discrimify): Go back to setting the Etypes of the selected component
07fc65c4 10516 because the Vname component does not exist at this point and will
0815d36a
GD
10517 fail name resolution. Also set Analyzed.
10518 Remove with and use of Sem_Res.
10519
edc0f304
AC
105202001-12-04 Arnaud Charlet <charlet@gnat.com>
10521
10522 * Makefile.in: (HIE_SOURCES): add s-fat*.
10523
32213142
RD
105242001-12-04 Robert Dewar <dewar@gnat.com>
10525
10526 * sem_attr.adb:
10527 (Compile_Time_Known_Attribute): New procedure.
10528 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
10529 proper range check.
10530
c0def2ad
ES
105312001-12-04 Ed Schonberg <schonber@gnat.com>
10532
07fc65c4 10533 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
c0def2ad
ES
10534 processing discriminants to diagnose illegal default values.
10535
ee0a48c5
ES
105362001-12-04 Ed Schonberg <schonber@gnat.com>
10537
07fc65c4
GB
10538 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
10539 access discriminant within a type extension that constrains its
ee0a48c5
ES
10540 parent discriminants.
10541
dd5875a6
ES
105422001-12-04 Ed Schonberg <schonber@gnat.com>
10543
07fc65c4 10544 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
dd5875a6 10545 is malformed, use instance of Any_Id to allow analysis to proceed.
82a4b025 10546
07fc65c4 10547 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
dd5875a6
ES
10548 type definition is illegal.
10549 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
10550 misplaced.
10551
c2a41e57
ES
105522001-12-04 Ed Schonberg <schonber@gnat.com>
10553
07fc65c4 10554 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
c2a41e57
ES
10555 constants.
10556
0ae84753
RD
105572001-12-04 Robert Dewar <dewar@gnat.com>
10558
10559 * errout.adb: Minor reformatting
10560
63db260e
RD
105612001-12-04 Robert Dewar <dewar@gnat.com>
10562
10563 * exp_util.adb: Minor reformatting from last change
82a4b025 10564
07fc65c4
GB
10565 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
10566 which is a rewriting of an expression, traverse the original
63db260e
RD
10567 expression to remove warnings that may have been posted on it.
10568
c6d289f4
ES
105692001-12-04 Ed Schonberg <schonber@gnat.com>
10570
07fc65c4 10571 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
c6d289f4
ES
10572 record that has other packed components.
10573
5917e80d
DR
105742001-12-04 Douglass B. Rupp <rupp@gnat.com>
10575
10576 * adaint.c: Minor cleanups.
10577
2c70f9dd
DR
105782001-12-04 Douglass B. Rupp <rupp@gnat.com>
10579
10580 * adaint.c: Do not use utime.h on vxworks.
10581
e59b3387
AC
105822001-12-04 Arnaud Charlet <charlet@gnat.com>
10583
07fc65c4 10584 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
e59b3387
AC
10585 more confusion than it solves.
10586
e288604a
GB
105872001-12-04 Geert bosch <bosch@gnat.com>
10588
10589 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
10590
5ac21013
GB
105912001-12-04 Geert Bosch <bosch@gnat.com>
10592
07fc65c4 10593 * Makefile.in (update-sources): New target.
5ac21013
GB
10594 For use by gcc_release script.
10595
7dd5bd5e
ES
105962001-12-04 Ed Schonberg <schonber@gnat.com>
10597
07fc65c4 10598 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
7dd5bd5e
ES
10599 a configuration pragma, it is now legal wherever a pragma can appear.
10600
a078a589
ZW
106012001-12-04 Zack Weinberg <zack@codesourcery.com>
10602
10603 * Makefile.in: Don't set ALL. Delete @cross_defines@,
10604 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
10605 is now @CROSS@ -DIN_GCC; update comment.
10606
0839863c
GB
106072001-12-04 Robert Dewar <dewar@gnat.com>
10608
10609 * einfo.adb (Has_Pragma_Pure_Function): New flag.
10610 Fix problem that stopped ceinfo from working
82a4b025 10611
0839863c 10612 * einfo.ads (Has_Pragma_Pure_Function): New flag.
82a4b025 10613
0839863c
GB
10614 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
10615
106162001-12-04 Douglas B. Rupp <rupp@gnat.com>
9678de49
DR
10617
10618 * gnatchop.adb:
10619 (File_Time_Stamp): New procedure.
10620 (Preserve_Mode): New boolean.
10621 (Write_Unit): Pass time stamp.
10622 Implement -p switch (preserve time stamps).
82a4b025 10623
9678de49 10624 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
82a4b025 10625
9678de49 10626 * gnatchop.adb: Do usage info for -p switch
82a4b025 10627
9678de49 10628 * adaint.h (__gnat_set_file_time_name): New function
82a4b025 10629
9678de49 10630 * adaint.c (__gnat_set_file_time_name): Implement
82a4b025 10631
9678de49
DR
10632 * adaint.h: Fix typo
10633
3b9a13c4
RD
106342001-12-03 Robert Dewar <dewar@gnat.com>
10635
667e5c5d 10636 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
b4f94ac1 10637 have Associated_Node.
3b9a13c4 10638
767b404e
RD
106392001-12-03 Robert Dewar <dewar@gnat.com>
10640
10641 * prj-proc.adb: Minor reformatting
667e5c5d 10642
767b404e
RD
10643 * make.adb: Minor reformatting
10644
11ac71ba
GB
106452001-12-03 Geert Bosch <bosch@gnat.com>
10646
667e5c5d 10647 * make.adb: Minor reformatting.
11ac71ba 10648
ef3d4d6e 106492001-12-03 Robert Dewar <dewar@gnat.com>
b1446533
RD
10650
10651 * sem_ch12.adb: Minor reformatting
10652
d6d32b24
ES
106532001-12-03 Ed Schonberg <schonber@gnat.com>
10654
667e5c5d
AJ
10655 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
10656 push Standard on the stack before analyzing the instance body,
d6d32b24 10657 in order to have a clean visibility environment.
667e5c5d
AJ
10658
10659 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
d6d32b24 10660
13f08f03
ES
106612001-12-03 Ed Schonberg <schonber@gnat.com>
10662
667e5c5d 10663 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
13f08f03
ES
10664 instantiation of a body that contains an inlined body.
10665
3bd6c100
ES
106662001-12-03 Ed Schonberg <schonber@gnat.com>
10667
10668 * sem_ch12.adb:
10669 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
10670 to prevent freezing within formal packages.
10671 (Freeze_Subprogram_Body): If body comes from another instance that
10672 appeared before its own body, place freeze node at end of current
10673 declarative part, to prevent a back-end crash.
10674 (Inline_Instance_Body): Handle properly a package instance within
10675 a subprogram instance that is a child unit.
10676
58d07d8f
GS
106772001-12-01 Graham Stott <grahams@redhat.com>
10678
10679 * Makefile.in (misc.o): Add missing $(srcdir) prefix
10680 and add optabs.h dependency.
10681
10682 * misc.c: Include optabs.h
10683 (gnat_tree_code_type): Make static and const.
10684 (gnat_tree_code_length): Likewise.
10685 (gnat_tree_code_name): Likewise.
10686 (update_setjmp_buf): Obtain operands mode from insn_data.
10687
c87222f0
RH
106882001-11-29 Richard Henderson <rth@redhat.com>
10689
10690 * init.c: Remove obsolete dwarf2 frame.h section.
10691
d3945f0a
JM
106922001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
10693
10694 * Make-lang.in (ada.generated-manpages): New dummy target.
10695
9f639397
ES
106962001-11-29 Ed Schonberg <schonber@gnat.com>
10697
667e5c5d
AJ
10698 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
10699 into Command, an array conversion is illegal here. Uncovered by
9f639397
ES
10700 ACATS B460005.
10701
c835e5c6
GB
107022001/11/28 Geert Bosch <bosch@gnat.com>
10703
10704 * init.c: Minor whitespace changes.
10705
49bb4548
DR
107062001-11-28 Doug Rupp <rupp@gnat.com>
10707
667e5c5d 10708 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
49bb4548
DR
10709 signal stack.
10710
ea2417e5
ZW
107112001-11-28 Zack Weinberg <zack@codesourcery.com>
10712
10713 * misc.c (gnat_expand_constant): Move declaration above
10714 definition of lang_hooks.
10715 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
10716 (gnat_init): lang_expand_constant no longer exists.
10717
10718 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
10719 always have vprintf.
10720 (gnat_init): Always call set_internal_error_function.
10721
f8e0aa73
AJ
107222001-11-27 Andreas Jaeger <aj@suse.de>
10723
10724 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
10725
d99b0e79
LG
107262001-11-27 Laurent Guerby <guerby@acm.org>
10727
10728 * Makefile.in: Regenerate Ada dependencies.
10729
3f0496e5
RH
107302001-11-26 Richard Henderson <rth@redhat.com>
10731
10732 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
10733 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
10734 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
10735
92fa4733
LG
107362001-11-25 Laurent Guerby <guerby@acm.org>
10737
10738 * sysdep.c (rts_get_*): Fix style.
10739
07626501
LG
107402001-11-19 Laurent Guerby <guerby@acm.org>
10741
10742 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
10743 since it is of no apparent use and cause warnings.
10744
22703ccc
NB
107452001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
10746
10747 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
10748 static too.
10749 (gnat_init): Don't return NULL.
10750 (finish_parse): Remove.
10751
b0df4321
LG
107522001-11-17 Laurent Guerby <guerby@acm.org>
10753
10754 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
10755 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
10756 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
10757 * lang-spec.h: Add missing struct field to silence warnings.
10758 * sysdep.c (rts_get_*): Provide K&R prototype.
10759 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
10760 * traceback.c (Unlock_Task, Lock_Task): Likewise.
10761 * tracebak.c (__gnat_backtrace): Remove unused variable.
10762 * utils.c (end_subprog_body): Move to K&R style.
10763
d215024f
RK
10764Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10765
10766 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
10767
f5e99456
NB
107682001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
10769
10770 * misc.c (gnat_init): Change prototype. Include the
10771 functionality of the old init_parse and init_decl_processing.
10772 (gnat_init_decl_processing): New prototype.
10773 (init_parse): Remove.
10774 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
10775
5d69f816
NB
107762001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
10777
10778 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
10779 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
10780 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
10781 set_yydebug): Remove.
10782
3ac88239
NB
107832001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
10784
10785 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
10786 (struct lang_hooks): Constify.
10787 (language_string, lang_identify): Remove.
10788 * utils.c (init_decl_processing): Update.
10789
d23c55c2
NB
107902001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
10791
10792 * misc.c: Include langhooks-def.h.
10793 * Makefile.in: Update.
10794
04a1b79c
RD
107952001-10-30 Robert Dewar <dewar@gnat.com>
10796
10797 * style.adb:
10798 (Check_Identifier): Rewrite circuit to be compatible with use of letters
10799 in the upper half of ASCII.
10800 (Check_Identifier): Minor reformatting
10801
81fa2d39
GB
108022001-10-30 Geert Bosch <bosch@gnat.com>
10803
f8e0aa73 10804 * (Associated_Node, Set_Associated_Node): Do not check for
81fa2d39
GB
10805 Freeze_Entity.
10806
ffc5527f
RD
108072001-10-30 Robert Dewar <dewar@gnat.com>
10808
10809 * a-reatim.ads: Minor reformatting
10810
865335eb
RD
108112001-10-30 Robert Dewar <dewar@gnat.com>
10812
f8e0aa73 10813 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
865335eb
RD
10814 undocumented declarations.
10815
5e257178
PO
108162001-10-30 Pascal Obry <obry@gnat.com>
10817
f8e0aa73 10818 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5e257178
PO
10819 to the binder and linker.
10820 Minor style fix.
f8e0aa73 10821
5e257178
PO
10822 * mdll.ads: Fix layout. Update copyright notice.
10823
10824 * mdll.adb: Fix layout. Update copyright notice.
10825
1753e0ad
RD
108262001-10-30 Robert Dewar <dewar@gnat.com>
10827
10828 * usage.adb: Minor fix to output for -gnaty.
10829
84bfdde0
ES
108302001-10-30 Ed Schonberg <schonber@gnat.com>
10831
f8e0aa73
AJ
10832 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
10833 to accommodate all its possible values.
84bfdde0 10834
f8e0aa73 10835 * a-reatim.adb (Split): Special-case handling of Time_Span_First
84bfdde0
ES
10836 and of small absolute values of T.
10837
c296e5fc
RK
108382001-10-30 Richard Kenner <kenner@gnat.com>
10839
f8e0aa73
AJ
10840 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
10841 set_mem_attributes since not needed and wrong if RESULT if a REG;
c296e5fc
RK
10842 fixes ACATS failures.
10843
07c809df
GB
108442001-10-30 Geert Bosch <bosch@gnat.com>
10845
10846 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
10847 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
10848
54d22416 108492001-10-30 Robert Dewar <dewar@gnat.com>
f8e0aa73 10850
54d22416 10851 * bindusg.adb: Undocument -f switch.
f8e0aa73 10852
54d22416 10853 * gnatcmd.adb: Remove /FULL_ELABORATION.
f8e0aa73
AJ
10854
10855 * opt.ads (Force_RM_Elaboration_Order): Document that this is
54d22416 10856 obsolescent.
f8e0aa73 10857
54d22416 10858 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
f8e0aa73 10859
54d22416
RD
10860 * gnatbind.adb: Minor update of warning msg.
10861
af5cf6f8
VC
108622001-10-30 Vincent Celier <celier@gnat.com>
10863
f8e0aa73 10864 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
af5cf6f8 10865 for project file switches (-P (/PROJECT_FILE=),
f8e0aa73 10866 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
af5cf6f8
VC
10867 or MEDIUM or HIGH)
10868
984bc4c3
GB
108692001-10-30 Geert Bosch <bosch@gnat.com>
10870
10871 * decl.c: Minor whitespace fixes.
10872
5dece937
RK
108732001-10-30 Richard Kenner <kenner@gnat.com>
10874
10875 * utils2.c (build_allocator): Test for SIZE overflow in array case too
10876
de4bf6cb
GB
108772001-10-30 Geert Bosch <bosch@gnat.com>
10878
f8e0aa73 10879 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
de4bf6cb 10880 Found due to GCC 3.0 warning of using uninitialized value.
f8e0aa73 10881
de4bf6cb
GB
10882 * layout.adb:
10883 (Get_Max_Size): Use variant record for tracking value/expression.
10884 Makes logic clearer and prevents warnings for uninitialized variables.
10885 (Layout_Array_Type): Use variant record for tracking value/expression.
10886 Makes logic clearer and prevents warnings for uninitialized variables.
10887
f5e44987
RD
108882001-10-30 Robert Dewar <dewar@gnat.com>
10889
10890 * lib.adb: Minor reformatting
10891
10892 * s-taprop.ads: Minor reformatting
10893
45659035 108942001-10-29 Laurent Guerby <guerby@acm.org>
f8e0aa73 10895
45659035
GB
10896 * init.c:
10897 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
10898 const.
10899 (_gnat_error_handler): Make MSG const.
10900
109012001-10-29 Richard Kenner <kenner@gnat.com>
10902
10903 * sysdep.c: Fix localtime_r problem on LynxOS.
10904 Also remove #elif to avoid warnings.
f8e0aa73
AJ
10905
10906 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
45659035 10907 used by this.
f8e0aa73 10908
45659035
GB
10909 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
10910
638e383e
JM
109112001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
10912
10913 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
10914 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
10915 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
10916 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
10917 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
10918 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
10919 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
10920 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
10921 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
10922 types.ads, urealp.adb: Fix spelling errors.
10923
97f6baa0
LG
109242001-10-27 Laurent Guerby <guerby@acm.org>
10925
10926 * trans.c (gigi): Fix non determinism leading to bootstrap
10927 comparison failures for debugging information.
10928
46b58b8c
FW
109292001-10-26 Florian Weimer <fw@deneb.enyo.de>
10930
10931 * gnat_rm.texi: Use @./@: where appropriate.
10932
30151c7b
RD
109332001-10-26 Robert Dewar <dewar@gnat.com>
10934
10935 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
10936
c0b1738d
RK
109372001-10-26 Richard Kenner <kenner@gnat.com>
10938
10939 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
10940
5b09c153
RK
109412001-10-26 Richard Kenner <kenner@gnat.com>
10942
f8e0aa73 10943 * decl.c (validate_size): Modify message for bad size to avoid
5b09c153
RK
10944 implication that compiler is modifying the size.
10945
4d553668
RD
109462001-10-26 Robert Dewar <dewar@gnat.com>
10947
10948 * prj-util.adb: Minor reformatting. Fix bad header format.
10949
3e542a58
RD
109502001-10-26 Robert Dewar <dewar@gnat.com>
10951
10952 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
f8e0aa73 10953
3e542a58 10954 * sinfo.ads: Clarify use of Associated_Node (documentation only).
f8e0aa73
AJ
10955
10956 * sem_ch12.adb: Change Node4 to Associated_Node. Change
10957 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
3e542a58
RD
10958 much more narrowly in places where needed. These are cleanups.
10959
0bf08bfe
JB
109602001-10-26 Joel Brobecker <brobecke@gnat.com>
10961
10962 * 5zosinte.ads (null_pthread): new constant.
f8e0aa73 10963
0bf08bfe
JB
10964 * 5ztaprop.adb:
10965 (Initialize_TCB): Initialize thread ID to null, to be able to verify
10966 later that this field has been set.
10967 (Finalize_TCB): ditto.
10968 (Suspend_Task): Verify that the thread ID is not null before using it.
10969 (Resume_Task): ditto.
f8e0aa73 10970
0bf08bfe
JB
10971 * s-tasdeb.adb:
10972 (Resume_All_Tasks): Lock the tasks list before using it.
10973 (Suspend_All_Tasks): ditto.
10974
7a3a8c06
RK
109752001-10-26 Richard Kenner <kenner@gnat.com>
10976
f8e0aa73 10977 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
7a3a8c06
RK
10978 Make constant variant of designated type for Is_Access_Constant.
10979 Call update_pointer_to with main variant.
f8e0aa73
AJ
10980
10981 * trans.c (process_freeze_entity, process_type):
7a3a8c06 10982 Call update_pointer_to on main variant.
f8e0aa73 10983
7a3a8c06
RK
10984 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
10985 If main variant, update all other variants.
f8e0aa73
AJ
10986
10987 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
7a3a8c06
RK
10988 TREE_STATIC.
10989
a160babb
RD
109902001-10-26 Robert Dewar <dewar@gnat.com>
10991
10992 * prj-util.adb: Minor reformatting
10993
b403bd17
RD
109942001-10-26 Robert Dewar <dewar@gnat.com>
10995
10996 * prj-util.adb: Minor reformatting
10997
5fc3b4c7
RD
109982001-10-26 Robert Dewar <dewar@gnat.com>
10999
11000 * prj-attr.adb: Minor reformatting throughout
11001
8c736034
RD
110022001-10-26 Robert Dewar <dewar@gnat.com>
11003
11004 * prj-attr.ads: Minor reformatting
11005 Add ??? comment (this whole spec has almost no comments)
11006
47d5b6ed
VC
110072001-10-26 Vincent Celier <celier@gnat.com>
11008
f8e0aa73 11009 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
b4f94ac1 11010 ("//") that precede the drive letter on Interix.
47d5b6ed 11011
41af791f
GB
110122001-10-26 Geert Bosch <bosch@gnat.com>
11013
11014 * gnat_rm.texi: Add GNAT Reference Manual.
11015
ed4a1468
RD
110162001-10-25 Robert Dewar <dewar@gnat.com>
11017
f8e0aa73 11018 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
b4f94ac1 11019 is Error. Similar change for other renaming cases.
ed4a1468 11020
24377ae4
RD
110212001-10-25 Robert Dewar <dewar@gnat.com>
11022
11023 * s-atacco.ads: Add pragma Inline_Always for functions.
11024 Fix header format. Add copyright 2001
11025
fef3204e
ES
110262001-10-25 Ed Schonberg <schonber@gnat.com>
11027
f8e0aa73 11028 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
b4f94ac1 11029 return Error rather than Empty so that analysis can proceed.
fef3204e 11030
dfc69d80
ES
110312001-10-25 Ed Schonberg <schonber@gnat.com>
11032
f8e0aa73 11033 * sem_util.adb (Enter_Name): better handling of cascaded error
b4f94ac1 11034 messages when a unit appears in its own context.
dfc69d80 11035
5a15af62
ES
110362001-10-25 Ed Schonberg <schonber@gnat.com>
11037
f8e0aa73 11038 * sem_util.adb (Defining_Entity): in case of error, attach created
b4f94ac1 11039 entity to specification, so that semantic analysis can proceed.
5a15af62 11040
2b881d53
RD
110412001-10-25 Robert Dewar <dewar@gnat.com>
11042
f8e0aa73 11043 * sem_util.adb
b4f94ac1 11044 (Defining_Entity): Deal with Error.
2b881d53
RD
11045 (Process_End_Label): Deal with bad end label for.
11046
578053f2
ES
110472001-10-25 Ed Schonberg <schonber@gnat.com>
11048
f8e0aa73 11049 * sem_elab.adb (Check_A_Call): refine message when call is in an
578053f2
ES
11050 instance but callee is not declared in the generic unit.
11051
0597ce0b 110522001-10-25 Ed Schonberg <schonber@gnat.com>
f8e0aa73
AJ
11053
11054 * sem_elab.adb (Check_A_Call): check for renaming before finding the
0597ce0b
ES
11055 enclosing unit, which may already be different from the calling unit.
11056
3de6e6da
GB
110572001-10-25 Geert Bosch <bosch@gnat.com>
11058
11059 * 4gintnam.ads: fix header format.
11060
6f311316
ES
110612001-10-25 Ed Schonberg <schonber@gnat.com>
11062
f8e0aa73 11063 * sem_res.adb (Resolve_Call): if the call is actually an indexing
b4f94ac1
ZW
11064 operation on the result of a parameterless call, perform elaboration
11065 check after the node has been properly rewritten.
f8e0aa73
AJ
11066
11067 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
b4f94ac1
ZW
11068 inlined within the generic tree, the defining identifier is not a
11069 compilation_unit.
6f311316 11070
17be0cdf
ES
110712001-10-25 Ed Schonberg <schonber@gnat.com>
11072
f8e0aa73 11073 * sem_res.adb (Resolve): special-case resolution of Null in an
b4f94ac1 11074 instance or an inlined body to avoid view conflicts.
f8e0aa73
AJ
11075
11076 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
b4f94ac1 11077 compatibility by retrieving the access type of the generic copy.
17be0cdf 11078
ce9e9122
RD
110792001-10-25 Robert Dewar <dewar@gnat.com>
11080
11081 * sem_ch3.adb:
11082 (Analyze_Number_Declaration): Handle error expression.
11083 (Signed_Integer_Type_Declaration): Handle error bound.
11084 (Analyze_Subtype_Indication): Handle error range.
f8e0aa73 11085
ce9e9122
RD
11086 * sem_util.adb (Get_Index_Bounds): Check for Error.
11087
e12fbc9e
RD
110882001-10-25 Robert Dewar <dewar@gnat.com>
11089
f8e0aa73 11090 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
e12fbc9e
RD
11091 in no run time mode.
11092
52b80488
PO
110932001-10-25 Pascal Obry <obry@gnat.com>
11094
f8e0aa73 11095 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
b4f94ac1 11096 mode case for ALLOC case.
f8e0aa73
AJ
11097
11098 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
b4f94ac1 11099 all platforms. Improvement of last change.
52b80488 11100
316ad9c5
RD
111012001-10-25 Robert Dewar <dewar@gnat.com>
11102
11103 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
11104
1a7e4df4
GB
111052001-10-25 Geert Bosch <bosch@gnat.com>
11106
11107 * osint.adb (Is_Relative): Remove duplicate.
11108
90a9fff2
PO
111092001-10-25 Pascal Obry <obry@gnat.com>
11110
f8e0aa73 11111 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
b4f94ac1 11112 pathnames in UNIX and DOS style with drive letter.
90a9fff2 11113 (Is_Relative): new routine.
f8e0aa73 11114
90a9fff2 11115 * osint.adb: Minor reformatting
f8e0aa73
AJ
11116
11117 * osint.adb (Is_Relative): implementation using
b4f94ac1 11118 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
90a9fff2 11119
5c1ba4cc
PO
111202001-10-25 Pascal Obry <obry@gnat.com>
11121
f8e0aa73 11122 * g-dirope.adb (Basename): correctly compute offset between the
b4f94ac1 11123 original Path and the translated one.
f8e0aa73 11124
5c1ba4cc
PO
11125 * g-dirope.adb: (Base_Name): add some comments.
11126
a7fb206d
RD
111272001-10-25 Robert Dewar <dewar@gnat.com>
11128
f8e0aa73 11129 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
b4f94ac1 11130 in HIE mode, avoids compilation abandoned message
f8e0aa73 11131
a7fb206d 11132 * exp_imgv.adb: Correct typo in previous change
f8e0aa73 11133
a7fb206d
RD
11134 * exp_imgv.adb: Correct typo in previous change (not my day!)
11135
e6a7e62e
RD
111362001-10-25 Robert Dewar <dewar@gnat.com>
11137
11138 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
11139
0d2b8e0b 111402001-10-25 Pascal Obry <obry@gnat.com>
75c09e7d 11141
f8e0aa73 11142 * g-awk.ads: Move all pragma inlines next to the routine
0d2b8e0b 11143 declarations. This is more uniform with other GNAT spec.
75c09e7d 11144
0d2b8e0b 111452001-10-22 Geert Bosch <bosch@gnat.com>
d2740a69
GB
11146
11147 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
11148
0d2b8e0b 111492001-10-19 Geert Bosch <bosch@gnat.com>
d7ac9bdd
GB
11150
11151 * Makefile.in (tools, gnattools): Remove gnatmem.
11152
17ed6335
RH
111532001-10-17 Richard Henderson <rth@redhat.com>
11154
11155 * Makefile.in (misc.o): Depend on langhooks.h.
11156 * misc.c: Include it.
11157 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
11158 (LANG_HOOKS_DECODE_OPTION): New.
11159 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
11160
f2436274
FW
111612001-10-16 Florian Weimer <fw@deneb.enyo.de>
11162
11163 * trans.c (tree_transform): Adjust to recent change in
11164 expand_asm_operands to implement named asm operands.
11165
b14127e6
ES
111662001-10-11 Ed Schonberg <schonber@gnat.com>
11167
f8e0aa73 11168 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
b14127e6
ES
11169 renaming of discriminant for mutable record type.
11170
e70ee92a
RD
111712001-10-11 Robert Dewar <dewar@gnat.com>
11172
11173 * validsw.adb: Properly save -gnatVn status.
11174
9a5621d7 111752001-10-11 Robert Dewar <dewar@gnat.com>
f8e0aa73 11176
9a5621d7
RD
11177 * usage.adb: Add lines for V switch.
11178
f8e0aa73 11179 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
9a5621d7
RD
11180 (/VALIDITY_CHECKING).
11181
45667f04
ES
111822001-10-11 Ed Schonberg <schonber@gnat.com>
11183
f8e0aa73 11184 * sem_type.adb (Add_One_Interp): an operator for a type declared in
45667f04
ES
11185 an extension of System is known to be visible.
11186
c3de5c4c
ES
111872001-10-11 Ed Schonberg <schonber@gnat.com>
11188
f8e0aa73 11189 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
c3de5c4c
ES
11190 properly. Fixes regression on ACATS C34005G.
11191
4fa964a6
RD
111922001-10-11 Robert Dewar <dewar@gnat.com>
11193
f8e0aa73 11194 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
4fa964a6
RD
11195 loop in generic instance, since this is likely not very useful.
11196
0868e09c
RD
111972001-10-11 Robert Dewar <dewar@gnat.com>
11198
f8e0aa73 11199 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
0868e09c 11200 the error message for high integrity mode.
f8e0aa73
AJ
11201
11202 * rtsfind.adb (RTE): Give message if we try to find an entity that
0868e09c 11203 is not available in high integrity mode.
f8e0aa73 11204
0868e09c
RD
11205 * rtsfind.ads:
11206 (OK_To_Use_In_HIE_Mode): New array.
11207 (RTE): May return Empty in high integrity mode.
f8e0aa73
AJ
11208
11209 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
11210 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
11211
11212 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
11213 unit if not inlined always and in no runtime mode. Fixes problem
0868e09c 11214 caused by new Rtsfind changes.
f8e0aa73
AJ
11215
11216 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
0868e09c 11217 body is deleted.
f8e0aa73
AJ
11218
11219 * rtsfind.adb (RTE): Make sure we do not try to load unit after
0868e09c
RD
11220 giving message for entity not available in high integrity mode.
11221
934abf9c 112222001-10-11 Pascal Obry <obry@gnat.com>
f8e0aa73 11223
934abf9c
PO
11224 * impunit.adb: Add GNAT.CRC32.
11225
3c72bea4
ES
112262001-10-11 Ed Schonberg <schonber@gnat.com>
11227
f8e0aa73
AJ
11228 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
11229 properly the case where one universal operand in a non-static
3c72bea4
ES
11230 exponentiation of a real literal.
11231
44d8d2bb
ES
112322001-10-11 Ed Schonberg <schonber@gnat.com>
11233
f8e0aa73
AJ
11234 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
11235 clause, return the gobal finalization list, for lack of anthing else.
44d8d2bb 11236
9e2b9627
ES
112372001-10-11 Ed Schonberg <schonber@gnat.com>
11238
f8e0aa73
AJ
11239 * exp_ch7.adb (Make_Transient_Block): if statement is within
11240 exception handler, always use new transient scope to place Clean
9e2b9627
ES
11241 procedure.
11242
cfac6e9f
PO
112432001-10-11 Pascal Obry <obry@gnat.com>
11244
11245 * Makefile.in:
11246 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
11247 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
11248 (GNATLS_RTL_OBJS): add g-crc32.o
11249 (GNATMAKE_RTL_OBJS): add g-crc32.o
f8e0aa73 11250
cfac6e9f
PO
11251 * ali-util.adb:
11252 (CRC_Match): new function.
f8e0aa73 11253 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
cfac6e9f
PO
11254 instead of the previous simple checksum algorithm.
11255 (Time_Stamp_Mismatch): use CRC_Match for comparison.
11256 (Set_Source_Table): idem.
f8e0aa73 11257
cfac6e9f 11258 * ali-util.ads:
f8e0aa73 11259 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
cfac6e9f
PO
11260 instead of simple checksum.
11261 (CRC_Match): new function.
11262 (CRC_Error): new constant.
f8e0aa73
AJ
11263
11264 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
11265 a CRC now and not a simple checksum. A CRC uses lower-case hex
cfac6e9f 11266 letters, fixes ambiguity in parsing.
f8e0aa73
AJ
11267
11268 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
cfac6e9f 11269 is what this variable will store.
f8e0aa73 11270
cfac6e9f 11271 * bcheck.adb: Change reference to chechsum in comments by CRC.
f8e0aa73
AJ
11272 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
11273 rename All_Checksum_Match to All_CRC_Match. Change due to API
11274 renaming since now GNAT does not use a simple checksum but a
cfac6e9f 11275 CRC using GNAT.CRC32.
f8e0aa73
AJ
11276
11277 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
cfac6e9f 11278 now and not anymore a simple checksum.
f8e0aa73
AJ
11279
11280 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
cfac6e9f 11281 places.
f8e0aa73 11282
cfac6e9f 11283 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
f8e0aa73 11284
cfac6e9f
PO
11285 * scans.adb:
11286 (Restore_Scan_State): rename Checksum to CRC.
11287 (Save_Scan_State): idem.
f8e0aa73 11288
cfac6e9f
PO
11289 * scans.ads:
11290 With GNAT.CRC32.
11291 (Checksum): rename to CRC.
11292 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
f8e0aa73
AJ
11293
11294 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 11295 GNAT.CRC32). Update copyright notice.
f8e0aa73
AJ
11296
11297 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 11298 GNAT.CRC32). Update copyright notice.
f8e0aa73 11299
cfac6e9f
PO
11300 * scn.adb:
11301 (Accumulate_Checksum): removed.
11302 (Update): new procedure. Add a wide-character into the CRC.
f8e0aa73 11303
cfac6e9f
PO
11304 * sinput-l.adb:
11305 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
f8e0aa73 11306 (Load_File): fix initialization of S (change Source_Checksum to
cfac6e9f 11307 Source_CRC)
f8e0aa73
AJ
11308
11309 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
cfac6e9f 11310 Source_CRC in S initialization.
f8e0aa73 11311
cfac6e9f 11312 * sinput.adb (Source_Checksum): renamed to Source_CRC.
f8e0aa73 11313
cfac6e9f
PO
11314 * sinput.ads (Source_Checksum): renamed to Source_CRC.
11315 Update comments for the CRC.
f8e0aa73 11316
cfac6e9f 11317 * types.adb (Hex): Use lowercase for the letter part.
f8e0aa73
AJ
11318
11319 * types.ads (Get_Hex_String): Returns the hexadecimal representation
11320 for a word. This is currently used only for CRC. In previous version,
11321 the checksum was using a representation with all letter being
11322 upper-case. With the new implementation (using CRC) we do not remove
11323 the 32th bit of the CRC, so we can have an upper-case starting letter
11324 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
11325 It is ambigous since the CRC was optional and could be followed by
11326 options like EB, EE. So now this routines uses lower-case letter for
11327 the hexadecimal representation. Strange enough only lower case letters
cfac6e9f 11328 where checked in Scan_ALI (even if this was not a possible case).
f8e0aa73 11329
cfac6e9f 11330 * gnatvsn.ads (Library_Version): changed to 3.15a.
f8e0aa73
AJ
11331
11332 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
cfac6e9f 11333 for the compiler.
f8e0aa73
AJ
11334
11335 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
cfac6e9f 11336 for the compiler.
f8e0aa73 11337
cfac6e9f
PO
11338 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
11339 Add 2001 to copyright notice
11340 (Accumulate_Checksum): Modify to use System.CRC32.
f8e0aa73
AJ
11341
11342 * ali-util.ads: Redo changes of previous revision to continue to use
cfac6e9f 11343 the word Checksum. Add 2001 to copyright notice.
f8e0aa73 11344
cfac6e9f
PO
11345 * ali.adb: Undo some of previous changes, not needed.
11346 Keep the change for lower case letters in the checksum.
f8e0aa73 11347
cfac6e9f
PO
11348 * ali.ads: Undo previous change not needed.
11349
11350 * bcheck.adb: Undo most of previous change, not needed.
11351 But do use Checksums_Match for checksum comparison.
f8e0aa73 11352
cfac6e9f
PO
11353 * gnatls.adb: Undo most of previous change, not needed.
11354 But do use Checksums_Match for comparing checksums.
f8e0aa73 11355
cfac6e9f 11356 * lib-load.adb: Undo previous change, not needed.
f8e0aa73 11357
cfac6e9f 11358 * lib-writ.adb: Undo previous change, not needed.
f8e0aa73
AJ
11359
11360 * lib-writ.ads: Document that checksums use lower case,
cfac6e9f 11361 not upper case letters.
f8e0aa73 11362
cfac6e9f 11363 * scans.adb: Undo previous change, not needed
f8e0aa73 11364
cfac6e9f 11365 * scans.ads: Undo previous change, not needed.
f8e0aa73 11366
cfac6e9f 11367 * scn-nlit.adb: Undo previous changes, not needed.
f8e0aa73 11368
cfac6e9f 11369 * scn-slit.adb: Undo previous change, not needed. Fix header format.
f8e0aa73 11370
cfac6e9f
PO
11371 * scn.adb:
11372 (Accumulate_Checksum): Use System.CRC32.
11373 (Initialize_Checksum): New procedure.
11374 Remove other changes of previous revision.
f8e0aa73 11375
cfac6e9f 11376 * sinput-p.adb: Undo previous change, not needed.
f8e0aa73 11377
cfac6e9f
PO
11378 * sinput.adb: Undo previous change, not needed.
11379
11380 * sinput-l.adb: Undo previous change, not needed.
f8e0aa73
AJ
11381
11382 * sinput.ads: Undo previous change, not needed. Keep only comment
cfac6e9f 11383 on new checksum algorithm
f8e0aa73 11384
cfac6e9f
PO
11385 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
11386 Also remove a-tags and a-stream from GNAT sources.
f8e0aa73 11387
cfac6e9f 11388 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
f8e0aa73 11389
cfac6e9f
PO
11390 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
11391
4d6d06a5
GB
113922001-10-11 Geert Bosch <bosch@gnat.com>
11393
11394 * einfo.h: Regenerate.
11395
11396 * nmake.ads: Regenerate.
11397
11398 * nmake.adb: Regenerate.
11399
11400 * sinfo.h: Regenerate.
11401
11402 * treeprs.adb: Regenerate.
11403
c97412e2
GB
114042001-10-10 Geert Bosch <bosch@gnat.com>
11405
11406 * gnat-style.texi: New file describing coding guidelines for Ada.
f8e0aa73 11407
b83018ca
ES
114082001-10-10 Ed Schonberg <schonber@gnat.com>
11409
f8e0aa73 11410 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
b83018ca
ES
11411 is Flag174.
11412
e834fe1f
GB
114132001-10-10 Geert Bosch <bosch@gnat.com>
11414
11415 * snames.ads: Add new names for project facility.
11416
11417 * snames.adb: Update to reflect snames.ads changes.
11418
11419 * snames.h: Update to reflect snames.ads changes.
11420
b30668b7
VC
114212001-10-10 Vincent Celier <celier@gnat.com>
11422
11423 * make.adb:
11424 (Add_Switches): reflect the changes for the switches attributes
11425 Default_Switches indexed by the programming language,
11426 Switches indexed by the file name.
11427 (Collect_Arguments_And_Compile): Idem.
11428 Reflect the attribute name changes.
f8e0aa73 11429
b30668b7
VC
11430 * prj-attr.adb:
11431 (Initialisation_Data): Change the names of some packages and
11432 attributes.
11433 (Initialize): process case insensitive associative arrays.
f8e0aa73 11434
b30668b7
VC
11435 * prj-attr.ads:
11436 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
f8e0aa73 11437
b30668b7
VC
11438 * prj-dect.adb:
11439 (Parse_Attribute_Declaration): For case insensitive associative
11440 arrays, set the index string to lower case.
f8e0aa73 11441
b30668b7
VC
11442 * prj-env.adb:
11443 Reflect the changes of the project attributes.
f8e0aa73 11444
b30668b7
VC
11445 * prj-nmsc.adb:
11446 Replace Check_Naming_Scheme by Ada_Check and
11447 Language_Independent_Check.
f8e0aa73 11448
b30668b7
VC
11449 * prj-nmsc.ads:
11450 Replaced Check_Naming_Scheme by 2 procedures:
11451 Ada_Check and Language_Independent_Check.
f8e0aa73 11452
b30668b7
VC
11453 * prj-proc.adb:
11454 (Process_Declarative_Items): For case-insensitive associative
11455 arrays, set the index string to lower case.
11456 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
11457 Prj.Nmsc.Check_Naming_Scheme.
f8e0aa73 11458
b30668b7
VC
11459 * prj-tree.adb:
11460 (Case_Insensitive): New function
11461 (Set_Case_Insensitive): New procedure
f8e0aa73 11462
b30668b7
VC
11463 * prj-tree.ads:
11464 (Case_Insensitive): New function
11465 (Set_Case_Insensitive): New procedure
11466 (Project_Node_Record): New flag Case_Insensitive.
f8e0aa73 11467
b30668b7
VC
11468 * prj-util.adb:
11469 (Value_Of): new function to get the string value of a single
11470 string variable or attribute.
f8e0aa73 11471
b30668b7
VC
11472 * prj-util.ads:
11473 (Value_Of): new function to get the string value of a single
11474 string variable or attribute.
f8e0aa73 11475
b30668b7
VC
11476 * prj.adb:
11477 (Ada_Default_Spec_Suffix): New function
11478 (Ada_Default_Impl_Suffix): New function
11479 Change definitions of several constants to reflect
11480 new components of record types.
f8e0aa73 11481
b30668b7
VC
11482 * prj.ads:
11483 (Naming_Data): Change several components to reflect new
11484 elements of naming schemes.
11485 (Project_Data): New flags Sources_Present and
11486 Language_Independent_Checked.
11487 (Ada_Default_Spec_Suffix): New function.
11488 (Ada_Default_Impl_Suffix): New function.
f8e0aa73 11489
b30668b7
VC
11490 * snames.ads:
11491 Modification of predefined names for project manager: added
11492 Implementation, Specification_Exceptions, Implementation_Exceptions,
11493 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
11494 Default_Switches, _Languages, Builder, Cross_Reference,
11495 Finder. Removed Body_Part, Specification_Append, Body_Append,
11496 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
11497 Gnatlink.
f8e0aa73 11498
b30668b7
VC
11499 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
11500 Add comments.
f8e0aa73 11501
b30668b7
VC
11502 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
11503 not that it is Nil_Variable_Value.
f8e0aa73 11504
b30668b7
VC
11505 * prj.ads: Add ??? for uncommented declarations
11506
662e57b4
ES
115072001-10-10 Ed Schonberg <schonber@gnat.com>
11508
f8e0aa73
AJ
11509 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
11510 constant, do not indicate possible modification, so that gigi can
662e57b4
ES
11511 treat it as a bona fide constant.
11512
72e4357f
RD
115132001-10-10 Robert Dewar <dewar@gnat.com>
11514
11515 * sem_prag.adb: Add processing for pragma External.
f8e0aa73 11516
72e4357f 11517 * snames.ads: Add entry for pragma External.
f8e0aa73 11518
72e4357f 11519 * par-prag.adb: Add pragma External.
f8e0aa73 11520
72e4357f
RD
11521 * snames.adb: Updated to match snames.ads.
11522
7bc1c7df
ES
115232001-10-10 Ed Schonberg <schonber@gnat.com>
11524
11525 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
11526 a dynamic task if the allocator appears in an indexed assignment
11527 or selected component assignment.
f8e0aa73
AJ
11528
11529 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
11530 For a dynamic task in an assignment statement, use target of
7bc1c7df
ES
11531 assignment to generate meaningful name.
11532
c84700e7
ES
115332001-10-10 Ed Schonberg <schonber@gnat.com>
11534
f8e0aa73 11535 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
c84700e7
ES
11536 a generic package.
11537
11538 * einfo.ads: Body_Entity is also defined for generic package.
11539 Documentation change only
f8e0aa73
AJ
11540
11541 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
11542 others_choice for a discriminated component initialization,
11543 convert discriminant references into the corresponding discriminals.
11544
11545 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
11546 only if original type is private and expression has to be wrapped
c84700e7 11547 in a conversion.
f8e0aa73
AJ
11548
11549 * checks.adb:
11550 (Apply_Constraint_Check): Do not perform length check
c84700e7 11551 if expression is an aggregate with only an others_choice.
f8e0aa73 11552 (Length_N_Cond): two references to the same in_parameter
c84700e7
ES
11553 (typically the discriminal in an init_proc) denote the same value.
11554 Two useful optimization uncovered by bugfixes above.
11555
d8d80dcd
RD
115562001-10-10 Robert Dewar <dewar@gnat.com>
11557
f8e0aa73 11558 * xeinfo.adb: Change int to char in translation of enumeration types.
d8d80dcd
RD
11559 This fixes a problem in the C representation of component alignment.
11560 Add 2001 to copyright notice
11561
a8fee948
RK
115622001-10-10 Richard Kenner <kenner@gnat.com>
11563
f8e0aa73 11564 * decl.c: (validate_size): Do check size of object of integral type
a8fee948
RK
11565 if it is a packed array type.
11566
c2d7fe59
RK
115672001-10-10 Richard Kenner <kenner@gnat.com>
11568
f8e0aa73 11569 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
c2d7fe59
RK
11570 VAR_DECL for constant if not Is_Public but -O0.
11571
fb75e100
RK
115722001-10-10 Richard Kenner <kenner@gnat.com>
11573
11574 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
11575
1724557a
GB
115762001-10-10 Geert Bosch <bosch@gnat.com>
11577
f8e0aa73 11578 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
1724557a
GB
11579 use '/' as switch character, allowing for absolute file names.
11580
9f2f9eb6
JM
115812001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
11582
11583 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
11584 FSF address.
11585
8fecf41d
GB
115862001-10-08 Geert Bosch <bosch@gnat.com>
11587
11588 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
11589 Automatically build utilities when files need to be regenerated.
11590
589f1edf
GB
115912001-10-08 Geert Bosch <bosch@gnat.com>
11592
11593 * xsnames.adb: New utility for updating snames.ads and snames.adb
11594
67f28219
ZW
115952001-10-08 Zack Weinberg <zack@codesourcery.com>
11596
11597 * Make-lang.in (ADAFLAGS): Add -W -Wall.
11598 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
11599 (gnat1): Also depend on attribs.o.
11600 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
11601 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
11602 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
11603 (ADAFLAGS): Add -W -Wall.
11604 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
11605 take out CFLAGS.
11606
11607 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
11608 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
11609 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
11610 Use $(ADAC), not $(CC), as compilation command.
11611
11612 (gnattools): Depend directly on tools to build, don't use
11613 recursive make.
11614 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
11615
11616 * einfo.h, sinfo.h: New files (autogenerated).
11617
295ef2bb
RH
116182001-10-08 Richard Henderson <rth@redhat.com>
11619
11620 * comperr.adb (Abort_In_Progress): New.
11621 (Compiler_Abort): Use it to prevent recursion.
11622
5c736541
RD
116232001-10-08 Robert Dewar <dewar@gnat.com>
11624
11625 * atree.adb: Set Error_Posted in Error node, helps error recovery.
67f28219
ZW
11626
11627 * par-endh.adb (Output_End_Expected): We should also not test
5c736541 11628 Error_Posted on the Error node, since now it is always set.
67f28219
ZW
11629
11630 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
5c736541 11631 to help error recovery. Part of general work on 9407-004.
67f28219 11632
5c736541 11633 * par.adb: Add ??? for misuse of error
67f28219 11634
5c736541
RD
11635 * sem_res.adb:
11636 (Resolve): Defend against Error, fixes 9407-003.
11637 (Resolve_Discrete_Subtype_Indication): Defend against Error.
67f28219
ZW
11638
11639 * sinfo.ads (N_Error): Now has Etype field (which will be set
5c736541
RD
11640 to Any_Type to help error recovery).
11641
a153ae15
RK
116422001-10-08 Richard Kenner (kenner@gnat.com)
11643
11644 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
11645 Consistently set MEM attributes from expression; fixes
11646 bootstrap failure on x86.
11647
743f3c7b
GB
116482001-10-08 Geert Bosch (bosch@gnat.com)
11649
11650 * 5oosinte.adb: Add 2001 to copyright notice.
11651
210c4ef4
GB
116522001-10-08 Geert Bosch (bosch@gnat.com)
11653
11654 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
11655
11656 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
11657
cc712abf
JM
116582001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
11659
11660 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
11661
4c4abc0f
GB
116622001-10-05 Geert Bosch (bosch@gnat.com)
11663
11664 * adaint.h: Small formatting fix.
11665
7f50e2e3
GB
116662001-10-04 Geert Bosch <bosch@gnat.com>
11667
11668 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
11669 Arg is int, not FILE *, in dummy version of functions.
67f28219 11670
7f50e2e3
GB
11671 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
11672 Arg is int, not FILE *.
11673
5d1a9698
GB
116742001-10-04 Geert Bosch <bosch@gnat.com>
11675
11676 * 3lsoccon.ads: Added file, missed with initial check ins.
67f28219 11677
5d1a9698
GB
11678 * 4lintnam.ads: Fix header format.
11679 Change Linux to GNU/Linux.
67f28219 11680
5d1a9698
GB
11681 * 5iosinte.adb: Change Linux to GNU/Linux.
11682
11683 * 5iosinte.ads: Change Linux to GNU/Linux.
67f28219 11684
5d1a9698 11685 * 5itaprop.adb: Change Linux to GNU/Linux.
67f28219 11686
5d1a9698
GB
11687 * 5itaspri.ads: Change Linux to GNU/Linux.
11688 Update copyright notice.
67f28219 11689
5d1a9698 11690 * 5lintman.adb: Change Linux to GNU/Linux.
67f28219 11691
5d1a9698 11692 * 5lml-tgt.adb: Change Linux to GNU/Linux.
67f28219 11693
5d1a9698 11694 * 5losinte.ads: Change Linux to GNU/Linux.
67f28219 11695
5d1a9698 11696 * 5lsystem.ads: Change Linux to GNU/Linux.
67f28219 11697
5d1a9698 11698 * 5qosinte.adb: Change Linux to GNU/Linux.
67f28219 11699
5d1a9698 11700 * 5qosinte.ads: Change Linux to GNU/Linux.
67f28219 11701
5d1a9698 11702 * 5qparame.ads: Change Linux to GNU/Linux.
67f28219 11703
5d1a9698 11704 * 5qtaprop.adb: Change Linux to GNU/Linux.
67f28219 11705
5d1a9698
GB
11706 * 5qtaspri.ads: Change Linux to GNU/Linux.
11707 Add 2001 to copyright notice.
67f28219 11708
5d1a9698
GB
11709 * 5vintman.ads: Change Linux to GNU/Linux.
11710 Fix header format. Add 2001 to copyright notice.
67f28219 11711
5d1a9698 11712 * g-soccon.ads: Change Linux to GNU/Linux.
67f28219 11713
5d1a9698
GB
11714 * g-trasym.ads: Change Linux to GNU/Linux.
11715 Add 2001 to copyright notice.
67f28219 11716
5d1a9698 11717 * memtrack.adb: Change Linux to GNU/Linux.
67f28219 11718
5d1a9698
GB
11719 * s-intman.ads: Change Linux to GNU/Linux.
11720 Add 2001 to copyright notice. Fix header format.
67f28219 11721
5d1a9698 11722 * s-stache.adb: Change Linux to GNU/Linux.
67f28219 11723
5d1a9698 11724 * adaint.c: Change Linux to GNU/Linux.
67f28219 11725
5d1a9698 11726 * cio.c: Change Linux to GNU/Linux.
67f28219 11727
5d1a9698 11728 * cstreams.c: Change Linux to GNU/Linux.
67f28219 11729
5d1a9698 11730 * init.c: Change Linux to GNU/Linux.
67f28219 11731
5d1a9698 11732 * gmem.c: Change Linux to GNU/Linux.
67f28219 11733
5d1a9698
GB
11734 * tracebak.c: Change Linux to GNU/Linux.
11735
11736
c25ca2d7
GB
117372001-10-02 Geert Bosch <bosch@gnat.com>
11738
11739 * misc.c (insert_default_attributes): Add dummy version.
This page took 1.761697 seconds and 5 git commands to generate.