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