]> gcc.gnu.org Git - gcc.git/blame - gcc/ada/ChangeLog
ali.adb: Type reference does not reset current file.
[gcc.git] / gcc / ada / ChangeLog
CommitLineData
c1c22e7a
GB
12001-12-17 Robert Dewar <dewar@gnat.com>
2
3 * ali.adb: Type reference does not reset current file.
4
5 * ali.adb: Recognize and scan renaming reference
6
7 * ali.ads: Add spec for storing renaming references.
8
9 * lib-xref.ads: Add documentation for handling of renaming references
10
11 * lib-xref.adb: Implement output of renaming reference.
12
13 * checks.adb:
14 (Determine_Range): Document local variables
15 (Determine_Range): Make sure Hbound is initialized. It looks as though
16 there could be a real problem here with an uninitialized reference
17 to Hbound, but no actual example of failure has been found.
18
192001-12-17 Laurent Pautet <pautet@gnat.com>
20
21 * g-socket.ads:
22 Fix comment of Shutdown_Socket and Close_Socket. These functions
23 should not fail silently because if they are called twice, this
24 probably means that there is a race condition in the user program.
25 Anyway, this behaviour is consistent with the rest of this unit.
26 When an error occurs, an exception is raised with the error message
27 as exception message.
28
7eb7bb07
RD
292001-12-17 Robert Dewar <dewar@gnat.com>
30
31 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
32 that it happens before modification of Sloc values for -gnatD.
33
34 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
35 so that it happens before modification of Sloc values for -gnatD.
36
37 * switch.adb: Minor reformatting
38
b6434700
RH
392001-12-15 Richard Henderson <rth@redhat.com>
40
41 * sem_ch7.adb: Wrap comment.
42
44d6a706
JM
432001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
44
45 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
46 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
47 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
48 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
49 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
50 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
51 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
52 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
53 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
54 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
55 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
56 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
57 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
58 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
59 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
60 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
61 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
62 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
63 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
64 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
65 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
66 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
67 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
68 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
69 spelling errors.
70
226ada7a
GB
712001-12-14 Vincent Celier <celier@gnat.com>
72
73 * osint.adb(Create_Debug_File): When an object file is specified,
74 put the .dg file in the same directory as the object file.
75
762001-12-14 Robert Dewar <dewar@gnat.com>
77
78 * osint.adb: Minor reformatting
79
80 * lib-xref.adb (Output_Instantiation): New procedure to generate
81 instantiation references.
82
83 * lib-xref.ads: Add documentation of handling of generic references.
84
85 * ali.adb (Read_Instantiation_Ref): New procedure to read
86 instantiation references
87
88 * ali.ads: Add spec for storing instantiation references
89
90 * bindusg.adb: Minor reformatting
91
92 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
93
94 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
95
96 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
97
98 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
99
100 * csets.ads:
101 Fix header format
102 Add 2001 to copyright date
103 Add entry for Latin-5 (Cyrillic ISO-8859-5)
104
1052001-12-14 Matt Gingell <gingell@gnat.com>
106
107 * adaint.c: mktemp is a macro on Lynx and can not be used as an
108 expression.
109
1102001-12-14 Richard Kenner <kenner@gnat.com>
111
112 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
113 if operand is CONSTRUCTOR.
114
1152001-12-14 Ed Schonberg <schonber@gnat.com>
116
117 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
118 before emiting check on right-hand side, so that exception information
119 is correct.
120
1212001-12-14 Richard Kenner <kenner@gnat.com>
122
123 * utils.c (create_var_decl): Throw away initializing expression
124 if just annotating types and non-constant.
125
1262001-12-14 Vincent Celier <celier@gnat.com>
127
128 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
129 Default_Ada_...
130
131 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
132 Remove functions.
133 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
134
135 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
136 Remove functions.
137 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
138
9b94bf9e
JM
1392001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
140
141 * ChangeLog: Remove piece of diff output.
142
449d2be3
GB
1432001-12-14 Geert Bosch <bosch@gnat.com>
144
145 * config-lang.in: Update copyright notice
146
147 * layout.adb: Remove commented out code.
148
149 * mdllfile.ads: Update copyright notice. Fix header format.
150
151 * sem_case.ads: Likewise.
152
153 * sem_ch3.adb: Minor reformatting.
154
e5bd5cb4
GB
1552001-12-12 Geert Bosch <bosch@gnat.com>
156
157 * freeze.ads: Update copyright date.
158
159 * g-comlin.ads: Minor reformatting.
160
161 * gnat-style.texi: Fix typo.
162
b468d8ec
GB
1632001-12-12 Geert Bosch <bosch@gnat.com>
164
165 * einfo.h: Regenerate.
166
ed7da216
GB
1672001-12-12 Ed Schonberg <schonber@gnat.com>
168
169 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
170 on known node types, rather than untyped fields. Further cleanups.
171
1722001-12-12 Robert Dewar <dewar@gnat.com>
173
174 * sem_ch12.adb:
175 (Save_Entity_Descendant): Minor comment update.
176 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
177 of an N_Attribute_Reference node. As per note below, this does not
178 eliminate need for Associated_Node in attribute ref nodes.
179 (Associated_Node): Documentation explicitly mentions attribute
180 reference nodes, since this field is used in such nodes.
181
182 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
183
de76a39c
GB
1842001-12-12 Robert Dewar <dewar@gnat.com>
185
186 * s-stalib.adb: Add more comments on with statements being needed
187
188 * par-ch12.adb: Minor reformatting
189
190 * prj-dect.ads: Fix copyright header
191
192 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
193 inputs fit in 32 bits, but the result still overflows.
194
195 * s-fatgen.ads: Minor comment improvement
196
1972001-12-12 Ed Schonberg <schonber@gnat.com>
198
199 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
200 formal derived type, look for an inherited component from the full
201 view of the parent, if any.
202
2032001-12-12 Robert Dewar <dewar@gnat.com>
204
205 * checks.ads (Apply_Alignment_Check): New procedure.
206
207 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
208 ensure that the alignment of objects with address clauses is
209 appropriate, and raise PE if not.
210
211 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
212 Exp_Pakd.Known_Aligned_Enough
213
214 * mdllfile.ads: Minor reformatting
215
216 * mlib-fil.ads: Minor reformatting
217
2182001-12-12 Ed Schonberg <schonber@gnat.com>
219
220 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
221 fix to any component reference if enclosing record has non-standard
222 representation.
223
2242001-12-12 Vincent Celier <celier@gnat.com>
225
226 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
227 Iteration
228
2292001-12-12 Ed Schonberg <schonber@gnat.com>
230
231 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
232 sem_attr.
233
2342001-12-12 Robert Dewar <dewar@gnat.com>
235
236 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
237
2382001-12-12 Emmanuel Briot <briot@gnat.com>
239
240 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
241 and it adds dependencies to system.io.
242
2432001-12-12 Pascal Obry <obry@gnat.com>
244
245 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
246 variable name.
247
0b09835f
ES
2482001-12-11 Ed Schonberg <schonber@gnat.com>
249
250 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
251 that is the parent of other generics, the instance body replaces the
252 instance node. Retrieve the instance of the spec, which is the one
253 that is visible in clients and within the body.
254
598c3446
GB
2552001-12-11 Vincent Celier <celier@gnat.com>
256
257 * gnatmain.adb: Initial version.
258
259 * gnatmain.ads: Initial version.
260
261 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
262
263 * snames.adb: Updated to match snames.ads.
264
265 * snames.ads: Added Gnatstub.
266
2672001-12-11 Vincent Celier <celier@gnat.com>
268
269 * prj-attr.adb (Initialization_Data): Change name from
270 Initialisation_Data.
271
2722001-12-11 Emmanuel Briot <briot@gnat.com>
273
274 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
275 + and * applied to backslashed expressions like \r.
276
2772001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
278
279 * g-os_lib.ads: String_List type added, Argument_List type is now
280 subtype of String_List.
281
2822001-12-11 Robert Dewar <dewar@gnat.com>
283
284 * g-os_lib.ads: Change copyright to FSF
285 Add comments for String_List type
286
2872001-12-11 Vincent Celier <celier@gnat.com>
288
289 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
290 string to the buffer).
291
7fb754a1
GB
2922001-12-11 Ed Schonberg <schonber@gnat.com>
293
294 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
295 sem_attr.
296
297 * sem_attr.adb: Simplify previous fix for Address.
298 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
299 to avoid anomalies where the bound of the type appears to raise
300 constraint error.
301
3022001-12-11 Robert Dewar <dewar@gnat.com>
303
304 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
305 handled.
306
3072001-12-11 Ed Schonberg <schonber@gnat.com>
308
309 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
310 renamed unit before checking for recursive instantiations.
311
3122001-12-11 Emmanuel Briot <briot@gnat.com>
313
314 * prj.ads: Add comments for some of the fields.
315
0873bafc
GB
3162001-12-11 Robert Dewar <dewar@gnat.com>
317
318 * lib-xref.adb (Output_Refs): Don't output type references outside
319 the main unit if they are not otherwise referenced.
320
3212001-12-11 Ed Schonberg <schonber@gnat.com>
322
323 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
324 code and diagnose additional illegal uses
325
326 * sem_util.adb (Is_Object_Reference): An indexed component is an
327 object only if the prefix is.
328
3292001-12-11 Vincent Celier <celier@gnat.com>
330
331 * g-diopit.adb: Initial version.
332
333 * g-diopit.ads: Initial version.
334
335 * g-dirope.adb:
336 (Expand_Path): Avoid use of Unbounded_String
337 (Find, Wildcard_Iterator): Moved to child package Iteration
338
339 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
340
7fb754a1 3412001-12-11 Robert Dewar <dewar@gnat.com>
0873bafc
GB
342
343 * sem_attr.adb: Minor reformatting
344
d087cd96
GB
3452001-12-11 Ed Schonberg <schonber@gnat.com>
346
347 * sem_ch3.adb: Clarify some ???.
348
3492001-12-11 Robert Dewar <dewar@gnat.com>
350
351 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
352 Exp_Pakd.Known_Aligned_Enough
353
354 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
355 version is moved to Exp_Ch13.
356
3572001-12-11 Robert Dewar <dewar@gnat.com>
358
359 * einfo.ads: Minor reformatting
360
361 * exp_ch5.adb: Add comment for previous.change
362
363 * ali.adb: New interface for extended typeref stuff.
364
365 * ali.ads: New interface for typeref stuff.
366
367 * checks.adb (Apply_Alignment_Check): New procedure.
368
369 * debug.adb: Add -gnatdM for modified ALI output
370
371 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
372
373 * lib-xref.adb: Extend generation of <..> notation to cover
374 subtype/object types. Note that this is a complete rewrite,
375 getting rid of the very nasty quadratic algorithm previously
376 used for derived type output.
377
378 * lib-xref.ads: Extend description of <..> notation to cover
379 subtype/object types. Uses {..} for these other cases.
380 Also use (..) for pointer types.
381
382 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
383
384 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
385 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
386
290986ed
GB
3872001-12-11 Vincent Celier <celier@gnat.com>
388
389 * gnatcmd.adb:
390 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
391 Changed /BIND_ONLY to /ACTIONS=BIND
392 Changed /LINK_ONLY to /ACTIONS=LINK
393
3942001-12-11 Ed Schonberg <schonber@gnat.com>
395
396 * sem_ch8.adb (Find_Selected_Component): improved search for a
397 candidate package in case of error.
398
399 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
400 chain back on scope stack before reinstalling use clauses.
401
402 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
403 is enabled, do not kill the code for the condition, to preserve
404 warning.
405
84157f51
GB
4062001-12-11 Robert Dewar <dewar@gnat.com>
407
408 * checks.adb (Insert_Valid_Check): Apply validity check to expression
409 of conversion, not to result of conversion.
410
4112001-12-11 Ed Schonberg <schonber@gnat.com>
412
413 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
414 before freezing parent. If the declarations are mutually recursive,
415 an access to the current record type may be frozen before the
416 derivation is complete.
417
7ffa903f
VC
4182001-12-05 Vincent Celier <celier@gnat.com>
419
420 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
421 -c /COMPILE_ONLY, -l /LINK_ONLY
422
423 * opt.ads:
424 (Bind_Only): New Flag
425 (Link_Only): New flag
426
427 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
428 and -l (Link_Only)
429
430 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
431
432 * make.adb:
433 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
434 (Gnatmake): Set the step flags. Only perform a step if the
435 corresponding step flag is True.
436 (Scan_Make_Arg): Reset the bind and link step flags when -u
437 or -gnatc has been specified.
438
f91b40db
GB
4392001-12-05 Ed Schonberg <schonber@gnat.com>
440
441 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
442 get bounds from right operand.
443
444 * sem_eval.adb: Minor reformatting
445
446 * exp_util.adb (Make_Literal_Range): use bound of literal rather
447 than Index'First, its lower bound may be different from 1.
448
449 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
450 and C48009J
451
4522001-12-05 Vincent Celier <celier@gnat.com>
453
454 * prj-nmsc.adb Minor reformatting
455
456 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
457 set and libraries are not supported.
458
4592001-12-05 Ed Schonberg <schonber@gnat.com>
460
461 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
462 private view explicitly, so the back-end can treat as a global
463 when appropriate.
464
45d04cbb
GB
4652001-12-05 Ed Schonberg <schonber@gnat.com>
466
467 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
468 unit, always replace instance node with new body, for ASIS use.
469
4702001-12-05 Vincent Celier <celier@gnat.com>
471
472 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
473 libraries are not supported and both attributes Library_Name and
474 Library_Dir are specified.
475
476 * prj-proc.adb (Expression): Set location of Result to location of
477 first term.
478
479 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
480 (prj-nmsc is now importing MLib.Tgt)
481
482 * prj-proc.adb: Put the change indicated above that was forgotten.
483
84436014
RD
4842001-12-05 Robert Dewar <dewar@gnat.com>
485
486 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
487
7ae0dcd8
ES
4882001-12-05 Ed Schonberg <schonber@gnat.com>
489
490 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
491 constraint, introduce explicit subtype declaration and derive from it.
492
493 * sem_ch3.adb: Minor reformatting
494
c9a4817d
RD
4952001-12-05 Robert Dewar <dewar@gnat.com>
496
497 * checks.adb (Determine_Range): Increase cache size for checks.
498 Minor reformatting
499
500 * exp_ch6.adb: Minor reformatting
501 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
502 a parameter whose root type is System.Address, since treating such
503 subprograms as pure in the code generator is almost surely a mistake
504 that will lead to unexpected results.
505
506 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
507 change handling of conversions.
508
509 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
510
2514b839
ES
5112001-12-05 Ed Schonberg <schonber@gnat.com>
512
513 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
514 aggregate with static wrong size, attach generated Raise node to
515 declaration.
516
457b6274
RD
5172001-12-05 Robert Dewar <dewar@gnat.com>
518
519 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
520 Fixes compilation abandoned bomb in B24009B.
521
19349925
ES
5222001-12-05 Ed Schonberg <schonber@gnat.com>
523
524 * sem_ch12.adb:
525 Document use of Associated_Node on Selected_Components.
526 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
527 to clarify use of untyped descendant fields.
528
6663c393
RD
5292001-12-05 Robert Dewar <dewar@gnat.com>
530
531 * prj-dect.ads: Add ??? comment
532 Add 2001 to copyright notice (was not done in after all)
533
534 * prj-part.adb: Minor reformatting. Reword one awkward error message.
535
536 * prj.ads: Minor reformatting throughout, and add some ??? comments
537
538 * snames.ads: Minor reformatting
539
d7b2a6af
GB
5402001-12-05 Geert Bosch <bosch@gnat.com>
541
542 * snames.adb: Autoupdate
543
fbc9a404
VC
5442001-12-05 Vincent Celier <celier@gnat.com>
545
546 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
547
548 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
549
550 * prj-env.adb: Minor comment changes (modifying -> extends).
551
552 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
553
554 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
555 Tok_Extends.
556
557 * prj.adb (Initialize): Change Modifying to Extends.
558
559 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
560
561 * prj.ads: Minor comment change (Modifying -> extending).
562
563 * snames.ads: Change modifying to extends.
564
7cff0b1b
RD
5652001-12-05 Robert Dewar <dewar@gnat.com>
566
567 * sem_warn.adb: Remove stuff for conditionals, we are not going to
568 do this after all.
569
570 * sem_warn.ads: Remove stuff for conditionals, we are not going to
571 do this after all. Add 2001 to copyright notice
572
4f56ebb7
GB
5732001-12-04 Geert Bosch <bosch@gnat.com>
574
575 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
576
053defdf
RD
5772001-12-04 Robert Dewar <dewar@gnat.com>
578
579 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
580 location if we already have errors. Stops some cases of cascaded
581 errors.
582
583 * errout.adb: Improve comment.
584
f311e166
RD
5852001-12-04 Robert Dewar <dewar@gnat.com>
586
587 * sem_ch12.adb:
588 (Analyze_Formal_Type_Definition): Defend against Error.
589 (Analyze_Formal_Subprogram): Defend against Error.
590
591 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
592 remove following semicolon if present. Removes cascaded error.
593
d61bd65a
DR
5942001-12-04 Douglas B. Rupp <rupp@gnat.com>
595
596 * bindgen.adb:
597 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
598 exceptions equals 0.
599 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
600 Fixes PIWG E tests (which have to be run with -gnatL).
601
4ba603e2
RD
6022001-12-04 Robert Dewar <dewar@gnat.com>
603
604 * einfo.ads: Minor reformatting
605
57568d91
ES
6062001-12-04 Ed Schonberg <schonber@gnat.com>
607
608 * einfo.ads: Block_Node points to the identifier of the block, not to
609 the block node itself, to preserve the link when the block is
610 rewritten, e.g. within an if-statement with a static condition.
611
612 * inline.adb (Cleanup_Scopes): recover block statement from block
613 entity using new meaning of Block_Node.
614
615 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
616 identifier of block node, rather than to node itself.
617
0815d36a
GD
6182001-12-04 Gary Dismukes <dismukes@gnat.com>
619
620 * layout.adb:
621 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
622 (Discrimify): Go back to setting the Etypes of the selected component
623 because the Vname component does not exist at this point and will
624 fail name resolution. Also set Analyzed.
625 Remove with and use of Sem_Res.
626
edc0f304
AC
6272001-12-04 Arnaud Charlet <charlet@gnat.com>
628
629 * Makefile.in: (HIE_SOURCES): add s-fat*.
630
32213142
RD
6312001-12-04 Robert Dewar <dewar@gnat.com>
632
633 * sem_attr.adb:
634 (Compile_Time_Known_Attribute): New procedure.
635 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
636 proper range check.
637
c0def2ad
ES
6382001-12-04 Ed Schonberg <schonber@gnat.com>
639
640 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
641 processing discriminants to diagnose illegal default values.
642
ee0a48c5
ES
6432001-12-04 Ed Schonberg <schonber@gnat.com>
644
645 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
646 access discriminant within a type extension that constrains its
647 parent discriminants.
648
dd5875a6
ES
6492001-12-04 Ed Schonberg <schonber@gnat.com>
650
651 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
652 is malformed, use instance of Any_Id to allow analysis to proceed.
653
654 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
655 type definition is illegal.
656 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
657 misplaced.
658
c2a41e57
ES
6592001-12-04 Ed Schonberg <schonber@gnat.com>
660
661 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
662 constants.
663
0ae84753
RD
6642001-12-04 Robert Dewar <dewar@gnat.com>
665
666 * errout.adb: Minor reformatting
667
63db260e
RD
6682001-12-04 Robert Dewar <dewar@gnat.com>
669
670 * exp_util.adb: Minor reformatting from last change
671
672 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
673 which is a rewriting of an expression, traverse the original
674 expression to remove warnings that may have been posted on it.
675
c6d289f4
ES
6762001-12-04 Ed Schonberg <schonber@gnat.com>
677
678 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
679 record that has other packed components.
680
5917e80d
DR
6812001-12-04 Douglass B. Rupp <rupp@gnat.com>
682
683 * adaint.c: Minor cleanups.
684
2c70f9dd
DR
6852001-12-04 Douglass B. Rupp <rupp@gnat.com>
686
687 * adaint.c: Do not use utime.h on vxworks.
688
e59b3387
AC
6892001-12-04 Arnaud Charlet <charlet@gnat.com>
690
691 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
692 more confusion than it solves.
693
e288604a
GB
6942001-12-04 Geert bosch <bosch@gnat.com>
695
696 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
697
5ac21013
GB
6982001-12-04 Geert Bosch <bosch@gnat.com>
699
700 * Makefile.in (update-sources): New target.
701 For use by gcc_release script.
702
7dd5bd5e
ES
7032001-12-04 Ed Schonberg <schonber@gnat.com>
704
705 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
706 a configuration pragma, it is now legal wherever a pragma can appear.
707
a078a589
ZW
7082001-12-04 Zack Weinberg <zack@codesourcery.com>
709
710 * Makefile.in: Don't set ALL. Delete @cross_defines@,
711 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
712 is now @CROSS@ -DIN_GCC; update comment.
713
0839863c
GB
7142001-12-04 Robert Dewar <dewar@gnat.com>
715
716 * einfo.adb (Has_Pragma_Pure_Function): New flag.
717 Fix problem that stopped ceinfo from working
718
719 * einfo.ads (Has_Pragma_Pure_Function): New flag.
720
721 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
722
7232001-12-04 Douglas B. Rupp <rupp@gnat.com>
9678de49
DR
724
725 * gnatchop.adb:
726 (File_Time_Stamp): New procedure.
727 (Preserve_Mode): New boolean.
728 (Write_Unit): Pass time stamp.
729 Implement -p switch (preserve time stamps).
730
731 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
732
733 * gnatchop.adb: Do usage info for -p switch
734
735 * adaint.h (__gnat_set_file_time_name): New function
736
737 * adaint.c (__gnat_set_file_time_name): Implement
738
739 * adaint.h: Fix typo
740
3b9a13c4
RD
7412001-12-03 Robert Dewar <dewar@gnat.com>
742
667e5c5d 743 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
3b9a13c4
RD
744 have Associated_Node.
745
767b404e
RD
7462001-12-03 Robert Dewar <dewar@gnat.com>
747
748 * prj-proc.adb: Minor reformatting
667e5c5d 749
767b404e
RD
750 * make.adb: Minor reformatting
751
11ac71ba
GB
7522001-12-03 Geert Bosch <bosch@gnat.com>
753
667e5c5d 754 * make.adb: Minor reformatting.
11ac71ba 755
ef3d4d6e 7562001-12-03 Robert Dewar <dewar@gnat.com>
b1446533
RD
757
758 * sem_ch12.adb: Minor reformatting
759
d6d32b24
ES
7602001-12-03 Ed Schonberg <schonber@gnat.com>
761
667e5c5d
AJ
762 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
763 push Standard on the stack before analyzing the instance body,
d6d32b24 764 in order to have a clean visibility environment.
667e5c5d
AJ
765
766 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
d6d32b24 767
13f08f03
ES
7682001-12-03 Ed Schonberg <schonber@gnat.com>
769
667e5c5d 770 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
13f08f03
ES
771 instantiation of a body that contains an inlined body.
772
3bd6c100
ES
7732001-12-03 Ed Schonberg <schonber@gnat.com>
774
775 * sem_ch12.adb:
776 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
777 to prevent freezing within formal packages.
778 (Freeze_Subprogram_Body): If body comes from another instance that
779 appeared before its own body, place freeze node at end of current
780 declarative part, to prevent a back-end crash.
781 (Inline_Instance_Body): Handle properly a package instance within
782 a subprogram instance that is a child unit.
783
58d07d8f
GS
7842001-12-01 Graham Stott <grahams@redhat.com>
785
786 * Makefile.in (misc.o): Add missing $(srcdir) prefix
787 and add optabs.h dependency.
788
789 * misc.c: Include optabs.h
790 (gnat_tree_code_type): Make static and const.
791 (gnat_tree_code_length): Likewise.
792 (gnat_tree_code_name): Likewise.
793 (update_setjmp_buf): Obtain operands mode from insn_data.
794
c87222f0
RH
7952001-11-29 Richard Henderson <rth@redhat.com>
796
797 * init.c: Remove obsolete dwarf2 frame.h section.
798
d3945f0a
JM
7992001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
800
801 * Make-lang.in (ada.generated-manpages): New dummy target.
802
9f639397
ES
8032001-11-29 Ed Schonberg <schonber@gnat.com>
804
667e5c5d
AJ
805 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
806 into Command, an array conversion is illegal here. Uncovered by
9f639397
ES
807 ACATS B460005.
808
c835e5c6
GB
8092001/11/28 Geert Bosch <bosch@gnat.com>
810
811 * init.c: Minor whitespace changes.
812
49bb4548
DR
8132001-11-28 Doug Rupp <rupp@gnat.com>
814
667e5c5d 815 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
49bb4548
DR
816 signal stack.
817
ea2417e5
ZW
8182001-11-28 Zack Weinberg <zack@codesourcery.com>
819
820 * misc.c (gnat_expand_constant): Move declaration above
821 definition of lang_hooks.
822 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
823 (gnat_init): lang_expand_constant no longer exists.
824
825 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
826 always have vprintf.
827 (gnat_init): Always call set_internal_error_function.
828
f8e0aa73
AJ
8292001-11-27 Andreas Jaeger <aj@suse.de>
830
831 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
832
d99b0e79
LG
8332001-11-27 Laurent Guerby <guerby@acm.org>
834
835 * Makefile.in: Regenerate Ada dependencies.
836
3f0496e5
RH
8372001-11-26 Richard Henderson <rth@redhat.com>
838
839 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
840 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
841 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
842
92fa4733
LG
8432001-11-25 Laurent Guerby <guerby@acm.org>
844
845 * sysdep.c (rts_get_*): Fix style.
846
07626501
LG
8472001-11-19 Laurent Guerby <guerby@acm.org>
848
849 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
850 since it is of no apparent use and cause warnings.
851
22703ccc
NB
8522001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
853
854 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
855 static too.
856 (gnat_init): Don't return NULL.
857 (finish_parse): Remove.
858
b0df4321
LG
8592001-11-17 Laurent Guerby <guerby@acm.org>
860
861 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
862 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
863 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
864 * lang-spec.h: Add missing struct field to silence warnings.
865 * sysdep.c (rts_get_*): Provide K&R prototype.
866 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
867 * traceback.c (Unlock_Task, Lock_Task): Likewise.
868 * tracebak.c (__gnat_backtrace): Remove unused variable.
869 * utils.c (end_subprog_body): Move to K&R style.
870
d215024f
RK
871Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
872
873 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
874
f5e99456
NB
8752001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
876
877 * misc.c (gnat_init): Change prototype. Include the
878 functionality of the old init_parse and init_decl_processing.
879 (gnat_init_decl_processing): New prototype.
880 (init_parse): Remove.
881 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
882
5d69f816
NB
8832001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
884
885 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
886 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
887 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
888 set_yydebug): Remove.
889
3ac88239
NB
8902001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
891
892 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
893 (struct lang_hooks): Constify.
894 (language_string, lang_identify): Remove.
895 * utils.c (init_decl_processing): Update.
896
d23c55c2
NB
8972001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
898
899 * misc.c: Include langhooks-def.h.
900 * Makefile.in: Update.
901
04a1b79c
RD
9022001-10-30 Robert Dewar <dewar@gnat.com>
903
904 * style.adb:
905 (Check_Identifier): Rewrite circuit to be compatible with use of letters
906 in the upper half of ASCII.
907 (Check_Identifier): Minor reformatting
908
81fa2d39
GB
9092001-10-30 Geert Bosch <bosch@gnat.com>
910
f8e0aa73 911 * (Associated_Node, Set_Associated_Node): Do not check for
81fa2d39
GB
912 Freeze_Entity.
913
ffc5527f
RD
9142001-10-30 Robert Dewar <dewar@gnat.com>
915
916 * a-reatim.ads: Minor reformatting
917
865335eb
RD
9182001-10-30 Robert Dewar <dewar@gnat.com>
919
f8e0aa73 920 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
865335eb
RD
921 undocumented declarations.
922
5e257178
PO
9232001-10-30 Pascal Obry <obry@gnat.com>
924
f8e0aa73 925 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5e257178
PO
926 to the binder and linker.
927 Minor style fix.
f8e0aa73 928
5e257178
PO
929 * mdll.ads: Fix layout. Update copyright notice.
930
931 * mdll.adb: Fix layout. Update copyright notice.
932
1753e0ad
RD
9332001-10-30 Robert Dewar <dewar@gnat.com>
934
935 * usage.adb: Minor fix to output for -gnaty.
936
84bfdde0
ES
9372001-10-30 Ed Schonberg <schonber@gnat.com>
938
f8e0aa73
AJ
939 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
940 to accommodate all its possible values.
84bfdde0 941
f8e0aa73 942 * a-reatim.adb (Split): Special-case handling of Time_Span_First
84bfdde0
ES
943 and of small absolute values of T.
944
c296e5fc
RK
9452001-10-30 Richard Kenner <kenner@gnat.com>
946
f8e0aa73
AJ
947 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
948 set_mem_attributes since not needed and wrong if RESULT if a REG;
c296e5fc
RK
949 fixes ACATS failures.
950
07c809df
GB
9512001-10-30 Geert Bosch <bosch@gnat.com>
952
953 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
954 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
955
54d22416 9562001-10-30 Robert Dewar <dewar@gnat.com>
f8e0aa73 957
54d22416 958 * bindusg.adb: Undocument -f switch.
f8e0aa73 959
54d22416 960 * gnatcmd.adb: Remove /FULL_ELABORATION.
f8e0aa73
AJ
961
962 * opt.ads (Force_RM_Elaboration_Order): Document that this is
54d22416 963 obsolescent.
f8e0aa73 964
54d22416 965 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
f8e0aa73 966
54d22416
RD
967 * gnatbind.adb: Minor update of warning msg.
968
af5cf6f8
VC
9692001-10-30 Vincent Celier <celier@gnat.com>
970
f8e0aa73 971 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
af5cf6f8 972 for project file switches (-P (/PROJECT_FILE=),
f8e0aa73 973 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
af5cf6f8
VC
974 or MEDIUM or HIGH)
975
984bc4c3
GB
9762001-10-30 Geert Bosch <bosch@gnat.com>
977
978 * decl.c: Minor whitespace fixes.
979
5dece937
RK
9802001-10-30 Richard Kenner <kenner@gnat.com>
981
982 * utils2.c (build_allocator): Test for SIZE overflow in array case too
983
de4bf6cb
GB
9842001-10-30 Geert Bosch <bosch@gnat.com>
985
f8e0aa73 986 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
de4bf6cb 987 Found due to GCC 3.0 warning of using uninitialized value.
f8e0aa73 988
de4bf6cb
GB
989 * layout.adb:
990 (Get_Max_Size): Use variant record for tracking value/expression.
991 Makes logic clearer and prevents warnings for uninitialized variables.
992 (Layout_Array_Type): Use variant record for tracking value/expression.
993 Makes logic clearer and prevents warnings for uninitialized variables.
994
f5e44987
RD
9952001-10-30 Robert Dewar <dewar@gnat.com>
996
997 * lib.adb: Minor reformatting
998
999 * s-taprop.ads: Minor reformatting
1000
45659035 10012001-10-29 Laurent Guerby <guerby@acm.org>
f8e0aa73 1002
45659035
GB
1003 * init.c:
1004 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
1005 const.
1006 (_gnat_error_handler): Make MSG const.
1007
10082001-10-29 Richard Kenner <kenner@gnat.com>
1009
1010 * sysdep.c: Fix localtime_r problem on LynxOS.
1011 Also remove #elif to avoid warnings.
f8e0aa73
AJ
1012
1013 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
45659035 1014 used by this.
f8e0aa73 1015
45659035
GB
1016 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
1017
638e383e
JM
10182001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
1019
1020 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
1021 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
1022 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
1023 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
1024 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
1025 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
1026 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
1027 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
1028 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
1029 types.ads, urealp.adb: Fix spelling errors.
1030
97f6baa0
LG
10312001-10-27 Laurent Guerby <guerby@acm.org>
1032
1033 * trans.c (gigi): Fix non determinism leading to bootstrap
1034 comparison failures for debugging information.
1035
46b58b8c
FW
10362001-10-26 Florian Weimer <fw@deneb.enyo.de>
1037
1038 * gnat_rm.texi: Use @./@: where appropriate.
1039
30151c7b
RD
10402001-10-26 Robert Dewar <dewar@gnat.com>
1041
1042 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
1043
c0b1738d
RK
10442001-10-26 Richard Kenner <kenner@gnat.com>
1045
1046 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
1047
5b09c153
RK
10482001-10-26 Richard Kenner <kenner@gnat.com>
1049
f8e0aa73 1050 * decl.c (validate_size): Modify message for bad size to avoid
5b09c153
RK
1051 implication that compiler is modifying the size.
1052
4d553668
RD
10532001-10-26 Robert Dewar <dewar@gnat.com>
1054
1055 * prj-util.adb: Minor reformatting. Fix bad header format.
1056
3e542a58
RD
10572001-10-26 Robert Dewar <dewar@gnat.com>
1058
1059 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
f8e0aa73 1060
3e542a58 1061 * sinfo.ads: Clarify use of Associated_Node (documentation only).
f8e0aa73
AJ
1062
1063 * sem_ch12.adb: Change Node4 to Associated_Node. Change
1064 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
3e542a58
RD
1065 much more narrowly in places where needed. These are cleanups.
1066
0bf08bfe
JB
10672001-10-26 Joel Brobecker <brobecke@gnat.com>
1068
1069 * 5zosinte.ads (null_pthread): new constant.
f8e0aa73 1070
0bf08bfe
JB
1071 * 5ztaprop.adb:
1072 (Initialize_TCB): Initialize thread ID to null, to be able to verify
1073 later that this field has been set.
1074 (Finalize_TCB): ditto.
1075 (Suspend_Task): Verify that the thread ID is not null before using it.
1076 (Resume_Task): ditto.
f8e0aa73 1077
0bf08bfe
JB
1078 * s-tasdeb.adb:
1079 (Resume_All_Tasks): Lock the tasks list before using it.
1080 (Suspend_All_Tasks): ditto.
1081
7a3a8c06
RK
10822001-10-26 Richard Kenner <kenner@gnat.com>
1083
f8e0aa73 1084 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
7a3a8c06
RK
1085 Make constant variant of designated type for Is_Access_Constant.
1086 Call update_pointer_to with main variant.
f8e0aa73
AJ
1087
1088 * trans.c (process_freeze_entity, process_type):
7a3a8c06 1089 Call update_pointer_to on main variant.
f8e0aa73 1090
7a3a8c06
RK
1091 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
1092 If main variant, update all other variants.
f8e0aa73
AJ
1093
1094 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
7a3a8c06
RK
1095 TREE_STATIC.
1096
a160babb
RD
10972001-10-26 Robert Dewar <dewar@gnat.com>
1098
1099 * prj-util.adb: Minor reformatting
1100
b403bd17
RD
11012001-10-26 Robert Dewar <dewar@gnat.com>
1102
1103 * prj-util.adb: Minor reformatting
1104
5fc3b4c7
RD
11052001-10-26 Robert Dewar <dewar@gnat.com>
1106
1107 * prj-attr.adb: Minor reformatting throughout
1108
8c736034
RD
11092001-10-26 Robert Dewar <dewar@gnat.com>
1110
1111 * prj-attr.ads: Minor reformatting
1112 Add ??? comment (this whole spec has almost no comments)
1113
47d5b6ed
VC
11142001-10-26 Vincent Celier <celier@gnat.com>
1115
f8e0aa73 1116 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
47d5b6ed
VC
1117 ("//") that precede the drive letter on Interix.
1118
41af791f
GB
11192001-10-26 Geert Bosch <bosch@gnat.com>
1120
1121 * gnat_rm.texi: Add GNAT Reference Manual.
1122
ed4a1468
RD
11232001-10-25 Robert Dewar <dewar@gnat.com>
1124
f8e0aa73 1125 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
ed4a1468
RD
1126 is Error. Similar change for other renaming cases.
1127
24377ae4
RD
11282001-10-25 Robert Dewar <dewar@gnat.com>
1129
1130 * s-atacco.ads: Add pragma Inline_Always for functions.
1131 Fix header format. Add copyright 2001
1132
fef3204e
ES
11332001-10-25 Ed Schonberg <schonber@gnat.com>
1134
f8e0aa73 1135 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
fef3204e
ES
1136 return Error rather than Empty so that analysis can proceed.
1137
dfc69d80
ES
11382001-10-25 Ed Schonberg <schonber@gnat.com>
1139
f8e0aa73 1140 * sem_util.adb (Enter_Name): better handling of cascaded error
dfc69d80
ES
1141 messages when a unit appears in its own context.
1142
5a15af62
ES
11432001-10-25 Ed Schonberg <schonber@gnat.com>
1144
f8e0aa73 1145 * sem_util.adb (Defining_Entity): in case of error, attach created
5a15af62
ES
1146 entity to specification, so that semantic analysis can proceed.
1147
2b881d53
RD
11482001-10-25 Robert Dewar <dewar@gnat.com>
1149
f8e0aa73 1150 * sem_util.adb
2b881d53
RD
1151 (Defining_Entity): Deal with Error.
1152 (Process_End_Label): Deal with bad end label for.
1153
578053f2
ES
11542001-10-25 Ed Schonberg <schonber@gnat.com>
1155
f8e0aa73 1156 * sem_elab.adb (Check_A_Call): refine message when call is in an
578053f2
ES
1157 instance but callee is not declared in the generic unit.
1158
0597ce0b 11592001-10-25 Ed Schonberg <schonber@gnat.com>
f8e0aa73
AJ
1160
1161 * sem_elab.adb (Check_A_Call): check for renaming before finding the
0597ce0b
ES
1162 enclosing unit, which may already be different from the calling unit.
1163
3de6e6da
GB
11642001-10-25 Geert Bosch <bosch@gnat.com>
1165
1166 * 4gintnam.ads: fix header format.
1167
6f311316
ES
11682001-10-25 Ed Schonberg <schonber@gnat.com>
1169
f8e0aa73
AJ
1170 * sem_res.adb (Resolve_Call): if the call is actually an indexing
1171 operation on the result of a parameterless call, perform elaboration
6f311316 1172 check after the node has been properly rewritten.
f8e0aa73
AJ
1173
1174 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
1175 inlined within the generic tree, the defining identifier is not a
6f311316
ES
1176 compilation_unit.
1177
17be0cdf
ES
11782001-10-25 Ed Schonberg <schonber@gnat.com>
1179
f8e0aa73 1180 * sem_res.adb (Resolve): special-case resolution of Null in an
17be0cdf 1181 instance or an inlined body to avoid view conflicts.
f8e0aa73
AJ
1182
1183 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
17be0cdf
ES
1184 compatibility by retrieving the access type of the generic copy.
1185
ce9e9122
RD
11862001-10-25 Robert Dewar <dewar@gnat.com>
1187
1188 * sem_ch3.adb:
1189 (Analyze_Number_Declaration): Handle error expression.
1190 (Signed_Integer_Type_Declaration): Handle error bound.
1191 (Analyze_Subtype_Indication): Handle error range.
f8e0aa73 1192
ce9e9122
RD
1193 * sem_util.adb (Get_Index_Bounds): Check for Error.
1194
e12fbc9e
RD
11952001-10-25 Robert Dewar <dewar@gnat.com>
1196
f8e0aa73 1197 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
e12fbc9e
RD
1198 in no run time mode.
1199
52b80488
PO
12002001-10-25 Pascal Obry <obry@gnat.com>
1201
f8e0aa73 1202 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
52b80488 1203 mode case for ALLOC case.
f8e0aa73
AJ
1204
1205 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
52b80488
PO
1206 all platforms. Improvement of last change.
1207
316ad9c5
RD
12082001-10-25 Robert Dewar <dewar@gnat.com>
1209
1210 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
1211
1a7e4df4
GB
12122001-10-25 Geert Bosch <bosch@gnat.com>
1213
1214 * osint.adb (Is_Relative): Remove duplicate.
1215
90a9fff2
PO
12162001-10-25 Pascal Obry <obry@gnat.com>
1217
f8e0aa73 1218 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
90a9fff2
PO
1219 pathnames in UNIX and DOS style with drive letter.
1220 (Is_Relative): new routine.
f8e0aa73 1221
90a9fff2 1222 * osint.adb: Minor reformatting
f8e0aa73
AJ
1223
1224 * osint.adb (Is_Relative): implementation using
1a7e4df4 1225 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
90a9fff2 1226
5c1ba4cc
PO
12272001-10-25 Pascal Obry <obry@gnat.com>
1228
f8e0aa73 1229 * g-dirope.adb (Basename): correctly compute offset between the
5c1ba4cc 1230 original Path and the translated one.
f8e0aa73 1231
5c1ba4cc
PO
1232 * g-dirope.adb: (Base_Name): add some comments.
1233
a7fb206d
RD
12342001-10-25 Robert Dewar <dewar@gnat.com>
1235
f8e0aa73 1236 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
a7fb206d 1237 in HIE mode, avoids compilation abandoned message
f8e0aa73 1238
a7fb206d 1239 * exp_imgv.adb: Correct typo in previous change
f8e0aa73 1240
a7fb206d
RD
1241 * exp_imgv.adb: Correct typo in previous change (not my day!)
1242
e6a7e62e
RD
12432001-10-25 Robert Dewar <dewar@gnat.com>
1244
1245 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
1246
0d2b8e0b 12472001-10-25 Pascal Obry <obry@gnat.com>
75c09e7d 1248
f8e0aa73 1249 * g-awk.ads: Move all pragma inlines next to the routine
0d2b8e0b 1250 declarations. This is more uniform with other GNAT spec.
75c09e7d 1251
0d2b8e0b 12522001-10-22 Geert Bosch <bosch@gnat.com>
d2740a69
GB
1253
1254 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
1255
0d2b8e0b 12562001-10-19 Geert Bosch <bosch@gnat.com>
d7ac9bdd
GB
1257
1258 * Makefile.in (tools, gnattools): Remove gnatmem.
1259
17ed6335
RH
12602001-10-17 Richard Henderson <rth@redhat.com>
1261
1262 * Makefile.in (misc.o): Depend on langhooks.h.
1263 * misc.c: Include it.
1264 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
1265 (LANG_HOOKS_DECODE_OPTION): New.
1266 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
1267
f2436274
FW
12682001-10-16 Florian Weimer <fw@deneb.enyo.de>
1269
1270 * trans.c (tree_transform): Adjust to recent change in
1271 expand_asm_operands to implement named asm operands.
1272
b14127e6
ES
12732001-10-11 Ed Schonberg <schonber@gnat.com>
1274
f8e0aa73 1275 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
b14127e6
ES
1276 renaming of discriminant for mutable record type.
1277
e70ee92a
RD
12782001-10-11 Robert Dewar <dewar@gnat.com>
1279
1280 * validsw.adb: Properly save -gnatVn status.
1281
9a5621d7 12822001-10-11 Robert Dewar <dewar@gnat.com>
f8e0aa73 1283
9a5621d7
RD
1284 * usage.adb: Add lines for V switch.
1285
f8e0aa73 1286 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
9a5621d7
RD
1287 (/VALIDITY_CHECKING).
1288
45667f04
ES
12892001-10-11 Ed Schonberg <schonber@gnat.com>
1290
f8e0aa73 1291 * sem_type.adb (Add_One_Interp): an operator for a type declared in
45667f04
ES
1292 an extension of System is known to be visible.
1293
c3de5c4c
ES
12942001-10-11 Ed Schonberg <schonber@gnat.com>
1295
f8e0aa73 1296 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
c3de5c4c
ES
1297 properly. Fixes regression on ACATS C34005G.
1298
4fa964a6
RD
12992001-10-11 Robert Dewar <dewar@gnat.com>
1300
f8e0aa73 1301 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
4fa964a6
RD
1302 loop in generic instance, since this is likely not very useful.
1303
0868e09c
RD
13042001-10-11 Robert Dewar <dewar@gnat.com>
1305
f8e0aa73 1306 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
0868e09c 1307 the error message for high integrity mode.
f8e0aa73
AJ
1308
1309 * rtsfind.adb (RTE): Give message if we try to find an entity that
0868e09c 1310 is not available in high integrity mode.
f8e0aa73 1311
0868e09c
RD
1312 * rtsfind.ads:
1313 (OK_To_Use_In_HIE_Mode): New array.
1314 (RTE): May return Empty in high integrity mode.
f8e0aa73
AJ
1315
1316 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
1317 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
1318
1319 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
1320 unit if not inlined always and in no runtime mode. Fixes problem
0868e09c 1321 caused by new Rtsfind changes.
f8e0aa73
AJ
1322
1323 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
0868e09c 1324 body is deleted.
f8e0aa73
AJ
1325
1326 * rtsfind.adb (RTE): Make sure we do not try to load unit after
0868e09c
RD
1327 giving message for entity not available in high integrity mode.
1328
934abf9c 13292001-10-11 Pascal Obry <obry@gnat.com>
f8e0aa73 1330
934abf9c
PO
1331 * impunit.adb: Add GNAT.CRC32.
1332
3c72bea4
ES
13332001-10-11 Ed Schonberg <schonber@gnat.com>
1334
f8e0aa73
AJ
1335 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
1336 properly the case where one universal operand in a non-static
3c72bea4
ES
1337 exponentiation of a real literal.
1338
44d8d2bb
ES
13392001-10-11 Ed Schonberg <schonber@gnat.com>
1340
f8e0aa73
AJ
1341 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
1342 clause, return the gobal finalization list, for lack of anthing else.
44d8d2bb 1343
9e2b9627
ES
13442001-10-11 Ed Schonberg <schonber@gnat.com>
1345
f8e0aa73
AJ
1346 * exp_ch7.adb (Make_Transient_Block): if statement is within
1347 exception handler, always use new transient scope to place Clean
9e2b9627
ES
1348 procedure.
1349
cfac6e9f
PO
13502001-10-11 Pascal Obry <obry@gnat.com>
1351
1352 * Makefile.in:
1353 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
1354 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
1355 (GNATLS_RTL_OBJS): add g-crc32.o
1356 (GNATMAKE_RTL_OBJS): add g-crc32.o
f8e0aa73 1357
cfac6e9f
PO
1358 * ali-util.adb:
1359 (CRC_Match): new function.
f8e0aa73 1360 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
cfac6e9f
PO
1361 instead of the previous simple checksum algorithm.
1362 (Time_Stamp_Mismatch): use CRC_Match for comparison.
1363 (Set_Source_Table): idem.
f8e0aa73 1364
cfac6e9f 1365 * ali-util.ads:
f8e0aa73 1366 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
cfac6e9f
PO
1367 instead of simple checksum.
1368 (CRC_Match): new function.
1369 (CRC_Error): new constant.
f8e0aa73
AJ
1370
1371 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
1372 a CRC now and not a simple checksum. A CRC uses lower-case hex
cfac6e9f 1373 letters, fixes ambiguity in parsing.
f8e0aa73
AJ
1374
1375 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
cfac6e9f 1376 is what this variable will store.
f8e0aa73 1377
cfac6e9f 1378 * bcheck.adb: Change reference to chechsum in comments by CRC.
f8e0aa73
AJ
1379 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
1380 rename All_Checksum_Match to All_CRC_Match. Change due to API
1381 renaming since now GNAT does not use a simple checksum but a
cfac6e9f 1382 CRC using GNAT.CRC32.
f8e0aa73
AJ
1383
1384 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
cfac6e9f 1385 now and not anymore a simple checksum.
f8e0aa73
AJ
1386
1387 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
cfac6e9f 1388 places.
f8e0aa73 1389
cfac6e9f 1390 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
f8e0aa73 1391
cfac6e9f
PO
1392 * scans.adb:
1393 (Restore_Scan_State): rename Checksum to CRC.
1394 (Save_Scan_State): idem.
f8e0aa73 1395
cfac6e9f
PO
1396 * scans.ads:
1397 With GNAT.CRC32.
1398 (Checksum): rename to CRC.
1399 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
f8e0aa73
AJ
1400
1401 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 1402 GNAT.CRC32). Update copyright notice.
f8e0aa73
AJ
1403
1404 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 1405 GNAT.CRC32). Update copyright notice.
f8e0aa73 1406
cfac6e9f
PO
1407 * scn.adb:
1408 (Accumulate_Checksum): removed.
1409 (Update): new procedure. Add a wide-character into the CRC.
f8e0aa73 1410
cfac6e9f
PO
1411 * sinput-l.adb:
1412 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
f8e0aa73 1413 (Load_File): fix initialization of S (change Source_Checksum to
cfac6e9f 1414 Source_CRC)
f8e0aa73
AJ
1415
1416 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
cfac6e9f 1417 Source_CRC in S initialization.
f8e0aa73 1418
cfac6e9f 1419 * sinput.adb (Source_Checksum): renamed to Source_CRC.
f8e0aa73 1420
cfac6e9f
PO
1421 * sinput.ads (Source_Checksum): renamed to Source_CRC.
1422 Update comments for the CRC.
f8e0aa73 1423
cfac6e9f 1424 * types.adb (Hex): Use lowercase for the letter part.
f8e0aa73
AJ
1425
1426 * types.ads (Get_Hex_String): Returns the hexadecimal representation
1427 for a word. This is currently used only for CRC. In previous version,
1428 the checksum was using a representation with all letter being
1429 upper-case. With the new implementation (using CRC) we do not remove
1430 the 32th bit of the CRC, so we can have an upper-case starting letter
1431 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
1432 It is ambigous since the CRC was optional and could be followed by
1433 options like EB, EE. So now this routines uses lower-case letter for
1434 the hexadecimal representation. Strange enough only lower case letters
cfac6e9f 1435 where checked in Scan_ALI (even if this was not a possible case).
f8e0aa73 1436
cfac6e9f 1437 * gnatvsn.ads (Library_Version): changed to 3.15a.
f8e0aa73
AJ
1438
1439 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
cfac6e9f 1440 for the compiler.
f8e0aa73
AJ
1441
1442 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
cfac6e9f 1443 for the compiler.
f8e0aa73 1444
cfac6e9f
PO
1445 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
1446 Add 2001 to copyright notice
1447 (Accumulate_Checksum): Modify to use System.CRC32.
f8e0aa73
AJ
1448
1449 * ali-util.ads: Redo changes of previous revision to continue to use
cfac6e9f 1450 the word Checksum. Add 2001 to copyright notice.
f8e0aa73 1451
cfac6e9f
PO
1452 * ali.adb: Undo some of previous changes, not needed.
1453 Keep the change for lower case letters in the checksum.
f8e0aa73 1454
cfac6e9f
PO
1455 * ali.ads: Undo previous change not needed.
1456
1457 * bcheck.adb: Undo most of previous change, not needed.
1458 But do use Checksums_Match for checksum comparison.
f8e0aa73 1459
cfac6e9f
PO
1460 * gnatls.adb: Undo most of previous change, not needed.
1461 But do use Checksums_Match for comparing checksums.
f8e0aa73 1462
cfac6e9f 1463 * lib-load.adb: Undo previous change, not needed.
f8e0aa73 1464
cfac6e9f 1465 * lib-writ.adb: Undo previous change, not needed.
f8e0aa73
AJ
1466
1467 * lib-writ.ads: Document that checksums use lower case,
cfac6e9f 1468 not upper case letters.
f8e0aa73 1469
cfac6e9f 1470 * scans.adb: Undo previous change, not needed
f8e0aa73 1471
cfac6e9f 1472 * scans.ads: Undo previous change, not needed.
f8e0aa73 1473
cfac6e9f 1474 * scn-nlit.adb: Undo previous changes, not needed.
f8e0aa73 1475
cfac6e9f 1476 * scn-slit.adb: Undo previous change, not needed. Fix header format.
f8e0aa73 1477
cfac6e9f
PO
1478 * scn.adb:
1479 (Accumulate_Checksum): Use System.CRC32.
1480 (Initialize_Checksum): New procedure.
1481 Remove other changes of previous revision.
f8e0aa73 1482
cfac6e9f 1483 * sinput-p.adb: Undo previous change, not needed.
f8e0aa73 1484
cfac6e9f
PO
1485 * sinput.adb: Undo previous change, not needed.
1486
1487 * sinput-l.adb: Undo previous change, not needed.
f8e0aa73
AJ
1488
1489 * sinput.ads: Undo previous change, not needed. Keep only comment
cfac6e9f 1490 on new checksum algorithm
f8e0aa73 1491
cfac6e9f
PO
1492 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
1493 Also remove a-tags and a-stream from GNAT sources.
f8e0aa73 1494
cfac6e9f 1495 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
f8e0aa73 1496
cfac6e9f
PO
1497 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
1498
4d6d06a5
GB
14992001-10-11 Geert Bosch <bosch@gnat.com>
1500
1501 * einfo.h: Regenerate.
1502
1503 * nmake.ads: Regenerate.
1504
1505 * nmake.adb: Regenerate.
1506
1507 * sinfo.h: Regenerate.
1508
1509 * treeprs.adb: Regenerate.
1510
c97412e2
GB
15112001-10-10 Geert Bosch <bosch@gnat.com>
1512
1513 * gnat-style.texi: New file describing coding guidelines for Ada.
f8e0aa73 1514
b83018ca
ES
15152001-10-10 Ed Schonberg <schonber@gnat.com>
1516
f8e0aa73 1517 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
b83018ca
ES
1518 is Flag174.
1519
e834fe1f
GB
15202001-10-10 Geert Bosch <bosch@gnat.com>
1521
1522 * snames.ads: Add new names for project facility.
1523
1524 * snames.adb: Update to reflect snames.ads changes.
1525
1526 * snames.h: Update to reflect snames.ads changes.
1527
b30668b7
VC
15282001-10-10 Vincent Celier <celier@gnat.com>
1529
1530 * make.adb:
1531 (Add_Switches): reflect the changes for the switches attributes
1532 Default_Switches indexed by the programming language,
1533 Switches indexed by the file name.
1534 (Collect_Arguments_And_Compile): Idem.
1535 Reflect the attribute name changes.
f8e0aa73 1536
b30668b7
VC
1537 * prj-attr.adb:
1538 (Initialisation_Data): Change the names of some packages and
1539 attributes.
1540 (Initialize): process case insensitive associative arrays.
f8e0aa73 1541
b30668b7
VC
1542 * prj-attr.ads:
1543 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
f8e0aa73 1544
b30668b7
VC
1545 * prj-dect.adb:
1546 (Parse_Attribute_Declaration): For case insensitive associative
1547 arrays, set the index string to lower case.
f8e0aa73 1548
b30668b7
VC
1549 * prj-env.adb:
1550 Reflect the changes of the project attributes.
f8e0aa73 1551
b30668b7
VC
1552 * prj-nmsc.adb:
1553 Replace Check_Naming_Scheme by Ada_Check and
1554 Language_Independent_Check.
f8e0aa73 1555
b30668b7
VC
1556 * prj-nmsc.ads:
1557 Replaced Check_Naming_Scheme by 2 procedures:
1558 Ada_Check and Language_Independent_Check.
f8e0aa73 1559
b30668b7
VC
1560 * prj-proc.adb:
1561 (Process_Declarative_Items): For case-insensitive associative
1562 arrays, set the index string to lower case.
1563 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
1564 Prj.Nmsc.Check_Naming_Scheme.
f8e0aa73 1565
b30668b7
VC
1566 * prj-tree.adb:
1567 (Case_Insensitive): New function
1568 (Set_Case_Insensitive): New procedure
f8e0aa73 1569
b30668b7
VC
1570 * prj-tree.ads:
1571 (Case_Insensitive): New function
1572 (Set_Case_Insensitive): New procedure
1573 (Project_Node_Record): New flag Case_Insensitive.
f8e0aa73 1574
b30668b7
VC
1575 * prj-util.adb:
1576 (Value_Of): new function to get the string value of a single
1577 string variable or attribute.
f8e0aa73 1578
b30668b7
VC
1579 * prj-util.ads:
1580 (Value_Of): new function to get the string value of a single
1581 string variable or attribute.
f8e0aa73 1582
b30668b7
VC
1583 * prj.adb:
1584 (Ada_Default_Spec_Suffix): New function
1585 (Ada_Default_Impl_Suffix): New function
1586 Change definitions of several constants to reflect
1587 new components of record types.
f8e0aa73 1588
b30668b7
VC
1589 * prj.ads:
1590 (Naming_Data): Change several components to reflect new
1591 elements of naming schemes.
1592 (Project_Data): New flags Sources_Present and
1593 Language_Independent_Checked.
1594 (Ada_Default_Spec_Suffix): New function.
1595 (Ada_Default_Impl_Suffix): New function.
f8e0aa73 1596
b30668b7
VC
1597 * snames.ads:
1598 Modification of predefined names for project manager: added
1599 Implementation, Specification_Exceptions, Implementation_Exceptions,
1600 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
1601 Default_Switches, _Languages, Builder, Cross_Reference,
1602 Finder. Removed Body_Part, Specification_Append, Body_Append,
1603 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
1604 Gnatlink.
f8e0aa73 1605
b30668b7
VC
1606 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
1607 Add comments.
f8e0aa73 1608
b30668b7
VC
1609 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
1610 not that it is Nil_Variable_Value.
f8e0aa73 1611
b30668b7
VC
1612 * prj.ads: Add ??? for uncommented declarations
1613
662e57b4
ES
16142001-10-10 Ed Schonberg <schonber@gnat.com>
1615
f8e0aa73
AJ
1616 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
1617 constant, do not indicate possible modification, so that gigi can
662e57b4
ES
1618 treat it as a bona fide constant.
1619
72e4357f
RD
16202001-10-10 Robert Dewar <dewar@gnat.com>
1621
1622 * sem_prag.adb: Add processing for pragma External.
f8e0aa73 1623
72e4357f 1624 * snames.ads: Add entry for pragma External.
f8e0aa73 1625
72e4357f 1626 * par-prag.adb: Add pragma External.
f8e0aa73 1627
72e4357f
RD
1628 * snames.adb: Updated to match snames.ads.
1629
7bc1c7df
ES
16302001-10-10 Ed Schonberg <schonber@gnat.com>
1631
1632 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
1633 a dynamic task if the allocator appears in an indexed assignment
1634 or selected component assignment.
f8e0aa73
AJ
1635
1636 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
1637 For a dynamic task in an assignment statement, use target of
7bc1c7df
ES
1638 assignment to generate meaningful name.
1639
c84700e7
ES
16402001-10-10 Ed Schonberg <schonber@gnat.com>
1641
f8e0aa73 1642 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
c84700e7
ES
1643 a generic package.
1644
1645 * einfo.ads: Body_Entity is also defined for generic package.
1646 Documentation change only
f8e0aa73
AJ
1647
1648 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
1649 others_choice for a discriminated component initialization,
1650 convert discriminant references into the corresponding discriminals.
1651
1652 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
1653 only if original type is private and expression has to be wrapped
c84700e7 1654 in a conversion.
f8e0aa73
AJ
1655
1656 * checks.adb:
1657 (Apply_Constraint_Check): Do not perform length check
c84700e7 1658 if expression is an aggregate with only an others_choice.
f8e0aa73 1659 (Length_N_Cond): two references to the same in_parameter
c84700e7
ES
1660 (typically the discriminal in an init_proc) denote the same value.
1661 Two useful optimization uncovered by bugfixes above.
1662
d8d80dcd
RD
16632001-10-10 Robert Dewar <dewar@gnat.com>
1664
f8e0aa73 1665 * xeinfo.adb: Change int to char in translation of enumeration types.
d8d80dcd
RD
1666 This fixes a problem in the C representation of component alignment.
1667 Add 2001 to copyright notice
1668
a8fee948
RK
16692001-10-10 Richard Kenner <kenner@gnat.com>
1670
f8e0aa73 1671 * decl.c: (validate_size): Do check size of object of integral type
a8fee948
RK
1672 if it is a packed array type.
1673
c2d7fe59
RK
16742001-10-10 Richard Kenner <kenner@gnat.com>
1675
f8e0aa73 1676 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
c2d7fe59
RK
1677 VAR_DECL for constant if not Is_Public but -O0.
1678
fb75e100
RK
16792001-10-10 Richard Kenner <kenner@gnat.com>
1680
1681 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
1682
1724557a
GB
16832001-10-10 Geert Bosch <bosch@gnat.com>
1684
f8e0aa73 1685 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
1724557a
GB
1686 use '/' as switch character, allowing for absolute file names.
1687
9f2f9eb6
JM
16882001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
1689
1690 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
1691 FSF address.
1692
8fecf41d
GB
16932001-10-08 Geert Bosch <bosch@gnat.com>
1694
1695 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
1696 Automatically build utilities when files need to be regenerated.
1697
589f1edf
GB
16982001-10-08 Geert Bosch <bosch@gnat.com>
1699
1700 * xsnames.adb: New utility for updating snames.ads and snames.adb
1701
67f28219
ZW
17022001-10-08 Zack Weinberg <zack@codesourcery.com>
1703
1704 * Make-lang.in (ADAFLAGS): Add -W -Wall.
1705 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
1706 (gnat1): Also depend on attribs.o.
1707 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
1708 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
1709 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
1710 (ADAFLAGS): Add -W -Wall.
1711 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
1712 take out CFLAGS.
1713
1714 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
1715 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
1716 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
1717 Use $(ADAC), not $(CC), as compilation command.
1718
1719 (gnattools): Depend directly on tools to build, don't use
1720 recursive make.
1721 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
1722
1723 * einfo.h, sinfo.h: New files (autogenerated).
1724
295ef2bb
RH
17252001-10-08 Richard Henderson <rth@redhat.com>
1726
1727 * comperr.adb (Abort_In_Progress): New.
1728 (Compiler_Abort): Use it to prevent recursion.
1729
5c736541
RD
17302001-10-08 Robert Dewar <dewar@gnat.com>
1731
1732 * atree.adb: Set Error_Posted in Error node, helps error recovery.
67f28219
ZW
1733
1734 * par-endh.adb (Output_End_Expected): We should also not test
5c736541 1735 Error_Posted on the Error node, since now it is always set.
67f28219
ZW
1736
1737 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
5c736541 1738 to help error recovery. Part of general work on 9407-004.
67f28219 1739
5c736541 1740 * par.adb: Add ??? for misuse of error
67f28219 1741
5c736541
RD
1742 * sem_res.adb:
1743 (Resolve): Defend against Error, fixes 9407-003.
1744 (Resolve_Discrete_Subtype_Indication): Defend against Error.
67f28219
ZW
1745
1746 * sinfo.ads (N_Error): Now has Etype field (which will be set
5c736541
RD
1747 to Any_Type to help error recovery).
1748
a153ae15
RK
17492001-10-08 Richard Kenner (kenner@gnat.com)
1750
1751 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
1752 Consistently set MEM attributes from expression; fixes
1753 bootstrap failure on x86.
1754
743f3c7b
GB
17552001-10-08 Geert Bosch (bosch@gnat.com)
1756
1757 * 5oosinte.adb: Add 2001 to copyright notice.
1758
210c4ef4
GB
17592001-10-08 Geert Bosch (bosch@gnat.com)
1760
1761 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
1762
1763 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
1764
cc712abf
JM
17652001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1766
1767 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
1768
4c4abc0f
GB
17692001-10-05 Geert Bosch (bosch@gnat.com)
1770
1771 * adaint.h: Small formatting fix.
1772
7f50e2e3
GB
17732001-10-04 Geert Bosch <bosch@gnat.com>
1774
1775 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
1776 Arg is int, not FILE *, in dummy version of functions.
67f28219 1777
7f50e2e3
GB
1778 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
1779 Arg is int, not FILE *.
1780
5d1a9698
GB
17812001-10-04 Geert Bosch <bosch@gnat.com>
1782
1783 * 3lsoccon.ads: Added file, missed with initial check ins.
67f28219 1784
5d1a9698
GB
1785 * 4lintnam.ads: Fix header format.
1786 Change Linux to GNU/Linux.
67f28219 1787
5d1a9698
GB
1788 * 5iosinte.adb: Change Linux to GNU/Linux.
1789
1790 * 5iosinte.ads: Change Linux to GNU/Linux.
67f28219 1791
5d1a9698 1792 * 5itaprop.adb: Change Linux to GNU/Linux.
67f28219 1793
5d1a9698
GB
1794 * 5itaspri.ads: Change Linux to GNU/Linux.
1795 Update copyright notice.
67f28219 1796
5d1a9698 1797 * 5lintman.adb: Change Linux to GNU/Linux.
67f28219 1798
5d1a9698 1799 * 5lml-tgt.adb: Change Linux to GNU/Linux.
67f28219 1800
5d1a9698 1801 * 5losinte.ads: Change Linux to GNU/Linux.
67f28219 1802
5d1a9698 1803 * 5lsystem.ads: Change Linux to GNU/Linux.
67f28219 1804
5d1a9698 1805 * 5qosinte.adb: Change Linux to GNU/Linux.
67f28219 1806
5d1a9698 1807 * 5qosinte.ads: Change Linux to GNU/Linux.
67f28219 1808
5d1a9698 1809 * 5qparame.ads: Change Linux to GNU/Linux.
67f28219 1810
5d1a9698 1811 * 5qtaprop.adb: Change Linux to GNU/Linux.
67f28219 1812
5d1a9698
GB
1813 * 5qtaspri.ads: Change Linux to GNU/Linux.
1814 Add 2001 to copyright notice.
67f28219 1815
5d1a9698
GB
1816 * 5vintman.ads: Change Linux to GNU/Linux.
1817 Fix header format. Add 2001 to copyright notice.
67f28219 1818
5d1a9698 1819 * g-soccon.ads: Change Linux to GNU/Linux.
67f28219 1820
5d1a9698
GB
1821 * g-trasym.ads: Change Linux to GNU/Linux.
1822 Add 2001 to copyright notice.
67f28219 1823
5d1a9698 1824 * memtrack.adb: Change Linux to GNU/Linux.
67f28219 1825
5d1a9698
GB
1826 * s-intman.ads: Change Linux to GNU/Linux.
1827 Add 2001 to copyright notice. Fix header format.
67f28219 1828
5d1a9698 1829 * s-stache.adb: Change Linux to GNU/Linux.
67f28219 1830
5d1a9698 1831 * adaint.c: Change Linux to GNU/Linux.
67f28219 1832
5d1a9698 1833 * cio.c: Change Linux to GNU/Linux.
67f28219 1834
5d1a9698 1835 * cstreams.c: Change Linux to GNU/Linux.
67f28219 1836
5d1a9698 1837 * init.c: Change Linux to GNU/Linux.
67f28219 1838
5d1a9698 1839 * gmem.c: Change Linux to GNU/Linux.
67f28219 1840
5d1a9698
GB
1841 * tracebak.c: Change Linux to GNU/Linux.
1842
1843
c25ca2d7
GB
18442001-10-02 Geert Bosch <bosch@gnat.com>
1845
1846 * misc.c (insert_default_attributes): Add dummy version.
This page took 0.305777 seconds and 5 git commands to generate.