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