]>
Commit | Line | Data |
---|---|---|
7cff0b1b RD |
1 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
2 | ||
3 | * sem_warn.adb: Remove stuff for conditionals, we are not going to | |
4 | do this after all. | |
5 | ||
6 | * sem_warn.ads: Remove stuff for conditionals, we are not going to | |
7 | do this after all. Add 2001 to copyright notice | |
8 | ||
4f56ebb7 GB |
9 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
10 | ||
11 | * einfo.h, sinfo.h, treeprs.ads: Regenerate. | |
12 | ||
053defdf RD |
13 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
14 | ||
15 | * errout.adb (Error_Msg): Ignore attempt to put error msg at junk | |
16 | location if we already have errors. Stops some cases of cascaded | |
17 | errors. | |
18 | ||
19 | * errout.adb: Improve comment. | |
20 | ||
f311e166 RD |
21 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
22 | ||
23 | * sem_ch12.adb: | |
24 | (Analyze_Formal_Type_Definition): Defend against Error. | |
25 | (Analyze_Formal_Subprogram): Defend against Error. | |
26 | ||
27 | * par-ch12.adb (F_Formal_Type_Declaration): In case of error, | |
28 | remove following semicolon if present. Removes cascaded error. | |
29 | ||
d61bd65a DR |
30 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> |
31 | ||
32 | * bindgen.adb: | |
33 | (Gen_Exception_Table_Ada): Write "begin" and then return if Num | |
34 | exceptions equals 0. | |
35 | (Gen_Exception_Table_C): Return if Num exceptions equals 0. | |
36 | Fixes PIWG E tests (which have to be run with -gnatL). | |
37 | ||
4ba603e2 RD |
38 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
39 | ||
40 | * einfo.ads: Minor reformatting | |
41 | ||
57568d91 ES |
42 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
43 | ||
44 | * einfo.ads: Block_Node points to the identifier of the block, not to | |
45 | the block node itself, to preserve the link when the block is | |
46 | rewritten, e.g. within an if-statement with a static condition. | |
47 | ||
48 | * inline.adb (Cleanup_Scopes): recover block statement from block | |
49 | entity using new meaning of Block_Node. | |
50 | ||
51 | * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to | |
52 | identifier of block node, rather than to node itself. | |
53 | ||
0815d36a GD |
54 | 2001-12-04 Gary Dismukes <dismukes@gnat.com> |
55 | ||
56 | * layout.adb: | |
57 | (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size. | |
58 | (Discrimify): Go back to setting the Etypes of the selected component | |
59 | because the Vname component does not exist at this point and will | |
60 | fail name resolution. Also set Analyzed. | |
61 | Remove with and use of Sem_Res. | |
62 | ||
edc0f304 AC |
63 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
64 | ||
65 | * Makefile.in: (HIE_SOURCES): add s-fat*. | |
66 | ||
32213142 RD |
67 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
68 | ||
69 | * sem_attr.adb: | |
70 | (Compile_Time_Known_Attribute): New procedure. | |
71 | (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure | |
72 | proper range check. | |
73 | ||
c0def2ad ES |
74 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
75 | ||
76 | * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before | |
77 | processing discriminants to diagnose illegal default values. | |
78 | ||
ee0a48c5 ES |
79 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
80 | ||
81 | * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide | |
82 | access discriminant within a type extension that constrains its | |
83 | parent discriminants. | |
84 | ||
dd5875a6 ES |
85 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
86 | ||
87 | * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication | |
88 | is malformed, use instance of Any_Id to allow analysis to proceed. | |
89 | ||
90 | * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if | |
91 | type definition is illegal. | |
92 | (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is | |
93 | misplaced. | |
94 | ||
c2a41e57 ES |
95 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
96 | ||
97 | * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to | |
98 | constants. | |
99 | ||
0ae84753 RD |
100 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
101 | ||
102 | * errout.adb: Minor reformatting | |
103 | ||
63db260e RD |
104 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
105 | ||
106 | * exp_util.adb: Minor reformatting from last change | |
107 | ||
108 | * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node | |
109 | which is a rewriting of an expression, traverse the original | |
110 | expression to remove warnings that may have been posted on it. | |
111 | ||
c6d289f4 ES |
112 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
113 | ||
114 | * exp_util.adb (Must_Be_Aligned): Return false for a component of a | |
115 | record that has other packed components. | |
116 | ||
5917e80d DR |
117 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
118 | ||
119 | * adaint.c: Minor cleanups. | |
120 | ||
2c70f9dd DR |
121 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
122 | ||
123 | * adaint.c: Do not use utime.h on vxworks. | |
124 | ||
e59b3387 AC |
125 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
126 | ||
127 | * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes | |
128 | more confusion than it solves. | |
129 | ||
e288604a GB |
130 | 2001-12-04 Geert bosch <bosch@gnat.com> |
131 | ||
132 | * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate. | |
133 | ||
5ac21013 GB |
134 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
135 | ||
136 | * Makefile.in (update-sources): New target. | |
137 | For use by gcc_release script. | |
138 | ||
7dd5bd5e ES |
139 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
140 | ||
141 | * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as | |
142 | a configuration pragma, it is now legal wherever a pragma can appear. | |
143 | ||
a078a589 ZW |
144 | 2001-12-04 Zack Weinberg <zack@codesourcery.com> |
145 | ||
146 | * Makefile.in: Don't set ALL. Delete @cross_defines@, | |
147 | @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS | |
148 | is now @CROSS@ -DIN_GCC; update comment. | |
149 | ||
0839863c GB |
150 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
151 | ||
152 | * einfo.adb (Has_Pragma_Pure_Function): New flag. | |
153 | Fix problem that stopped ceinfo from working | |
154 | ||
155 | * einfo.ads (Has_Pragma_Pure_Function): New flag. | |
156 | ||
157 | * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function. | |
158 | ||
159 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> | |
9678de49 DR |
160 | |
161 | * gnatchop.adb: | |
162 | (File_Time_Stamp): New procedure. | |
163 | (Preserve_Mode): New boolean. | |
164 | (Write_Unit): Pass time stamp. | |
165 | Implement -p switch (preserve time stamps). | |
166 | ||
167 | * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE). | |
168 | ||
169 | * gnatchop.adb: Do usage info for -p switch | |
170 | ||
171 | * adaint.h (__gnat_set_file_time_name): New function | |
172 | ||
173 | * adaint.c (__gnat_set_file_time_name): Implement | |
174 | ||
175 | * adaint.h: Fix typo | |
176 | ||
3b9a13c4 RD |
177 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
178 | ||
667e5c5d | 179 | * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not |
3b9a13c4 RD |
180 | have Associated_Node. |
181 | ||
767b404e RD |
182 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
183 | ||
184 | * prj-proc.adb: Minor reformatting | |
667e5c5d | 185 | |
767b404e RD |
186 | * make.adb: Minor reformatting |
187 | ||
11ac71ba GB |
188 | 2001-12-03 Geert Bosch <bosch@gnat.com> |
189 | ||
667e5c5d | 190 | * make.adb: Minor reformatting. |
11ac71ba | 191 | |
b1446533 RD |
192 | 2001-12-03 <dewar@gnat.com> |
193 | ||
194 | * sem_ch12.adb: Minor reformatting | |
195 | ||
d6d32b24 ES |
196 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
197 | ||
667e5c5d AJ |
198 | * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and |
199 | push Standard on the stack before analyzing the instance body, | |
d6d32b24 | 200 | in order to have a clean visibility environment. |
667e5c5d AJ |
201 | |
202 | * sem_ch12.adb (Inline_Instance_Body): Remove redundant code. | |
d6d32b24 | 203 | |
13f08f03 ES |
204 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
205 | ||
667e5c5d | 206 | * sem_ch12.adb (Instantiate_Package_Body): Protect against double |
13f08f03 ES |
207 | instantiation of a body that contains an inlined body. |
208 | ||
3bd6c100 ES |
209 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
210 | ||
211 | * sem_ch12.adb: | |
212 | (Analyze_generic_subprogram_Declaration): Set outer_generic_scope, | |
213 | to prevent freezing within formal packages. | |
214 | (Freeze_Subprogram_Body): If body comes from another instance that | |
215 | appeared before its own body, place freeze node at end of current | |
216 | declarative part, to prevent a back-end crash. | |
217 | (Inline_Instance_Body): Handle properly a package instance within | |
218 | a subprogram instance that is a child unit. | |
219 | ||
58d07d8f GS |
220 | 2001-12-01 Graham Stott <grahams@redhat.com> |
221 | ||
222 | * Makefile.in (misc.o): Add missing $(srcdir) prefix | |
223 | and add optabs.h dependency. | |
224 | ||
225 | * misc.c: Include optabs.h | |
226 | (gnat_tree_code_type): Make static and const. | |
227 | (gnat_tree_code_length): Likewise. | |
228 | (gnat_tree_code_name): Likewise. | |
229 | (update_setjmp_buf): Obtain operands mode from insn_data. | |
230 | ||
c87222f0 RH |
231 | 2001-11-29 Richard Henderson <rth@redhat.com> |
232 | ||
233 | * init.c: Remove obsolete dwarf2 frame.h section. | |
234 | ||
d3945f0a JM |
235 | 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk> |
236 | ||
237 | * Make-lang.in (ada.generated-manpages): New dummy target. | |
238 | ||
9f639397 ES |
239 | 2001-11-29 Ed Schonberg <schonber@gnat.com> |
240 | ||
667e5c5d AJ |
241 | * g-os_lib.adb (Add_To_Command): use explicit loop to move string |
242 | into Command, an array conversion is illegal here. Uncovered by | |
9f639397 ES |
243 | ACATS B460005. |
244 | ||
c835e5c6 GB |
245 | 2001/11/28 Geert Bosch <bosch@gnat.com> |
246 | ||
247 | * init.c: Minor whitespace changes. | |
248 | ||
49bb4548 DR |
249 | 2001-11-28 Doug Rupp <rupp@gnat.com> |
250 | ||
667e5c5d | 251 | * init.c: (__gnat_install_handler,VMS): Increase size of alternate |
49bb4548 DR |
252 | signal stack. |
253 | ||
ea2417e5 ZW |
254 | 2001-11-28 Zack Weinberg <zack@codesourcery.com> |
255 | ||
256 | * misc.c (gnat_expand_constant): Move declaration above | |
257 | definition of lang_hooks. | |
258 | (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant. | |
259 | (gnat_init): lang_expand_constant no longer exists. | |
260 | ||
261 | (internal_error_function): Remove #ifdef HAVE_VPRINTF. We | |
262 | always have vprintf. | |
263 | (gnat_init): Always call set_internal_error_function. | |
264 | ||
f8e0aa73 AJ |
265 | 2001-11-27 Andreas Jaeger <aj@suse.de> |
266 | ||
267 | * Makefile.in (stamp-tool_src_dir): Use symbolic link. | |
268 | ||
d99b0e79 LG |
269 | 2001-11-27 Laurent Guerby <guerby@acm.org> |
270 | ||
271 | * Makefile.in: Regenerate Ada dependencies. | |
272 | ||
3f0496e5 RH |
273 | 2001-11-26 Richard Henderson <rth@redhat.com> |
274 | ||
275 | * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd, | |
276 | gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys, | |
277 | gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o. | |
278 | ||
92fa4733 LG |
279 | 2001-11-25 Laurent Guerby <guerby@acm.org> |
280 | ||
281 | * sysdep.c (rts_get_*): Fix style. | |
282 | ||
07626501 LG |
283 | 2001-11-19 Laurent Guerby <guerby@acm.org> |
284 | ||
285 | * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include | |
286 | since it is of no apparent use and cause warnings. | |
287 | ||
22703ccc NB |
288 | 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk> |
289 | ||
290 | * misc.c (gnat_decode_option, gnat_init_options): Make definitions | |
291 | static too. | |
292 | (gnat_init): Don't return NULL. | |
293 | (finish_parse): Remove. | |
294 | ||
b0df4321 LG |
295 | 2001-11-17 Laurent Guerby <guerby@acm.org> |
296 | ||
297 | * Make-lang.in (GNATLIBFLAGS): Add -W -Wall. | |
298 | * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing. | |
299 | * io-aux.c: Provide K&R prototypes to all functions, reformat code. | |
300 | * lang-spec.h: Add missing struct field to silence warnings. | |
301 | * sysdep.c (rts_get_*): Provide K&R prototype. | |
302 | * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype. | |
303 | * traceback.c (Unlock_Task, Lock_Task): Likewise. | |
304 | * tracebak.c (__gnat_backtrace): Remove unused variable. | |
305 | * utils.c (end_subprog_body): Move to K&R style. | |
306 | ||
d215024f RK |
307 | Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
308 | ||
309 | * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference. | |
310 | ||
f5e99456 NB |
311 | 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk> |
312 | ||
313 | * misc.c (gnat_init): Change prototype. Include the | |
314 | functionality of the old init_parse and init_decl_processing. | |
315 | (gnat_init_decl_processing): New prototype. | |
316 | (init_parse): Remove. | |
317 | * utils.c (init_decl_processing): Rename gnat_init_decl_processing. | |
318 | ||
5d69f816 NB |
319 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
320 | ||
321 | * misc.c (gnat_print_decl, gnat_print_type): Renamed. | |
322 | (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override. | |
323 | (print_lang_statistics, lang_print_xnode, print_lang_identifier, | |
324 | set_yydebug): Remove. | |
325 | ||
3ac88239 NB |
326 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
327 | ||
328 | * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override. | |
329 | (struct lang_hooks): Constify. | |
330 | (language_string, lang_identify): Remove. | |
331 | * utils.c (init_decl_processing): Update. | |
332 | ||
d23c55c2 NB |
333 | 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
334 | ||
335 | * misc.c: Include langhooks-def.h. | |
336 | * Makefile.in: Update. | |
337 | ||
04a1b79c RD |
338 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
339 | ||
340 | * style.adb: | |
341 | (Check_Identifier): Rewrite circuit to be compatible with use of letters | |
342 | in the upper half of ASCII. | |
343 | (Check_Identifier): Minor reformatting | |
344 | ||
81fa2d39 GB |
345 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
346 | ||
f8e0aa73 | 347 | * (Associated_Node, Set_Associated_Node): Do not check for |
81fa2d39 GB |
348 | Freeze_Entity. |
349 | ||
ffc5527f RD |
350 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
351 | ||
352 | * a-reatim.ads: Minor reformatting | |
353 | ||
865335eb RD |
354 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
355 | ||
f8e0aa73 | 356 | * gnatdll.adb: Minor reformatting throughout. Many ??? added for |
865335eb RD |
357 | undocumented declarations. |
358 | ||
5e257178 PO |
359 | 2001-10-30 Pascal Obry <obry@gnat.com> |
360 | ||
f8e0aa73 | 361 | * gnatdll.adb (Parse_Command_Line): handle -g option to be passed |
5e257178 PO |
362 | to the binder and linker. |
363 | Minor style fix. | |
f8e0aa73 | 364 | |
5e257178 PO |
365 | * mdll.ads: Fix layout. Update copyright notice. |
366 | ||
367 | * mdll.adb: Fix layout. Update copyright notice. | |
368 | ||
1753e0ad RD |
369 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
370 | ||
371 | * usage.adb: Minor fix to output for -gnaty. | |
372 | ||
84bfdde0 ES |
373 | 2001-10-30 Ed Schonberg <schonber@gnat.com> |
374 | ||
f8e0aa73 AJ |
375 | * a-reatim.ads: Makes Seconds_Count into a 64-bit integer, |
376 | to accommodate all its possible values. | |
84bfdde0 | 377 | |
f8e0aa73 | 378 | * a-reatim.adb (Split): Special-case handling of Time_Span_First |
84bfdde0 ES |
379 | and of small absolute values of T. |
380 | ||
c296e5fc RK |
381 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
382 | ||
f8e0aa73 AJ |
383 | * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to |
384 | set_mem_attributes since not needed and wrong if RESULT if a REG; | |
c296e5fc RK |
385 | fixes ACATS failures. |
386 | ||
07c809df GB |
387 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
388 | ||
389 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads, | |
390 | s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice. | |
391 | ||
54d22416 | 392 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 393 | |
54d22416 | 394 | * bindusg.adb: Undocument -f switch. |
f8e0aa73 | 395 | |
54d22416 | 396 | * gnatcmd.adb: Remove /FULL_ELABORATION. |
f8e0aa73 AJ |
397 | |
398 | * opt.ads (Force_RM_Elaboration_Order): Document that this is | |
54d22416 | 399 | obsolescent. |
f8e0aa73 | 400 | |
54d22416 | 401 | * gnatbind.adb: Output new warning for use of obsolescent -f switch. |
f8e0aa73 | 402 | |
54d22416 RD |
403 | * gnatbind.adb: Minor update of warning msg. |
404 | ||
af5cf6f8 VC |
405 | 2001-10-30 Vincent Celier <celier@gnat.com> |
406 | ||
f8e0aa73 | 407 | * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations |
af5cf6f8 | 408 | for project file switches (-P (/PROJECT_FILE=), |
f8e0aa73 | 409 | -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT |
af5cf6f8 VC |
410 | or MEDIUM or HIGH) |
411 | ||
984bc4c3 GB |
412 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
413 | ||
414 | * decl.c: Minor whitespace fixes. | |
415 | ||
5dece937 RK |
416 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
417 | ||
418 | * utils2.c (build_allocator): Test for SIZE overflow in array case too | |
419 | ||
de4bf6cb GB |
420 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
421 | ||
f8e0aa73 | 422 | * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out. |
de4bf6cb | 423 | Found due to GCC 3.0 warning of using uninitialized value. |
f8e0aa73 | 424 | |
de4bf6cb GB |
425 | * layout.adb: |
426 | (Get_Max_Size): Use variant record for tracking value/expression. | |
427 | Makes logic clearer and prevents warnings for uninitialized variables. | |
428 | (Layout_Array_Type): Use variant record for tracking value/expression. | |
429 | Makes logic clearer and prevents warnings for uninitialized variables. | |
430 | ||
f5e44987 RD |
431 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
432 | ||
433 | * lib.adb: Minor reformatting | |
434 | ||
435 | * s-taprop.ads: Minor reformatting | |
436 | ||
45659035 | 437 | 2001-10-29 Laurent Guerby <guerby@acm.org> |
f8e0aa73 | 438 | |
45659035 GB |
439 | * init.c: |
440 | (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg | |
441 | const. | |
442 | (_gnat_error_handler): Make MSG const. | |
443 | ||
444 | 2001-10-29 Richard Kenner <kenner@gnat.com> | |
445 | ||
446 | * sysdep.c: Fix localtime_r problem on LynxOS. | |
447 | Also remove #elif to avoid warnings. | |
f8e0aa73 AJ |
448 | |
449 | * misc.c (yyparse): Don't set up and register jmpbuf; remove decls | |
45659035 | 450 | used by this. |
f8e0aa73 | 451 | |
45659035 GB |
452 | * decl.c (annotate_value): Make SIZE unsigned to avoid warning. |
453 | ||
638e383e JM |
454 | 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk> |
455 | ||
456 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb, | |
457 | exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb, | |
458 | g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads, | |
459 | g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c, | |
460 | layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads, | |
461 | s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads, | |
462 | sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb, | |
463 | sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb, | |
464 | sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads, | |
465 | types.ads, urealp.adb: Fix spelling errors. | |
466 | ||
97f6baa0 LG |
467 | 2001-10-27 Laurent Guerby <guerby@acm.org> |
468 | ||
469 | * trans.c (gigi): Fix non determinism leading to bootstrap | |
470 | comparison failures for debugging information. | |
471 | ||
46b58b8c FW |
472 | 2001-10-26 Florian Weimer <fw@deneb.enyo.de> |
473 | ||
474 | * gnat_rm.texi: Use @./@: where appropriate. | |
475 | ||
30151c7b RD |
476 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
477 | ||
478 | * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup. | |
479 | ||
c0b1738d RK |
480 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
481 | ||
482 | * gmem.c (__gnat_gmem_read_next): Properly check for EOF | |
483 | ||
5b09c153 RK |
484 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
485 | ||
f8e0aa73 | 486 | * decl.c (validate_size): Modify message for bad size to avoid |
5b09c153 RK |
487 | implication that compiler is modifying the size. |
488 | ||
4d553668 RD |
489 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
490 | ||
491 | * prj-util.adb: Minor reformatting. Fix bad header format. | |
492 | ||
3e542a58 RD |
493 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
494 | ||
495 | * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup. | |
f8e0aa73 | 496 | |
3e542a58 | 497 | * sinfo.ads: Clarify use of Associated_Node (documentation only). |
f8e0aa73 AJ |
498 | |
499 | * sem_ch12.adb: Change Node4 to Associated_Node. Change | |
500 | Associated_Node to Get_Associated_Node. Put use of Unchecked_Access | |
3e542a58 RD |
501 | much more narrowly in places where needed. These are cleanups. |
502 | ||
0bf08bfe JB |
503 | 2001-10-26 Joel Brobecker <brobecke@gnat.com> |
504 | ||
505 | * 5zosinte.ads (null_pthread): new constant. | |
f8e0aa73 | 506 | |
0bf08bfe JB |
507 | * 5ztaprop.adb: |
508 | (Initialize_TCB): Initialize thread ID to null, to be able to verify | |
509 | later that this field has been set. | |
510 | (Finalize_TCB): ditto. | |
511 | (Suspend_Task): Verify that the thread ID is not null before using it. | |
512 | (Resume_Task): ditto. | |
f8e0aa73 | 513 | |
0bf08bfe JB |
514 | * s-tasdeb.adb: |
515 | (Resume_All_Tasks): Lock the tasks list before using it. | |
516 | (Suspend_All_Tasks): ditto. | |
517 | ||
7a3a8c06 RK |
518 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
519 | ||
f8e0aa73 | 520 | * decl.c (gnat_to_gnu_entity, case E_General_Access_Type): |
7a3a8c06 RK |
521 | Make constant variant of designated type for Is_Access_Constant. |
522 | Call update_pointer_to with main variant. | |
f8e0aa73 AJ |
523 | |
524 | * trans.c (process_freeze_entity, process_type): | |
7a3a8c06 | 525 | Call update_pointer_to on main variant. |
f8e0aa73 | 526 | |
7a3a8c06 RK |
527 | * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE. |
528 | If main variant, update all other variants. | |
f8e0aa73 AJ |
529 | |
530 | * utils2.c (build_unary_op, case INDIRECT_REF): No longer set | |
7a3a8c06 RK |
531 | TREE_STATIC. |
532 | ||
a160babb RD |
533 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
534 | ||
535 | * prj-util.adb: Minor reformatting | |
536 | ||
b403bd17 RD |
537 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
538 | ||
539 | * prj-util.adb: Minor reformatting | |
540 | ||
5fc3b4c7 RD |
541 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
542 | ||
543 | * prj-attr.adb: Minor reformatting throughout | |
544 | ||
8c736034 RD |
545 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
546 | ||
547 | * prj-attr.ads: Minor reformatting | |
548 | Add ??? comment (this whole spec has almost no comments) | |
549 | ||
47d5b6ed VC |
550 | 2001-10-26 Vincent Celier <celier@gnat.com> |
551 | ||
f8e0aa73 | 552 | * g-os_lib.adb (Normalize_Pathname): Preserve the double slash |
47d5b6ed VC |
553 | ("//") that precede the drive letter on Interix. |
554 | ||
41af791f GB |
555 | 2001-10-26 Geert Bosch <bosch@gnat.com> |
556 | ||
557 | * gnat_rm.texi: Add GNAT Reference Manual. | |
558 | ||
ed4a1468 RD |
559 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
560 | ||
f8e0aa73 | 561 | * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name |
ed4a1468 RD |
562 | is Error. Similar change for other renaming cases. |
563 | ||
24377ae4 RD |
564 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
565 | ||
566 | * s-atacco.ads: Add pragma Inline_Always for functions. | |
567 | Fix header format. Add copyright 2001 | |
568 | ||
fef3204e ES |
569 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
570 | ||
f8e0aa73 | 571 | * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array |
fef3204e ES |
572 | return Error rather than Empty so that analysis can proceed. |
573 | ||
dfc69d80 ES |
574 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
575 | ||
f8e0aa73 | 576 | * sem_util.adb (Enter_Name): better handling of cascaded error |
dfc69d80 ES |
577 | messages when a unit appears in its own context. |
578 | ||
5a15af62 ES |
579 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
580 | ||
f8e0aa73 | 581 | * sem_util.adb (Defining_Entity): in case of error, attach created |
5a15af62 ES |
582 | entity to specification, so that semantic analysis can proceed. |
583 | ||
2b881d53 RD |
584 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
585 | ||
f8e0aa73 | 586 | * sem_util.adb |
2b881d53 RD |
587 | (Defining_Entity): Deal with Error. |
588 | (Process_End_Label): Deal with bad end label for. | |
589 | ||
578053f2 ES |
590 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
591 | ||
f8e0aa73 | 592 | * sem_elab.adb (Check_A_Call): refine message when call is in an |
578053f2 ES |
593 | instance but callee is not declared in the generic unit. |
594 | ||
0597ce0b | 595 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
f8e0aa73 AJ |
596 | |
597 | * sem_elab.adb (Check_A_Call): check for renaming before finding the | |
0597ce0b ES |
598 | enclosing unit, which may already be different from the calling unit. |
599 | ||
3de6e6da GB |
600 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
601 | ||
602 | * 4gintnam.ads: fix header format. | |
603 | ||
6f311316 ES |
604 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
605 | ||
f8e0aa73 AJ |
606 | * sem_res.adb (Resolve_Call): if the call is actually an indexing |
607 | operation on the result of a parameterless call, perform elaboration | |
6f311316 | 608 | check after the node has been properly rewritten. |
f8e0aa73 AJ |
609 | |
610 | * sem_ch12.adb (Copy_Generic_Node): after the proper body has been | |
611 | inlined within the generic tree, the defining identifier is not a | |
6f311316 ES |
612 | compilation_unit. |
613 | ||
17be0cdf ES |
614 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
615 | ||
f8e0aa73 | 616 | * sem_res.adb (Resolve): special-case resolution of Null in an |
17be0cdf | 617 | instance or an inlined body to avoid view conflicts. |
f8e0aa73 AJ |
618 | |
619 | * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view | |
17be0cdf ES |
620 | compatibility by retrieving the access type of the generic copy. |
621 | ||
ce9e9122 RD |
622 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
623 | ||
624 | * sem_ch3.adb: | |
625 | (Analyze_Number_Declaration): Handle error expression. | |
626 | (Signed_Integer_Type_Declaration): Handle error bound. | |
627 | (Analyze_Subtype_Indication): Handle error range. | |
f8e0aa73 | 628 | |
ce9e9122 RD |
629 | * sem_util.adb (Get_Index_Bounds): Check for Error. |
630 | ||
e12fbc9e RD |
631 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
632 | ||
f8e0aa73 | 633 | * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default |
e12fbc9e RD |
634 | in no run time mode. |
635 | ||
52b80488 PO |
636 | 2001-10-25 Pascal Obry <obry@gnat.com> |
637 | ||
f8e0aa73 | 638 | * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet |
52b80488 | 639 | mode case for ALLOC case. |
f8e0aa73 AJ |
640 | |
641 | * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on | |
52b80488 PO |
642 | all platforms. Improvement of last change. |
643 | ||
316ad9c5 RD |
644 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
645 | ||
646 | * exp_ch4.adb (Expand_N_Allocator): Minor reformatting. | |
647 | ||
1a7e4df4 GB |
648 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
649 | ||
650 | * osint.adb (Is_Relative): Remove duplicate. | |
651 | ||
90a9fff2 PO |
652 | 2001-10-25 Pascal Obry <obry@gnat.com> |
653 | ||
f8e0aa73 | 654 | * osint.adb (Read_Default_Search_Dirs): correctly detect relative |
90a9fff2 PO |
655 | pathnames in UNIX and DOS style with drive letter. |
656 | (Is_Relative): new routine. | |
f8e0aa73 | 657 | |
90a9fff2 | 658 | * osint.adb: Minor reformatting |
f8e0aa73 AJ |
659 | |
660 | * osint.adb (Is_Relative): implementation using | |
1a7e4df4 | 661 | GNAT.OS_Lib.Is_Absolute_Path. Better fix. |
90a9fff2 | 662 | |
5c1ba4cc PO |
663 | 2001-10-25 Pascal Obry <obry@gnat.com> |
664 | ||
f8e0aa73 | 665 | * g-dirope.adb (Basename): correctly compute offset between the |
5c1ba4cc | 666 | original Path and the translated one. |
f8e0aa73 | 667 | |
5c1ba4cc PO |
668 | * g-dirope.adb: (Base_Name): add some comments. |
669 | ||
a7fb206d RD |
670 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
671 | ||
f8e0aa73 | 672 | * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use |
a7fb206d | 673 | in HIE mode, avoids compilation abandoned message |
f8e0aa73 | 674 | |
a7fb206d | 675 | * exp_imgv.adb: Correct typo in previous change |
f8e0aa73 | 676 | |
a7fb206d RD |
677 | * exp_imgv.adb: Correct typo in previous change (not my day!) |
678 | ||
e6a7e62e RD |
679 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
680 | ||
681 | * s-tpinop.ads: Add 2001 to copyright notice. Fix header format. | |
682 | ||
0d2b8e0b | 683 | 2001-10-25 Pascal Obry <obry@gnat.com> |
75c09e7d | 684 | |
f8e0aa73 | 685 | * g-awk.ads: Move all pragma inlines next to the routine |
0d2b8e0b | 686 | declarations. This is more uniform with other GNAT spec. |
75c09e7d | 687 | |
0d2b8e0b | 688 | 2001-10-22 Geert Bosch <bosch@gnat.com> |
d2740a69 GB |
689 | |
690 | * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem. | |
691 | ||
0d2b8e0b | 692 | 2001-10-19 Geert Bosch <bosch@gnat.com> |
d7ac9bdd GB |
693 | |
694 | * Makefile.in (tools, gnattools): Remove gnatmem. | |
695 | ||
17ed6335 RH |
696 | 2001-10-17 Richard Henderson <rth@redhat.com> |
697 | ||
698 | * Makefile.in (misc.o): Depend on langhooks.h. | |
699 | * misc.c: Include it. | |
700 | (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. | |
701 | (LANG_HOOKS_DECODE_OPTION): New. | |
702 | (lang_hooks): Use LANG_HOOKS_INITIALIZER. | |
703 | ||
f2436274 FW |
704 | 2001-10-16 Florian Weimer <fw@deneb.enyo.de> |
705 | ||
706 | * trans.c (tree_transform): Adjust to recent change in | |
707 | expand_asm_operands to implement named asm operands. | |
708 | ||
b14127e6 ES |
709 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
710 | ||
f8e0aa73 | 711 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in |
b14127e6 ES |
712 | renaming of discriminant for mutable record type. |
713 | ||
e70ee92a RD |
714 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
715 | ||
716 | * validsw.adb: Properly save -gnatVn status. | |
717 | ||
9a5621d7 | 718 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 719 | |
9a5621d7 RD |
720 | * usage.adb: Add lines for V switch. |
721 | ||
f8e0aa73 | 722 | * gnatcmd.adb (COMPILE): Revise translations for -gnatV |
9a5621d7 RD |
723 | (/VALIDITY_CHECKING). |
724 | ||
45667f04 ES |
725 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
726 | ||
f8e0aa73 | 727 | * sem_type.adb (Add_One_Interp): an operator for a type declared in |
45667f04 ES |
728 | an extension of System is known to be visible. |
729 | ||
c3de5c4c ES |
730 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
731 | ||
f8e0aa73 | 732 | * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal |
c3de5c4c ES |
733 | properly. Fixes regression on ACATS C34005G. |
734 | ||
4fa964a6 RD |
735 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
736 | ||
f8e0aa73 | 737 | * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null |
4fa964a6 RD |
738 | loop in generic instance, since this is likely not very useful. |
739 | ||
0868e09c RD |
740 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
741 | ||
f8e0aa73 | 742 | * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize |
0868e09c | 743 | the error message for high integrity mode. |
f8e0aa73 AJ |
744 | |
745 | * rtsfind.adb (RTE): Give message if we try to find an entity that | |
0868e09c | 746 | is not available in high integrity mode. |
f8e0aa73 | 747 | |
0868e09c RD |
748 | * rtsfind.ads: |
749 | (OK_To_Use_In_HIE_Mode): New array. | |
750 | (RTE): May return Empty in high integrity mode. | |
f8e0aa73 AJ |
751 | |
752 | * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for | |
753 | OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx. | |
754 | ||
755 | * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined | |
756 | unit if not inlined always and in no runtime mode. Fixes problem | |
0868e09c | 757 | caused by new Rtsfind changes. |
f8e0aa73 AJ |
758 | |
759 | * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if | |
0868e09c | 760 | body is deleted. |
f8e0aa73 AJ |
761 | |
762 | * rtsfind.adb (RTE): Make sure we do not try to load unit after | |
0868e09c RD |
763 | giving message for entity not available in high integrity mode. |
764 | ||
934abf9c | 765 | 2001-10-11 Pascal Obry <obry@gnat.com> |
f8e0aa73 | 766 | |
934abf9c PO |
767 | * impunit.adb: Add GNAT.CRC32. |
768 | ||
3c72bea4 ES |
769 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
770 | ||
f8e0aa73 AJ |
771 | * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle |
772 | properly the case where one universal operand in a non-static | |
3c72bea4 ES |
773 | exponentiation of a real literal. |
774 | ||
44d8d2bb ES |
775 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
776 | ||
f8e0aa73 AJ |
777 | * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type |
778 | clause, return the gobal finalization list, for lack of anthing else. | |
44d8d2bb | 779 | |
9e2b9627 ES |
780 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
781 | ||
f8e0aa73 AJ |
782 | * exp_ch7.adb (Make_Transient_Block): if statement is within |
783 | exception handler, always use new transient scope to place Clean | |
9e2b9627 ES |
784 | procedure. |
785 | ||
cfac6e9f PO |
786 | 2001-10-11 Pascal Obry <obry@gnat.com> |
787 | ||
788 | * Makefile.in: | |
789 | (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
790 | (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
791 | (GNATLS_RTL_OBJS): add g-crc32.o | |
792 | (GNATMAKE_RTL_OBJS): add g-crc32.o | |
f8e0aa73 | 793 | |
cfac6e9f PO |
794 | * ali-util.adb: |
795 | (CRC_Match): new function. | |
f8e0aa73 | 796 | (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit |
cfac6e9f PO |
797 | instead of the previous simple checksum algorithm. |
798 | (Time_Stamp_Mismatch): use CRC_Match for comparison. | |
799 | (Set_Source_Table): idem. | |
f8e0aa73 | 800 | |
cfac6e9f | 801 | * ali-util.ads: |
f8e0aa73 | 802 | (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC |
cfac6e9f PO |
803 | instead of simple checksum. |
804 | (CRC_Match): new function. | |
805 | (CRC_Error): new constant. | |
f8e0aa73 AJ |
806 | |
807 | * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling | |
808 | a CRC now and not a simple checksum. A CRC uses lower-case hex | |
cfac6e9f | 809 | letters, fixes ambiguity in parsing. |
f8e0aa73 AJ |
810 | |
811 | * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this | |
cfac6e9f | 812 | is what this variable will store. |
f8e0aa73 | 813 | |
cfac6e9f | 814 | * bcheck.adb: Change reference to chechsum in comments by CRC. |
f8e0aa73 AJ |
815 | (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC. |
816 | rename All_Checksum_Match to All_CRC_Match. Change due to API | |
817 | renaming since now GNAT does not use a simple checksum but a | |
cfac6e9f | 818 | CRC using GNAT.CRC32. |
f8e0aa73 AJ |
819 | |
820 | * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC | |
cfac6e9f | 821 | now and not anymore a simple checksum. |
f8e0aa73 AJ |
822 | |
823 | * lib-load.adb: Use Source_CRC instead of Source_Checksum in many | |
cfac6e9f | 824 | places. |
f8e0aa73 | 825 | |
cfac6e9f | 826 | * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum. |
f8e0aa73 | 827 | |
cfac6e9f PO |
828 | * scans.adb: |
829 | (Restore_Scan_State): rename Checksum to CRC. | |
830 | (Save_Scan_State): idem. | |
f8e0aa73 | 831 | |
cfac6e9f PO |
832 | * scans.ads: |
833 | With GNAT.CRC32. | |
834 | (Checksum): rename to CRC. | |
835 | (Saved_Scan_State): Save_Checksum field renamed to Save_CRC | |
f8e0aa73 AJ |
836 | |
837 | * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 838 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 AJ |
839 | |
840 | * scn-slit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 841 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 | 842 | |
cfac6e9f PO |
843 | * scn.adb: |
844 | (Accumulate_Checksum): removed. | |
845 | (Update): new procedure. Add a wide-character into the CRC. | |
f8e0aa73 | 846 | |
cfac6e9f PO |
847 | * sinput-l.adb: |
848 | (Complete_Source_File_Entry): use CRC32 instead of simple checksum. | |
f8e0aa73 | 849 | (Load_File): fix initialization of S (change Source_Checksum to |
cfac6e9f | 850 | Source_CRC) |
f8e0aa73 AJ |
851 | |
852 | * sinput-p.adb (Load_Project_File): rename Source_Checksum to | |
cfac6e9f | 853 | Source_CRC in S initialization. |
f8e0aa73 | 854 | |
cfac6e9f | 855 | * sinput.adb (Source_Checksum): renamed to Source_CRC. |
f8e0aa73 | 856 | |
cfac6e9f PO |
857 | * sinput.ads (Source_Checksum): renamed to Source_CRC. |
858 | Update comments for the CRC. | |
f8e0aa73 | 859 | |
cfac6e9f | 860 | * types.adb (Hex): Use lowercase for the letter part. |
f8e0aa73 AJ |
861 | |
862 | * types.ads (Get_Hex_String): Returns the hexadecimal representation | |
863 | for a word. This is currently used only for CRC. In previous version, | |
864 | the checksum was using a representation with all letter being | |
865 | upper-case. With the new implementation (using CRC) we do not remove | |
866 | the 32th bit of the CRC, so we can have an upper-case starting letter | |
867 | in the CRC. This is not possible to parse in Scan_ALI (ali.adb). | |
868 | It is ambigous since the CRC was optional and could be followed by | |
869 | options like EB, EE. So now this routines uses lower-case letter for | |
870 | the hexadecimal representation. Strange enough only lower case letters | |
cfac6e9f | 871 | where checked in Scan_ALI (even if this was not a possible case). |
f8e0aa73 | 872 | |
cfac6e9f | 873 | * gnatvsn.ads (Library_Version): changed to 3.15a. |
f8e0aa73 AJ |
874 | |
875 | * s-crc32.ads: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 876 | for the compiler. |
f8e0aa73 AJ |
877 | |
878 | * s-crc32.adb: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 879 | for the compiler. |
f8e0aa73 | 880 | |
cfac6e9f PO |
881 | * ali-util.adb: Redo previous change to avoid using word CRC everywhere |
882 | Add 2001 to copyright notice | |
883 | (Accumulate_Checksum): Modify to use System.CRC32. | |
f8e0aa73 AJ |
884 | |
885 | * ali-util.ads: Redo changes of previous revision to continue to use | |
cfac6e9f | 886 | the word Checksum. Add 2001 to copyright notice. |
f8e0aa73 | 887 | |
cfac6e9f PO |
888 | * ali.adb: Undo some of previous changes, not needed. |
889 | Keep the change for lower case letters in the checksum. | |
f8e0aa73 | 890 | |
cfac6e9f PO |
891 | * ali.ads: Undo previous change not needed. |
892 | ||
893 | * bcheck.adb: Undo most of previous change, not needed. | |
894 | But do use Checksums_Match for checksum comparison. | |
f8e0aa73 | 895 | |
cfac6e9f PO |
896 | * gnatls.adb: Undo most of previous change, not needed. |
897 | But do use Checksums_Match for comparing checksums. | |
f8e0aa73 | 898 | |
cfac6e9f | 899 | * lib-load.adb: Undo previous change, not needed. |
f8e0aa73 | 900 | |
cfac6e9f | 901 | * lib-writ.adb: Undo previous change, not needed. |
f8e0aa73 AJ |
902 | |
903 | * lib-writ.ads: Document that checksums use lower case, | |
cfac6e9f | 904 | not upper case letters. |
f8e0aa73 | 905 | |
cfac6e9f | 906 | * scans.adb: Undo previous change, not needed |
f8e0aa73 | 907 | |
cfac6e9f | 908 | * scans.ads: Undo previous change, not needed. |
f8e0aa73 | 909 | |
cfac6e9f | 910 | * scn-nlit.adb: Undo previous changes, not needed. |
f8e0aa73 | 911 | |
cfac6e9f | 912 | * scn-slit.adb: Undo previous change, not needed. Fix header format. |
f8e0aa73 | 913 | |
cfac6e9f PO |
914 | * scn.adb: |
915 | (Accumulate_Checksum): Use System.CRC32. | |
916 | (Initialize_Checksum): New procedure. | |
917 | Remove other changes of previous revision. | |
f8e0aa73 | 918 | |
cfac6e9f | 919 | * sinput-p.adb: Undo previous change, not needed. |
f8e0aa73 | 920 | |
cfac6e9f PO |
921 | * sinput.adb: Undo previous change, not needed. |
922 | ||
923 | * sinput-l.adb: Undo previous change, not needed. | |
f8e0aa73 AJ |
924 | |
925 | * sinput.ads: Undo previous change, not needed. Keep only comment | |
cfac6e9f | 926 | on new checksum algorithm |
f8e0aa73 | 927 | |
cfac6e9f PO |
928 | * Makefile.in: Add s-crc32 as needed, remove g-crc32. |
929 | Also remove a-tags and a-stream from GNAT sources. | |
f8e0aa73 | 930 | |
cfac6e9f | 931 | * ali.adb (Scan_ALI): fix typo introduce in latest check-in. |
f8e0aa73 | 932 | |
cfac6e9f PO |
933 | * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o. |
934 | ||
4d6d06a5 GB |
935 | 2001-10-11 Geert Bosch <bosch@gnat.com> |
936 | ||
937 | * einfo.h: Regenerate. | |
938 | ||
939 | * nmake.ads: Regenerate. | |
940 | ||
941 | * nmake.adb: Regenerate. | |
942 | ||
943 | * sinfo.h: Regenerate. | |
944 | ||
945 | * treeprs.adb: Regenerate. | |
946 | ||
c97412e2 GB |
947 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
948 | ||
949 | * gnat-style.texi: New file describing coding guidelines for Ada. | |
f8e0aa73 | 950 | |
b83018ca ES |
951 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
952 | ||
f8e0aa73 | 953 | * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required |
b83018ca ES |
954 | is Flag174. |
955 | ||
e834fe1f GB |
956 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
957 | ||
958 | * snames.ads: Add new names for project facility. | |
959 | ||
960 | * snames.adb: Update to reflect snames.ads changes. | |
961 | ||
962 | * snames.h: Update to reflect snames.ads changes. | |
963 | ||
b30668b7 VC |
964 | 2001-10-10 Vincent Celier <celier@gnat.com> |
965 | ||
966 | * make.adb: | |
967 | (Add_Switches): reflect the changes for the switches attributes | |
968 | Default_Switches indexed by the programming language, | |
969 | Switches indexed by the file name. | |
970 | (Collect_Arguments_And_Compile): Idem. | |
971 | Reflect the attribute name changes. | |
f8e0aa73 | 972 | |
b30668b7 VC |
973 | * prj-attr.adb: |
974 | (Initialisation_Data): Change the names of some packages and | |
975 | attributes. | |
976 | (Initialize): process case insensitive associative arrays. | |
f8e0aa73 | 977 | |
b30668b7 VC |
978 | * prj-attr.ads: |
979 | (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array. | |
f8e0aa73 | 980 | |
b30668b7 VC |
981 | * prj-dect.adb: |
982 | (Parse_Attribute_Declaration): For case insensitive associative | |
983 | arrays, set the index string to lower case. | |
f8e0aa73 | 984 | |
b30668b7 VC |
985 | * prj-env.adb: |
986 | Reflect the changes of the project attributes. | |
f8e0aa73 | 987 | |
b30668b7 VC |
988 | * prj-nmsc.adb: |
989 | Replace Check_Naming_Scheme by Ada_Check and | |
990 | Language_Independent_Check. | |
f8e0aa73 | 991 | |
b30668b7 VC |
992 | * prj-nmsc.ads: |
993 | Replaced Check_Naming_Scheme by 2 procedures: | |
994 | Ada_Check and Language_Independent_Check. | |
f8e0aa73 | 995 | |
b30668b7 VC |
996 | * prj-proc.adb: |
997 | (Process_Declarative_Items): For case-insensitive associative | |
998 | arrays, set the index string to lower case. | |
999 | (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of | |
1000 | Prj.Nmsc.Check_Naming_Scheme. | |
f8e0aa73 | 1001 | |
b30668b7 VC |
1002 | * prj-tree.adb: |
1003 | (Case_Insensitive): New function | |
1004 | (Set_Case_Insensitive): New procedure | |
f8e0aa73 | 1005 | |
b30668b7 VC |
1006 | * prj-tree.ads: |
1007 | (Case_Insensitive): New function | |
1008 | (Set_Case_Insensitive): New procedure | |
1009 | (Project_Node_Record): New flag Case_Insensitive. | |
f8e0aa73 | 1010 | |
b30668b7 VC |
1011 | * prj-util.adb: |
1012 | (Value_Of): new function to get the string value of a single | |
1013 | string variable or attribute. | |
f8e0aa73 | 1014 | |
b30668b7 VC |
1015 | * prj-util.ads: |
1016 | (Value_Of): new function to get the string value of a single | |
1017 | string variable or attribute. | |
f8e0aa73 | 1018 | |
b30668b7 VC |
1019 | * prj.adb: |
1020 | (Ada_Default_Spec_Suffix): New function | |
1021 | (Ada_Default_Impl_Suffix): New function | |
1022 | Change definitions of several constants to reflect | |
1023 | new components of record types. | |
f8e0aa73 | 1024 | |
b30668b7 VC |
1025 | * prj.ads: |
1026 | (Naming_Data): Change several components to reflect new | |
1027 | elements of naming schemes. | |
1028 | (Project_Data): New flags Sources_Present and | |
1029 | Language_Independent_Checked. | |
1030 | (Ada_Default_Spec_Suffix): New function. | |
1031 | (Ada_Default_Impl_Suffix): New function. | |
f8e0aa73 | 1032 | |
b30668b7 VC |
1033 | * snames.ads: |
1034 | Modification of predefined names for project manager: added | |
1035 | Implementation, Specification_Exceptions, Implementation_Exceptions, | |
1036 | Specification_Suffix, Implementation_Suffix, Separate_Suffix, | |
1037 | Default_Switches, _Languages, Builder, Cross_Reference, | |
1038 | Finder. Removed Body_Part, Specification_Append, Body_Append, | |
1039 | Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind, | |
1040 | Gnatlink. | |
f8e0aa73 | 1041 | |
b30668b7 VC |
1042 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
1043 | Add comments. | |
f8e0aa73 | 1044 | |
b30668b7 VC |
1045 | * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted, |
1046 | not that it is Nil_Variable_Value. | |
f8e0aa73 | 1047 | |
b30668b7 VC |
1048 | * prj.ads: Add ??? for uncommented declarations |
1049 | ||
662e57b4 ES |
1050 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
1051 | ||
f8e0aa73 AJ |
1052 | * sem_prag.adb: (Analyze_Pragma, case External): If entity is a |
1053 | constant, do not indicate possible modification, so that gigi can | |
662e57b4 ES |
1054 | treat it as a bona fide constant. |
1055 | ||
72e4357f RD |
1056 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
1057 | ||
1058 | * sem_prag.adb: Add processing for pragma External. | |
f8e0aa73 | 1059 | |
72e4357f | 1060 | * snames.ads: Add entry for pragma External. |
f8e0aa73 | 1061 | |
72e4357f | 1062 | * par-prag.adb: Add pragma External. |
f8e0aa73 | 1063 | |
72e4357f RD |
1064 | * snames.adb: Updated to match snames.ads. |
1065 | ||
7bc1c7df ES |
1066 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
1067 | ||
1068 | * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for | |
1069 | a dynamic task if the allocator appears in an indexed assignment | |
1070 | or selected component assignment. | |
f8e0aa73 AJ |
1071 | |
1072 | * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image): | |
1073 | For a dynamic task in an assignment statement, use target of | |
7bc1c7df ES |
1074 | assignment to generate meaningful name. |
1075 | ||
c84700e7 ES |
1076 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
1077 | ||
f8e0aa73 | 1078 | * einfo.adb (Write_Field19_Name): Body_Entity is also defined for |
c84700e7 ES |
1079 | a generic package. |
1080 | ||
1081 | * einfo.ads: Body_Entity is also defined for generic package. | |
1082 | Documentation change only | |
f8e0aa73 AJ |
1083 | |
1084 | * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an | |
1085 | others_choice for a discriminated component initialization, | |
1086 | convert discriminant references into the corresponding discriminals. | |
1087 | ||
1088 | * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate | |
1089 | only if original type is private and expression has to be wrapped | |
c84700e7 | 1090 | in a conversion. |
f8e0aa73 AJ |
1091 | |
1092 | * checks.adb: | |
1093 | (Apply_Constraint_Check): Do not perform length check | |
c84700e7 | 1094 | if expression is an aggregate with only an others_choice. |
f8e0aa73 | 1095 | (Length_N_Cond): two references to the same in_parameter |
c84700e7 ES |
1096 | (typically the discriminal in an init_proc) denote the same value. |
1097 | Two useful optimization uncovered by bugfixes above. | |
1098 | ||
d8d80dcd RD |
1099 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
1100 | ||
f8e0aa73 | 1101 | * xeinfo.adb: Change int to char in translation of enumeration types. |
d8d80dcd RD |
1102 | This fixes a problem in the C representation of component alignment. |
1103 | Add 2001 to copyright notice | |
1104 | ||
a8fee948 RK |
1105 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
1106 | ||
f8e0aa73 | 1107 | * decl.c: (validate_size): Do check size of object of integral type |
a8fee948 RK |
1108 | if it is a packed array type. |
1109 | ||
c2d7fe59 RK |
1110 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
1111 | ||
f8e0aa73 | 1112 | * decl.c: (gnat_to_gnu_entity, case object): Also materialize |
c2d7fe59 RK |
1113 | VAR_DECL for constant if not Is_Public but -O0. |
1114 | ||
fb75e100 RK |
1115 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
1116 | ||
1117 | * misc.c (struct lang_hooks): Add new initializer to match GCC change. | |
1118 | ||
1724557a GB |
1119 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
1120 | ||
f8e0aa73 | 1121 | * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer |
1724557a GB |
1122 | use '/' as switch character, allowing for absolute file names. |
1123 | ||
9f2f9eb6 JM |
1124 | 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk> |
1125 | ||
1126 | * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update | |
1127 | FSF address. | |
1128 | ||
8fecf41d GB |
1129 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
1130 | ||
1131 | * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): | |
1132 | Automatically build utilities when files need to be regenerated. | |
1133 | ||
589f1edf GB |
1134 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
1135 | ||
1136 | * xsnames.adb: New utility for updating snames.ads and snames.adb | |
1137 | ||
67f28219 ZW |
1138 | 2001-10-08 Zack Weinberg <zack@codesourcery.com> |
1139 | ||
1140 | * Make-lang.in (ADAFLAGS): Add -W -Wall. | |
1141 | (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also. | |
1142 | (gnat1): Also depend on attribs.o. | |
1143 | (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make. | |
1144 | * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New. | |
1145 | (ADAC): Set to @ADAC@ in stage1, $(CC) later. | |
1146 | (ADAFLAGS): Add -W -Wall. | |
1147 | (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS; | |
1148 | take out CFLAGS. | |
1149 | ||
1150 | (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o, | |
1151 | s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o, | |
1152 | s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o): | |
1153 | Use $(ADAC), not $(CC), as compilation command. | |
1154 | ||
1155 | (gnattools): Depend directly on tools to build, don't use | |
1156 | recursive make. | |
1157 | (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make. | |
1158 | ||
1159 | * einfo.h, sinfo.h: New files (autogenerated). | |
1160 | ||
295ef2bb RH |
1161 | 2001-10-08 Richard Henderson <rth@redhat.com> |
1162 | ||
1163 | * comperr.adb (Abort_In_Progress): New. | |
1164 | (Compiler_Abort): Use it to prevent recursion. | |
1165 | ||
5c736541 RD |
1166 | 2001-10-08 Robert Dewar <dewar@gnat.com> |
1167 | ||
1168 | * atree.adb: Set Error_Posted in Error node, helps error recovery. | |
67f28219 ZW |
1169 | |
1170 | * par-endh.adb (Output_End_Expected): We should also not test | |
5c736541 | 1171 | Error_Posted on the Error node, since now it is always set. |
67f28219 ZW |
1172 | |
1173 | * cstand.adb (Create_Standard): Set Etype of Error to Any_Type | |
5c736541 | 1174 | to help error recovery. Part of general work on 9407-004. |
67f28219 | 1175 | |
5c736541 | 1176 | * par.adb: Add ??? for misuse of error |
67f28219 | 1177 | |
5c736541 RD |
1178 | * sem_res.adb: |
1179 | (Resolve): Defend against Error, fixes 9407-003. | |
1180 | (Resolve_Discrete_Subtype_Indication): Defend against Error. | |
67f28219 ZW |
1181 | |
1182 | * sinfo.ads (N_Error): Now has Etype field (which will be set | |
5c736541 RD |
1183 | to Any_Type to help error recovery). |
1184 | ||
a153ae15 RK |
1185 | 2001-10-08 Richard Kenner (kenner@gnat.com) |
1186 | ||
1187 | * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR): | |
1188 | Consistently set MEM attributes from expression; fixes | |
1189 | bootstrap failure on x86. | |
1190 | ||
743f3c7b GB |
1191 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
1192 | ||
1193 | * 5oosinte.adb: Add 2001 to copyright notice. | |
1194 | ||
210c4ef4 GB |
1195 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
1196 | ||
1197 | * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs]. | |
1198 | ||
1199 | * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs]. | |
1200 | ||
cc712abf JM |
1201 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
1202 | ||
1203 | * 5oosinte.adb: Fix spelling error of "separate" as "seperate". | |
1204 | ||
4c4abc0f GB |
1205 | 2001-10-05 Geert Bosch (bosch@gnat.com) |
1206 | ||
1207 | * adaint.h: Small formatting fix. | |
1208 | ||
7f50e2e3 GB |
1209 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
1210 | ||
1211 | * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode): | |
1212 | Arg is int, not FILE *, in dummy version of functions. | |
67f28219 | 1213 | |
7f50e2e3 GB |
1214 | * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode): |
1215 | Arg is int, not FILE *. | |
1216 | ||
5d1a9698 GB |
1217 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
1218 | ||
1219 | * 3lsoccon.ads: Added file, missed with initial check ins. | |
67f28219 | 1220 | |
5d1a9698 GB |
1221 | * 4lintnam.ads: Fix header format. |
1222 | Change Linux to GNU/Linux. | |
67f28219 | 1223 | |
5d1a9698 GB |
1224 | * 5iosinte.adb: Change Linux to GNU/Linux. |
1225 | ||
1226 | * 5iosinte.ads: Change Linux to GNU/Linux. | |
67f28219 | 1227 | |
5d1a9698 | 1228 | * 5itaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 1229 | |
5d1a9698 GB |
1230 | * 5itaspri.ads: Change Linux to GNU/Linux. |
1231 | Update copyright notice. | |
67f28219 | 1232 | |
5d1a9698 | 1233 | * 5lintman.adb: Change Linux to GNU/Linux. |
67f28219 | 1234 | |
5d1a9698 | 1235 | * 5lml-tgt.adb: Change Linux to GNU/Linux. |
67f28219 | 1236 | |
5d1a9698 | 1237 | * 5losinte.ads: Change Linux to GNU/Linux. |
67f28219 | 1238 | |
5d1a9698 | 1239 | * 5lsystem.ads: Change Linux to GNU/Linux. |
67f28219 | 1240 | |
5d1a9698 | 1241 | * 5qosinte.adb: Change Linux to GNU/Linux. |
67f28219 | 1242 | |
5d1a9698 | 1243 | * 5qosinte.ads: Change Linux to GNU/Linux. |
67f28219 | 1244 | |
5d1a9698 | 1245 | * 5qparame.ads: Change Linux to GNU/Linux. |
67f28219 | 1246 | |
5d1a9698 | 1247 | * 5qtaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 1248 | |
5d1a9698 GB |
1249 | * 5qtaspri.ads: Change Linux to GNU/Linux. |
1250 | Add 2001 to copyright notice. | |
67f28219 | 1251 | |
5d1a9698 GB |
1252 | * 5vintman.ads: Change Linux to GNU/Linux. |
1253 | Fix header format. Add 2001 to copyright notice. | |
67f28219 | 1254 | |
5d1a9698 | 1255 | * g-soccon.ads: Change Linux to GNU/Linux. |
67f28219 | 1256 | |
5d1a9698 GB |
1257 | * g-trasym.ads: Change Linux to GNU/Linux. |
1258 | Add 2001 to copyright notice. | |
67f28219 | 1259 | |
5d1a9698 | 1260 | * memtrack.adb: Change Linux to GNU/Linux. |
67f28219 | 1261 | |
5d1a9698 GB |
1262 | * s-intman.ads: Change Linux to GNU/Linux. |
1263 | Add 2001 to copyright notice. Fix header format. | |
67f28219 | 1264 | |
5d1a9698 | 1265 | * s-stache.adb: Change Linux to GNU/Linux. |
67f28219 | 1266 | |
5d1a9698 | 1267 | * adaint.c: Change Linux to GNU/Linux. |
67f28219 | 1268 | |
5d1a9698 | 1269 | * cio.c: Change Linux to GNU/Linux. |
67f28219 | 1270 | |
5d1a9698 | 1271 | * cstreams.c: Change Linux to GNU/Linux. |
67f28219 | 1272 | |
5d1a9698 | 1273 | * init.c: Change Linux to GNU/Linux. |
67f28219 | 1274 | |
5d1a9698 | 1275 | * gmem.c: Change Linux to GNU/Linux. |
67f28219 | 1276 | |
5d1a9698 GB |
1277 | * tracebak.c: Change Linux to GNU/Linux. |
1278 | ||
1279 | ||
c25ca2d7 GB |
1280 | 2001-10-02 Geert Bosch <bosch@gnat.com> |
1281 | ||
1282 | * misc.c (insert_default_attributes): Add dummy version. |