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