]>
Commit | Line | Data |
---|---|---|
1c6c6771 ES |
1 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
2 | ||
3 | * sem_util.adb (Explain_Limited_Type): Ignore internal components when | |
4 | searching for a limited component to flag. | |
5 | ||
6 | * exp_attr.adb (Freeze_Stream_Subprogram): Subsidiary procedure to | |
7 | expansion of Input, to account for the fact that the implicit call | |
8 | generated by the attribute reference must freeze the user-defined | |
9 | stream subprogram. This is only relevant to 'Input, because it can | |
10 | appear in an object declaration, prior to the body of the subprogram. | |
11 | ||
12 | * sem_ch13.adb (Rep_Item_Too_Late): Make the error non-serious, so that | |
13 | expansion can proceed and further errors uncovered. | |
14 | (Minor clean up): Fix cases of using | instead of \ for continuation | |
15 | messages. | |
16 | ||
8005f3e5 RK |
17 | 2004-10-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
18 | ||
19 | * cuintp.c, decl.c, utils2.c: Use gcc_assert and gcc_unreachable. | |
20 | ||
21 | * trans.c (assoc_to_constructor): Fix unused var warning if no checking. | |
22 | (gnat_gimplify_expr, case ADDR_EXPR): Fix error in last change. | |
23 | Use gcc_assert and gcc_unreachable. | |
24 | ||
25 | * decl.c (gnat_to_gnu_entity, case object): Check and process a | |
26 | specified alignment before validating size. | |
27 | (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>: Create a | |
28 | stripped-down declaration for the type of the inner field when making | |
29 | a JM type. | |
30 | ||
31 | * utils.c (finish_record_type): Do not compute the size in units | |
32 | incrementally. Instead compute it once for the rep clause case. | |
33 | Use gcc_assert and gcc_unreachable. | |
34 | ||
6a294a29 VC |
35 | 2004-10-04 Vincent Celier <celier@gnat.com> |
36 | ||
37 | * a-dirval-mingw.adb (Invalid_Character): Add '\' as invalid character | |
38 | in file name. | |
39 | (Is_Valid_Path_Name): Take '/' as a directory separator. | |
40 | ||
9a080ea3 VC |
41 | 2004-10-04 Vincent Celier <celier@gnat.com> |
42 | ||
43 | * prj-part.adb (Parse_Single_Project): Call Is_Extending_All | |
44 | (Extended_Project) only if Extended_Project is defined, to avoid | |
45 | assertion error. | |
46 | (Post_Parse_Context_Clause): Always call Set_Path_Name_Of with a | |
47 | resolved path. | |
48 | (Parse_Single_Project): Ditto. | |
49 | ||
50 | * prj-env.adb (Set_Ada_Paths.Add.Recursive_Add): Do not call | |
51 | Add_To_Project_Path for virtual projects. | |
52 | ||
51004cb5 VC |
53 | 2004-10-04 Vincent Celier <celier@gnat.com> |
54 | ||
55 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, | |
56 | mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, | |
57 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-mingw.adb, | |
58 | mlib-tgt-vxworks.adb, mlib-tgt.adb (Build_Dynamic_Library): New | |
59 | parameter Options_2. | |
60 | ||
61 | * mlib-prj.ads, mlib-prj.adb (Build_Library): Call | |
62 | Build_Dynamic_Library with an empty Options_2. | |
63 | ||
64 | * mlib-utl.ads, mlib-utl.adb (Gcc): Parameter Options_2 has no | |
65 | default anymore. | |
66 | ||
67 | * makegpr.adb (Get_Imported_Directories.add): Remove trailing | |
68 | directory separator, if any. | |
69 | (Gprmake): Do not allow mains on the command line for library projects. | |
70 | Do not attempt to link when the project is a library project. | |
71 | (Library_Opts): New table to store Library_Options. | |
72 | (Build_Library): If Library_Options is specified, pass these options | |
73 | when building a shared library. | |
74 | ||
3b37ffbf JR |
75 | 2004-10-04 Jose Ruiz <ruiz@act-europe.fr> |
76 | ||
77 | * s-tposen.adb (Service_Entry): The object must be always unlocked at | |
78 | the end of this procedure now that the unlock operation was inserted | |
79 | by the expander. | |
80 | ||
b23e28d5 JR |
81 | 2004-10-04 Jose Ruiz <ruiz@act-europe.fr> |
82 | ||
83 | * targparm.ads, targparm.adb (Targparm_Tags): Add PAS value | |
84 | corresponding to the Preallocated_Stacks flags in System. | |
85 | (Get_Target_Parameters): Including the processing for | |
86 | Preallocated_Stacks. | |
87 | ||
88 | * system.ads, system-vxworks-x86.ads, system-darwin-ppc.ads, | |
89 | system-vms_64.ads, system-unixware.ads, system-linux-ia64.ads, | |
90 | system-freebsd-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads, | |
91 | system-linux-x86_64.ads, system-tru64.ads, system-aix.ads, | |
92 | system-vxworks-sparcv9.ads, system-vxworks-xscale.ads, | |
93 | system-solaris-x86.ads, system-irix-o32.ads, system-irix-n32.ads, | |
94 | system-hpux.ads, system-vxworks-m68k.ads, system-linux-x86.ads, | |
95 | system-vxworks-mips.ads, system-os2.ads, system-interix.ads, | |
96 | system-solaris-sparc.ads, system-solaris-sparcv9.ads, system-vms.ads, | |
97 | system-mingw.ads, system-vms-zcx.ads, system-vxworks-ppc.ads, | |
98 | system-vxworks-alpha.ads: Add the flag Preallocated_Stacks, that is | |
99 | used to signal whether the compiler creates the required stacks and | |
100 | descriptors for the different tasks (when True) or it is done by the | |
101 | underlying operating system at run time (when False). | |
102 | It is initially set to False in all targets. | |
103 | ||
104 | * exp_ch9.adb (Expand_N_Task_Type_Declaration): Create the task stack | |
105 | if it is supported by the target. | |
106 | (Make_Task_Create_Call): Pass the stack address if it has been | |
107 | previously created. Otherwise pass a Null_Address. | |
108 | ||
109 | * snames.adb: Add _stack. | |
110 | ||
111 | * snames.ads: Add Name_uStack. Required to allow the expander to | |
112 | statically allocated task stacks. | |
113 | ||
114 | * s-tarest.ads, s-tarest.adb (Create_Restricted_Task): Add | |
115 | Stack_Address argument. | |
116 | Check that its value is equal to Null_Address because this target does | |
117 | not support the static stack allocation. | |
118 | ||
6fd459bb TQ |
119 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
120 | ||
121 | * usage.adb: Change "pragma inline" to "pragma Inline" in information | |
122 | and error messages | |
123 | ||
5885facb TQ |
124 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
125 | ||
126 | * exp_dist.adb: Split declaration of asynchronous flag out of | |
127 | Add_RACW_Read_Attribute. | |
128 | Minor reformatting for better alignment with PolyORB version. | |
129 | Store the entity for the asynchronous flag of an RACW, rather than the | |
130 | expression, in the asynchronous flags table. This will allow this flag | |
131 | to be used in other subprograms beside Add_RACW_Read_Attribute. | |
132 | ||
d6c7ed50 TQ |
133 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
134 | ||
135 | * g-socket.ads, g-socket.adb, g-socthi.adb, socket.c, | |
136 | g-soccon-aix.ads, g-soccon-irix.ads, g-soccon-hpux.ads, | |
137 | g-soccon-interix.ads, g-soccon-solaris.ads, g-soccon-vms.adb, | |
138 | g-soccon-mingw.ads, g-soccon-vxworks.ads, g-soccon-freebsd.ads, | |
139 | g-soccon.ads, g-soccon-unixware.ads, g-soccon-tru64.ads: Add new | |
140 | sockets constant MSG_NOSIGNAL (Linux-specific). | |
141 | Add new sockets constant MSG_Forced_Flags, list of flags to be set on | |
142 | all Send operations. | |
143 | For Linux, set MSG_NOSIGNAL on all send operations to prevent them | |
144 | from trigerring SIGPIPE. | |
145 | Rename components to avoid clash with Ada 2005 possible reserved | |
146 | word 'interface'. | |
147 | (Check_Selector): When the select system call returns with an error | |
148 | condition, propagate Socket_Error to the caller. | |
149 | ||
0f0377f6 JH |
150 | 2004-10-01 Jan Hubicka <jh@suse.cz> |
151 | ||
152 | * misc.c (gnat_expand_body): Update call of tree_rest_of_compilation. | |
153 | ||
2c9beb8a RD |
154 | 2004-09-23 Robert Dewar <dewar@gnat.com> |
155 | ||
156 | PR ada/17540 | |
157 | ||
158 | * sem_prag.adb (Process_Import_Or_Interface): Don't set Is_Public here, | |
159 | instead do this at freeze time (we won't do it if there is an address | |
160 | clause). | |
161 | Change "pragma inline" to "pragma Inline" in information and error | |
162 | messages. | |
163 | Minor reformatting. | |
164 | ||
165 | * freeze.adb (Check_Address_Clause): Remove previous change, not the | |
166 | right way of doing things after all. | |
167 | (Freeze_Entity): For object, set Is_Public for imported entities | |
168 | unless there is an address clause present. | |
169 | ||
2494e673 OH |
170 | 2004-09-21 Olivier Hainque <hainque@act-europe.fr> |
171 | ||
172 | * decl.c (gnat_to_gnu_entity) <E_General_Access_Type>: Check for a | |
173 | dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P. This | |
174 | ensures proper handling of types with rep clauses, which might have | |
175 | their TYPE_SIZE set already. | |
176 | ||
910d20fc RD |
177 | 2004-09-21 Robert Dewar <dewar@gnat.com> |
178 | ||
179 | * decl.c (gnat_to_gnu_type, case E_Modular_Integer_Type): Wrap modular | |
180 | packed array types in both little- and big-endian cases. This change | |
181 | ensures that we no longer count on the unused bits being initialized | |
182 | for such types (and in particular ensures that equality testing will | |
183 | only read the relevant bits). | |
184 | Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P | |
185 | These changes mean that we no longer need to initialize small packed | |
186 | arrays. | |
187 | (gnat_to_gnu_entity) <E_Record_Subtype>: Apply the same | |
188 | optimization to an LJM field as to its parent field. | |
189 | ||
190 | * ada-tree.h, trans.c, utils.c, utils2.c: | |
191 | Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P | |
192 | ||
8f235343 JH |
193 | 2004-09-20 Jan Hubicka <jh@suse.cz> |
194 | ||
195 | * utils.c (gnat_finalize): Remove. | |
196 | (end_subprog_body): Directly call cgraph_finalize_function; | |
197 | do not lower the nested functions. | |
198 | ||
bb9be5eb RD |
199 | 2004-09-20 Robert Dewar <dewar@gnat.com> |
200 | ||
201 | PR ada/17540 | |
202 | ||
203 | * freeze.adb (Check_Address_Clause): Reset Is_Imported and Is_Public | |
204 | if an address clause is present, since that means that the Import | |
205 | should be ignored. | |
206 | ||
796ef2e2 AC |
207 | 2004-09-20 Arnaud Charlet <charlet@act-europe.fr> |
208 | ||
209 | * 5tsystem.ads: Removed, no longer used. | |
210 | ||
6615c446 JO |
211 | 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com> |
212 | Zack Weinberg <zack@codesourcery.com> | |
213 | ||
214 | * ada-tree.def: Use tree_code_class enumeration constants | |
215 | instead of code letters. | |
216 | * ada-tree.h, decl.c, misc.c, trans.c, utils.c, utils2.c: | |
217 | Update for new tree-class enumeration constants. | |
218 | ||
93ed8a01 VC |
219 | 2004-09-17 Vincent Celier <celier@gnat.com> |
220 | ||
221 | * prj-attr-pm.ads, prj-attr-pm.adb: New files, to split some private | |
222 | capabilities of the general project manager. | |
223 | ||
c885d7a1 AC |
224 | 2004-09-09 Vincent Celier <celier@gnat.com> |
225 | ||
226 | * a-direct.ads: Add pragma Ada_05 | |
227 | (Directory_Entry_Type): Give default value to component Kind to avoid | |
228 | not initialized warnings. | |
229 | ||
230 | * a-direct.adb (Current_Directory): Remove directory separator at the | |
231 | end. | |
232 | (Delete_Directory, Delete_Tree): Raise Name_Error if Directory is not | |
233 | an existing directory. | |
234 | (Fetch_Next_Entry): Give default value to variable Kind to avoid warning | |
235 | (Size (String)): Function C_Size returns Long_Integer, not File_Size. | |
236 | Convert the result to File_Size. | |
237 | ||
238 | * prj.ads: (Project_Error): New exception | |
239 | ||
240 | * prj-attr.adb: Except in procedure Initialize, Fail comes from | |
241 | Prj.Com, not from Osint. | |
242 | (Attrs, Package_Attributes): Tables moved to private part of spec | |
243 | (Add_Attribute, Add_Unknown_Package): Moved to new child package | |
244 | Prj.Attr.PM. | |
245 | (Register_New_Package (Name, Attributes), Register_New_Attribute): Raise | |
246 | Prj.Project_Error after call to Fail. | |
247 | (Register_New_Package (Name, Id)): Set Id to Empty_Package after calling | |
248 | Fail. Check that package name is not already in use. | |
249 | ||
250 | * prj-attr.ads: Comment updates to indicate that all subprograms may be | |
251 | used by tools, not only by the project manager, and to indicate that | |
252 | exception Prj.Prj_Error may be raised in case of problem. | |
253 | (Add_Unknown_Package, Add_Attribute): Moved to new child package | |
254 | Prj.Attr.PM. | |
255 | (Attrs, Package_Attributes): Table instantiations moved from the body to | |
256 | the private part to be accessible from Prj.Attr.PM body. | |
257 | ||
258 | * prj-dect.adb (Parse_Package_Declaration): Call Add_Unknown_Package | |
259 | from new package Prj.Attr.PM. | |
260 | (Parse_Attribute_Declaration): Call Add_Attribute from new package | |
261 | Prj.Attr.PM. | |
262 | ||
263 | * Makefile.in: Add prj-attr-pm.o to gnatmake object list | |
264 | ||
265 | * gnatbind.adb (Gnatbind): Correct warning message (Elaboration_Check | |
266 | instead of Elaboration_Checks). | |
267 | ||
268 | * a-calend.adb: Minor reformatting | |
269 | ||
270 | 2004-09-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
271 | ||
272 | * gigi.h (maybe_pad_type): New declaration. | |
273 | (create_subprog_type): New arg RETURNS_BY_TARGET_PTR. | |
274 | ||
275 | * ada-tree.h: (TYPE_RETURNS_BY_TARGET_PTR_P): New macro. | |
276 | ||
277 | * cuintp.c: Convert to use buildN. | |
278 | ||
279 | * decl.c (maybe_pad_type): No longer static. | |
280 | (gnat_to_gnu_entity, case E_Function): Handle case of returning by | |
281 | target pointer. | |
282 | Convert to use buildN. | |
283 | ||
284 | * trans.c (call_to_gnu): Add arg GNU_TARGET; support | |
285 | TYPE_RETURNS_BY_TARGET_PTR_P. All callers changed. | |
286 | (gnat_to_gnu, case N_Assignment_Statement): Call call_to_gnu if call on | |
287 | RHS. | |
288 | (gnat_to_gnu, case N_Return): Handle TYPE_RETURN_BY_TARGET_PTR_P. | |
289 | (gnat_gimplify_expr, case ADDR_EXPR): New case. | |
290 | Convert to use buildN. | |
291 | ||
292 | * utils2.c (gnat_build_constructor): Also set TREE_INVARIANT and | |
293 | TREE_READONLY for const. | |
294 | Convert to use buildN. | |
295 | ||
296 | * utils.c (create_subprog_type): New operand RETURNS_BY_TARGET_PTR. | |
297 | (create_var_decl): Refine when TREE_STATIC is set. | |
298 | Convert to use buildN. | |
299 | ||
300 | 2004-09-09 Gary Dismukes <dismukes@gnat.com> | |
301 | ||
302 | * gnat_ugn.texi: Delete text relating to checking of ali and object | |
303 | consistency. | |
304 | ||
305 | * a-except.adb (Rcheck_*): Add pragmas No_Return for each of these | |
306 | routines. | |
307 | ||
308 | 2004-09-09 Jose Ruiz <ruiz@act-europe.fr> | |
309 | ||
310 | * gnat_ugn.texi: Add Detect_Blocking to the list of configuration | |
311 | pragmas recognized by GNAT. | |
312 | ||
313 | * gnat_rm.texi: Document pragma Detect_Blocking. | |
314 | ||
315 | * s-solita.adb (Timed_Delay_T): When pragma Detect_Blocking is active, | |
316 | raise Program_Error if called from a protected operation. | |
317 | ||
318 | * s-taprob.adb (Lock): When pragma Detect_Blocking is active increase | |
319 | the protected action nesting level. | |
320 | (Lock_Read_Only): When pragma Detect_Blocking is active increase the | |
321 | protected action nesting level. | |
322 | (Unlock): When pragma Detect_Blocking is active decrease the protected | |
323 | action nesting level. | |
324 | ||
325 | * s-taskin.adb (Initialize_ATCB): Initialize to 0 the | |
326 | Protected_Action_Nesting. | |
327 | ||
328 | * s-taskin.ads: Adding the field Protected_Action_Nesting to the | |
329 | Common_ATCB record. It contains the dynamic level of protected action | |
330 | nesting for each task. It is needed for checking whether potentially | |
331 | blocking operations are called from protected operations. | |
332 | (Detect_Blocking): Adding a Boolean constant reflecting whether pragma | |
333 | Detect_Blocking is active or not in the partition. | |
334 | ||
335 | * s-tasren.adb (Call_Simple): When pragma Detect_Blocking is active, | |
336 | raise Program_Error if called from a protected operation. | |
337 | (Task_Entry_Call): When pragma Detect_Blocking is active, raise | |
338 | Program_Error if called from a protected operation. | |
339 | (Timed_Task_Entry_Call): When pragma Detect_Blocking is active, raise | |
340 | Program_Error if called from a protected operation. | |
341 | ||
342 | * s-tassta.adb (Abort_Tasks): When pragma Detect_Blocking is active, | |
343 | raise Program_Error if called from a protected operation. | |
344 | ||
345 | * s-tpoben.adb (Lock_Entries): When pragma Detect_Blocking is active, | |
346 | raise Program_Error if called from a protected operation, and increase | |
347 | the protected action nesting level. | |
348 | (Lock_Read_Only_Entries): When pragma Detect_Blocking is active, raise | |
349 | Program_Error if called from a protected operation, and increase the | |
350 | protected action nesting level. | |
351 | (Unlock_Entries): When pragma Detect_Blocking is active decrease the | |
352 | protected action nesting level. | |
353 | ||
354 | * s-tposen.adb (Lock_Entry): When pragma Detect_Blocking is active, | |
355 | raise Program_Error if called from a protected operation, and increase | |
356 | the protected action nesting level. | |
357 | (Lock_Read_Only_Entry): When pragma Detect_Blocking is active, raise | |
358 | Program_Error if called from a protected operation, and increase the | |
359 | protected action nesting level. | |
360 | (Protected_Single_Entry_Call): When pragma Detect_Blocking is active, | |
361 | raise Program_Error if called from a protected operation. | |
362 | (Timed_Protected_Single_Entry_Call): When pragma Detect_Blocking is | |
363 | active, raise Program_Error if called from a protected operation. | |
364 | (Unlock_Entry): When pragma Detect_Blocking is active decrease the | |
365 | protected action nesting level. | |
366 | ||
367 | * sem_util.adb (Check_Potentially_Blocking_Operation): Remove the | |
368 | insertion of the statement raising Program_Error. The run time | |
369 | contains the required machinery for handling that. | |
370 | ||
371 | * sem_util.ads: Change comment associated to procedure | |
372 | Check_Potentially_Blocking_Operation. | |
373 | This procedure does not insert a call for raising the exception because | |
374 | that is currently done by the run time. | |
375 | ||
376 | * raise.h (__gnat_set_globals): Pass the detect_blocking parameter. | |
377 | ||
378 | * init.c: Add the global variable __gl_detect_blocking that indicates | |
379 | whether pragma Detect_Blocking is active (1) or not (0). Needed for | |
380 | making the pragma available at run time. | |
381 | (__gnat_set_globals): Pass and update the detect_blocking parameter. | |
382 | ||
383 | * lib-writ.adb (Write_ALI): Set the DB flag in the ali file if | |
384 | pragma Detect_Blocking is active. | |
385 | ||
386 | * lib-writ.ads: Document the Detect_Blocking flag (DB) in ali files. | |
387 | ||
388 | * ali.adb (Scan_ALI): Set the Detect_Blocking value to true if the flag | |
389 | DB is found in the ali file. Any unit compiled with pragma | |
390 | Detect_Blocking active forces its effect in the whole partition. | |
391 | ||
392 | * a-retide.adb (Delay_Until): Raise Program_Error if pragma | |
393 | Detect_Blocking is active and delay is called from a protected | |
394 | operation. | |
395 | ||
396 | * bindgen.adb (Gen_Adainit_Ada): When generating the call to | |
397 | __gnat_set_globals, pass 1 as Detect_Blocking parameter if pragma | |
398 | Detect_Blocking is active (0 otherwise). | |
399 | (Gen_Adainit_C): When generating the call to __gnat_set_globals, pass 1 | |
400 | as Detect_Blocking parameter if pragma Detect_Blocking is active (0 | |
401 | otherwise). | |
402 | ||
403 | 2004-09-09 Thomas Quinot <quinot@act-europe.fr> | |
404 | ||
405 | * gnat_rm.texi: Rename GNAT.Perfect_Hash.Generators to | |
406 | GNAT.Perfect_Hash_Generators, and remove the empty GNAT.Perfect_Hash | |
407 | package. | |
408 | ||
409 | * s-parint.ads, s-parint.adb (Get_RAS_Info): New subprogram. | |
410 | (Register_Receiving_Stub): Add Subp_Info formal parameter. | |
411 | Update API in placeholder implemetation of s-parint to reflect changes | |
412 | in distribution runtime library. | |
413 | ||
414 | * sem_ch3.adb (Expand_Derived_Record): Rename to | |
415 | Expand_Record_Extension. | |
416 | ||
417 | * sem_disp.adb (Check_Controlling_Formals): Improve error message for | |
418 | primitive operations of potentially distributed object types that have | |
419 | non-controlling anonymous access formals. | |
420 | ||
421 | * sem_dist.ads, sem_dist.adb (Build_RAS_Primitive_Specification): New | |
422 | subprogram. | |
423 | New implementation of expansion for remote access-to-subprogram types, | |
424 | based on the RACW infrastructure. | |
425 | This version of sem_dist is compatible with PolyORB/DSA as well as | |
426 | GLADE. | |
427 | ||
428 | * sem_prag.adb (Analyze_Pragma, case Pragma_Asynchronous): For a pragma | |
429 | Asynchrronous that applies to a remote access-to-subprogram type, mark | |
430 | the underlying RACW type as asynchronous. | |
431 | ||
432 | * link.c: FreeBSD uses GNU ld: set __gnat_objlist_file_supported and | |
433 | __gnat_using_gnu_linker to 1. | |
434 | ||
435 | * Makefile.rtl, impunit.adb, g-perhas.ads, g-pehage.ads, | |
436 | g-pehage.adb: Rename GNAT.Perfect_Hash.Generators to | |
437 | GNAT.Perfect_Hash_Generators, and remove the empty | |
438 | GNAT.Perfect_Hash package. | |
439 | ||
440 | * atree.adb: Minor reformatting | |
441 | ||
442 | * exp_ch3.adb (Expand_Derived_Record): Rename to | |
443 | Expand_Record_Extension. | |
444 | (Build_Record_Init_Proc.Build_Assignment): The default expression in | |
445 | a component declaration must remain attached at that point in the | |
446 | tree so New_Copy_Tree copies it if the enclosing record type is derived. | |
447 | It is therefore necessary to take a copy of the expression when building | |
448 | the corresponding assignment statement in the init proc. | |
449 | As a side effect, in the case of a derived record type, we now see the | |
450 | original expression, without any rewriting that could have occurred | |
451 | during expansion of the ancestor type's init proc, and we do not need | |
452 | to go back to Original_Node. | |
453 | ||
454 | * exp_ch3.ads (Expand_Derived_Record): Rename to | |
455 | Expand_Record_Extension. | |
456 | ||
457 | * exp_dist.ads, exp_dist.adb (Underlying_RACW_Type): New subprogram. | |
458 | Returns the RACW type used to implement a remote access-to-subprogram | |
459 | type. | |
460 | (Add_RAS_Proxy_And_Analyze, Build_Remote_Subprogram_Proxy_Type): | |
461 | New subprograms. Used to create a proxy tagged object for a remote | |
462 | subprogram. The proxy object is used as the designated object | |
463 | for RAS values on the same partition (unless All_Calls_Remote applies). | |
464 | (Build_Get_Unique_RP_Call): New subprogram. Build a call to | |
465 | System.Partition_Interface.Get_Unique_Remote_Pointer. | |
466 | (Add_RAS_Access_TSS, Add_RAS_Dereference_TSS): | |
467 | Renamed from Add_RAS_*_Attribute. | |
468 | (Add_Receiving_Stubs_To_Declarations): Generate a table of local | |
469 | subprograms. | |
470 | New implementation of expansion for remote access-to-subprogram types, | |
471 | based on the RACW infrastructure. | |
472 | ||
473 | * exp_dist.ads (Copy_Specification): Update comment to note that this | |
474 | function can copy the specification from either a subprogram | |
475 | specification or an access-to-subprogram type definition. | |
476 | ||
477 | 2004-09-09 Ed Schonberg <schonberg@gnat.com> | |
478 | ||
479 | * sem_type.adb (Disambiguate): Handle properly an accidental ambiguity | |
480 | in an instance, between an explicit subprogram an one inherited from a | |
481 | type derived from an actual. | |
482 | ||
483 | * exp_ch6.adb (Expand_N_Subprogram_Body): If polling is enabled, do not | |
484 | add a polling call if the subprogram is to be inlined by the back-end, | |
485 | to avoid repeated calls with multiple inlinings. | |
486 | ||
487 | * checks.adb (Apply_Alignment_Check): If the expression in the address | |
488 | clause is a call whose name is not a static entity (e.g. a dispatching | |
489 | call), treat as dynamic. | |
490 | ||
491 | 2004-09-09 Robert Dewar <dewar@gnat.com> | |
492 | ||
493 | * g-trasym.ads: Minor reformatting | |
494 | ||
495 | * exp_ch3.adb (Component_Needs_Simple_Initialization): Don't except | |
496 | packed arrays, since unused bits are expected to be zero for a | |
497 | comparison. | |
498 | ||
499 | 2004-09-09 Eric Botcazou <ebotcazou@act-europe.fr> | |
500 | ||
501 | * exp_pakd.ads: Fix an inacurracy and a couple of typos in the head | |
502 | comment. | |
503 | ||
504 | 2004-09-09 Pascal Obry <obry@gnat.com> | |
505 | ||
506 | * mdll.ads, mdll.adb (Build_Dynamic_Library): New parameter Map_File to | |
507 | enable map file generation. Add the right option to generate the map | |
508 | file if Map_File is set to True. | |
509 | ||
510 | * gnatdll.adb (Gen_Map_File): New variable. | |
511 | (Syntax): Add info about new -m (Map_File) option. | |
512 | (Parse_Command_Line): Add support for -m option. | |
513 | (gnatdll): Pass Gen_Map_File to Build_Dynamic_Library calls. | |
514 | Minor reformatting. | |
515 | ||
516 | 2004-09-09 Laurent Pautet <pautet@act-europe.fr> | |
517 | ||
518 | * gnatls.adb: Add a very verbose mode -V. Such mode is required by the | |
519 | new gnatdist implementation. | |
520 | Define a subpackage isolating the output routines specific to this | |
521 | verbose mode. | |
522 | ||
523 | 2004-09-09 Joel Brobecker <brobecker@gnat.com> | |
524 | ||
525 | * Makefile.rtl: (GNATRTL_NONTASKING_OBJS): Add g-dynhta. | |
526 | ||
527 | * gnat_ugn.texi (Main Subprograms): Fix typo. Deduced, not deducted. | |
528 | ||
529 | 2004-09-09 Cyrille Comar <comar@act-europe.fr> | |
530 | ||
531 | * opt.adb (Set_Opt_Config_Switches): Use Ada_Version_Runtime to compile | |
532 | internal unit. | |
533 | ||
534 | * opt.ads: Add Ada_Version_Runtime constant used to decide which | |
535 | version of the language is used to compile the run time. | |
536 | ||
537 | 2004-09-09 Arnaud Charlet <charlet@act-europe.fr> | |
538 | ||
539 | * sem_util.adb (Requires_Transient_Scope): Re-enable handling | |
540 | of variable length temporaries for function return now that the | |
541 | back-end and gigi support it. | |
542 | ||
23c7b149 | 543 | 2004-09-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6cdb2c6e AC |
544 | |
545 | * misc.c (gnat_print_type): Use TYPE_RM_SIZE_NUM. | |
546 | ||
547 | * trans.c (struct stmt_group): Delete field GLOBAL. | |
548 | (gnat_init_stmt_group): Do not initialize it. | |
549 | (call_to_gnu): Use save_expr, not protect_multiple_eval. | |
550 | (Exception_Handler_to_gnu_sjlj): Call build_int_cst, not build_int_2 | |
551 | (gnat_to_gnu, case N_Character_Literal, N_String_Literal): Likewise. | |
552 | (gnat_to_gnu, case N_Compilation_Unit): Do not set GLOBAL in stmt group. | |
553 | (start_stmt_group): Likewise. | |
554 | (add_stmt, add_decl_expr): Rework handling of global DECL_EXPRs. | |
555 | ||
556 | * utils2.c (ggc.h): Include. | |
557 | (build_call_raise): Call build_int_cst, not build_int_2. | |
558 | ||
559 | * utils.c (gnat_init_decl_processing): Fix arg to | |
560 | build_common_tree_nodes. | |
561 | (create_subprog_type): Do not use SET_TYPE_CI_CO_LIST. | |
562 | (gnat_define_builtin): Set built_in_decls. | |
563 | (init_gigi_decls): Call build_int_cst, not build_int_2. | |
564 | ||
565 | * ada-tree.h (struct lang_decl, struct lang_type): Field is type tree. | |
566 | (GET_TYPE_LANG_SPECIFIC, SET_TYPE_LANG_SPECIFIC): New macros. | |
567 | (GET_DECL_LANG_SPECIFIC, SET_DECL_LANG_SPECIFIC): Likewise. | |
568 | (TYPE_CI_CO_LIST, SET_TYPE_CI_CO_LIST, TYPE_MODULE, | |
569 | SET_TYPE_MODULE): Use them. | |
570 | (TYPE_INDEX_TYPE, SET_TYPE_INDEX_TYPE, TYPE_DIGITS_VALUE): Likewise. | |
571 | (SET_TYPE_DIGITS_VALUE, TYPE_UNCONSTRAINED_ARRAY): Likewise. | |
572 | (SET_TYPE_UNCONSTRAINED_ARRAY, TYPE_ADA_SIZE, | |
573 | SET_TYPE_ADA_SIZE): Likewise. | |
574 | (TYPE_ACTUAL_BOUNDS, SET_TYPE_ACTUAL_BOUNDS): Likewise. | |
575 | (DECL_CONST_CORRESPONDING_VAR, | |
576 | SET_DECL_CONST_CORRESPONDING_VAR): Likewise. | |
577 | (DECL_ORIGINAL_FIELD, SET_DECL_ORIGINAL_FIELD): Likewise. | |
578 | (TYPE_RM_SIZE_INT, TYPE_RM_SIZE_ENUM, SET_TYPE_RM_SIZE_ENUM): Deleted. | |
579 | (TYPE_RM_SIZE_NUM): New macro. | |
580 | (TYPE_RM_SIZE): Modified to use above. | |
581 | ||
582 | * cuintp.c: (build_cst_from_int): New function. | |
583 | (UI_To_gnu): Use it. | |
584 | ||
585 | * decl.c (gnat_to_gnu_entity): Use TYPE_RM_SIZE_NUM. | |
586 | (make_type_from_size): Avoid changing TYPE_UNSIGNED of a type. | |
587 | (gnat_substitute_in_type, case ARRAY_TYPE): If old had a | |
588 | MIN_EXPR for the size, copy it into new. | |
589 | ||
23c7b149 | 590 | 2004-09-01 Robert Dewar <dewar@gnat.com> |
6cdb2c6e AC |
591 | |
592 | * exp_ch6.adb (Expand_Call): Properly handle validity checks for | |
593 | packed indexed component where array is an IN OUT formal. This | |
594 | generated garbage code previously. | |
595 | ||
596 | * gnat_ugn.texi: Document -fverbose-asm | |
597 | ||
598 | * gnat-style.texi: Minor updates (note that boolean constants and | |
599 | variables are joined with AND/OR rather than short circuit forms). | |
600 | ||
23c7b149 | 601 | 2004-09-01 Ed Schonberg <schonberg@gnat.com> |
6cdb2c6e AC |
602 | |
603 | * exp_util.adb (Safe_Unchecked_Type_Conversion): Conversion is safe if | |
604 | it is an upward conversion of an untagged type with no representation | |
605 | change. | |
606 | ||
23c7b149 | 607 | 2004-09-01 Thomas Quinot <quinot@act-europe.fr> |
6cdb2c6e AC |
608 | |
609 | * rtsfind.ads: Move RCI_Subp_Info and RCI_Subp_Info_Array to | |
610 | System.Partition_Interface. | |
611 | ||
612 | * checks.adb (Apply_Access_Checks): Do not generate checks when | |
613 | expander is not active (but check for unset reference to prefix of | |
614 | dereference). | |
615 | ||
616 | * sem_prag.adb (Analyze_Pragma, case Pragma_Debug): Uniformly rewrite | |
617 | pragma Debug as an if statement with a constant condition, for | |
618 | consistent treatment of entity references contained within the | |
619 | enclosed procedure call. | |
620 | ||
23c7b149 | 621 | 2004-09-01 Vincent Celier <celier@gnat.com> |
6cdb2c6e AC |
622 | |
623 | * bindgen.adb: (Set_EA_Last): New procedure | |
624 | (Gen_Exception_Table_Ada, Gen_Exception_Table_C): Use new procedure | |
625 | Set_EA_Last. | |
626 | (Gen_Adafinal_Ada): If no finalization, adafinal does nothing | |
627 | (Gen_Output_File_Ada): Always call Gen_Adafinal_Ada, so that SAL can be | |
628 | linked without errors. | |
629 | (Gen_Exception_Table_Ada): Correct bugs when generating code for arrays | |
630 | ST and EA. | |
631 | (Gen_Exception_Table_C): Correct same bugs | |
632 | ||
633 | * vms_data.ads: Add new qualifier /VERBOSE_ASM to GCC_Switches | |
634 | ||
635 | * g-os_lib.adb (Normalize_Pathname.Get_Directory): When Dir is empty, | |
636 | on Windows, make sure that the drive letter is in upper case. | |
637 | ||
638 | * g-os_lib.ads (Normalize_Pathname): Add a comment to indicate that on | |
639 | Windows, when the drive letter is added and Case_Sensitive is True, the | |
640 | drive letter is forced to upper case. | |
641 | ||
642 | * mlib-tgt-irix.adb (Build_Dynamic_Library): Transfer all -lxxx options | |
643 | to Options_2 for the call to MLib.Utl.Gcc. | |
644 | ||
645 | * bld.adb (Put_Include_Project): Use '/', not '\' on Windows as | |
646 | directory separator when defining BASE_DIR. | |
647 | ||
23c7b149 | 648 | 2004-09-01 Pascal Obry <obry@gnat.com> |
6cdb2c6e AC |
649 | |
650 | * gprcmd.adb (Extend): Do not output trailing directory separator. This | |
651 | is not needed and it confuses Windows GNU/make which does not report | |
652 | directory terminated by a slash as a directory. | |
653 | (gprcmd): Idem for "pwd" internal command. | |
654 | ||
655 | * Makefile.generic: Use __GPRCOLON__ instead of pipe character in | |
656 | target names rewrite to fix regressions with recent version of | |
657 | GNU/make. Starting with GNU/make 3.80 the pipe character was not | |
658 | handled properly anymore. | |
659 | ||
4eb104c1 AS |
660 | 2004-09-01 Andreas Schwab <schwab@suse.de> |
661 | ||
662 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Revert last change. | |
663 | * raise.c [!IN_RTS]: Undef abort. | |
664 | ||
6a6bfc8e NS |
665 | 2004-08-27 Nathan Sidwell <nathan@codesourcery.com> |
666 | ||
ce552f75 NS |
667 | * utils2.c (build_allocator): Use ssize_int. |
668 | ||
6a6bfc8e NS |
669 | * utils.c (gnat_init_decl_processing): Ada has a signed sizetype. |
670 | ||
f8b7bf58 AS |
671 | 2004-08-27 Andreas Schwab <schwab@suse.de> |
672 | ||
673 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Add errors.o. | |
674 | ||
15793d0c NS |
675 | 2004-08-25 Nathan Sidwell <nathan@codesourcery.com> |
676 | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6615c446 | 677 | |
15793d0c NS |
678 | * ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1. |
679 | ||
7d60be94 NS |
680 | 2004-08-25 Nathan Sidwell <nathan@codesourcery.com> |
681 | ||
682 | * cuintp.c (UI_To_gnu): Adjust build_int_cst calls. | |
683 | * trans.c (Exception_Handler_to_gnu_sjlj, gnat_to_gnu): Likewise. | |
684 | * utils.c (init_gigi_decls): Likewise. | |
685 | * utils2.c (build_call_raise, build_allocator): Likewise. | |
6615c446 | 686 | |
8c1d6d62 NS |
687 | 2004-08-24 Nathan Sidwell <nathan@codesourcery.com> |
688 | ||
7d60be94 | 689 | * utils.c (gnat_init_decl_processing): Adjust |
8c1d6d62 NS |
690 | build_common_tree_nodes call. |
691 | ||
3224bead NS |
692 | 2004-08-20 Nathan Sidwell <nathan@codesourcery.com> |
693 | ||
694 | * utils2.c (build_allocator): Use build_int_cst for negative | |
695 | size types. | |
696 | ||
4766261d RH |
697 | 2004-08-18 Richard Henderson <rth@redhat.com> |
698 | ||
699 | * misc.c (LANG_HOOKS_HONOR_READONLY): Remove. | |
700 | ||
1f6c00df NS |
701 | 2004-08-16 Nathan Sidwell <nathan@codesourcery.com> |
702 | ||
703 | * cuintp.c (UI_To_gnu): Be more conservative with build_int_cst | |
704 | call.s | |
705 | * trans.c (Exception_Handler_to_gnu_sjlj): Likewise. | |
706 | (gnat_to_gnu): Likewise. | |
707 | ||
4c46b835 AC |
708 | 2004-08-16 Pascal Obry <obry@gnat.com> |
709 | ||
710 | * adaint.c (__gnat_prj_add_obj_files): Set to 0 only on Win32 for GCC | |
711 | backend prior to GCC 3.4. With GCC 3.4 we are using the GCC's shared | |
712 | option and not mdll anymore. Update comment. | |
713 | ||
714 | 2004-08-16 Pascal Obry <obry@gnat.com> | |
715 | ||
716 | * bld.adb (Put_Include_Project): Properly handle directory separators | |
717 | on Windows. | |
718 | ||
719 | 2004-08-16 Ed Schonberg <schonberg@gnat.com> | |
720 | ||
721 | * sem_ch4.adb (Try_Object_Operation): Restructure code. Optimize by | |
722 | decreasing the number of allocated junk nodes while searching for the | |
723 | appropriate subprogram. | |
724 | ||
4a90aeeb NS |
725 | 2004-08-15 Nathan Sidwell <nathan@codesourcery.com> |
726 | ||
727 | * cuintp.c (UI_To_gnu): Use build_int_cst.. | |
728 | * trans.c (Exception_Handler_to_gnu_sjlj, gnat_to_gnu): Likewise. | |
729 | * utils.c (init_gigi_decls): Likewise. | |
730 | * utils2.c (build_call_raise): Likewise. | |
731 | ||
244e5a2c AC |
732 | 2004-08-13 Olivier Hainque <hainque@act-europe.fr> |
733 | ||
734 | * decl.c (gnat_to_gnu_entity) <E_Variable>: When building an allocator | |
735 | for a global aliased object with a variable size and an unconstrained | |
736 | nominal subtype, pretend there is no initializer if the one we have is | |
737 | incomplete, and avoid referencing an inexistant component in there. The | |
738 | part we have will be rebuilt anyway and the reference may confuse | |
739 | further operations. | |
740 | ||
741 | 2004-08-13 Thomas Quinot <quinot@act-europe.fr> | |
742 | ||
743 | * einfo.ads: Minor reformatting | |
744 | ||
745 | * lib-writ.adb (Output_Main_Program_Line): Do not set parameter | |
746 | restrictions in the ALI if we only want to warn about violations. | |
747 | ||
748 | 2004-08-13 Vincent Celier <celier@gnat.com> | |
749 | ||
750 | * ali.adb (Scan_ALI): Initialize component Body_Needed_For_SAL to False | |
751 | when creating a new Unit_Record in table Units. | |
752 | ||
753 | * gnatls.adb (Output_Unit): In verbose mode, output the restrictions | |
754 | that are violated, if any. | |
755 | ||
756 | * prj-nmsc.adb (Ada_Check.Get_Path_Names_And_Record_Sources): Do not | |
757 | add directory separator if path already ends with a directory separator. | |
758 | ||
759 | 2004-08-13 Ed Schonberg <schonberg@gnat.com> | |
760 | ||
761 | * rtsfind.adb (Entity_Not_Defined): If the error ocurrs in a predefined | |
762 | unit, this is an attempt to inline a construct that is not available in | |
763 | the current restricted mode, so abort rather than trying to continue. | |
764 | ||
765 | * sem_ch3.adb (Build_Underlying_Full_View): If the new type has | |
766 | discriminants that rename those of the parent, recover names of | |
767 | original discriminants for the constraint on the full view of the | |
768 | parent. | |
769 | (Complete_Private_Subtype): Do not create a subtype declaration if the | |
770 | subtype is an itype. | |
771 | ||
772 | * gnat_rm.texi: Added section on implementation of discriminated | |
773 | records with default values for discriminants. | |
774 | ||
775 | 2004-08-13 Ed Schonberg <schonberg@gnat.com> | |
776 | ||
777 | PR ada/15601 | |
778 | * sem_res.adb (Make_Call_Into_Operator): Handle properly the case where | |
779 | the second operand is overloaded. | |
780 | ||
1a186ec5 RH |
781 | 2004-08-10 Richard Henderson <rth@redhat.com> |
782 | ||
783 | * utils.c (gnat_install_builtins): Remove __builtin_stack_alloc, | |
784 | add __builtin_alloca. | |
785 | ||
89f1a702 RH |
786 | 2004-08-10 Richard Henderson <rth@redhat.com> |
787 | ||
788 | * config-lang.in (boot_language): Yes. | |
789 | ||
5d09245e AC |
790 | 2004-08-09 Thomas Quinot <quinot@act-europe.fr> |
791 | ||
792 | * g-socket.adb (Abort_Selector): Initialize Buf to prevent valgrind | |
793 | from complaining on potential uninitialized reference. | |
794 | Change calls to GNAT.Sockets.Thin.Is_Socket_In_Set to account for | |
795 | new specification and test explicitly for non-zero return value. | |
796 | ||
797 | * g-socthi.ads (Is_Socket_In_Set): Declare imported function as | |
798 | returning C.int, to avoid using a derived boolean type. | |
799 | ||
800 | * exp_ch5.adb (Make_Tag_Ctrl_Assignments): Use | |
801 | Duplicate_Subexpr_No_Checks in preference to direct use of | |
802 | Remove_Side_Effects and New_Copy_Tree. | |
803 | Clear Comes_From_Source on prefix of 'Size attribute reference. | |
804 | ||
805 | * g-socthi.adb, g-socthi-vms.adb, g-socthi-mingw.adb, | |
806 | g-socthi-vxworks.adb: Change calls to | |
807 | GNAT.Sockets.Thin.Is_Socket_In_Set to account for new specification | |
808 | and test explicitly for non-zero return value. | |
809 | ||
6615c446 | 810 | * g-socthi-vms.ads, g-socthi-mingw.ads, g-socthi-vxworks.ads: |
5d09245e AC |
811 | (Is_Socket_In_Set): Declare imported function as returning C.int, to |
812 | avoid using a derived boolean type. | |
813 | ||
814 | 2004-08-09 Albert Lee <lee@gnat.com> | |
815 | ||
816 | * system-irix-n32.ads: Refine tasking priority constants for IRIX. | |
817 | ||
818 | 2004-08-09 Pascal Obry <obry@gnat.com> | |
819 | ||
820 | * gnat_ugn.texi: Document new way to build DLLs on Windows using | |
821 | GCC's -shared option. | |
822 | ||
823 | * mlib-tgt-mingw.adb (Build_Dynamic_Library): Pass GCC's options into | |
824 | Options_2 parameter (options put after object files). | |
825 | ||
826 | 2004-08-09 Olivier Hainque <hainque@act-europe.fr> | |
827 | ||
828 | * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Adjust condition to | |
829 | ignore overflows on low and high bounds of an index to also account for | |
830 | differences in signedness between sizetype and gnu_index_subtype. | |
831 | These are as legitimate as the ones caused by a lower TYPE_PRECISION | |
832 | on sizetype. | |
833 | ||
834 | 2004-08-09 Robert Dewar <dewar@gnat.com> | |
835 | ||
836 | * s-solita.ads, s-solita.adb: Minor reformatting | |
837 | ||
838 | * gnat_rm.texi: Add documentation for pragma Profile (Restricted) | |
839 | Move pragma Restricted_Run_Time, No_Run_Time, Ravenscar to new | |
840 | obsolescent section | |
841 | Add note that No_Implicit_Conditionals does not suppress | |
842 | run time constraint checks. | |
843 | ||
844 | * vms_conv.ads: Minor reformatting | |
845 | ||
846 | * s-secsta.adb: Use SS_Ptr instead of Mark_Id as stack pointer (cleanup | |
847 | and necessary for following change). | |
848 | (Mark): Return new format Mark_Id containing sec stack address | |
849 | (Release): Use sec stack address from Mark_Id avoiding Self call | |
850 | ||
851 | * s-secsta.ads: Define SS_Ptr to be used instead of Mark_Id as stack | |
852 | pointer (cleanup and necessary for following change). | |
853 | Define Mark_Id as record containing address of secondary stack, that way | |
854 | Release does not need to find the stack again, decreasing the number of | |
855 | calls to Self and improving efficiency. | |
856 | ||
857 | * sem_util.ads: Add a ??? comment for Is_Local_Variable_Reference | |
858 | ||
859 | * sem_ch5.adb (Analyze_Case_Statement): Add circuitry to track value of | |
860 | case variable into the individual case branches when possible. | |
861 | ||
862 | * sem_ch11.adb: Minor reformatting | |
863 | ||
864 | * prj.ads: Correct spelling of suffixs | |
865 | ||
866 | * prj-nmsc.adb: Minor reformatting | |
867 | Correct spelling suffixs throughout (also in identifiers) | |
868 | ||
869 | * freeze.adb: Minor spelling correction | |
870 | ||
871 | * exp_ch2.adb: Cleanups to handling of Current_Value | |
872 | (no functional effect). | |
873 | ||
874 | * bld.adb: Correct spelling of suffixs | |
875 | ||
876 | * einfo.adb (Enclosing_Dynamic_Scope): Defend against junk argument | |
877 | ||
878 | 2004-08-09 Ed Schonberg <schonberg@gnat.com> | |
879 | ||
880 | PR ada/15408 | |
881 | ||
882 | * sem_ch7.adb (Install_Private_Declarations): In the body of the | |
883 | package or of a child, private entities are both immediately_visible | |
884 | and not hidden. | |
885 | ||
886 | 2004-08-09 Ed Schonberg <schonberg@gnat.com> | |
887 | ||
888 | * sem_eval.adb (Eval_Integer_Literal): If the context is Any_Integer, | |
889 | there are no range checks on the value of the literal. | |
890 | ||
891 | * exp_ch7.adb (Insert_Actions_In_Scope_Around): If the node being | |
892 | wrapped is the triggering alternative of an asynchronous select, action | |
893 | statements mustbe inserted before the select itself. | |
894 | ||
895 | * sem_attr.adb (Analyze_Attribute, case 'Size): Handle properly the | |
896 | case where the prefix is a protected function call. | |
897 | (Resolve_Attribute, case 'Access): The attribute reference on a | |
898 | subprogram is legal in a generic body if the subprogram is declared | |
899 | elsewhere. | |
900 | ||
901 | 2004-08-09 Vincent Celier <celier@gnat.com> | |
902 | ||
903 | * makegpr.adb (Build_Library): Link with g++ if C++ is one of the | |
904 | languages, otherwise building the library may fail with unresolved | |
905 | symbols. | |
906 | (Compile_Sources): Do not build libraries if -c switch is used | |
907 | ||
908 | * gnatlink.adb (Process_Args): New switches -M and -Mmap | |
909 | (Write_Usage): If map file creation is supported, output new switches | |
910 | -M and -Mmap. | |
911 | (Gnatlink): When -M is specified, add the necessary switch(es) to the | |
912 | gcc call, when supported. | |
913 | ||
914 | * Makefile.in: Added indepsw.o to the object list for gnatlink | |
915 | Specified the AIX, GNU/Linux and Windows versions of indepsw.adb | |
916 | ||
917 | * indepsw-aix.adb, indepsw-linux.adb, indepsw-mingw.adb, | |
918 | indepsw.adb, indepsw.ads: New files. | |
919 | ||
920 | 2004-08-09 Bernard Banner <banner@gnat.com> | |
921 | ||
922 | * system-vxworks-x86.ads, s-vxwork-x86.ads: New files. | |
923 | ||
924 | * Makefile.in: add section for vxworks x86 | |
925 | ||
926 | 2004-08-09 Hristian Kirtchev <kirtchev@gnat.com> | |
927 | ||
928 | * exp_ch3.adb (Build_Init_Statements): Add extra condition to deal with | |
929 | per-object constrained components where the discriminant is of an | |
930 | Access type. | |
931 | (Build_Record_Init_Proc): Add condition to prevent the inheritance of | |
932 | the parent initialization procedure for derived Unchecked_Unions. | |
933 | Instead, derived Unchecked_Unions build their own initialization | |
934 | procedure. | |
935 | (Build_Variant_Record_Equality): Implement Unchecked_Union equality. | |
936 | Check the body of the subprogram for details. | |
937 | (Freeze_Record_Type): Prevent the inheritance of discriminant checking | |
938 | functions for derived Unchecked_Union types by introducing a condition. | |
939 | Allow the creation of TSS equality functions for Unchecked_Unions. | |
940 | (Make_Eq_Case): Rename formal parameter Node to E in function signature. | |
941 | Add formal parameter Discr to function signature. Discr is used to | |
942 | control the generated case statement for Unchecked_Union types. | |
943 | (Make_Eq_If): Rename formal parameter Node to E in function signature. | |
944 | ||
945 | * exp_ch4.adb (Build_Equality_Call): Implement equality calls for | |
946 | Unchecked_Unions. | |
947 | Check the body of the subprogram for details. | |
948 | (Expand_Composite_Equality): Augment composite type equality to include | |
949 | correct handling of Unchecked_Union components. | |
950 | (Expand_N_In): Add condition to detect illegal membership tests when the | |
951 | subtype mark is a constrained Unchecked_Union and the expression lacks | |
952 | inferable discriminants, and build a Raise_Program_Error node. | |
953 | (Expand_N_Op_Eq): Add function Has_Unconstrained_UU_Component. Used | |
954 | to detect types that contain components of unconstrained Unchecked_Union | |
955 | subtype. Add condition to detect equality between types that have an | |
956 | unconstrained Unchecked_Union component, and build a Raise_Program_Error | |
957 | node. Add condition to detect equality between Unchecked_Union types | |
958 | that lack inferable discriminants, and build a Raise_Program_Error node. | |
959 | Otherwise build a TSS equality function call. | |
960 | (Expand_N_Type_Conversion): Add condition to detect illegal conversions | |
961 | from a derived Unchecked_Union to an unconstrained non-Unchecked_Union | |
962 | with the operand lacking inferable discriminants, and build a Raise_ | |
963 | Program_Error node. | |
964 | (Expand_Record_Equality): Remove guard that prevents Unchecked_Union | |
965 | composite equality. | |
966 | (Has_Inferable_Discriminants): Implement new predicate for objects and | |
967 | expressions of Unchecked_Union type. Check the body of subprogram for | |
968 | details. | |
969 | (Has_Unconstrained_UU_Components): Add function | |
970 | Component_Is_Unconstrained_UU. It is used to detect whether a single | |
971 | component is of an unconstrained Unchecked_Union subtype. Add function | |
972 | Variant_Is_Unconstrained_UU. It is used to detect whether a single | |
973 | component inside a variant is of an unconstrained Unchecked_Union type. | |
974 | ||
975 | * exp_ch5.adb (Expand_Assign_Record): Add condition to copy the | |
976 | inferred discriminant values. Add condition to generate a case | |
977 | statement with an inferred discriminant as the switch. | |
978 | (Make_Component_List_Assign): Introduce a Boolean flag that determines | |
979 | the behaviour of the subprogram in the presence of an Unchecked_Union. | |
980 | Add condition to trigger the usage of the inferred discriminant value | |
981 | as the generated case statement switch. | |
982 | (Make_Field_Assign): Introduce a Boolean flag that determines the | |
983 | behaviour of the subprogram in the presence of an Unchecked_Union. Add | |
984 | condition to trigger the usage of the inferred discriminant value as | |
985 | the right-hand side of the generated assignment. | |
986 | ||
987 | * exp_ch6.adb (Expand_Call): Add condition to skip extra actual | |
988 | parameter generation when dealing with Unchecked_Unions. | |
989 | ||
990 | * checks.adb (Apply_Discriminant_Check): Do not apply discriminant | |
991 | checks for Unchecked_Unions. | |
992 | ||
993 | * einfo.ads: Update comment on usage of flag Has_Per_Object_Constraint | |
994 | ||
995 | * exp_attr.adb (Expand_N_Attribute_Reference): Produce | |
996 | Raise_Program_Error nodes for the execution of Read and Write | |
997 | attributes of Unchecked_Union types and the execution of Input and | |
998 | Output attributes of Unchecked_Union types that lack default | |
999 | discriminant values. | |
1000 | ||
1001 | * sem_prag.adb (Analyze_Pragma): Remodel the analysis of pragma | |
1002 | Unchecked_Union. Add procedure Check_Component. It is used to inspect | |
1003 | per-object constrained components of Unchecked_Unions for being | |
1004 | Unchecked_Unions themselves. Add procedure Check_Variant. It is used to | |
1005 | check individual components withing a variant. | |
1006 | ||
1007 | * sem_res.adb (Resolve_Comparison_Op): Remove guard that prevents | |
1008 | comparison of Unchecked_Unions. | |
1009 | (Resolve_Equality_OP): Remove guard that prevents equality between | |
1010 | Unchecked_Unions. | |
1011 | ||
1012 | * sem_util.adb (Build_Component_Subtype): Add guard to prevent creation | |
1013 | of component subtypes for Unchecked_Union components. | |
1014 | (Get_Actual_Subtype): Add condition that returs the Unchecked_Union type | |
1015 | since it is the actual subtype. | |
1016 | ||
1017 | * sem_ch12.adb (Instantiate_Type): Add condition to detect the correct | |
1018 | pass of Unchecked_Union subtypes as generic actuals to formal types | |
1019 | that lack known_discriminant_parts or that are derived Unchecked_Union | |
1020 | types, and do nothing. In any other case, produce an error message. | |
1021 | ||
1022 | * sem_ch3.adb (Analyze_Component_Declaration): Add function | |
1023 | Contains_POC. It determines whether a constraint uses the discriminant | |
1024 | of an enclosing record type. | |
1025 | Add condition to detect per-object constrained component and set the | |
1026 | appropriate flag. | |
1027 | (Derived_Type_Declaration): Remove guard that prevents derivation from | |
1028 | Unchecked_Union types. | |
1029 | (Process_Subtype): Remove quard that prevents the creation of Unchecked_ | |
1030 | Union subtypes. | |
1031 | ||
1032 | * sem_ch4.adb (Analyze_Selected_Component): Correct the detection of | |
1033 | references to Unchecked_Union discriminants. | |
1034 | ||
1035 | * sem_ch6.adb (Create_Extra_Formals): Add condition to skip extra | |
1036 | formal generation when dealing with Unchecked_Unions. | |
1037 | (Set_Actual_Subtypes): Add condition to prevent generation of actual | |
1038 | subtypes for Unchecked_Unions. | |
1039 | ||
1040 | * sem_ch7.adb (Analyze_Package_Specification): Add procedure | |
1041 | Inspect_Unchecked_Union_Completion. It is used to detect incorrect | |
1042 | completions of discriminated partial views by Unchecked_Unions and | |
1043 | produce an error message. | |
1044 | ||
1045 | 2004-08-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
1046 | ||
1047 | * trans.c (struct stmt_group): New field, GLOBAL. | |
1048 | (global_stmt_group, gnu_elab_proc_decl, build_unit_elab): Deleted. | |
1049 | (struct elab_info): New struct. | |
1050 | (elab_info_list, gnu_elab_proc_stack): New variables. | |
1051 | (Compilation_Unit_to_gnu): New procedure. | |
1052 | (gigi): Call it and also handle elaboration procs we've saved. | |
1053 | (gnat_init_stmt_group): Don't set global_stmt_group; instead initialize | |
1054 | global field from parent. | |
1055 | (gnat_to_gnu): Get decl from gnu_elab_proc_stack. | |
1056 | (gnat_to_gnu, case N_Compilation_Unit): Call Compilation_Unit_to_gnu. | |
1057 | (start_stmt_group): Initialize global field from parent. | |
1058 | (add_decl_expr): Set to global for current statement group. | |
1059 | (gnat_gimplify_expr, case NULL_EXPR): Add operand 0 to pre list, not | |
1060 | post. | |
1061 | ||
1062 | * utils.c (global_bindings_p): True when no current_function_decl; no | |
1063 | longer check current_binding_level. | |
1064 | ||
1065 | 2004-08-09 Ben Brosgol <brosgol@gnat.com> | |
1066 | ||
1067 | * xgnatugn.adb: Added logic to deal with @ifset/@ifclear for edition | |
1068 | choice. | |
1069 | ||
1070 | * gnat_rm.texi, gnat_ugn.texi: Added edition conditionalization logic. | |
1071 | ||
160ff372 AS |
1072 | 2004-08-06 Andreas Schwab <schwab@suse.de> |
1073 | ||
1074 | * utils.c (gnat_define_builtin): Remove second parameter of | |
1075 | make_decl_rtl. | |
1076 | (begin_subprog_body): Likewise. | |
1077 | ||
615cbd95 AC |
1078 | 2004-07-26 Arnaud Charlet <charlet@act-europe.fr> |
1079 | ||
1080 | * sem_util.adb (Requires_Transient_Scope): Temporarily disable | |
1081 | optimization, not supported by the tree-ssa back-end. | |
1082 | ||
1083 | 2004-07-26 Olivier Hainque <hainque@act-europe.fr> | |
1084 | ||
1085 | * s-mastop-irix.adb: Update comments. | |
1086 | ||
1087 | * a-except.adb (Exception_Information): Raise Constraint_Error if | |
1088 | exception Id is Null_Id. | |
1089 | This is required behavior, which is more reliably and clearly checked | |
1090 | at the top level interface level. | |
1091 | ||
1092 | 2004-07-26 Javier Miranda <miranda@gnat.com> | |
1093 | ||
1094 | * exp_aggr.adb (Build_Array_Aggr_Code): Do not build the initialization | |
1095 | call if a component has no default_expression and the box is used. | |
1096 | ||
1097 | * sem_aggr.adb (Resolve_Array_Aggregate): If a component has no | |
1098 | default_expression and you use box, it behaves as if you had declared a | |
1099 | stand-alone object. | |
1100 | (Resolve_Record_Aggregate): If a component has no default_expression and | |
1101 | you use box, it behaves as if you had declared a stand-alone object. | |
1102 | ||
1103 | * sem_ch10.adb (Install_Siblings): Do not make visible the private | |
1104 | entities of private-with siblings. | |
1105 | ||
1106 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
1107 | ||
1108 | * sem_ch3.adb (Build_Underlying_Full_View): If this is the full view | |
1109 | for a component of an itype, set the parent pointer for analysis, | |
1110 | there is no list in which to insert it. | |
1111 | ||
1112 | * sem_res.adb (Resolve): Call Rewrite_Renamed_Operator only for | |
1113 | bona-fide renamings, not for inherited operations. | |
1114 | ||
1115 | * exp_ch4.adb (Expand_Allocator_Expression): If the allocator is an | |
1116 | actual for a formal that is an access parameter, create local | |
1117 | finalization list even if the expression is not an aggregate. | |
1118 | ||
1119 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
1120 | ||
1121 | PR ada/16213 | |
1122 | * sem_ch8.adb (Attribute_Renaming, Check_Library_Level_Renaming): | |
1123 | Diagnose properly illegal subprogram renamings that are library units. | |
1124 | ||
1125 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
1126 | ||
1127 | PR ada/15588 | |
1128 | * sem_util.adb (Is_OK_Variable_For_Out_Formal): If actual is a type | |
1129 | conversion rewritten as an unchecked conversion, check that original | |
1130 | expression is a variable. | |
1131 | ||
1132 | * exp_ch4.adb (Expand_N_Type_Conversion): If rewriting as an | |
1133 | unchecked_conversion, create new node rather than rewriting in place, | |
1134 | to preserve original construct. | |
1135 | ||
1136 | 2004-07-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
1137 | ||
1138 | * gigi.h (gnat_expand_body): Deleted. | |
1139 | ||
1140 | * Make-lang.in: (trans.o): Depends on function.h. | |
1141 | ||
1142 | * misc.c: (gnat_expand_body): Moved to here. | |
1143 | ||
1144 | * trans.c (gnat_expand_body_1): Deleted. | |
1145 | (gnat_expand_body): Moved from here. | |
1146 | (gnat_to_gnu): N_Implicit_Label_Declaration forces being in elab proc. | |
1147 | (add_stmt): Check for marked visited with global_bindings_p. | |
1148 | (gnat_gimplify_expr, case COMPONENT_REF): New case. | |
1149 | (gnat_gimplify_expr, case NULL_EXPR): Set TREE_NO_WARNING for temp. | |
1150 | ||
1151 | * utils2.c (build_binary_op, case MODIFY_EXPR): Put LHS in a | |
1152 | VIEW_CONVERT_EXPR if not operation type. | |
1153 | ||
1154 | * utils.c (update_pointer_to): Set DECL_ORIGINAL_FIELD for | |
1155 | fat pointer. | |
1156 | ||
1157 | * decl.c, cuintp.c, gigi.h, misc.c, trans.c, utils.c, utils2.c: Minor | |
1158 | changes: reformatting of negation operators, removing unneeded | |
1159 | inequality comparison with zero, converting equality comparisons with | |
1160 | zero to negations, changing int/0/1 to bool/false/true, replace calls | |
1161 | to gigi_abort with abort, and various other similar changes. | |
1162 | ||
1163 | 2004-07-26 Vincent Celier <celier@gnat.com> | |
1164 | ||
1165 | * gnatcmd.adb (GNATCmd): Add processing for new built-in command | |
1166 | "setup". | |
1167 | ||
1168 | * make.adb (Gnatmake): Fail when a library is not present and there is | |
1169 | no object directory. | |
1170 | ||
1171 | * mlib-prj.adb (Check_Library): No need to check if the library needs | |
1172 | to be rebuilt if there is no object directory, hence no object files | |
1173 | to build the library. | |
1174 | ||
1175 | * opt.ads (Setup_Projects): New Boolean flag. | |
1176 | ||
1177 | * prj-nmsc.adb (Locate_Directory): New parameter Project, Kind and | |
1178 | Location. | |
1179 | Create directory when Kind /= "" and in "gnat setup". Report error if | |
1180 | directory cannot be created. | |
1181 | (Ada_Check): Create library interface copy dir if it does not exist | |
1182 | and we are in "gnat setup". | |
1183 | (Find_Sources): No error if in "gnat setup" and no Ada sources were | |
1184 | found. | |
1185 | (Language_Independent_Check): Create object directory, exec directory | |
1186 | and/or library directory if they do not exist and we are in | |
1187 | "gnat setup". | |
1188 | ||
1189 | * vms_conv.ads: (Command_Type): New command Setup. | |
1190 | ||
1191 | * vms_conv.adb (Initialize): Add Setup component of Cammand_List. | |
1192 | ||
1193 | * vms_data.ads: Add qualifiers/switches for new built-in command | |
1194 | "setup". | |
1195 | ||
b785f485 RH |
1196 | 2004-07-25 Richard Henderson <rth@redhat.com> |
1197 | ||
1198 | * utils.c (create_subprog_decl): Set DECL_ARTIFICIAL and | |
1199 | DECL_IGNORED_P on RESULT_DECL. | |
1200 | ||
35ae2ed8 AC |
1201 | 2004-07-20 Olivier Hainque <hainque@act-europe.fr> |
1202 | ||
1203 | * a-elchha.adb (Last_Chance_Handler): Remove the bogus buffer dynamic | |
1204 | allocation and potentially overflowing update with | |
1205 | Tailored_Exception_Information. Use the sec-stack free procedural | |
1206 | interface to output Exception_Information instead. | |
1207 | ||
1208 | * a-except.adb (To_Stderr): New subprogram for character, and string | |
1209 | version moved from a-exextr to be visible from other separate units. | |
1210 | (Tailored_Exception_Information): Remove the procedural version, | |
1211 | previously used by the default Last_Chance_Handler and not any more. | |
1212 | Adjust various comments. | |
1213 | ||
1214 | * a-exexda.adb: Generalize the exception information procedural | |
1215 | interface, to minimize the use of secondary stack and the need for | |
1216 | local buffers when the info is to be output to stderr: | |
1217 | (Address_Image): Removed. | |
1218 | (Append_Info_Character): New subprogram, checking for overflows and | |
1219 | outputing to stderr if buffer to fill is of length 0. | |
1220 | (Append_Info_String): Output to stderr if buffer to fill is of length 0. | |
1221 | (Append_Info_Address, Append_Info_Exception_Name, | |
1222 | Append_Info_Exception_Message, Append_Info_Basic_Exception_Information, | |
1223 | Append_Info_Basic_Exception_Traceback, | |
1224 | Append_Info_Exception_Information): New subprograms. | |
1225 | (Append_Info_Nat, Append_Info_NL): Use Append_Info_Character. | |
1226 | (Basic_Exception_Info_Maxlength, Basic_Exception_Tback_Maxlength, | |
1227 | Exception_Info_Maxlength, Exception_Name_Length, | |
1228 | Exception_Message_Length): New subprograms. | |
1229 | (Exception_Information): Use Append_Info_Exception_Information. | |
1230 | (Tailored_Exception_Information): Use | |
1231 | Append_Info_Basic_Exception_Information. | |
1232 | Export services for the default Last_Chance_Handler. | |
1233 | ||
1234 | * a-exextr.adb (To_Stderr): Remove. Now in a-except to be usable by | |
1235 | other separate units. | |
1236 | ||
1237 | 2004-07-20 Vincent Celier <celier@gnat.com> | |
1238 | ||
1239 | * clean.adb, mlib-utl.adb, osint.adb, makegpr.adb: Minor reformatting. | |
1240 | ||
1241 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
1242 | ||
1243 | * freeze.adb (Freeze_Entity): If entity is a discriminated record type, | |
1244 | emit itype references for the designated types of component types that | |
1245 | are declared outside of the full record declaration, and that may | |
1246 | denote a partial view of that record type. | |
1247 | ||
1248 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
1249 | ||
1250 | PR ada/15607 | |
1251 | * sem_ch3.adb (Build_Discriminated_Subtype): Do not attach a subtype | |
1252 | which is the designated type in an access component declaration, to the | |
1253 | list of incomplete dependents of the parent type, to avoid elaboration | |
1254 | issues with out-of-scope subtypes. | |
1255 | (Complete_Private_Subtype): Recompute Has_Unknown_Discriminants from the | |
1256 | full view of the parent. | |
1257 | ||
1258 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
1259 | ||
1260 | PR ada/15610 | |
1261 | * sem_ch8.adb (Find_Expanded_Name): If name is overloaded, reject | |
1262 | entities that are hidden, such as references to generic actuals | |
1263 | outside an instance. | |
1264 | ||
1265 | 2004-07-20 Javier Miranda <miranda@gnat.com> | |
1266 | ||
1267 | * sem_ch4.adb (Try_Object_Operation): New subprogram that gives | |
1268 | support to the new notation. | |
1269 | (Analyze_Selected_Component): Add call to Try_Object_Operation. | |
1270 | ||
1271 | 2004-07-20 Jose Ruiz <ruiz@act-europe.fr> | |
1272 | ||
1273 | * s-taprob.adb: Adding the elaboration code required for initializing | |
1274 | the tasking soft links that are common to the full and the restricted | |
1275 | run times. | |
1276 | ||
1277 | * s-tarest.adb (Init_RTS): Tasking soft links that are shared with the | |
1278 | restricted run time has been moved to the package | |
1279 | System.Soft_Links.Tasking. | |
1280 | ||
1281 | * s-tasini.adb (Init_RTS): Tasking soft links that are shared with the | |
1282 | restricted run time has been moved to the package | |
1283 | System.Soft_Links.Tasking. | |
1284 | ||
1285 | * Makefile.rtl: Add entry for s-solita.o in run-time library list. | |
1286 | ||
1287 | * s-solita.ads, s-solita.adb: New files. | |
1288 | ||
1289 | 2004-07-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
1290 | ||
1291 | * trans.c (Identifier_to_gnu, Pragma_to_gnu, Attribute_to_gnu, | |
1292 | Case_Statement_to_gnu): Split off from gnat_to_gnu. | |
1293 | (Loop_Statement_to_gnu, Subprogram_Body_to_gnu, call_to_gnu, | |
1294 | Handled_Sequence_Of_Statements_to_gnu, Exception_Handler_to_gnu_sjlj, | |
1295 | Exception_Handler_to_gnu_zcx): Likewise. | |
1296 | ||
6e34d3a3 JM |
1297 | 2004-07-17 Joseph S. Myers <jsm@polyomino.org.uk> |
1298 | ||
1299 | * gigi.h (builtin_function): Declare. | |
1300 | ||
523456db AC |
1301 | 2004-07-15 Robert Dewar <dewar@gnat.com> |
1302 | ||
1303 | * makegpr.adb, s-secsta.ads, sem_ch3.adb, sem_case.adb: Minor | |
1304 | reformatting | |
1305 | ||
1306 | * gnat_ugn.texi: Add instantiation of direct_io or sequential_io with | |
1307 | access values as an example of a warning. | |
1308 | ||
1309 | * gnat_rm.texi: Document new attribute Has_Access_Values | |
1310 | ||
1311 | * gnat-style.texi: Document that box comments belong on nested | |
1312 | subprograms | |
1313 | ||
1314 | * sem_util.ads (Has_Access_Values): Improved documentation | |
1315 | ||
1316 | * s-finimp.ads, s-finimp.adb: Fix spelling error in comment | |
1317 | ||
1318 | * sem_prag.adb (Check_Duplicated_Export_Name): New procedure | |
1319 | (Process_Interface_Name): Call to this new procedure | |
1320 | (Set_Extended_Import_Export_External_Name): Call to this new procedure | |
1321 | ||
1322 | * s-mastop-x86.adb, 9drpc.adb: Fix spelling error in comment | |
1323 | ||
1324 | * a-direio.ads, a-sequio.ads: Warn if Element_Type has access values | |
1325 | ||
1326 | * einfo.ads: Minor comment typo fixed | |
1327 | ||
1328 | 2004-07-15 Jose Ruiz <ruiz@act-europe.fr> | |
1329 | ||
1330 | * snames.adb: Add _atcb. | |
1331 | ||
1332 | * snames.ads: Add Name_uATCB. | |
1333 | ||
1334 | * s-tarest.adb (Create_Restricted_Task): ATCBs are always preallocated | |
1335 | (in the expanded code) when using the restricted run time. | |
1336 | ||
1337 | * s-tarest.ads (Create_Restricted_Task): Created_Task transformed into | |
1338 | a in parameter in order to allow ATCBs to be preallocated (in the | |
1339 | expanded code). | |
1340 | ||
1341 | * s-taskin.adb (Initialize_ATCB): T converted into a in parameter in | |
1342 | order to allow ATCBs to be preallocated. In case of error, the ATCB is | |
1343 | deallocated in System.Tasking.Stages. | |
1344 | ||
1345 | * s-taskin.ads (Initialize_ATCB): T converted into a in parameter in | |
1346 | order to allow ATCBs to be preallocated. | |
1347 | ||
1348 | * s-tassta.adb (Create_Task): In case of error the ATCB is deallocated | |
1349 | here. It was previously done in Initialize_ATCB. | |
1350 | ||
1351 | * rtsfind.ads: Make the Ada_Task_Control_Block visible. | |
1352 | ||
1353 | * exp_ch9.adb: Preallocate the Ada_Task_Control_Block when using the | |
1354 | Restricted run time. | |
1355 | ||
1356 | * exp_ch3.adb: When using the Restricted run time, pass the | |
1357 | preallocated Ada_Task_Control_Block when creating a task. | |
1358 | ||
1359 | 2004-07-15 Ed Schonberg <schonberg@gnat.com> | |
1360 | ||
1361 | * sem_util.adb (Normalize_Actuals): If there are no actuals on a | |
1362 | function call that is itself an actual in an enclosing call, diagnose | |
1363 | problem here rather than assuming that resolution will catch it. | |
1364 | ||
1365 | * sem_ch7.adb (Analyze_Package_Specification): If the specification is | |
1366 | the local copy of a generic unit for a formal package, and the generic | |
1367 | is a child unit, install private part of ancestors before compiling | |
1368 | private part of spec. | |
1369 | ||
1370 | * sem_cat.adb (Validate_Categorization_Dependency): Simplify code to | |
1371 | use scope entities rather than tree structures, to handle properly | |
1372 | parent units that are instances rewritten as bodies for inlining | |
1373 | purposes. | |
1374 | ||
1375 | * sem_ch10.adb (Get_Parent_Entity, Implicit_With_On_Parent, | |
1376 | Remove_Parents): Handle properly a parent unit that is an | |
1377 | instantiation, when the unit has been rewritten as a body for inlining | |
1378 | purposes. | |
1379 | ||
1380 | * par.adb (Goto_List): Global variable to collect goto statements in a | |
1381 | given unit, for use in detecting natural loops. | |
1382 | ||
1383 | * par-ch5.adb (P_Goto_Statement): Add goto to global Goto_List, for | |
1384 | use in detecting natural loops. | |
1385 | ||
1386 | * par-labl.adb (Find_Natural_Loops): Recognize loops create by | |
1387 | backwards goto's, and rewrite as a infinite loop, to improve locality | |
1388 | of temporaries. | |
1389 | ||
1390 | * exp_util.adb (Force_Evaluation): Recognize a left-hand side | |
1391 | subcomponent that includes an indexed reference, to prevent the | |
1392 | generation of copies that would miscompile the desired assignment | |
1393 | statement. | |
1394 | (Build_Task_Image_Decls): Add a numeric suffix to | |
1395 | generated name for string variable, to avoid spurious conflicts with | |
1396 | the name of the type of a single protected object. | |
1397 | ||
1398 | * exp_ch4.adb (Expand_Array_Equality): If indices are distinct, use a | |
1399 | loop with an explicit exit statement, to avoid generating an | |
1400 | out-of-range value with 'Succ leading to spurious constraint_errors | |
1401 | when compiling with -gnatVo. | |
1402 | ||
1403 | 2004-07-15 Thomas Quinot <quinot@act-europe.fr> | |
1404 | ||
1405 | * sem_ch4.adb (Analyze_Slice): Always call Analyze on the prefix: it | |
1406 | might not be analyzed yet, even if its Etype is already set (case of an | |
1407 | unchecked conversion built using Unchecked_Convert_To, for example). | |
1408 | If the prefix has already been analyzed, this will be a nop anyway. | |
1409 | ||
1410 | * exp_ch5.adb (Make_Tag_Ctrl_Assignment): For an assignment of a | |
1411 | controller type, or an assignment of a record type with controlled | |
1412 | components, copy only user data, and leave the finalization chain | |
1413 | pointers untouched. | |
1414 | ||
1415 | 2004-07-15 Vincent Celier <celier@gnat.com> | |
1416 | ||
1417 | * make.adb (Collect_Arguments): Improve error message when attempting | |
1418 | to compile a source not part of any project, when -x is not used. | |
1419 | ||
1420 | * prj.ads: (Defined_Variable_Kind): New subtype | |
1421 | ||
1422 | * prj-attr.adb (Register_New_Package): Two new procedures to register | |
1423 | a package with or without its attributes. | |
1424 | (Register_New_Attribute): Mew procedure to register a new attribute in a | |
1425 | package. | |
1426 | New attribute oriented subprograms: Attribute_Node_Id_Of, | |
1427 | Attribute_Kind_Of, Set_Attribute_Kind_Of, Attribute_Name_Of, | |
1428 | Variable_Kind_Of, Set_Variable_Kind_Of, Optional_Index_Of, | |
1429 | Next_Attribute. | |
1430 | New package oriented subprograms: Package_Node_Id_Of, | |
1431 | Add_Unknown_Package, First_Attribute_Of, Add_Attribute. | |
1432 | ||
1433 | * prj-attr.ads (Attribute_Node_Id): Now a private, self initialized | |
1434 | type. | |
1435 | (Package_Node_Id): Now a private, self initialized type | |
1436 | (Register_New_Package): New procedure to register a package with its | |
1437 | attributes. | |
1438 | New attribute oriented subprograms: Attribute_Node_Id_Of, | |
1439 | Attribute_Kind_Of, Set_Attribute_Kind_Of, Attribute_Name_Of, | |
1440 | Variable_Kind_Of, Set_Variable_Kind_Of, Optional_Index_Of, | |
1441 | Next_Attribute. | |
1442 | New package oriented subprograms: Package_Node_Id_Of, | |
1443 | Add_Unknown_Package, First_Attribute_Of, Add_Attribute. | |
1444 | ||
1445 | * prj-dect.adb (Parse_Attribute_Declaration, | |
1446 | Parse_Package_Declaration): Adapt to new spec of Prj.Attr. | |
1447 | ||
1448 | * prj-makr.adb (Make): Parse existing project file before creating | |
1449 | other files. Fail if there was an error during parsing. | |
1450 | ||
1451 | * prj-proc.adb (Add_Attributes, Process_Declarative_Items): Adapt to | |
1452 | new spec of Prj.Attr. | |
1453 | ||
1454 | * prj-strt.adb (Attribute_Reference, Parse_Variable_Reference): Adapt | |
1455 | to new spec of Prj.Attr. | |
1456 | ||
1457 | 2004-07-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
1458 | ||
1459 | * utils2.c: Fix typo in comment. | |
1460 | ||
1461 | 2004-07-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
54805e13 RK |
1462 | |
1463 | * trans.c (add_decl_expr): Clear TREE_READONLY if clear DECL_INITIAL. | |
1464 | * utils.c (unchecked_convert): Don't do two VIEW_CONVERT_EXPRs. | |
1465 | ||
a1c7af89 AS |
1466 | 2004-07-14 Andreas Schwab <schwab@suse.de> |
1467 | ||
1468 | * trans.c (gnat_init_stmt_group): Remove duplicate definition. | |
1469 | ||
a5cb3b30 AC |
1470 | 2004-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1471 | ||
1472 | * decl.c: (gnat_to_gnu_entity, object case): Convert initializer to | |
1473 | object type. | |
1474 | (gnat_to_gnu_entity, case E_Record_Subtype): Properly set | |
1475 | TYPE_STUB_DECL. | |
1476 | ||
1477 | * misc.c (gnat_types_compatible_p): New function. | |
1478 | (LANG_HOOKS_TYPES_COMPATIBLE_P): New hook, to use it. | |
1479 | (LANG_HOOKS_TYPE_MAX_SIZE, gnat_type_max_size): New. | |
1480 | ||
1481 | * trans.c (gigi): Move processing of main N_Compilation_Unit here. | |
1482 | (gnat_to_gnu, case N_Compilation_Unit): Just handle nested case here. | |
1483 | (add_stmt): Force walking of sizes and DECL_INITIAL for DECL_EXPR. | |
1484 | (mark_visited): Don't mark dummy type. | |
6615c446 | 1485 | (tree_transform <N_Procedure_Call_Statement>): Unless this is an In |
a5cb3b30 AC |
1486 | parameter, we must remove any LJM building from GNU_NAME. |
1487 | (gnat_to_gnu, case N_String_Literal): Fill in indices in CONSTRUCTOR. | |
1488 | (pos_to_constructor): Use int_const_binop. | |
1489 | (gnat_to_gnu, case N_Identifier): Don't reference DECL_INITIAL of | |
1490 | PARM_DECL. | |
1491 | ||
1492 | * utils.c (gnat_init_decl_processing): Don't make two "void" decls. | |
1493 | (gnat_pushlevel): Set TREE_USE on BLOCK node. | |
1494 | (gnat_install_builtins): Add __builtin_memset. | |
1495 | ||
1496 | 2004-07-13 Olivier Hainque <hainque@act-europe.fr> | |
1497 | ||
1498 | * decl.c (gnat_to_gnu_entity <E_Variable>): If we are making a pointer | |
1499 | for a renaming, stabilize the initialization expression if we are at a | |
1500 | local level. At the local level, uses of the renaming may be performed | |
1501 | by a direct dereference of the initializing expression, and we don't | |
1502 | want possible variables there to be evaluated for every use. | |
1503 | ||
1504 | * trans.c (gnat_stabilize_reference, gnat_stabilize_reference_1): | |
1505 | Propagate TREE_SIDE_EFFECTS and TREE_THIS_VOLATILE to avoid loosing | |
1506 | them on the way. Account for the fact that we may introduce side | |
1507 | effects in the process. | |
1508 | ||
0976078c RH |
1509 | 2004-07-13 Richard Henderson <rth@redhat.com> |
1510 | ||
1511 | * misc.c (default_pass_by_ref): Use pass_by_reference. | |
1512 | ||
9dcf6e73 JM |
1513 | 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk> |
1514 | ||
1515 | * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK, LANG_HOOKS_PUSHLEVEL, | |
1516 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK): Remove. | |
1517 | ||
ac45df5d RH |
1518 | 2004-07-08 Richard Henderson <rth@redhat.com> |
1519 | ||
1520 | * trans.c (gnat_to_gnu <N_Handled_Sequence_Of_Statements>): Update | |
1521 | commentary. | |
1522 | ||
15ce9ca2 AC |
1523 | 2004-07-06 Vincent Celier <celier@gnat.com> |
1524 | ||
1525 | * vms_conv.ads: Minor reformatting. | |
1526 | Alphabetical order for enumerated values of type Command_Type, to have | |
1527 | the command in alphabetical order for the usage. | |
1528 | ||
1529 | * vms_conv.adb (Process_Argument): Set Keep_Temporary_Files to True for | |
1530 | the special qualifier /KEEP_TEMPORARY_FILES (minimum 6 characters). | |
1531 | ||
1532 | * gnat_ugn.texi: Document new switch -dn for the GNAT driver. | |
1533 | ||
1534 | * makegpr.adb (Global_Archive_Exists): New global Boolean variable | |
1535 | (Add_Archive_Path): Only add the global archive if there is one. | |
1536 | (Build_Global_Archive): Set Global_Archive_Exists depending if there is | |
1537 | or not any object file to put in the global archive, and don't build | |
1538 | a global archive if there is none. | |
1539 | (X_Switches): New table | |
1540 | (Compile_Link_With_Gnatmake): Pass to gnatmake the -X switches stored | |
1541 | in the X_Switches table, if any. | |
1542 | (Initialize): Make sure the X_Switches table is empty | |
1543 | (Scan_Arg): Record -X switches in table X_Switches | |
1544 | ||
1545 | * opt.ads (Keep_Temporary_Files): New Boolean flag, defaulted to False. | |
1546 | ||
1547 | * make.adb: Minor comment fix | |
1548 | ||
1549 | * gnatname.adb (Gnatname): When not on VMS, and gnatname has been | |
1550 | invoked with directory information, add the directory in front of the | |
1551 | path. | |
1552 | ||
1553 | * gnatchop.adb (Gnatchop): When not on VMS, and gnatchop has been | |
1554 | invoked with directory information, add the directory in front of the | |
1555 | path. | |
1556 | ||
1557 | * gnatcmd.adb (Delete_Temp_Config_Files): Only delete temporary files | |
1558 | when Keep_Temporary_Files is False. | |
1559 | (GNATCmd): When not on VMS, and the GNAT driver has been invoked with | |
1560 | directory information, add the directory in front of the path. | |
1561 | When not on VMS, handle new switch -dn before the command to set | |
1562 | Keep_Temporary_Files to True. | |
1563 | (Non_VMS_Usage): Use lower case for the non VMS usage: this is valid | |
1564 | everywhere. | |
1565 | ||
1566 | * gnatlink.adb (Gnatlink): When not on VMS, and gnatlink has been | |
1567 | invoked with directory information, add the directory in front of the | |
1568 | path. | |
1569 | ||
1570 | 2004-07-06 Thomas Quinot <quinot@act-europe.fr> | |
1571 | ||
1572 | * snames.ads, snames.adb (Name_Stub): New name for the distributed | |
1573 | systems annex. | |
1574 | ||
1575 | * rtsfind.ads: New RTE TC_Object, for DSA/PolyORB. | |
1576 | New RTEs RAS_Proxy_Type and RAS_Proxy_Type_Access, for DSA. | |
1577 | ||
1578 | * g-socket.adb (To_Timeval): Fix incorrect conversion of | |
1579 | Selector_Duration to Timeval for the case of 0.0. | |
1580 | ||
1581 | * exp_util.ads (Evolve_Or_Else): Fix overenthusiastic copy/paste of | |
1582 | documentation from Evolve_And_Then. | |
1583 | ||
1584 | 2004-07-06 Jose Ruiz <ruiz@act-europe.fr> | |
1585 | ||
1586 | * s-taprop-tru64.adb, s-taprop-os2.adb, | |
1587 | s-taprop-mingw.adb, s-taprop-posix.adb: Update comment. | |
1588 | ||
1589 | 2004-07-06 Robert Dewar <dewar@gnat.com> | |
1590 | ||
1591 | * s-osinte-hpux.ads, s-osinte-freebsd.ads, | |
1592 | s-osinte-lynxos.ads, s-taprop-lynxos.adb, s-osinte-tru64.ads, | |
1593 | s-osinte-aix.ads, s-osinte-irix.ads, s-taprop-irix.adb, | |
1594 | s-interr-sigaction.adb, s-taprop-irix-athread.adb, | |
1595 | s-osinte-hpux-dce.adb, s-taprop-hpux-dce.adb, | |
1596 | s-taprop-linux.adb, s-taprop-dummy.adb, s-taprop-solaris.adb, | |
1597 | s-interr-vms.adb, s-osinte-vms.ads, s-taprop-vms.adb, | |
1598 | s-osinte-vxworks.ads, s-osprim-vxworks.adb, a-numaux-x86.adb, | |
1599 | a-except.adb, a-exexpr.adb, a-intsig.adb, a-tags.adb, | |
1600 | a-tags.ads, bindgen.ads, checks.adb, checks.adb, | |
1601 | csets.ads, einfo.ads, einfo.ads, elists.adb, exp_ch4.adb, | |
1602 | exp_ch7.adb, exp_dist.adb, exp_util.adb, freeze.adb, | |
1603 | g-dynhta.adb, gnatmem.adb, g-regexp.adb, inline.adb, | |
1604 | i-os2thr.ads, osint.adb, prj.adb, scng.adb, sem_cat.adb, | |
1605 | sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, sem_ch7.adb, | |
1606 | sem_ch8.adb, sem_disp.adb, sem_prag.adb, sem_res.adb, | |
1607 | sem_type.adb, sem_type.ads, sem_warn.adb, s-ficobl.ads, | |
1608 | s-finimp.adb, s-htable.adb, sinfo.ads, sinput-l.ads, | |
1609 | s-interr.adb, s-interr.ads, sprint.adb, s-tarest.adb, | |
1610 | s-tasini.ads, s-taskin.ads, s-taskin.ads, uname.adb, | |
1611 | vms_data.ads: Minor reformatting, | |
1612 | Fix bad box comment format. | |
1613 | ||
1614 | * gnat_rm.texi: Fix minor grammatical error | |
1615 | ||
1616 | * sem_attr.adb, exp_attr.adb: New attribute Has_Access_Values | |
1617 | ||
1618 | * sem_util.ads, sem_util.adb (Requires_Transient_Scope): Allow many | |
1619 | more cases of discriminated records to be recognized as not needing a | |
1620 | secondary stack. | |
1621 | (Has_Access_Values): New function. | |
1622 | ||
1623 | * snames.h, snames.adb, snames.ads: New attribute Has_Access_Values | |
1624 | ||
1625 | * cstand.adb, layout.ads, layout.adb, sem_ch13.ads: Change name | |
1626 | Set_Prim_Alignment to Set_Elem_Alignment (more accurate correspondence | |
1627 | with LRM terminology). | |
1628 | Change terminology in comments primitive type => elementary type. | |
1629 | ||
1630 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
1631 | ||
1632 | PR ada/15602 | |
1633 | * sem_ch7.adb (Unit_Requires_Body): For a generic package, the formal | |
1634 | parameters do not impose any requirements on the presence of a body. | |
1635 | ||
1636 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
1637 | ||
1638 | PR ada/15593 | |
1639 | * sem_ch12.adb (Analyze_Package_Instantiation): If the generic is not a | |
1640 | compilation unit and is in an open scope at the point of instantiation, | |
1641 | assume that a body may be present later. | |
1642 | ||
1643 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
1644 | ||
1645 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case 'Size): | |
1646 | Improve error message when specified size is not supported. | |
1647 | ||
1648 | * sem_ch6.adb (Maybe_Primitive_Operation): A library-level subprogram | |
1649 | is never a primitive operation. | |
1650 | ||
cb42deba AS |
1651 | 2004-07-05 Andreas Schwab <schwab@suse.de> |
1652 | ||
1653 | * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Use | |
1654 | RECORD_OR_UNION_CHECK. | |
1655 | (TYPE_CONTAINS_TEMPLATE_P): Likewise. | |
1656 | ||
98877933 KC |
1657 | 2004-07-04 Kelley Cook <kcook@gcc.gnu.org> |
1658 | ||
1659 | * Make-lang.in (doc/gnat_ugn_unw.texi): Eliminate explicit | |
1660 | dependency on xgnatugn, instead build it via a submake. | |
1661 | (ADA_INFOFILES): Add doc/gnat_ugn_unw.texi. | |
1662 | ||
8fff4fc1 RH |
1663 | 2004-07-04 Richard Henderson <rth@redhat.com> |
1664 | ||
1665 | * utils2.c (gnat_mark_addressable): Don't put_var_into_stack. | |
1666 | ||
4dfa0342 RH |
1667 | 2004-07-01 Richard Henderson <rth@redhat.com> |
1668 | ||
1669 | * trans.c (gnat_stabilize_reference): Don't handle RTL_EXPR. | |
1670 | * utils.c (max_size): Likewise. | |
1671 | ||
909f21b3 RK |
1672 | 2004-06-28 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1673 | ||
1674 | * decl.c: Remove calls to add_decl_expr, pushdecl, rest_of_compilation, | |
1675 | and rest_of_type_compilation; add arg to create_*_decl. | |
1676 | (annotate_decl_with_node): Deleted. | |
1677 | (gnat_to_gnu_entity, case E_Array_Type): Set location of fields. | |
1678 | * gigi.h (get_decls, block_has_vars, pushdecl): Deleted. | |
1679 | (get_current_block_context, gnat_pushdecl): New declarations. | |
1680 | (gnat_init_stmt_group): Likewise. | |
1681 | (create_var_decl, create_type_decl, create_subprog_decl): Add new arg. | |
1682 | * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK): Deleted. | |
1683 | (LANG_HOOKS_GETDECLS, LANG_HOOKS_PUSHDECL): Deleted. | |
1684 | (gnat_init): Call gnat_init_stmt_group. | |
1685 | * trans.c (global_stmt_group, gnu_elab_proc_decl): New variables. | |
1686 | (gnu_pending_elaboration_list): Deleted. | |
1687 | (mark_visited, mark_unvisited, gnat_init_stmt_group): New functions. | |
1688 | (gigi): Rearrange initialization calls and move some to last above. | |
1689 | (gnat_to_gnu): If statement and not in procedure, go into elab proc. | |
1690 | Delete calls to add_decl_expr; add arg to create_*_decl. | |
1691 | (gnat_to_gnu, case N_Loop): Recalculate side effects on COND_EXPR. | |
6615c446 | 1692 | (gnat_to_gnu, case N_Subprogram_Body): Move some code to |
909f21b3 RK |
1693 | begin_subprog_body and call it. |
1694 | Don't push and pop ggc context. | |
1695 | (gnat_to_gnu, case N_Compilation_Unit): Rework to support elab proc. | |
1696 | (add_stmt): Remove handling of DECL_EXPR from here. | |
1697 | If not in function, mark visited. | |
1698 | (add_decl_expr): Put global at top level. | |
1699 | Check for cases of DECL_INITIAL we have to handle here. | |
1700 | (process_type): Add extra arg to create_type_decl. | |
1701 | (build_unit_elab): Rework to just gimplify. | |
1702 | * utils.c (pending_elaborations, elist_stack, getdecls): Deleted. | |
1703 | (block_has_vars, mark_visited, add_pending_elaborations): Likewise. | |
1704 | (get_pending_elaborations, pending_elaborations_p): Likewise. | |
1705 | (push_pending_elaborations, pop_pending_elaborations): Likewise. | |
1706 | (get_elaboration_location, insert_elaboration_list): Likewise. | |
1707 | (gnat_binding_level): Renamed from ada_binding_level. | |
1708 | (init_gnat_to_gnu): Don't clear pending_elaborations. | |
1709 | (global_bindings_p): Treat as global if no current_binding_level. | |
1710 | (set_current_block_context): New function. | |
1711 | (gnat_pushdecl): Renamed from pushdecl; major rework. | |
1712 | All callers changed. | |
1713 | (create_type_decl, create_var_decl, create_subprog_decl): Add new arg. | |
1714 | (finish_record_type): Call call pushdecl for stub decl. | |
1715 | (function_nesting_depth): Deleted. | |
1716 | (begin_subprog_body): Delete obsolete code. | |
1717 | * utils2.c (build_call_alloc_dealloc): Add new arg to create_var_decl. | |
6615c446 | 1718 | |
246d2ceb AC |
1719 | 2004-06-28 Robert Dewar <dewar@gnat.com> |
1720 | ||
1721 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, | |
1722 | mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb, | |
1723 | mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-solaris.adb, | |
1724 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, | |
1725 | a-strmap.adb, a-strmap.ads, clean.adb: Minor reformatting | |
1726 | ||
1727 | * exp_util.adb (Is_Possibly_Unaligned_Slice): Completely rewritten, to | |
1728 | deal with problem of inefficient slices on machines with strict | |
1729 | alignment, when the slice is a component of a composite. | |
1730 | ||
1731 | * checks.adb (Apply_Array_Size_Check): Do not special case 64-bit | |
1732 | machines, we need the check there as well. | |
1733 | ||
1734 | 2004-06-28 Ed Schonberg <schonberg@gnat.com> | |
1735 | ||
1736 | * exp_ch5.adb (Expand_Assign_Array): Use correct condition to | |
1737 | determine safe copying direction for overlapping slice assignments | |
1738 | when component is controlled. | |
1739 | ||
1740 | * sem_ch12.adb (Instantiate_Formal_Package): Implicit operations of a | |
1741 | formal derived type in the actual for a formal package are visible in | |
1742 | the enclosing instance. | |
1743 | ||
1744 | 2004-06-28 Ed Schonberg <schonberg@gnat.com> | |
1745 | ||
1746 | PR ada/15600 | |
1747 | * sem_util.adb (Trace_Components): Diagnose properly an illegal | |
1748 | circularity involving a private type whose completion includes a | |
1749 | self-referential component. | |
1750 | (Enter_Name): Use Is_Inherited_Operation to distinguish a source | |
1751 | renaming or an instantiation from an implicit derived operation. | |
1752 | ||
1753 | 2004-06-28 Pascal Obry <obry@gnat.com> | |
1754 | ||
1755 | * mlib-tgt-mingw.adb: (Library_Exists_For): Remove "lib" prefix from | |
1756 | DLL. | |
1757 | (Library_File_Name_For): Idem. | |
1758 | ||
1759 | 2004-06-28 Matthew Gingell <gingell@gnat.com> | |
1760 | ||
1761 | * g-traceb.ads: Add explanatory note on the format of addresses | |
1762 | expected by addr2line. | |
1763 | ||
1764 | 2004-06-28 Jerome Guitton <guitton@act-europe.fr> | |
1765 | ||
1766 | * Makefile.in: Force debugging information on s-tasdeb.adb, | |
1767 | a-except.adb and s-assert.adb needed by the debugger. | |
1768 | ||
1769 | 2004-06-28 Vincent Celier <celier@gnat.com> | |
1770 | ||
1771 | * make.adb (Collect_Arguments_And_Compile): Change Flag1 to | |
1772 | Need_To_Build_Lib. | |
1773 | (Gnatmake): Ditto. | |
1774 | ||
1775 | * mlib-prj.adb (Check_Library): Replace Flag1 with Need_To_Build_Lib | |
1776 | ||
1777 | * prj.adb: Minor reformatting | |
1778 | (Project_Empty): Change Flag1 to Need_To_Build_Lib. Remove Flag2. | |
1779 | ||
1780 | * prj.ads: Comment updates | |
1781 | Minor reformatting | |
1782 | (Project_Data): Change Flag1 to Need_To_Build_Lib. | |
1783 | Remove Flag2: not used. | |
1784 | ||
1785 | * prj-dect.adb (Parse_Declarative_Items): Accept "null" as a | |
1786 | declaration. | |
1787 | ||
1788 | * gnat_ugn.texi: Put a "null;" declaration in one project file example | |
1789 | ||
1790 | * gnat_rm.texi: Document Empty declarations "null;". | |
1791 | ||
1792 | * makegpr.adb (Compile_Link_With_Gnatmake): Put the global archives in | |
1793 | front of the linker options. | |
1794 | (Link_Foreign): Put the global archives and the libraries in front of | |
1795 | the linker options. | |
1796 | ||
1797 | 2004-06-28 Javier Miranda <miranda@gnat.com> | |
1798 | ||
1799 | * rtsfind.adb: (Get_Unit_Name): Fix typo in comment | |
1800 | (RTU_Loaded): Code cleanup | |
1801 | (Set_RTU_Loaded): New procedure to register as *loaded* explicitly | |
1802 | withed predefined units. | |
1803 | ||
1804 | * rtsfind.ads (Set_RTU_Loaded): New procedure to register as *loaded* | |
1805 | explicitly withed predefined units. | |
1806 | Fix typo in comment | |
1807 | ||
1808 | * sem_ch10.adb (Analyze_Compilation_Unit): Register as *loaded* | |
1809 | explicitly withed predefined units. | |
1810 | ||
bce3da32 RK |
1811 | 2004-06-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1812 | ||
1813 | * ada-tree.def (DECL_STMT): Deleted. | |
1814 | * ada-tree.h (IS_ADA_STMT): Now test against STMT_STMT. | |
1815 | (DECL_STMT_VAR): Deleted. | |
1816 | * decl.c: add_decl_stmt now add_decl_expr. | |
1817 | * gigi.h: Likewise. | |
1818 | * trans.c: Likewise. | |
1819 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted. | |
1820 | (gnat_to_gnu, case N_Subprogram_Body): Set cfun->function_end_locus. | |
1821 | (add_stmt): Only handle padded type here. | |
1822 | (add_stmt_with_node): Allow gnat_node to not be present. | |
1823 | (gnat_gimplify_stmt, case USE_STMT): Set *STMT_P to null. | |
1824 | (gnat_gimplify_stmt, case DECL_STMT): Deleted. | |
1825 | (gnat_stabilize_reference_1): If COMPONENT_REF of fat pointer, | |
1826 | make a SAVE_EXPR for the entire fat pointer. | |
1827 | * utils.c (pushdecl): Walk a DECL_EXPR in global case. | |
1828 | (create_index_type): Make a DECL_EXPR. | |
1829 | (end_subprog_body): Don't call allocate_struct_function here but | |
1830 | do clear cfun. | |
1831 | ||
0da2c8ac AC |
1832 | 2004-06-25 Pascal Obry <obry@gnat.com> |
1833 | ||
1834 | * makegpr.adb (Build_Library): Remove parameter Lib_Address and | |
1835 | Relocatable from Build_Dynamic_Library call. | |
1836 | ||
1837 | * gnat_ugn.texi: Change documentation about Library_Kind. Dynamic and | |
1838 | Relocatable are now synonym. | |
1839 | ||
1840 | * Makefile.in: Use s-parame-mingw.adb on MingW platform. | |
1841 | ||
1842 | * mlib-prj.adb (Build_Library): Remove DLL_Address constant definition. | |
1843 | Remove parameter Lib_Address and Relocatable from Build_Dynamic_Library | |
1844 | call. | |
1845 | ||
1846 | * mlib-tgt.ads, mlib-tgt.adb (Build_Dynamic_Library): Remove parameter | |
1847 | Lib_Address and Relocatable. | |
1848 | (Default_DLL_Address): Removed. | |
1849 | ||
6615c446 JO |
1850 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, |
1851 | mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, | |
0da2c8ac AC |
1852 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-vxworks.adb: |
1853 | (Build_Dynamic_Library): Remove parameter Lib_Address and Relocatable. | |
1854 | (Default_DLL_Address): Removed. | |
1855 | ||
1856 | * mlib-tgt-mingw.adb: Ditto. | |
1857 | (Build_Dynamic_Library): Do not add "lib" prefix to the DLL name. | |
1858 | ||
1859 | * s-taprop-mingw.adb (Create_Task): Use Adjust_Storage_Size to compute | |
1860 | the initial thread stack size. | |
1861 | ||
1862 | * a-strmap.ads: Move package L to private part as it is not used in | |
1863 | the spec. Found while reading code. | |
1864 | ||
1865 | 2004-06-25 Olivier Hainque <hainque@act-europe.fr> | |
1866 | ||
1867 | * tracebak.c: Introduce support for a GCC infrastructure based | |
1868 | implementation of __gnat_backtrace. | |
1869 | ||
1870 | * raise.c: Don't rely on a C mapping of the GNAT_GCC_Exception record | |
1871 | any more. Use accessors instead. This eases maintenance and relaxes | |
1872 | some alignment constraints. | |
1873 | (_GNAT_Exception structure): Remove the Ada specific fields | |
1874 | (EID_For, Adjust_N_Cleanups_For): New accessors, exported by | |
1875 | a-exexpr.adb. | |
1876 | (is_handled_by, __gnat_eh_personality): Replace component references to | |
1877 | exception structure by use of the new accessors. | |
1878 | ||
1879 | * init.c (__gnat_initialize): Adjust comments to match the just | |
1880 | reverted meaning of the -static link-time option. | |
1881 | ||
1882 | * adaint.c (convert_addresses): Arrange not to define a stub for | |
1883 | mips-irix any more, as we now want to rely on a real version from a | |
1884 | recent libaddr2line. | |
1885 | ||
1886 | * a-exexpr.adb: Provide new accessors to a GNAT_GCC occurrence, so that | |
1887 | the personality routine can use them and not have to rely on a C | |
1888 | counterpart of the record anymore. This simplifies maintenance and | |
1889 | relaxes the constraint of having Standard'Maximum_Alignment match | |
1890 | BIGGEST_ALIGNMENT. | |
1891 | Update comments, and add a section on the common header alignment issue. | |
1892 | ||
1893 | 2004-06-25 Geert Bosch <bosch@gnat.com> | |
1894 | ||
1895 | * a-ngelfu.adb (Tanh): Use full 20 digit precision for constants in | |
1896 | polynomial approximation. Fixes inconsistency with Cody/Waite algorithm. | |
1897 | ||
1898 | 2004-06-25 Robert Dewar <dewar@gnat.com> | |
1899 | ||
1900 | * gnat_rm.texi: Fix section on component clauses to indicate that the | |
1901 | restriction on byte boundary placement still applies for bit packed | |
1902 | arrays. | |
1903 | Add comment on stack usage from Initialize_Scalars | |
1904 | ||
1905 | * gnat_ugn.texi: Add documentation for -gnatyLnnn | |
1906 | ||
1907 | * stylesw.ads, stylesw.adb: Implement new -gnatyLnnn option for | |
1908 | limiting nesting level. | |
1909 | ||
1910 | * usage.adb: Add line for -gnatyLnnn switch | |
1911 | ||
1912 | * g-debpoo.ads, xtreeprs.adb, sinput.ads, sem_ch13.ads, | |
1913 | sem_ch13.adb, exp_aggr.adb: Minor reformatting | |
1914 | ||
1915 | * sem_prag.adb (Process_Atomic_Shared_Volatile): Set Is_Atomic on base | |
1916 | type as well as on the subtype. This corrects a problem in freeze in | |
1917 | setting alignments of atomic types. | |
1918 | ||
1919 | * sem_eval.ads: Minor comment typo fixed | |
1920 | ||
1921 | * par-util.adb (Push_Scope_Stack): Check for violation of max nesting | |
1922 | level. Minor reformatting. | |
1923 | ||
1924 | * fname.adb (Is_Predefined_File_Name): Require a letter after the | |
1925 | minus sign. This means that file names like a--b.adb will not be | |
1926 | considered predefined. | |
1927 | ||
1928 | * freeze.adb: Propagate new flag Must_Be_On_Byte_Boundary to containing | |
1929 | record Test new flag and give diagnostic for bad component clause. | |
1930 | (Freeze_Entity): Set alignment of array from component alignment in | |
1931 | cases where this is safe to do. | |
1932 | ||
1933 | * exp_pakd.adb: Set new flag Must_Be_On_Byte_Boundary for large packed | |
1934 | arrays. | |
1935 | ||
1936 | * cstand.adb: (Create_Standard): Set alignment of String to 1 | |
1937 | ||
1938 | * einfo.ads, einfo.adb: Introduce new flag Must_Be_On_Byte_Boundary | |
1939 | ||
1940 | * exp_ch4.adb (Expand_Array_Equality): Improve efficiency of generated | |
1941 | code in the common constrained array cases. | |
1942 | ||
1943 | * a-storio.adb: Change implementation to avoid possible alignment | |
1944 | problems on machines requiring strict alignment (data should be moved | |
1945 | as type Buffer, not type Elmt). | |
1946 | ||
1947 | * checks.adb (Apply_Array_Size_Check): Improve these checks by | |
1948 | killing the overflow checks which we really do not need (64-bits is | |
1949 | enough). | |
1950 | ||
1951 | 2004-06-25 Vincent Celier <celier@gnat.com> | |
1952 | ||
1953 | * makegpr.adb (Is_Included_In_Global_Archive): New Boolean function | |
1954 | (Add_Archives.Recursive_Add_Archives): Call Add_Archive_Path | |
1955 | inconditionally for the main project. | |
1956 | (Recursive_Add_Archives.Add_Archive_Path): New procedure | |
1957 | (Link_Executables.Check_Time_Stamps): New procedure | |
1958 | (Link_Executables.Link_Foreign): New procedure | |
1959 | Changes made to reduce nesting level of this package | |
1960 | (Check): New procedure | |
1961 | (Add_Switches): When not in quiet output, check that a switch is not | |
1962 | the concatenation of several valid switches. If it is, issue a warning. | |
1963 | (Build_Global_Archive): If the global archive is rebuilt, linking need | |
1964 | to be done. | |
1965 | (Compile_Sources): Rebuilding a library archive does not imply | |
1966 | rebuilding the global archive. | |
1967 | (Build_Global_Archive): New procedure | |
1968 | (Build_Library): New name for Build_Archive, now only for library | |
1969 | project | |
1970 | (Check_Archive_Builder): New procedure | |
1971 | (Create_Global_Archive_Dependency_File): New procedure | |
1972 | (Gprmake): Call Build_Global_Archive before linking | |
1973 | * makegpr.adb: Use Other_Sources_Present instead of Sources_Present | |
1974 | throughout. | |
1975 | (Scan_Arg): Display the Copyright notice when -v is used | |
1976 | ||
1977 | * gnat_ugn.texi: Document new switch -files= (VMS qualifier /FILES=) | |
1978 | for gnatls. | |
1979 | ||
1980 | * vms_data.ads: Add qualifier /MAX_NESTING=nnn (-gnatyLnnn) for GNAT | |
1981 | COMPILE. | |
1982 | Add new GNAT LIST qualifier /FILES= | |
1983 | Added qualifier /DIRECTORY= to GNAT METRIC | |
1984 | Added qualifier /FILES= to GNAT METRIC | |
1985 | Added qualifier /FILES to GNAT PRETTY | |
1986 | ||
1987 | * switch.adb (Is_Front_End_Switch): Refine the test for --RTS or -fRTS, | |
1988 | to take into account both versions of the switch. | |
1989 | ||
1990 | * switch-c.adb (Scan_Front_End_Switches): New switch -gnatez. Should | |
1991 | always be the last switch to the gcc driver. Disable switch storing so | |
1992 | that switches automatically added by the gcc driver are not put in the | |
1993 | ALI file. | |
1994 | ||
1995 | * prj.adb (Project_Empty): Take into account changes in components of | |
1996 | Project_Data. | |
1997 | ||
1998 | * prj.ads (Languages_Processed): New enumaration value All_Languages. | |
1999 | ||
2000 | * prj.ads (Project_Data): Remove component Lib_Elaboration: never | |
2001 | used. Split Boolean component Ada_Sources_Present in two Boolean | |
2002 | components Ada_Sources_Present and Other_Sources_Present. | |
2003 | Minor reformatting | |
2004 | ||
2005 | * prj-env.adb (For_All_Source_Dirs.Add): Use Ada_Sources_Present | |
2006 | instead of Sources_Present. | |
2007 | (Set_Ada_Paths.Add.Recursive_Add): Ditto | |
2008 | ||
2009 | * prj-nmsc.adb: Minor reformatting | |
2010 | (Check_Ada_Naming_Scheme): New name of procedure Check_Naming_Scheme | |
2011 | (Check_Ada_Naming_Scheme_Validity): New name of previous procedure | |
2012 | Check_Ada_Naming_Scheme. | |
2013 | Change Sources_Present to Ada_Sources_Present or Other_Sources_Present | |
2014 | throughout. | |
2015 | ||
2016 | * prj-part.adb (Post_Parse_Context_Clause): New Boolean parameter | |
2017 | In_Limited. | |
2018 | Make sure that all cycles where there is at least one "limited with" | |
2019 | are detected. | |
2020 | (Parse_Single_Project): New Boolean parameter In_Limited | |
2021 | ||
2022 | * prj-proc.adb (Recursive_Check): When Process_Languages is | |
2023 | All_Languages, call first Prj.Nmsc.Ada_Check, then | |
2024 | Prj.Nmsc.Other_Languages_Check. | |
2025 | ||
2026 | * prj-proc.adb (Process): Use Ada_Sources_Present or | |
2027 | Other_Sources_Present (instead of Sources_Present) depending on | |
2028 | Process_Languages. | |
2029 | ||
2030 | * lang-specs.h: Keep -g and -m switches in the same order, and as the | |
2031 | last switches. | |
2032 | ||
2033 | * lib.adb (Switch_Storing_Enabled): New global Boolean flag | |
2034 | (Disable_Switch_Storing): New procedure. Set Switch_Storing_Enabled to | |
2035 | False. | |
2036 | (Store_Compilation_Switch): Do nothing if Switch_Storing_Enabled is | |
2037 | False. | |
2038 | ||
2039 | * lib.ads (Disable_Switch_Storing): New procedure. | |
2040 | ||
2041 | * make.adb: Modifications to reduce nesting level of this package. | |
2042 | (Check_Standard_Library): New procedure | |
2043 | (Gnatmake.Check_Mains): New procedure | |
2044 | (Gnatmake.Create_Binder_Mapping_File): New procedure | |
2045 | (Compile_Sources.Compile): Add switch -gnatez as the last option | |
2046 | (Display): Never display -gnatez | |
2047 | ||
6615c446 | 2048 | * Makefile.generic: |
0da2c8ac AC |
2049 | When using $(MAIN_OBJECT), always use $(OBJ_DIR)/$(MAIN_OBJECT) |
2050 | ||
2051 | * gnatcmd.adb (Check_Project): New function | |
2052 | (Process_Link): New procedure to reduce nesting depth | |
2053 | (Check_Files): New procedure to reduce the nesting depth. | |
2054 | For GNAT METRIC, include the inherited sources in extending projects. | |
2055 | (GNATCmd): When GNAT LS is invoked with a project file and no files, | |
2056 | add the list of files from the sources of the project file. If this list | |
2057 | is too long, put it in a temp text files and use switch -files= | |
2058 | (Delete_Temp_Config_Files): Delete the temp text file that contains | |
2059 | a list of source for gnatpp or gnatmetric, if one has been created. | |
2060 | (GNATCmd): For GNAT METRIC and GNAT PRETTY, if the number of sources | |
2061 | in the project file is too large, create a temporary text file that | |
2062 | list them and pass it to the tool with "-files=<temp text file>". | |
2063 | (GNATCmd): For GNAT METRIC add "-d=<abject dir>" as the first switch | |
2064 | ||
2065 | * gnatlink.adb (Gnatlink): Do not compile with --RTS= when the | |
2066 | generated file is in not in Ada. | |
2067 | ||
2068 | * gnatls.adb: Remove all parameters And_Save that are no longer used. | |
2069 | (Scan_Ls_Arg): Add processing for -files= | |
2070 | (Usage): Add line for -files= | |
2071 | ||
2072 | * g-os_lib.adb (On_Windows): New global constant Boolean flag | |
2073 | (Normalize_Pathname): When on Windows and the path starts with a | |
2074 | directory separator, make sure that the resulting path will start with | |
2075 | a drive letter. | |
2076 | ||
2077 | * clean.adb (Clean_Archive): New procedure | |
2078 | (Clean_Project): When there is non-Ada code, delete the global archive, | |
2079 | the archive dependency files, the object files and their dependency | |
2080 | files, if they exist. | |
2081 | (Gnatclean): Call Prj.Pars.Parse for All_Languages, not for Ada only. | |
2082 | ||
2083 | 2004-06-25 Thomas Quinot <quinot@act-europe.fr> | |
2084 | ||
2085 | * sinfo.ads: Fix typo in comment. | |
2086 | ||
2087 | * sem_dist.adb (Process_Remote_AST_Attribute): Simplify code that uses | |
2088 | the TSS for remote access-to-subprogram types, since these TSS are | |
2089 | always present once the type has been analyzed. | |
2090 | (RAS_E_Dereference): Same. | |
2091 | ||
2092 | * sem_attr.adb (Analyze_Attribute): When analysis of an attribute | |
2093 | reference raises Bad_Attribute, mark the reference as analyzed so the | |
2094 | node (and any children resulting from rewrites that could have occurred | |
2095 | during the analysis that ultimately failed) is not analyzed again. | |
2096 | ||
2097 | * exp_ch7.ads (Find_Final_List): Fix misaligned comment. | |
2098 | ||
2099 | * exp_dist.adb: Minor comment fix. | |
2100 | ||
2101 | * exp_ch4.adb (Expand_N_Allocator): For an allocator whose expected | |
2102 | type is an anonymous access type, no unchecked deallocation of the | |
2103 | allocated object can occur. If the object is controlled, attach it with | |
2104 | a count of 1. This allows attachment to the Global_Final_List, if | |
2105 | no other relevant list is available. | |
2106 | (Get_Allocator_Final_List): For an anonymous access type that is | |
2107 | the type of a discriminant or record component, the corresponding | |
2108 | finalisation list is the one of the scope of the type. | |
2109 | ||
2110 | 2004-06-25 Ed Schonberg <schonberg@gnat.com> | |
2111 | ||
2112 | * sem_ch3.adb (Replace_Type): When computing the signature of an | |
2113 | inherited subprogram, use the first subtype if the derived type | |
2114 | declaration has no constraint. | |
2115 | ||
2116 | * exp_ch6.adb (Add_Call_By_Copy_Code): Check that formal is an array | |
2117 | before applying previous optimization. Minor code cleanup. | |
2118 | ||
2119 | * exp_util.adb (Is_Possibly_Unaligned_Slice): If the component is | |
2120 | placed at the beginning of an unpacked record without explicit | |
2121 | alignment, a slice of it will be aligned and does not need a copy when | |
2122 | used as an actual. | |
2123 | ||
2124 | 2004-06-25 Ed Schonberg <schonberg@gnat.com> | |
2125 | ||
2126 | PR ada/15591 | |
2127 | PR ada/15592 | |
2128 | * sem_ch8.adb (Attribute_Renaming): Reject renaming if the attribute | |
2129 | reference is written with expressions mimicking parameters. | |
2130 | ||
2131 | 2004-06-25 Hristian Kirtchev <kirtchev@gnat.com> | |
2132 | ||
2133 | PR ada/15589 | |
2134 | * sem_ch3.adb (Build_Derived_Record_Type): Add additional check to | |
2135 | STEP 2a. The constraints of a full type declaration of a derived record | |
2136 | type are checked for conformance with those declared in the | |
2137 | corresponding private extension declaration. The message | |
2138 | "not conformant with previous declaration" is emitted if an error is | |
2139 | detected. | |
2140 | ||
2141 | 2004-06-25 Vasiliy Fofanov <fofanov@act-europe.fr> | |
2142 | ||
2143 | * g-traceb.ads: Document the need for -E binder switch in the spec. | |
2144 | ||
2145 | * g-trasym.ads: Document the need for -E binder switch in the spec. | |
2146 | ||
2147 | 2004-06-25 Jose Ruiz <ruiz@act-europe.fr> | |
2148 | ||
2149 | * sem_prag.adb: Add handling of pragma Detect_Blocking. | |
2150 | ||
2151 | * snames.h, snames.ads, snames.adb: Add entry for pragma | |
2152 | Detect_Blocking. | |
2153 | ||
2154 | * s-rident.ads: Change reference to pragma Detect_Blocking. | |
2155 | ||
2156 | * targparm.ads, targparm.adb: Allow pragma Detect_Blocking in | |
2157 | system.ads. | |
2158 | ||
2159 | * opt.ads (Detect_Blocking): New Boolean variable (defaulted to False) | |
2160 | to indicate whether pragma Detect_Blocking is active. | |
2161 | ||
2162 | * par-prag.adb: Add entry for pragma Detect_Blocking. | |
2163 | ||
2164 | * rtsfind.adb (RTU_Loaded): Fix the temporary kludge to get past bug | |
2165 | of not handling WITH. | |
2166 | Note that this replaces the previous update which was incorrect. | |
2167 | ||
2168 | 2004-06-25 Javier Miranda <miranda@gnat.com> | |
2169 | ||
2170 | * sem_ch10.adb (Re_Install_Use_Clauses): Force the installation of the | |
2171 | use-clauses to have a clean environment. | |
2172 | ||
2173 | * sem_ch8.adb (Install_Use_Clauses): Addition of a new formal to force | |
2174 | the installation of the use-clauses to stablish a clean environment in | |
2175 | case of compilation of a separate unit; otherwise the call to | |
2176 | use_one_package is protected by the barrier Applicable_Use. | |
2177 | ||
2178 | * sem_ch8.ads (Install_Use_Clauses): Addition of a new formal to force | |
2179 | the installation of the use-clauses to stablish a clean environment in | |
2180 | case of compilation of a separate unit. | |
2181 | (End_Use_Clauses): Minor comment cleanup. | |
2182 | ||
2183 | 2004-06-25 Sergey Rybin <rybin@act-europe.fr> | |
2184 | ||
2185 | * gnat_ugn.texi: Add description of the gnatpp 'files' switch | |
2186 | ||
65355d53 RH |
2187 | 2004-06-23 Richard Henderson <rth@redhat.com> |
2188 | ||
2189 | * trans.c (gnat_gimplify_stmt): Update gimplify_type_sizes call. | |
2190 | ||
c0e3aa48 RK |
2191 | 2004-06-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2192 | ||
2193 | * decl.c (elaborate_expression, elaborate_expression_1): Arguments | |
2194 | now bool instead of int. | |
2195 | (gnat_to_gnu_entity, elaborate_expression_1): New arg to COMPONENT_REF. | |
2196 | * trans.c (gnu_switch_label_stack): New function. | |
2197 | (gnat_to_gnu, N_Object_Renaming_Declaration): Result is what the | |
2198 | elaboration of renamed entity returns. | |
2199 | (gnat_to_gnu, case N_Case_Statement): Add branches to end label. | |
2200 | (add_decl_stmt): Don't add TYPE_DECL for UNCONSTRAINED_ARRAY_TYPE. | |
2201 | (gnat_gimplify_stmt): Use alloc_stmt_list, not build_empty_stmt. | |
2202 | (gnat_gimplify_stmt, case DECL_STMT): gimplify DECL_SIZE and | |
2203 | DECL_SIZE_UNIT and simplify variable-sized case. | |
2204 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted. | |
2205 | Callers changes to call gimplify_type_sizes and gimplify_one_sizepos. | |
2206 | (gnat_stabilize_reference): Add arg to COMPONENT_REF. | |
2207 | (build_unit_elab): Disable for now. | |
2208 | * utils.c (mark_visited): New function. | |
2209 | (pushdecl): Walk tree to call it for global decl. | |
2210 | (update_pointer_to): Update all variants of pointer and ref types. | |
2211 | Add arg to COMPONENT_REF. | |
2212 | (convert): Likewise. | |
2213 | Move check for converting between variants lower down. | |
2214 | * utils2.c (build_simple_component_ref): Add arg to COMPONENT_REF. | |
2215 | (build_allocator): Don't force type of MODIFY_EXPR. | |
2216 | (gnat_mark_addressable, case VAR_DECL): Unconditionally call | |
2217 | put_var_into_stack. | |
2218 | ||
966389ee RK |
2219 | 2004-06-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2220 | ||
2221 | * ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation. | |
2222 | * ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP. | |
2223 | * decl.c (gnat_to_gnu_entity): Also set force_global for imported | |
2224 | subprograms. | |
2225 | * trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack; | |
2226 | all callers changed. | |
2227 | (gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change | |
2228 | the way that EXIT_STMT finds the loop label. | |
2229 | (gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise. | |
2230 | (gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here. | |
2231 | (add_stmt): Use annotate_with_locus insted of setting directly. | |
2232 | (pos_to_construct): Set TREE_PURPOSE of each entry to index. | |
2233 | (gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF. | |
2234 | * utils.c (gnat_install_builtins): Install __builtin_memcmp. | |
2235 | (build_vms_descriptor): Add extra args to ARRAY_REF. | |
2236 | (convert): Use VIEW_CONVERT_EXPR between aggregate types. | |
2237 | * utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST): | |
2238 | New cases. | |
2239 | (build_binary_op): Don't make explicit CONVERT_EXPR. | |
2240 | Add extra rgs to ARRAY_REF. | |
2241 | ||
cc335f43 AC |
2242 | 2004-06-14 Pascal Obry <obry@gnat.com> |
2243 | ||
2244 | * gnat_ugn.texi: Document relocatable vs. dynamic Library_Kind on | |
2245 | Windows. Fix minor typo. | |
2246 | ||
2247 | * mlib-tgt-mingw.adb: New implementation using the GCC -shared option | |
2248 | which is now supported on Windows. With this implementation using the | |
2249 | Library Project feature is no different on Windows than on UNIX. | |
2250 | ||
2251 | 2004-06-14 Vincent Celier <celier@gnat.com> | |
2252 | ||
2253 | * makegpr.adb (Compile_Sources): Nothing to do when there are no | |
2254 | non-Ada sources. | |
2255 | ||
2256 | * mlib-tgt-vxworks.adb (Library_Exists_For): Remove incorrect comment | |
2257 | ||
2258 | * prj-part.adb (Parse_Single_Project): When a duplicate project name is | |
2259 | found, show the project name and the path of the previously parsed | |
2260 | project file. | |
2261 | ||
2262 | 2004-06-14 Ed Schonberg <schonberg@gnat.com> | |
2263 | ||
2264 | * exp_ch6.adb (Add_Call_By_Copy_Code): For an out-parameter that is an | |
2265 | array, avoid copying the actual before the call. | |
2266 | ||
2267 | 2004-06-14 Thomas Quinot <quinot@act-europe.fr> | |
2268 | ||
2269 | * g-debpoo.adb: Remove alignment assumptions from GNAT.Debug_Pools. | |
2270 | Instead, allocate memory on worst-case alignment assumptions, and then | |
2271 | return an aligned address within the allocated zone. | |
2272 | ||
2273 | 2004-06-14 Robert Dewar <dewar@gnat.com> | |
2274 | ||
2275 | * bindgen.adb (Gen_Adainit_Ada): Do not generate external references to | |
2276 | elab entities in predefined units in No_Run_Time_Mode. | |
2277 | (Gen_Adainit_C): Same fix | |
2278 | (Gen_Elab_Calls_Ada): Do not generate calls to elaborate predefined | |
2279 | units in No_Run_Time_Mode | |
2280 | (Gen_Elab_Calls_C): Same fix | |
2281 | ||
2282 | * symbols-vms-alpha.adb: Minor reformatting | |
2283 | ||
2284 | * g-debpoo.ads: Minor reformatting | |
2285 | ||
2286 | * lib.adb (In_Same_Extended_Unit): Version working on node id's | |
2287 | ||
2288 | * lib.ads (In_Same_Extended_Unit): Version working on node id's | |
2289 | ||
2290 | * lib-xref.adb: Minor cleanup, use new version of In_Same_Extended_Unit | |
2291 | working on nodes. | |
2292 | ||
2293 | * make.adb: Minor reformatting | |
2294 | ||
2295 | * par-ch12.adb: Minor reformatting | |
2296 | ||
2297 | * par-prag.adb: Add dummy entry for pragma Profile_Warnings | |
2298 | ||
2299 | * prj-strt.adb: Minor reformatting | |
2300 | ||
2301 | * restrict.ads, restrict.adb: Redo handling of profile restrictions to | |
2302 | be more general. | |
2303 | ||
2304 | * sem_attr.adb: Minor reformatting | |
2305 | ||
2306 | * sem_ch7.adb: Minor reformatting | |
2307 | ||
2308 | * sem_elab.adb (Check_A_Call): Deal with problem of calling init proc | |
2309 | for type in the same unit as the object declaration. | |
2310 | ||
2311 | * sem_prag.adb (Check_Arg_Is_External_Name): New procedure, allows | |
2312 | static string expressions and not just string literals. | |
2313 | Minor reformatting | |
2314 | (Set_Warning): Reset restriction warning flag for restriction pragma | |
2315 | Implement pragma Profile_Warnings | |
2316 | Implement pragma Profile (Restricted) | |
2317 | Give obolescent messages for old restrictions and pragmas | |
2318 | ||
2319 | * snames.h, snames.ads, snames.adb: Add new entry for pragma | |
2320 | Profile_Warnings. | |
2321 | ||
2322 | * s-rident.ads: Add declarations for restrictions required by profile | |
2323 | Restricted and profile Ravenscar. | |
2324 | ||
2325 | * targparm.ads, targparm.adb: Allow pragma Profile in system.ads | |
2326 | ||
2327 | * gnat_ugn.texi: Correct some missing entries in the list of GNAT | |
2328 | configuration pragmas. | |
2329 | ||
5453d5bd AC |
2330 | 2004-06-11 Vincent Celier <celier@gnat.com> |
2331 | ||
2332 | * mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to | |
2333 | gnatsym, when symbol policy is Restricted. | |
2334 | ||
2335 | * mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to | |
2336 | gnatsym, when symbol policy is Restricted. | |
2337 | ||
2338 | * symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted, | |
2339 | read the symbol file. | |
2340 | (Finalize): Fail in symbol policy Restricted if a symbol in the original | |
2341 | symbol file is not in the object files. Do not create a new symbol file | |
2342 | when symbol policy is Restricted. | |
2343 | ||
2344 | * gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used | |
2345 | in Scng. | |
2346 | ||
2347 | * gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy | |
2348 | Restricted. | |
2349 | (Usage): Line for new switch -R | |
2350 | ||
2351 | * make.adb (Initialize): When the platform is not VMS, add the | |
2352 | directory where gnatmake is invoked in the front of the path, if | |
2353 | gnatmake is invoked with directory information. Change the Scan_Args | |
2354 | while loop to a for loop. | |
2355 | (Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency: | |
2356 | if Depth is equal or greater than the proposed depth, there is nothing | |
2357 | to do. | |
2358 | (Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1 | |
2359 | instead of 0. | |
2360 | ||
2361 | * prj.ads: Add new symbol policy Restricted. | |
2362 | ||
2363 | * prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction | |
2364 | with the new parameters Check_All_Labels and Case_Location. | |
2365 | ||
2366 | * prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted | |
2367 | (Library_Symbol_File needs to be defined). | |
2368 | ||
2369 | * prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels | |
2370 | and Case_Location If Check_All_Labels is True, check that all values of | |
2371 | the string type are used, and output warning(s) if they are not. | |
2372 | ||
2373 | * prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels | |
2374 | and Case_Location. | |
2375 | ||
2376 | * gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc" | |
2377 | ||
2378 | * gnat_ugn.texi: Update documentation about the library directory in | |
2379 | Library Projects. | |
2380 | ||
2381 | * makegpr.adb (Display_Command): In verbose mode, also display the | |
2382 | value of the CPATH env var, when the compiler is gcc. | |
2383 | (Initialize): Change the Scan_Args while loop to a for loop | |
2384 | (Compile_Individual_Sources): Change directory to object directory | |
2385 | before compilations. | |
2386 | ||
2387 | * symbols.ads: New symbol policy Restricted. | |
2388 | ||
2389 | 2004-06-11 Olivier Hainque <hainque@act-europe.fr> | |
2390 | ||
2391 | * a-except.adb (Raise_After_Setup family): Remove. The responsibility | |
2392 | is now taken care of internally in the Exception_Propagation package | |
2393 | and does not require clients assistance any more. | |
2394 | ||
2395 | * a-exexpr.adb (Is_Setup_And_Not_Propagated, | |
2396 | Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New | |
2397 | functions. Helpers to maintain a predicate required in the handling of | |
2398 | occurrence transfer between tasks. | |
2399 | This is now handled internally and does not require clients assistance | |
2400 | for the setup/propagate separation anymore. | |
2401 | (Setup_Exception, Propagate_Exception): Simplify the Private_Data | |
2402 | allocation strategy, handle the Setup_And_Not_Propagated predicate and | |
2403 | document. | |
2404 | ||
2405 | * s-taenca.adb (Check_Exception): Use raise_with_msg instead of | |
2406 | raise_after_setup, now that everything is handled internally within the | |
2407 | setup/propagation engine. | |
2408 | ||
2409 | 2004-06-11 Hristian Kirtchev <kirtchev@gnat.com> | |
2410 | ||
2411 | * exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once. | |
2412 | Add additional conditions for the case of an actual being a simple | |
2413 | name or literal. Improve inlining by preventing the generation | |
2414 | of temporaries with a short lifetime (one use). | |
2415 | ||
2416 | 2004-06-11 Hristian Kirtchev <kirtchev@gnat.com> | |
2417 | ||
2418 | PR ada/15587 | |
2419 | ||
2420 | * einfo.ads: Minor comment updates for Has_Completion and | |
2421 | E_Constant list of flags. | |
2422 | ||
2423 | * sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations | |
2424 | and constant redeclarations now set the Has_Completion flag of their | |
2425 | defining identifiers. | |
2426 | ||
2427 | * sem_ch7.adb (Analyze_Package_Spec): Add procedure | |
2428 | Inspect_Deferred_Constant_Completion. | |
2429 | Used to detect private deferred constants that have not been completed | |
2430 | either by a constant redeclaration or pragma Import. Emits error message | |
2431 | "constant declaration requires initialization expression". | |
2432 | ||
2433 | * sem_prag.adb (Process_Import_Or_Interface): An Import pragma now | |
2434 | completes a deferred constant. | |
2435 | ||
2436 | 2004-06-11 Geert Bosch <bosch@gnat.com> | |
2437 | ||
2438 | * eval_fat.adb (Decompose_Int): Fix rounding of negative numbers. | |
2439 | ||
2440 | * s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in | |
2441 | calculating exponent for scaling denormal numbers. | |
2442 | (Leading_Part): Properly raise Constraint_Error for zero or negative | |
2443 | Adjustment. | |
2444 | (Remainder): Properly raise Constraint_Error for zero divisor. | |
2445 | ||
2446 | 2004-06-11 Thomas Quinot <quinot@act-europe.fr> | |
2447 | ||
2448 | * sem_util.adb: Minor reformatting. | |
2449 | ||
2450 | * exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit | |
2451 | dereference when accessing the entry parameter record. | |
2452 | (Check_Array_Type): Always check for possible implicit dereference. | |
2453 | (maybe_implicit_dereference): Rename to check_no_implicit_derefence. | |
2454 | Abort if a pointer is still present (denoting that an implicit | |
2455 | dereference was left in the tree by the front-end). | |
2456 | ||
2457 | * sem_attr.adb (Expand_Entry_Parameter): Generate an explicit | |
2458 | dereference when accessing the entry parameter record. | |
2459 | (Check_Array_Type): Always check for possible implicit dereference. | |
2460 | (maybe_implicit_dereference): Rename to check_no_implicit_derefence. | |
2461 | Abort if a pointer is still present (denoting that an implicit | |
2462 | dereference was left in the tree by the front-end). | |
2463 | ||
2464 | 2004-06-11 Emmanuel Briot <briot@act-europe.fr> | |
2465 | ||
2466 | * g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error | |
2467 | message, like the compiler itself does. Easier to parse the output. | |
2468 | ||
2469 | * g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments. | |
2470 | ||
2471 | * gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should | |
2472 | be base names, and not includes directories. | |
2473 | ||
2474 | 2004-06-11 Arnaud Charlet <charlet@act-europe.fr> | |
2475 | ||
2476 | * Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES), | |
2477 | so that dependencies are properly taken into account by make. | |
2478 | ||
2479 | 2004-06-11 Arnaud Charlet <charlet@act-europe.fr> | |
2480 | ||
2481 | PR ada/15622 | |
2482 | * s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads, | |
2483 | exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic | |
2484 | ||
2485 | 2004-06-11 Jerome Guitton <guitton@act-europe.fr> | |
2486 | ||
2487 | * Makefile.in (install-gnatlib): install target-specific run-time files. | |
2488 | ||
2489 | * Make-lang.in: Remove obsolete targets. | |
2490 | ||
2491 | 2004-06-11 Ed Schonberg <schonberg@gnat.com> | |
2492 | ||
2493 | * par-ch12.adb (P_Generic): Add scope before analyzing subprogram | |
2494 | specification, to catch misuses of program unit names. | |
2495 | ||
2496 | * sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on | |
2497 | superfluous conversions in an instance. | |
2498 | ||
2499 | 2004-06-11 Ed Schonberg <schonberg@gnat.com> | |
2500 | ||
2501 | PR ada/15403 | |
2502 | ||
2503 | * sem_ch12.adb (Save_References): If operator node has been folded to | |
2504 | enumeration literal, associated_node must be discarded. | |
2505 | ||
2506 | 2004-06-11 Jose Ruiz <ruiz@act-europe.fr> | |
2507 | ||
2508 | * s-stchop-vxworks.adb: Add required pragma Convention to | |
2509 | Task_Descriptor because it is updated by a C function. | |
2510 | ||
a98f59be AC |
2511 | 2004-06-08 Arnaud Charlet <charlet@act-europe.fr> |
2512 | ||
2513 | PR ada/15568 | |
2514 | ||
2515 | * Makefile.in: Remove target specific SO_OPT on IRIX | |
2516 | ||
821e1ea1 RK |
2517 | 2004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2518 | ||
2519 | * ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted. | |
2520 | (GNAT_NOP_EXPR, GNAT_LOOP_ID, EXPR_STMT, NULL_STMT): Likewise. | |
2521 | (BLOCK_STMT, IF_STMT, GOTO_STMT, LABEL_STMT, RETURN_STMT): Likewise. | |
2522 | (ASM_STMT, BREAK_STMT, REGION_STMT,HANDLER_STMT): Likewise. | |
2523 | (STMT_STMT, USE_STMT): New statement codes. | |
2524 | (LOOP_STMT, EXIT_STMT): Make slight semantic changes. | |
2525 | * ada-tree.h: Reflect above changes. | |
2526 | (struct tree_loop_id): Deleted. | |
2527 | (union lang_tree_node, struct lang_decl, struct lang_type): | |
2528 | Now just contains a tree node; update macros using TYPE_LANG_SPECIFIC | |
2529 | and DECL_LANGUAGE_SPECIFIC to reflect these changes. | |
2530 | (DECL_INIT_BY_ASSIGN_P, TRE_LOOP_NODE_ID, TREE_SLOC): Deleted. | |
2531 | (IS_ADA_STMT): New macro. | |
2532 | * decl.c (annotate_decl_with_node): New function. | |
2533 | (gnat_to_gnu_entity): Use it and Sloc_to_locus instead of set_lineno. | |
2534 | (gnat_to_gnu_entity, case object): Remove call to expand CONVERT_EXPR. | |
2535 | Call add_stmt_with_node to do needed assignments. | |
2536 | Add call to update setjmp buffer directly, not via EXPR_STMT. | |
2537 | (maybe_variable): Argment GNAT_NODE deleted. | |
2538 | * gigi.h (maybe_variable): Likewise. | |
2539 | (make_transform, add_stmt_with_node, set_block_for_group): New. | |
2540 | (gnat_gimplify_expr, gnat_expand_body, Sloc_to_locus): Likewise. | |
2541 | (set_block_jmpbuf_decl, get_block_jmpbuf_decl): Likewise. | |
2542 | (discard_file_names, gnu_block_stack, gnat_to_code): Deleted. | |
2543 | (set_lineno, set_lineno_from_sloc): Likewise. | |
2544 | (record_code_position, insert_code_for): Likewise. | |
2545 | (gnat_poplevel): Now returns void. | |
2546 | (end_subprog_body): Now takes argument. | |
2547 | * misc.c (cgraph.h, tree-inline.h): New includes. | |
2548 | (gnat_tree_size, LANG_HOOKS_TREE_SIZE): Deleted. | |
2549 | (gnat_post_options, LANG_HOOKS_POST_OPTIONS): New. | |
2550 | (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Likewise. | |
2551 | (LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_GIMPLIFY_EXPR): Likewise. | |
2552 | (gnat_parse_file): Don't set immediate_size_expand. | |
2553 | Call cgraph functions. | |
2554 | (gnat_expand_expr): Remove most cases. | |
2555 | (record_code_position, insert_code_for): Remove from here. | |
2556 | * trans.c (toplev.h, tree-gimple.h): Now included. | |
2557 | (discard_file_names): Deleted. | |
2558 | (gnu_block_stack, gnu_block_stmt_node, gnu_block_stmt_free_list): Del. | |
2559 | (first_nondeleted_insn, make_expr_stmt_from_rtl): Likewise. | |
2560 | (struct stmt_group, current_stmt_group, stmt_group_free_list): New. | |
2561 | (gnu_stack_free_list, record_cost_position, insert_code_for): Likewise. | |
2562 | (add_cleanup, push_stack, gnat_gimplify_stmt, add_cleanup): Likewise. | |
2563 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Likewise. | |
2564 | (gnat_expand_body_1, gnat_gimplify_expr, annotate_with_node): Likewise. | |
2565 | (set_block_for_group, add_stmt_list): Likewise. | |
2566 | (start_stmt_group): Renamed from start_block_stmt. | |
2567 | (end_stmt_group): Likewise, from end_block_stmt. | |
2568 | (build_stmt_group): Likewise, from build_block_stmt, also add arg. | |
2569 | (gigi): Don't set discard_file_names or call set_lineno. | |
2570 | Disallow front end ZCX; call gnat_to_gnu, not gnat_to_code. | |
2571 | (tree_transform): Deleted, now renamed to be gnat_to_gnu. | |
2572 | Numerous changes throughout to reflect new names and complete | |
2573 | function-at-a-time implementation. | |
2574 | (gnat_expand_stmt): Delete or comment out all cases. | |
2575 | (process_inlined_subprograms): Use add_stmt. | |
2576 | (process_decls): Use gnat_to_gnu, not gnat_to_code, and don't | |
2577 | call set_lineno; also remove unneeded block handling. | |
2578 | (process_type): Remove unneeded block handling. | |
2579 | (build_unit_elab): Remove calls to deleted functions. | |
2580 | * utils.c (cgraph.h, tree-inline.h, tree-gimple.h): Now include. | |
2581 | (tree-dump.h): Likewise. | |
2582 | (struct ada_binding_level): Add field jmpbuf_decl. | |
2583 | (gnat_define_builtin, gnat_install_builtins): New. | |
2584 | (gnat_gimplify_function, gnat_finalize): Likewise. | |
2585 | (gnat_poplevel): No longer return BLOCK, set it instead. | |
2586 | Remove code dealing with nested functions. | |
2587 | (gnat_init_decl_processing): Also set size_type_node. | |
2588 | Call gnat_install_builtins. | |
2589 | (create_var_decl): Don't set DECL_INIT_BY_ASSIGN. | |
2590 | (create_subprog_decl): Change handling of inline_flag; set TREE_STATIC. | |
2591 | Remove special-case for "main". | |
2592 | (end_subprog_body): Add arg and rework for tree-ssa. | |
2593 | (convert): Don't use GNAT_NOP_EXPR or look for TRANSFORM_EXPR. | |
2594 | Add case for BOOLEAN_TYPE. | |
2595 | * utils2.c (rtl.h): Now include. | |
2596 | (build_call_raise): Test Debug_Flag_NN directly. | |
2597 | (build_call_alloc_dealloc): Don't use local stack allocation for now. | |
2598 | (gnat_mark_addressable, case GNAT_NOP_EXPR): Deleted. | |
2599 | (gnat_mark_addressable, case VAR_DECL): Handle both early & late cases. | |
2600 | ||
0ab80019 AC |
2601 | 2004-06-07 Robert Dewar <dewar@gnat.com> |
2602 | ||
2603 | * a-direct.ads, einfo.ads: Minor comment updates | |
2604 | ||
2605 | * s-taprop-lynxos.adb, s-taprop-tru64.adb, s-taprop-irix.adb, | |
2606 | s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb, | |
2607 | s-taprop-dummy.adb, s-taprop-os2.adb, s-taprop-solaris.adb, | |
2608 | s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb, | |
2609 | s-taprop-posix.adb, s-taprop.ads, exp_dbug.adb: Minor reformatting. | |
2610 | ||
2611 | * s-interr-sigaction.adb: Remove unreferenced variable | |
2612 | (Attached_Interrupts). Minor reformatting. | |
2613 | Avoid use of variable I (replace by J). | |
2614 | ||
2615 | * par-ch10.adb: Fix text of one error message | |
2616 | ||
2617 | * checks.adb, checks.ads, cstand.adb, vms_data.ads, errout.ads, | |
2618 | exp_aggr.adb, exp_ch3.adb, exp_ch3.ads, exp_ch5.adb, exp_ch6.adb, | |
2619 | exp_ch9.adb, exp_code.adb, gnat1drv.adb, lib-load.adb, lib-writ.adb, | |
2620 | opt.adb, par.adb, opt.ads, par-ch11.adb, par-ch3.adb, par-ch4.adb, | |
2621 | par-ch5.adb, par-ch6.adb, par-ch8.adb, par-ch9.adb, par-prag.adb, | |
2622 | par-util.adb, scng.adb, sem_aggr.adb, sem_attr.adb, sem_cat.adb, | |
6615c446 | 2623 | sem_ch10.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch2.adb, |
0ab80019 AC |
2624 | sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, |
2625 | sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_eval.adb, sem_prag.adb, | |
2626 | sem_res.adb, sem_type.adb, sem_util.adb, sinfo.ads, snames.adb, | |
2627 | snames.ads, snames.h, sprint.adb, switch-c.adb: Modifications for Ada | |
2628 | 2005 support. | |
2629 | ||
2630 | 2004-06-07 Doug Rupp <rupp@gnat.com> | |
2631 | ||
2632 | * mlib-tgt-vms.adb: Rename mlib-tgt-vms.adb mlib-tgt-vms-alpha.adb | |
2633 | ||
2634 | * s-vaflop-vms.adb: Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb | |
2635 | ||
2636 | * mlib-tgt-vms-ia64.adb: New file. | |
2637 | ||
2638 | * Makefile.in: Rename mlib-tgt-vms.adb to mlib-tgt-vms-alpha.adb | |
2639 | Add mlib-tgt-vms-ia64.adb | |
2640 | Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb. | |
2641 | Move to alpha specific ifeq section. | |
2642 | Add VMS specific versions of symbols.adb | |
2643 | Renaming of 5q vms files. | |
2644 | ||
2645 | * 5qsystem.ads renamed to system-vms_64.ads. | |
2646 | ||
2647 | 2004-06-07 Vincent Celier <celier@gnat.com> | |
2648 | ||
2649 | * a-calend.ads: Add a GNAT Note comment after function Time_Of to | |
2650 | explain that when a time of day corresponding to the non existing hour | |
2651 | on the day switching to DST is specified, Split may return a different | |
2652 | value for Seconds. | |
2653 | ||
2654 | * gnatcmd.adb: Add processing of GNAT METRIC (for gnatmetric), similar | |
2655 | to GNAT PRETTY. | |
2656 | ||
2657 | * g-os_lib.adb (OpenVMS): New Boolean value imported from System. | |
2658 | (Normalize_Pathname): Only resolve VMS logical names when on VMS. | |
2659 | ||
2660 | * mlib-prj.adb (Build_Library): New flag Gtrasymobj_Needed, initialize | |
2661 | to False. | |
2662 | If Gtrasymobj_Needed is True, add the full path of g-trasym.obj to | |
2663 | the linking options. | |
2664 | (Build_Library.Check_Libs): On VMS, if there is a dependency on | |
2665 | g-trasym.ads, set Gtrasymobj_Needed to True. | |
2666 | ||
2667 | * prj-attr.adb: Add new package Metrics for gnatmetric | |
2668 | ||
2669 | * prj-nmsc.adb (Record_Other_Sources): Put source file names in | |
2670 | canonical case to take into account files with upper case characters on | |
2671 | Windows. | |
2672 | (Ada_Check): Load the reference symbol file name in the name buffer to | |
2673 | check it, not the symbol file name. | |
2674 | ||
2675 | * snames.ads, snames.adb: Add standard name Metrics (name of project | |
2676 | file package for gnatmetric). | |
2677 | ||
2678 | * vms_conv.ads: Add Metric to Comment_Type | |
2679 | ||
2680 | * vms_conv.adb (Initialize): Add component dor Metric in Command_List | |
2681 | ||
2682 | * vms_data.ads: Add qualifiers for GNAT METRIC | |
2683 | ||
2684 | * makegpr.adb (Link_Executables): Take into account the switches | |
2685 | specified in package Linker of the main project. | |
2686 | ||
2687 | 2004-06-07 Thomas Quinot <quinot@act-europe.fr> | |
2688 | ||
2689 | * bindgen.adb (Set_Unit_Number): Units is an instance of Table, and so | |
2690 | the index of the last element is Units.Last, not Units.Table'Last | |
2691 | (which is usually not a valid index within the actually allocated | |
2692 | storage for the table). | |
2693 | ||
2694 | * exp_ch4.adb (Insert_Dereference_Action): Change predicate that | |
2695 | determines whether to generate a call to a checked storage pool | |
2696 | Dereference action. | |
2697 | Generate such a call only for a dereference that either comes from | |
2698 | source, or is the result of rewriting a dereference that comes from | |
2699 | source. | |
2700 | ||
2701 | 2004-06-07 Romain Berrendonner <berrendo@act-europe.fr> | |
2702 | ||
2703 | * bindgen.adb (Gen_Output_File): Add support for GAP builds. | |
2704 | ||
2705 | 2004-06-07 Eric Botcazou <ebotcazou@act-europe.fr> | |
2706 | ||
2707 | (gnat_to_gnu_entity) <E_Array_Subtype>: For multi-dimensional arrays at | |
2708 | file level, elaborate the stride for inner dimensions in alignment | |
2709 | units, not bytes. | |
2710 | ||
2711 | * exp_ch5.adb: Correct wrong reference to Component_May_Be_Bit_Aligned | |
2712 | in a comment. | |
2713 | ||
2714 | 2004-06-07 Javier Miranda <miranda@gnat.com> | |
2715 | ||
2716 | * exp_ch6.adb: Correct wrong modification in previous patch | |
2717 | ||
2718 | 2004-06-07 Vasiliy Fofanov <fofanov@act-europe.fr> | |
2719 | ||
2720 | * g-trasym.ads: Corrected comment to properly reflect level of support | |
2721 | on VMS. | |
2722 | ||
2723 | 2004-06-07 Hristian Kirtchev <kirtchev@gnat.com> | |
2724 | ||
2725 | * lib-xref.adb (Generate_Reference): Add nested function Is_On_LHS. It | |
2726 | includes case of a variable referenced on the left hand side of an | |
2727 | assignment, therefore remove redundant code. Variables and prefixes of | |
2728 | indexed or selected components are now marked as referenced on left | |
2729 | hand side. Warnings are now properly emitted when variables or prefixes | |
2730 | are assigned but not read. | |
2731 | ||
2732 | * sem_warn.adb (Output_Unreferenced_Messages): Add additional checks to | |
2733 | left hand side referenced variables. Private access types do not | |
2734 | produce the warning "variable ... is assigned but never read". | |
2735 | Add also additional checks to left hand side referenced variables. | |
2736 | Aliased, renamed objects and access types do not produce the warning | |
2737 | "variable ... is assigned but never read" since other entities may read | |
2738 | the memory location. | |
2739 | ||
2740 | 2004-06-07 Jerome Guitton <guitton@act-europe.fr> | |
2741 | ||
2742 | * Makefile.in: In the powerpc/vxworks-specific section, restore | |
2743 | EXTRA_GNATRTL_NONTASKING_OBJS and EXTRA_GNATRTL_TASKING_OBJS (removed | |
2744 | by mistake). | |
2745 | ||
2746 | 2004-06-07 Ed Schonberg <schonberg@gnat.com> | |
2747 | ||
2748 | * sem_ch4.adb (Remove_Abstract_Operations): Refine the removal of | |
2749 | predefined operators. | |
2750 | Removes spurious type errors from g-trasym-vms.adb. | |
2751 | ||
2752 | * sem_res.adb (Rewrite_Renamed_Operator): If intrinsic operator is | |
2753 | distinct from the operator appearing in the source, call appropriate | |
2754 | routine to insert conversions when needed, and complete resolution of | |
2755 | node. | |
2756 | (Resolve_Intrinsic_Operator): Fix cut-and-paste bug on transfer of | |
2757 | interpretations for rewritten right operand. | |
2758 | (Set_Mixed_Mode_Operand): Handle properly a universal real operand when | |
2759 | the other operand is overloaded and the context is a type conversion. | |
2760 | ||
2761 | 2004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
2762 | ||
2763 | * ada-tree.def (BLOCK_STMT): Now has two operands. | |
2764 | (BREAK_STMT): New. | |
2765 | ||
2766 | * ada-tree.h: (BLOCK_STMT_BLOCK): New macro. | |
2767 | ||
2768 | * gigi.h: (gnat_poplevel): Now returns a tree. | |
2769 | ||
2770 | * trans.c (end_block_stmt): Add arg; all callers changed. | |
2771 | (tree_transform, case N_Case_Statement): Make a BLOCK_STMT for a WHEN. | |
2772 | (start_block_stmt): Clear BLOCK_STMT_BLOCK. | |
2773 | (add_stmt): Set TREE_TYPE. | |
2774 | (gnat_expand_stmt, case BLOCK_STMT): Handle BLOCK_STMT_BLOCK. | |
2775 | (gnat_expand_stmt, case BREAK_STMT): New case. | |
2776 | ||
2777 | * utils.c (gnat_poplevel): Return a BLOCK, if we made one. | |
2778 | ||
2779 | 2004-06-07 Jose Ruiz <ruiz@act-europe.fr> | |
2780 | ||
2781 | * s-stchop.adsm s-stchop.adb, s-stchop-vxworks.adb: Remove the | |
2782 | procedure Set_Stack_Size that is not needed. | |
2783 | ||
2784 | 2004-06-07 Sergey Rybin <rybin@act-europe.fr> | |
2785 | ||
2786 | * gnat_ugn.texi: Clarify the case when non-standard naming scheme is | |
2787 | used for gnatpp input file and for the files upon which it depends | |
2788 | ||
2789 | 2004-06-07 Ben Brosgol <brosgol@gnat.com> | |
2790 | ||
2791 | * gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter | |
2792 | ||
2793 | 2004-06-07 Arnaud Charlet <charlet@act-europe.fr> | |
2794 | ||
2795 | * gnatvsn.ads: Bump version numbers appropriately. | |
2796 | Add new build type. | |
2797 | ||
2798 | 2004-06-07 Pascal Obry <obry@gnat.com> | |
2799 | ||
2800 | * gnat_ugn.texi: Improve comments about imported names and link names | |
2801 | on Windows. Add a note about the requirement to use -k gnatdll's option | |
2802 | when working with a DLL which has stripped stdcall symbols (no @nn | |
2803 | suffix). | |
2804 | ||
8a36a0cc AC |
2805 | 2004-05-27 Vincent Celier <celier@gnat.com> |
2806 | ||
2807 | * vms_data.ads: Add new GNAT PRETTY qualifiers /NO_BACKUP and | |
2808 | COMMENTS_LAYOUT=UNTOUCHED | |
2809 | ||
2810 | * symbols-vms.adb, symbols-vms-alpha.adb: Renamed symbols-vms.adb to | |
2811 | symbols-vms-alpha.adb | |
2812 | ||
2813 | 2004-05-27 Thomas Quinot <quinot@act-europe.fr> | |
2814 | ||
2815 | * sem.ads: Clarify documentation on checks suppression. | |
2816 | ||
2817 | * einfo.ads (Is_Known_Non_Null): Minor comment typo fix and rephrasing. | |
2818 | ||
2819 | 2004-05-27 Ed Schonberg <schonberg@gnat.com> | |
2820 | ||
2821 | * sem_util.adb (Is_Descendent_Of): Examine properly all ancestors in | |
2822 | the case of multiple derivations. | |
2823 | (Is_Object_Reference): For a selected component, verify that the prefix | |
2824 | is itself an object and not a value. | |
2825 | ||
2826 | * sem_ch12.adb (Same_Instantiated_Constant): New name for | |
2827 | Same_Instantiated_Entity. | |
2828 | (Same_Instantiated_Variable): Subsidiary to | |
2829 | Check_Formal_Package_Instance, to recognize actuals for in-out generic | |
2830 | formals that are obtained from a previous formal package. | |
2831 | (Instantiate_Subprogram_Body): Emit proper error when | |
2832 | generating code and the proper body of a stub is missing. | |
2833 | ||
2834 | * sem_ch4.adb (Remove_Address_Interpretations): If the operation still | |
2835 | has a universal interpretation, do the disambiguation here. | |
2836 | ||
2837 | * exp_ch4.adb (Expand_N_Type_Conversion, | |
2838 | Expand_N_Unchecked_Type_Conversion): Special handling when target type | |
2839 | is Address, to avoid typing anomalies when Address is a visible integer | |
2840 | type. | |
2841 | ||
2842 | * exp_ch6.adb (Expand_N_Subprogram_Body): Use Is_Descendent_Of_Address | |
2843 | to determine whether a subprogram should not be marked Pure, even when | |
2844 | declared in a pure package. | |
2845 | ||
2846 | 2004-05-27 Jose Ruiz <ruiz@act-europe.fr> | |
2847 | ||
2848 | * gnat_ugn.texi: Replace pragma Ravenscar by pragma Profile. | |
2849 | ||
2850 | * gnat_rm.texi: Replace Max_Entry_Queue_Depth by Max_Entry_Queue_Length | |
2851 | Document No_Dynamic_Attachment, that supersedes No_Dynamic_Interrupts. | |
2852 | Update the documentation about the Ravenscar profile, following the | |
2853 | definition found in AI-249. | |
2854 | ||
2855 | * sem_prag.adb: Use FIFO_Within_Priorities and Ceiling_Locking when | |
2856 | setting the Profile (Ravenscar). This must be done in addition to | |
2857 | setting the required restrictions. | |
2858 | ||
2859 | * rtsfind.ads: Add the set of operations defined in package | |
2860 | Ada.Interrupts. | |
2861 | ||
2862 | * exp_ch6.adb: Check whether we are violating the No_Dynamic_Attachment | |
2863 | restriction. | |
2864 | ||
2865 | 2004-05-27 Eric Botcazou <ebotcazou@act-europe.fr> | |
2866 | ||
2867 | lang-specs.h: Always require -c or -S and always redirect to /dev/null | |
2868 | if -gnatc or -gnats is passed. | |
2869 | ||
2870 | 2004-05-27 Hristian Kirtchev <kirtchev@gnat.com> | |
2871 | ||
2872 | * sem_prag.adb (Sig_Flags): A Pragma_Unchecked_Union does not count as | |
2873 | a significant reference. Warnings are now properly emitted when a | |
2874 | discriminated type is not referenced. | |
2875 | ||
2876 | * lib-xref.adb (Generate_Reference): A deferred constant completion, | |
2877 | record representation clause or record type discriminant does not | |
2878 | produce a reference to its corresponding entity. Warnings are now | |
2879 | properly emitted when deferred constants and record types are not | |
2880 | referenced. | |
2881 | ||
2882 | 2004-05-27 Geert Bosch <bosch@gnat.com> | |
2883 | ||
2884 | * Makefile.in: Use long version of libm routines on ia64 gnu/linux. | |
2885 | Fixes ACATS Annex G tests. | |
2886 | ||
2887 | 2004-05-27 Robert Dewar <dewar@gnat.com> | |
2888 | ||
2889 | * rtsfind.adb (RTU_Loaded): Temporary kludge to get past bug of not | |
2890 | handling WITH | |
2891 | ||
2892 | 2004-05-27 Arnaud Charlet <charlet@act-europe.fr> | |
2893 | ||
2894 | * s-interr.adb (Server_Task): Take into account case of early return | |
2895 | from sigwait under e.g. linux. | |
2896 | ||
2897 | 2004-05-27 Sergey Rybin <rybin@act-europe.fr> | |
2898 | ||
2899 | * gnat_ugn.texi: Add description for the new gnatpp options: | |
2900 | -rnb - replace the original source without creating its backup copy | |
2901 | -c0 - do not format comments | |
2902 | ||
0fb2ea01 AC |
2903 | 2004-05-24 Geert Bosch <bosch@gnat.com> |
2904 | ||
2905 | * a-numaux-x86.adb (Reduce): Reimplement using an approximation of Pi | |
2906 | with 192 bits of precision, sufficient to reduce a double-extended | |
2907 | arguments X with a maximum relative error of T'Machine_Epsilon, for X | |
2908 | in -2.0**32 .. 2.0**32. | |
2909 | (Cos, Sin): Always reduce arguments of 1/4 Pi or larger, to prevent | |
2910 | reduction by the processor, which only uses a 68-bit approximation of | |
2911 | Pi. | |
2912 | (Tan): Always reduce arguments and compute function either using | |
2913 | the processor's fptan instruction, or by dividing sin and cos as needed. | |
2914 | ||
2915 | 2004-05-24 Doug Rupp <rupp@gnat.com> | |
2916 | ||
2917 | * adaint.c (__gnat_readdir): Cast CRTL function retun value to avoid | |
2918 | gcc error on 32/64 bit VMS. | |
2919 | ||
2920 | 2004-05-24 Olivier Hainque <hainque@act-europe.fr> | |
2921 | ||
2922 | * init.c (__gnat_error_handler): Handle EEXIST as EACCES for SIGSEGVs, | |
2923 | since this is what we get for stack overflows although not documented | |
2924 | as such. | |
2925 | Document the issues which may require adjustments to our signal | |
2926 | handlers. | |
2927 | ||
2928 | 2004-05-24 Ed Schonberg <schonberg@gnat.com> | |
2929 | ||
2930 | * inline.adb (Add_Scope_To_Clean): Do not add cleanup actions to the | |
2931 | enclosing dynamic scope if the instantiation is within a generic unit. | |
2932 | ||
2933 | 2004-05-24 Arnaud Charlet <charlet@act-europe.fr> | |
2934 | ||
2935 | * exp_dbug.ads: Fix typo. | |
2936 | ||
2937 | * Makefile.in: s-osinte-linux-ia64.ads was misnamed. | |
2938 | Rename it to its proper name: system-linux-ia64.ads | |
2939 | (stamp-gnatlib1): Remove extra target specific run time files when | |
2940 | setting up the rts directory. | |
2941 | ||
2942 | 2004-05-24 Javier Miranda <miranda@gnat.com> | |
2943 | ||
2944 | * einfo.ads, einfo.adb (Limited_Views): Removed. | |
2945 | (Limited_View): New attribute that replaces the previous one. It is | |
2946 | now a bona fide package with the limited-view list through the | |
2947 | first_entity and first_private attributes. | |
2948 | ||
2949 | * sem_ch10.adb (Install_Private_With_Clauses): Give support to | |
2950 | limited-private-with clause. | |
2951 | (Install_Limited_Withed_Unit): Install the private declarations of a | |
2952 | limited-private-withed package. Update the installation of the shadow | |
2953 | entities according to the new structure (see Build_Limited_Views) | |
2954 | (Build_Limited_Views): Replace the previous implementation of the | |
2955 | limited view by a package entity that references the first shadow | |
2956 | entity plus the first shadow private entity (required for limited- | |
2957 | private-with clause) | |
2958 | (New_Internal_Shadow_Entity): Code cleanup. | |
2959 | (Remove_Limited_With_Clause): Update the implementation to undo the | |
2960 | new work carried out by Build_Limited_Views. | |
2961 | (Build_Chain): Complete documentation. | |
2962 | Replace Ada0Y by Ada 0Y in comments | |
2963 | Minor reformating | |
2964 | ||
2965 | * sem_ch3.adb (Array_Type_Declaration): In case of anonymous access | |
2966 | types the level of accessibility depends on the enclosing type | |
2967 | declaration. | |
2968 | ||
2969 | * sem_ch8.adb (Find_Expanded_Name): Fix condition to detect shadow | |
2970 | entities. Complete documentation of previous change. | |
2971 | ||
2972 | 2004-05-24 Robert Dewar <dewar@gnat.com> | |
2973 | ||
2974 | * namet.adb: Minor reformatting | |
2975 | Avoid use of name I (replace by J) | |
2976 | Minor code restructuring | |
2977 | ||
2978 | * sem_ch6.adb: Minor reformatting | |
2979 | ||
2980 | * lib-writ.adb: Do not set restriction as active if this is a | |
2981 | Restriction_Warning case. | |
2982 | ||
2983 | * sem_prag.adb: Reset restriction warning flag if real pragma | |
2984 | restriction encountered. | |
2985 | ||
2986 | * s-htable.adb: Minor reformatting | |
2987 | Change rotate count to 3 in Hash (improves hash for small strings) | |
2988 | ||
2989 | * 5qsystem.ads: Add comments for type Address (no literals allowed). | |
2990 | ||
2991 | * gnat_ugn.texi: Add new section of documentation "Code Generation | |
2992 | Control", which describes the use of -m switches. | |
2993 | ||
2994 | 2004-05-24 Eric Botcazou <ebotcazou@act-europe.fr> | |
2995 | ||
a1db9d9c AC |
2996 | trans.c (tree_transform) <N_Identifier>: Do the dereference directly |
2997 | through the DECL_INITIAL for renamed variables. | |
0fb2ea01 | 2998 | |
7599f1b0 AC |
2999 | 2004-05-24 Arnaud Charlet <charlet@act-europe.fr> |
3000 | ||
3001 | * s-osinte-linux-ia64.ads: Renamed system-linux-ia64.ads | |
3002 | ||
c37bb106 AC |
3003 | 2004-05-19 Joel Brobecker <brobecker@gnat.com> |
3004 | ||
3005 | * exp_dbug.ads: Correct comments concerning handling of overloading, | |
3006 | since we no longer use $ anymore. | |
3007 | ||
3008 | 2004-05-19 Sergey Rybin <rybin@act-europe.fr> | |
3009 | ||
3010 | * sem_ch10.adb (Optional_Subunit): When loading a subunit, do not | |
3011 | ignore errors if ASIS_Mode is set. This prevents creating ASIS trees | |
3012 | with illegal subunits. | |
3013 | ||
3014 | 2004-05-19 Ed Schonberg <schonberg@gnat.com> | |
3015 | ||
3016 | * sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram | |
3017 | body with front-end inlining enabled, check whether an inline pragma | |
3018 | appears immediately after the body and applies to it. | |
3019 | ||
3020 | * sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is | |
3021 | enabled and the pragma appears after the body of the subprogram. | |
3022 | ||
b5e792e2 AC |
3023 | 2004-05-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3024 | ||
3025 | Part of function-at-a-time conversion | |
3026 | ||
3027 | * misc.c (adjust_decl_rtl): Deleted. | |
3028 | (LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK): | |
3029 | Define. | |
3030 | ||
3031 | * gigi.h: (adjust_decl_rtl, kept_level_p, set_block): Deleted. | |
3032 | (add_decl_stmt, add_stmt, block_has_vars): New functions. | |
3033 | (gnat_pushlevel, gnat_poplevel): Renamed from pushlevel and poplevel. | |
3034 | ||
3035 | * decl.c (elaborate_expression, maybe_pad_type): Call add_decl_stmt | |
3036 | when making a decl. | |
3037 | (gnat_to_gnu_entity): Likewise. | |
3038 | Use add_stmt to update setjmp buffer. | |
3039 | Set TREE_ADDRESSABLE instead of calling put_var_into_stack and | |
3040 | flush_addressof. | |
3041 | No longer call adjust_decl_rtl. | |
3042 | (DECL_INIT_BY_ASSIGN_P): New macro. | |
3043 | (DECL_STMT_VAR): Likewise. | |
3044 | ||
3045 | * trans.c (gigi): Call start_block_stmt to make the outermost | |
3046 | BLOCK_STMT. | |
3047 | (gnat_to_code, gnu_to_gnu, tree_transform, process_decls, process_type): | |
3048 | Call start_block_stmt and end_block_stmt temporarily. | |
3049 | Use gnat_expand_stmt instead of expand_expr_stmt. | |
3050 | (add_decl_stmt): New function. | |
3051 | (tree_transform): Call it. | |
3052 | (add_stmt): Also emit initializing assignment for DECL_STMT if needed. | |
3053 | (end_block_stmt): Set type and NULL_STMT. | |
3054 | (gnat_expand_stmt): Make recursize call instead of calling | |
3055 | expand_expr_stmt. | |
3056 | (gnat_expand_stmt, case DECL_STMT): New case. | |
3057 | (set_lineno_from_sloc): Do nothing if global. | |
3058 | (gnu_block_stmt_node, gnu_block_stmt_free_list): New variables. | |
3059 | (start_block_stmt, add_stmt, end_block_stmt): New functions. | |
3060 | (build_block_stmt): Call them. | |
3061 | (gnat_to_code): Don't expand NULL_STMT. | |
3062 | (build_unit_elab): Rename pushlevel and poplevel to gnat_* and change | |
3063 | args. | |
3064 | (tree_transform): Likewise. | |
3065 | (tree_transform, case N_Null_Statement): Return NULL_STMT. | |
3066 | (gnat_expand_stmt, case NULL_STMT): New case. | |
3067 | (gnat_expand_stmt, case IF_STMT): Allow nested IF_STMT to have no | |
3068 | IF_STMT_TRUE. | |
3069 | ||
3070 | * utils2.c (gnat_mark_addressable, case VAR_DECL): Do not set | |
3071 | TREE_ADDRESSABLE. | |
3072 | ||
3073 | * utils.c (create_var_decl): Do not call expand_decl or | |
3074 | expand_decl_init. | |
3075 | Set TREE_ADDRESSABLE instead of calling gnat_mark_addressable. | |
3076 | Set DECL_INIT_BY_ASSIGN_P when needed and do not generate MODIFY_EXPR | |
3077 | here. | |
3078 | (struct e_stack): Add chain_next to GTY. | |
3079 | (struct binding_level): Deleted. | |
3080 | (struct ada_binding_level): New struct. | |
3081 | (free_block_chain): New. | |
3082 | (global_binding_level, clear_binding_level): Deleted. | |
3083 | (global_bindings_p): Rework to see if no chain. | |
3084 | (kept_level_p, set_block): Deleted. | |
3085 | (gnat_pushlevel): Renamed from pushlevel and extensive reworked to use | |
3086 | new data structure and work directly on BLOCK node. | |
3087 | (gnat_poplevel): Similarly. | |
3088 | (get_decls): Look at BLOCK_VARS. | |
3089 | (insert_block): Work directly on BLOCK node. | |
3090 | (block_has_var): New function. | |
3091 | (pushdecl): Rework for new binding structures. | |
3092 | (gnat_init_decl_processing): Rename and rework calls to pushlevel and | |
3093 | poplevel. | |
3094 | (build_subprog_body): Likewise. | |
3095 | (end_subprog_body): Likewise; also set up BLOCK in DECL_INITIAL. | |
3096 | ||
3097 | * ada-tree.def (DECL_STMT, NULL_STMT): New codes. | |
3098 | ||
3099 | * ada-tree.h: (DECL_INIT_BY_ASSIGN_P): New macro. | |
3100 | (DECL_STMT_VAR): Likewise. | |
3101 | ||
3102 | 2004-05-17 Robert Dewar <dewar@gnat.com> | |
3103 | ||
3104 | * restrict.ads, restrict.adb (Process_Restriction_Synonym): New | |
3105 | procedure | |
3106 | ||
3107 | * sem_prag.adb (Analyze_Pragma, case Restrictions): Cleanup handling | |
3108 | of restriction synonyums by using | |
3109 | Restrict.Process_Restriction_Synonyms. | |
3110 | ||
3111 | * snames.ads, snames.adb: Add entries for Process_Restriction_Synonym | |
3112 | ||
3113 | * s-restri.ads (Tasking_Allowed): Correct missing comment | |
3114 | ||
3115 | * s-rident.ads: Add entries for restriction synonyms | |
3116 | ||
3117 | * ali.adb: Fix some problems with badly formatted ALI files that can | |
3118 | result in infinite loops. | |
3119 | ||
3120 | * s-taprop-lynxos.adb, s-tpopsp-lynxos.adb, s-taprop-tru64.adb, | |
3121 | s-tpopsp-posix-foreign.adb, s-taprop-irix.adb, s-interr-sigaction.adb, | |
3122 | s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb, | |
3123 | s-taprop-dummy.adb, s-interr-dummy.adb, s-taprop-os2.adb, | |
3124 | s-taprop-solaris.adb, s-tpopsp-solaris.adb, s-asthan-vms.adb, | |
3125 | s-inmaop-vms.adb, s-interr-vms.adb, s-taprop-vms.adb, | |
3126 | s-tpopde-vms.adb, s-taprop-mingw.adb, s-interr-vxworks.adb, | |
3127 | s-taprop-vxworks.adb, s-tpopsp-vxworks.adb, s-taprop-posix.adb, | |
3128 | s-tpopsp-posix.adb, s-tratas-default.adb, a-dynpri.adb, | |
3129 | a-tasatt.adb, a-taside.adb, a-taside.ads, exp_attr.adb, | |
3130 | exp_ch9.adb, g-thread.adb, rtsfind.ads, sem_attr.adb, | |
3131 | s-interr.adb, s-interr.ads, s-soflin.ads, s-taasde.adb, | |
3132 | s-taasde.ads, s-taenca.adb, s-taenca.ads, s-taprop.ads, | |
3133 | s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads, | |
3134 | s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads, | |
3135 | s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads, | |
3136 | s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads, | |
3137 | s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads, | |
3138 | s-tpoben.adb, s-tpobop.adb, s-tpobop.ads, s-tporft.adb, | |
3139 | s-tposen.adb, s-tposen.ads, s-tratas.adb, s-tratas.ads: Change Task_ID | |
3140 | to Task_Id (minor cleanup). | |
3141 | ||
3142 | 2004-05-17 Vincent Celier <celier@gnat.com> | |
3143 | ||
3144 | * g-os_lib.adb (Normalize_Pathname.Final_Value): Remove trailing | |
3145 | directory separator. | |
3146 | ||
3147 | * prj-proc.adb (Recursive_Process): Inherit attribute Languages from | |
3148 | project being extended, if Languages is not declared in extending | |
3149 | project. | |
3150 | ||
3151 | 2004-05-17 Javier Miranda <miranda@gnat.com> | |
3152 | ||
3153 | * sem_ch10.adb (Install_Limited_Withed_Unit): Do not install the | |
3154 | limited view of a visible sibling. | |
3155 | ||
9bc856dd AC |
3156 | 2004-05-14 Robert Dewar <dewar@gnat.com> |
3157 | ||
3158 | * gnat_ugn.texi: Minor change to -gnatS documentation | |
3159 | ||
3160 | * sprint.adb: Remove some instances of Assert (False) and for this | |
3161 | purpose replace them by output of a ??? string. | |
3162 | ||
3163 | * checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma | |
3164 | Assert (False). | |
3165 | ||
3166 | * lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit | |
3167 | flag processing. This was suppressing required dependencies in | |
3168 | No_Run_Time mode and is not needed since the binder does not generate | |
3169 | references for things in libgnat anyway. | |
3170 | ||
3171 | * sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC | |
3172 | warning. | |
3173 | ||
3174 | 2004-05-14 Thomas Quinot <quinot@act-europe.fr> | |
3175 | ||
3176 | * gnat_ugn.texi: Document AIX-specific issue with initialization of | |
3177 | resolver library. | |
3178 | ||
3179 | * exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference | |
3180 | action for the case of an actual parameter in an init proc call. | |
3181 | ||
3182 | 2004-05-14 Ed Schonberg <schonberg@gnat.com> | |
3183 | ||
3184 | * sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected | |
3185 | subtype, check visible entities in base type. | |
3186 | ||
3187 | * exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup | |
3188 | actions if the object is a renaming. | |
3189 | ||
3190 | * sem_ch12.adb (Same_Instantiated_Entity): Predicate for | |
3191 | Check_Formal_Package_Instance, to determine more precisely when the | |
3192 | formal and the actual denote the same entity. | |
3193 | ||
3194 | 2004-05-14 Javier Miranda <miranda@gnat.com> | |
3195 | ||
3196 | * par-ch10.adb (P_Context_Clause): Complete documentation on AI-262 | |
3197 | ||
3198 | * sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity | |
3199 | corresponding to a private_with must be removed from visibility; it | |
3200 | will be made visible later, just before we analyze the private part of | |
3201 | the package. | |
3202 | (Check_Private_Child_Unit): Allow private_with clauses in public | |
3203 | siblings. | |
3204 | (Install_Siblings): Make visible the private entities of private-withed | |
3205 | siblings. | |
3206 | (Install_Withed_Unit): Do not install the private withed unit if we | |
3207 | are compiling a package declaration and the Private_With_OK flag was | |
3208 | not set by the caller. These declarations will be installed later, | |
3209 | just before we analyze the private part of the package. | |
3210 | ||
3211 | * sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected | |
3212 | during the evaluation of the expression that initializes the object, | |
3213 | decorate it with the expected type to avoid cascade errors. | |
3214 | Code cleanup. | |
3215 | ||
3216 | * sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library | |
3217 | subprogram we have to install the private_with clauses after its | |
3218 | specification has been analyzed (as documented in AI-262.TXT). | |
3219 | ||
3220 | * sem_ch8.adb (Has_Private_With): New function. Determines if the | |
3221 | current compilation unit has a private with on a given entity. | |
3222 | (Find_Direct_Name): Detect the Beaujolais problem described in | |
3223 | AI-262.TXT | |
3224 | ||
3225 | * sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It | |
3226 | provides the functionality of the function Is_Ancestor that was | |
3227 | previously available in sem_ch10. It has been renamed to avoid | |
3228 | overloading. | |
3229 | ||
3230 | * sprint.adb (Sprint_Node_Actual): Print limited_with clauses | |
3231 | ||
3232 | 2004-05-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
3233 | ||
3234 | * utils.c (build_vms_descriptor): Use SImode pointers. | |
3235 | ||
3236 | 2004-05-14 Vasiliy Fofanov <fofanov@act-europe.fr> | |
3237 | ||
3238 | * gnat_ugn.texi: Revised chapter "GNAT and Libraries". | |
3239 | ||
3240 | 2004-05-14 GNAT Script <nobody@gnat.com> | |
3241 | ||
3242 | * Make-lang.in: Makefile automatically updated | |
3243 | ||
084c663c AC |
3244 | 2004-05-14 Arnaud Charlet <charlet@act-europe.fr> |
3245 | ||
3246 | Renaming of target specific files for clarity | |
3247 | ||
6615c446 | 3248 | * Makefile.in: Rename GNAT target specific files. |
084c663c AC |
3249 | |
3250 | * 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads, | |
3251 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads, | |
3252 | 3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb, | |
3253 | 3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, | |
3254 | 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads, | |
3255 | 3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads, | |
3256 | 42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads, | |
3257 | 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads, | |
3258 | 4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, | |
3259 | 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads, | |
3260 | 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads, | |
3261 | 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads, | |
3262 | 51osinte.adb, 51osinte.ads, 51system.ads, | |
3263 | 52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads, | |
3264 | 55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb, | |
3265 | 56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads, | |
3266 | 56tpopsp.adb, 57system.ads, 58system.ads, | |
3267 | 5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads, | |
3268 | 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, | |
3269 | 5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb, | |
3270 | 5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads, | |
3271 | 5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb, | |
3272 | 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads, | |
3273 | 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb, | |
3274 | 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads, | |
3275 | 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb, | |
3276 | 5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads, | |
3277 | 5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, | |
3278 | 5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, | |
3279 | 5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads, | |
3280 | 5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads, | |
3281 | 5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads, | |
3282 | 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb, | |
3283 | 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb, | |
3284 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads, | |
3285 | 5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb, | |
3286 | 5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb, | |
3287 | 5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb, | |
3288 | 5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads, | |
3289 | 5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb, | |
3290 | 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads, | |
3291 | 5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads, | |
3292 | 5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb, | |
3293 | 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb, | |
3294 | 5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb, | |
3295 | 5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb, | |
3296 | 5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads, | |
3297 | 5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads, | |
3298 | 5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb, | |
3299 | 5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb, | |
3300 | 5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb, | |
3301 | 5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb, | |
3302 | 5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, | |
3303 | 7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb, | |
3304 | 7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb, | |
3305 | 7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads, | |
3306 | 7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below. | |
3307 | ||
3308 | * a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb, | |
3309 | a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb, | |
3310 | a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads, | |
3311 | a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads, | |
3312 | a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads, | |
3313 | a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads, | |
3314 | a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads, | |
3315 | a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads, | |
3316 | a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads, | |
3317 | a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb, | |
3318 | g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads, | |
3319 | g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads, | |
3320 | g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads, | |
3321 | g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads, | |
3322 | g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb, | |
3323 | g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads, | |
3324 | g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads, | |
3325 | g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb, | |
3326 | interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb, | |
3327 | mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb, | |
3328 | mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb, | |
3329 | mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb, | |
3330 | s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb, | |
3331 | s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb, | |
3332 | s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb, | |
3333 | s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb, | |
3334 | s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads, | |
3335 | s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb, | |
3336 | s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb, | |
3337 | s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads, | |
3338 | s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb, | |
3339 | s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads, | |
3340 | s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads, | |
3341 | s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads, | |
3342 | s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads, | |
3343 | s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb, | |
3344 | s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb, | |
3345 | s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb, | |
3346 | s-osinte-solaris.ads, s-osinte-solaris-fsu.ads, | |
3347 | s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads, | |
3348 | s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb, | |
3349 | s-osinte-vms.ads, s-osinte-vxworks.adb, | |
3350 | s-osinte-vxworks.ads, s-osprim-mingw.adb, | |
3351 | s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb, | |
3352 | s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads, | |
3353 | s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads, | |
3354 | s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb, | |
3355 | s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads, | |
3356 | s-proinf-irix-athread.adb, s-proinf-irix-athread.ads, | |
3357 | s-stchop-vxworks.adb, s-taprop-dummy.adb, | |
3358 | s-taprop-hpux-dce.adb, s-taprop-irix.adb, | |
3359 | s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb, | |
3360 | s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb, | |
3361 | s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
3362 | s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb, | |
3363 | s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads, | |
3364 | s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads, | |
3365 | s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads, | |
3366 | s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads, | |
3367 | s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads, | |
3368 | s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb, | |
3369 | s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb, | |
3370 | s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb, | |
3371 | s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb, | |
3372 | s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb, | |
3373 | s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb, | |
3374 | s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads, | |
3375 | s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads, | |
3376 | symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads, | |
3377 | system-hpux.ads, system-interix.ads, system-irix-n32.ads, | |
3378 | system-irix-o32.ads, system-linux-x86_64.ads, | |
3379 | system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads, | |
3380 | system-mingw.ads, system-os2.ads, system-solaris-sparc.ads, | |
3381 | system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads, | |
3382 | system-unixware.ads, system-vms.ads, system-vms-zcx.ads, | |
3383 | system-vxworks-alpha.ads, system-vxworks-m68k.ads, | |
3384 | system-vxworks-mips.ads, system-vxworks-ppc.ads, | |
3385 | system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files | |
3386 | above. | |
3387 | ||
90afe2c9 ZW |
3388 | 2004-05-13 Zack Weinberg <zack@codesourcery.com> |
3389 | ||
3390 | * trans.c (gnat_stabilize_reference_1): Remove case 'b'. | |
3391 | ||
6de9cd9a DN |
3392 | 2004-05-13 Diego Novillo <dnovillo@redhat.com> |
3393 | ||
3394 | Merge from tree-ssa-20020619-branch. | |
3395 | ||
3396 | * config-lang.in (boot_language, build_by_default): Set | |
3397 | to no. | |
3398 | * utils.c (unchecked_convert): Use OEP_ONLY_CONST. | |
3399 | (max_size): Add static chain op for call_expr. | |
3400 | ||
f5657d67 RS |
3401 | 2004-05-12 Richard Sandiford <rsandifo@redhat.com> |
3402 | ||
3403 | PR target/15331 | |
3404 | * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '. | |
3405 | ||
4413b636 RS |
3406 | 2004-05-11 Roger Sayle <roger@eyesopen.com> |
3407 | ||
3408 | * utils.c (max_size): Use MIN_EXPR to find the minimum value of a | |
3409 | COND_EXPR. | |
3410 | ||
5950a3ac AC |
3411 | 2004-05-10 Doug Rupp <rupp@gnat.com> |
3412 | ||
3413 | * 5qsystem.ads: Remove Short_Address subtype declaration. Moved to | |
3414 | system.aux_dec. | |
3415 | ||
3416 | * s-auxdec.ads: Add Short_Address subtype (moved here from System). | |
3417 | ||
3418 | * Makefile.in: [VMS]: Add translation for 5qauxdec.ads. | |
3419 | ||
3420 | * init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha. | |
3421 | Fixes undefined symbols in IA64 gnatlib. | |
3422 | ||
3423 | * 5vinmaop.adb: Reference s-auxdec for Short_Address. | |
3424 | ||
3425 | * 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype | |
3426 | Short_Address). This will be moved to system.auxdec. | |
3427 | ||
3428 | 2004-05-10 Thomas Quinot <quinot@act-europe.fr> | |
3429 | ||
3430 | * sem_util.adb: Replace test for presence of a node that is always | |
3431 | present with a call to Discard_Node. | |
3432 | ||
3433 | * sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to | |
3434 | Analyze on the library unit node after generation of distribution stub | |
3435 | constructs. The call was a no-op because Unit_Node has already been | |
3436 | Analyzed, and the tree fragments for the distribution stubs are | |
3437 | analyzed as they are inserted in Exp_Dist. | |
3438 | Update comment regarding to distribution stubs to reflect that we | |
3439 | do not generate stub in separate files anymore. | |
3440 | ||
3441 | * einfo.ads: Clarify the fact that a tagged private type has the | |
3442 | E_Record_Type_With_Private Ekind. | |
3443 | ||
3444 | * erroutc.adb: Minor reformatting | |
3445 | ||
3446 | * erroutc.ads (Max_Msg_Length): Increase to cover possible larger | |
3447 | values if line length is increased using -gnatyM (noticed during code | |
3448 | reading). | |
3449 | ||
3450 | * eval_fat.adb: Minor reformatting | |
3451 | Put spaces around exponentiation operator | |
3452 | ||
3453 | 2004-05-10 Ed Schonberg <schonberg@gnat.com> | |
3454 | ||
3455 | PR ada/15005 | |
3456 | * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix | |
3457 | has been rewritten as an explicit dereference, retrieve type of | |
3458 | original node to check for possibly unconstrained record type. | |
3459 | ||
3460 | 2004-05-10 Ed Schonberg <schonberg@gnat.com> | |
3461 | ||
3462 | * exp_ch7.adb (Check_Visibly_Controlled): If given operation is not | |
3463 | overriding, use the operation of the parent unconditionally. | |
3464 | ||
3465 | * sem_ch4.adb (Remove_Address_Interpretations): Remove address | |
3466 | operation when either operand is a literal, to avoid further | |
3467 | ambiguities. | |
3468 | ||
3469 | * sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and | |
3470 | overridden by a previous explicit declaration, mark the previous entity | |
3471 | as overriding. | |
3472 | ||
3473 | * sem_disp.adb (Check_Dispatching_Operation): New predicate | |
3474 | Is_Visibly_Controlled, to determine whether a declaration of a | |
3475 | primitive control operation for a derived type overrides an inherited | |
3476 | one. Add warning if the explicit declaration does not override. | |
3477 | ||
3478 | 2004-05-10 Vincent Celier <celier@gnat.com> | |
3479 | ||
3480 | * gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in | |
3481 | some cases when the sources are no longer present. | |
3482 | ||
3483 | * make.adb (Collect_Arguments): Fail if an external source, not part | |
3484 | of any project need to be compiled, when switch -x has not been | |
3485 | specified. | |
3486 | ||
3487 | * makeusg.adb: Document new switch -x | |
3488 | ||
3489 | * opt.ads (External_Unit_Compilation_Allowed): New Boolean flag, | |
3490 | defaulted to False. | |
3491 | ||
3492 | * switch-m.adb (Scan_Make_Switches): New switch -x | |
3493 | ||
3494 | * vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for | |
3495 | gnatmake switch -x. | |
3496 | ||
3497 | * gnat_ugn.texi: Document new gnatmake switch -x | |
3498 | ||
3499 | 2004-05-10 Eric Botcazou <ebotcazou@act-europe.fr> | |
3500 | ||
3501 | * misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0. | |
3502 | ||
3503 | * utils.c (create_var_decl): Do not modify the DECL_COMMON flag. | |
3504 | (process_attributes): Likewise. | |
3505 | ||
3506 | 2004-05-10 Joel Brobecker <brobecker@gnat.com> | |
3507 | ||
3508 | * s-inmaop.ads: Fix spelling mistake in one of the comments. | |
3509 | ||
3510 | 2004-05-10 Robert Dewar <dewar@gnat.com> | |
3511 | ||
3512 | * gnat_ugn.texi: Document that for config pragma files, the maximum | |
3513 | line length is always 32767. | |
3514 | ||
3515 | * gnat_rm.texi: For pragma Eliminate, note that concatenation of string | |
3516 | literals is now allowed. | |
3517 | ||
3518 | * gnat-style.texi: Remove statement about splitting long lines before | |
3519 | an operator rather than after, since we do not follow this rule at all. | |
3520 | Clarify rule (really lack of rule) for spaces around exponentiation | |
3521 | ||
3522 | * sem_elim.adb: Allow concatenation of string literals as well as a | |
3523 | single string literal for pragma arguments. | |
3524 | ||
3525 | * sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function | |
3526 | ||
3527 | * a-textio.adb (Terminate_Line): Do not add line feed if nothing | |
3528 | written for append case. | |
3529 | ||
3530 | * frontend.adb: Changes to avoid checking max line length in config | |
3531 | pragma files. | |
3532 | ||
3533 | * g-os_lib.ads: Minor reformatting | |
3534 | ||
3535 | * mlib-utl.adb: Do not define Max_Line_Length locally (definition was | |
3536 | wrong in any case. Instead use standard value. Noticed during code | |
3537 | reading. | |
3538 | ||
3539 | * opt.ads (Max_Line_Length): New field, used to implement removal of | |
3540 | limitation on length of lines when scanning config pragma files. | |
3541 | ||
3542 | * osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb, | |
3543 | makeutl.ads, makeutl.adb: Minor reformatting | |
3544 | ||
3545 | * scn.adb: Do not check line length while scanning config pragma files | |
3546 | Do not check line length while scanning out license information | |
3547 | ||
3548 | * scng.adb: Changes to avoid line length checks while parsing config | |
3549 | pragma files. | |
3550 | ||
3551 | 2004-05-10 GNAT Script <nobody@gnat.com> | |
3552 | ||
3553 | * Make-lang.in: Makefile automatically updated | |
3554 | ||
48664302 AC |
3555 | 2004-05-05 Arnaud Charlet <charlet@act-europe.fr> |
3556 | ||
3557 | * osint.adb (Find_Program_Name): Fix handling of VMS version | |
3558 | number. | |
3559 | ||
aa720a54 AC |
3560 | 2004-05-05 Emmanuel Briot <briot@act-europe.fr> |
3561 | ||
3562 | * g-os_lib.ads (Invalid_Time): New constant | |
3563 | ||
3564 | * adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now | |
3565 | return OS_Time instead of time_t to match what is imported by Ada. | |
3566 | Now return -1 if the file doesn't exist, instead of a random value | |
3567 | ||
3568 | 2004-05-05 Robert Dewar <dewar@gnat.com> | |
3569 | ||
3570 | * usage.adb: Add line for -gnatR?s switch | |
3571 | ||
3572 | * sem_ch13.adb, exp_ch2.adb: Minor reformatting | |
3573 | ||
3574 | * g-regpat.ads, g-regpat.adb: Add documentation on handling of Size | |
3575 | and for Match (Data_First, Data_last) | |
3576 | ||
3577 | * lib-writ.adb (Write_With_Lines): Ensure that correct index number is | |
3578 | written when we are dealing with multi-unit files. | |
3579 | ||
3580 | 2004-05-05 Jerome Guitton <guitton@act-europe.fr> | |
3581 | ||
3582 | * Makefile.in: Remove unused targets and variables. | |
3583 | ||
3584 | 2004-05-05 Vincent Celier <celier@gnat.com> | |
3585 | ||
3586 | * switch-m.adb: New gnatmake switch -eI | |
3587 | ||
3588 | * vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and | |
3589 | of new gnatmake switch -eInnn. | |
3590 | ||
3591 | * makegpr.adb: Take into account new parameters Index and Src_Index in | |
3592 | Prj.Util. | |
3593 | ||
3594 | * clean.adb: Implement support for multi-unit sources, including new | |
3595 | switch -i. | |
3596 | ||
3597 | * gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter | |
3598 | Src_Index. | |
3599 | ||
3600 | * make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0 | |
3601 | (Extract_From_Q): New out parameter Index | |
3602 | (Mark, Is_Marked): Subprograms moved to Makeutl | |
3603 | (Switches_Of): New parameter Source_Index | |
3604 | (Add_Switch): New parameter Index | |
3605 | (Check): New parameter Source_Index | |
3606 | (Collect_Arguments): New parameter Source_Index | |
3607 | (Collect_Arguments_And_Compile): New parameter Source_Index | |
3608 | (Compile): New parameter Source_Index | |
3609 | Put subprograms in alphabetical order | |
3610 | Add support for multi-source sources, including in project files. | |
3611 | ||
3612 | * makeutl.ads, makeutl.adb (Unit_Index_Of): New function | |
3613 | (Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from | |
3614 | Make. | |
3615 | ||
3616 | * makeusg.adb: New gnatmake switch -eInnn | |
3617 | ||
3618 | * mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to | |
3619 | Prj.Util.Value_Of. | |
3620 | ||
3621 | * opt.ads (Main_Index): New variable, defaulted to 0. | |
3622 | ||
3623 | * osint.ads, osinte.adb (Add_File): New parameter Index | |
3624 | (Current_Source_Index): New function | |
3625 | ||
3626 | * prj.adb: Take into account new components Index and Src_Index | |
3627 | ||
3628 | * prj.ads (String_Element): New component Index | |
3629 | (Variable_Value): New component Index | |
3630 | (Array_Element): New component Src_Index | |
3631 | ||
3632 | * prj-attr.adb: Indicate that optional index may be specified for | |
3633 | attributes Main, Executable, Spec, Body and some of Switches. | |
3634 | ||
3635 | * prj-attr.ads (Attribute_Kind): New values for optional indexes | |
3636 | (Attribute_Record): New component Optional_Index | |
3637 | ||
3638 | * prj-com.ads (File_Name_Data): New component Index | |
3639 | ||
3640 | * prj-dect.adb (Parse_Attribute_Declaration): Process optional index | |
3641 | ||
3642 | * prj-env.adb (Put): Output optional index | |
3643 | ||
3644 | * prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and | |
3645 | attributes Spec and Body. | |
3646 | ||
3647 | * prj-nmsc.adb: Process optional indexes | |
3648 | ||
3649 | * prj-pp.adb: Ouput "at" for optional indexes | |
3650 | ||
3651 | * prj-proc.adb: Take into account optional indexes | |
3652 | ||
3653 | * prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter | |
3654 | Optional_Index. For string literal, | |
3655 | process optional index when Optional_Index is True. | |
3656 | (Parse_Expresion): New Boolean parameter Optional_Index | |
3657 | ||
3658 | * prj-tree.ads, prj-tree.adb (Source_Index_Of): New function | |
3659 | (Set_Source_Index_Of): New procedure | |
3660 | ||
3661 | * prj-util.adb (Executable_Of, Value_Of): Take into account optional | |
3662 | index. | |
3663 | ||
3664 | * prj-util.ads (Executable_Of): New parameter Index | |
3665 | (Value_Of (Name_Id, Array_Element_Id) returning Variable_Value): | |
3666 | New parameter Src_Index, defaulted to 0. | |
3667 | ||
3668 | 2004-05-05 Ed Schonberg <schonberg@gnat.com> | |
3669 | ||
3670 | PR ada/15257 | |
3671 | * sem_ch3.adb (Access_Definition): If this is an access parameter | |
3672 | whose designated type is imported through a limited_with clause, do | |
3673 | not add the enclosing subprogram to the list of private dependents of | |
3674 | the type. | |
3675 | ||
3676 | 2004-05-05 Ed Schonberg <schonberg@gnat.com> | |
3677 | ||
3678 | PR ada/15258 | |
3679 | * sem_ch6.adb (Base_Types_Match): True if one type is imported through | |
3680 | a limited_with clause, and the other is its non-limited view. | |
3681 | ||
3682 | 2004-05-05 Thomas Quinot <quinot@act-europe.fr> | |
3683 | ||
3684 | * cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals. | |
3685 | ||
90afe2c9 | 3686 | * exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb, |
aa720a54 AC |
3687 | exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use |
3688 | Stand.Boolean_Literals to produce references to entities | |
3689 | Standard_False and Standard_True from compile-time computed boolean | |
3690 | values. | |
3691 | ||
3692 | * stand.ads (Boolean_Literals): New variable, provides the entity | |
3693 | values for False and True, for use by the expander. | |
3694 | ||
3695 | 2004-05-05 Doug Rupp <rupp@gnat.com> | |
3696 | ||
3697 | * 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype | |
3698 | 5vinmaop.adb: Unchecked convert Short_Address vice Address | |
3699 | ||
3700 | * adaint.c, raise.c: Caste CRTL function return value | |
3701 | to avoid gcc error on 32/64 bit IVMS. | |
3702 | ||
3703 | * Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and | |
3704 | target = IA64/VMS. | |
3705 | ||
3706 | * init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS. | |
3707 | ||
3708 | * 5qsystem.ads (Address): Declare as Long_Integer | |
3709 | (Short_Address): Declare as 32 bit subtype of Address | |
3710 | Declare abstract address operations to avoid gratuitous ambiguities. | |
3711 | ||
3712 | 2004-05-05 Jose Ruiz <ruiz@act-europe.fr> | |
3713 | ||
3714 | * gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249) | |
3715 | instead of the old Boolean_Entry_Barriers. | |
3716 | Ditto for No_Task_Attributes_Package instead of No_Task_Attributes. | |
3717 | ||
3718 | 2004-05-05 GNAT Script <nobody@gnat.com> | |
3719 | ||
3720 | * Make-lang.in: Makefile automatically updated | |
3721 | ||
1ab2888d AC |
3722 | 2004-05-03 Arnaud Charlet <charlet@act-europe.fr> |
3723 | ||
3724 | * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used. | |
3725 | ||
9f4fd324 AC |
3726 | 2004-05-03 Olivier Hainque <hainque@act-europe.fr> |
3727 | ||
3728 | PR ada/15152 | |
3729 | ||
3730 | * exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments | |
3731 | alone. Replacing object references by literals is inappropriate in a | |
3732 | so low level context. | |
3733 | ||
3734 | 2004-05-03 Arnaud Charlet <charlet@act-europe.fr> | |
3735 | ||
3736 | * a-exexpr.adb: Add comments | |
3737 | ||
3738 | 2004-05-03 Joel Brobecker <brobecker@gnat.com> | |
3739 | ||
3740 | * a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to | |
3741 | declare the Ancestor_Tags array in Type_Specific_Data with a small size | |
3742 | without risking a bounds check error when accessing one of its | |
3743 | components. | |
3744 | (Type_Specific_Data): Define Ancestor_Tags as a small array. | |
3745 | This prevents us from hitting a limitation during the debug info | |
3746 | generation when using stabs. | |
3747 | ||
3748 | * a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a | |
3749 | small array. | |
3750 | This prevents us from hitting a limitation during the debug info | |
3751 | generation when using stabs. | |
3752 | ||
3753 | 2004-05-03 Eric Botcazou <ebotcazou@act-europe.fr> | |
3754 | ||
3755 | lang-specs.h: Remove -gnatz* from specs. | |
3756 | ||
3757 | 2004-05-03 Vincent Celier <celier@gnat.com> | |
3758 | ||
3759 | * gprmake.adb, makegpr.ads, makegpr.adb: New files. | |
3760 | ||
3761 | * Make-lang.in, Makefile.in: Add gprmake | |
3762 | ||
3763 | 2004-05-03 Thomas Quinot <quinot@act-europe.fr> | |
3764 | ||
3765 | * sem_aggr.adb: Fix typo in comment. | |
3766 | ||
3767 | 2004-05-03 Robert Dewar <dewar@gnat.com> | |
3768 | ||
3769 | * make.adb: Minor reformatting | |
3770 | ||
3771 | * rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function | |
3772 | ||
3773 | * sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address | |
3774 | so that it works when address is not a private type. | |
3775 | ||
3776 | * sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal | |
3777 | properly with rewritten unchecked conversions. This prevents | |
3778 | order-of-elaboration issues that can otherwise arise. | |
3779 | (Minimum_Size): Don't check size of access types under VMS | |
3780 | ||
3781 | * sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove | |
3782 | interpretations of integer literals as type System.Address. | |
3783 | ||
3784 | * sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function | |
3785 | (Is_Descendent_Of): New function | |
3786 | ||
3787 | 2004-05-03 Jose Ruiz <ruiz@act-europe.fr> | |
3788 | ||
3789 | * sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers. | |
3790 | Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length. | |
3791 | No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment. | |
3792 | ||
3793 | * sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead | |
3794 | of the old Max_Entry_Queue_Depth. | |
3795 | ||
3796 | * snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers. | |
3797 | Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length | |
3798 | No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment | |
3799 | ||
3800 | * snames.ads: New entry for proper handling of Boolean_Entry_Barriers. | |
3801 | New entry for proper handling of Max_Entry_Queue_Depth. | |
3802 | New entry for proper handling of No_Dynamic_Interrupts. | |
3803 | ||
3804 | * s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that | |
3805 | supersedes the GNAT specific restriction Boolean_Entry_Barriers. | |
3806 | Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes | |
3807 | the GNAT specific restriction Max_Entry_Queue_Depth. | |
3808 | Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes | |
3809 | the GNAT specific restriction No_Dynamic_Interrupts. | |
3810 | ||
3811 | * restrict.ads, restrict.adb: Use the new restriction Simple_Barriers | |
3812 | instead of the old Boolean_Entry_Barriers. | |
3813 | Use the new restriction No_Dynamic_Attachment instead of the old | |
3814 | No_Dynamic_Interrupts. | |
3815 | ||
3816 | * exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that | |
3817 | supersedes the GNAT specific restriction Boolean_Entry_Barriers. | |
3818 | ||
3819 | * gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead | |
3820 | of the old Max_Entry_Queue_Depth. | |
3821 | ||
3822 | 2004-05-03 GNAT Script <nobody@gnat.com> | |
3823 | ||
3824 | * Make-lang.in: Makefile automatically updated | |
3825 | ||
d935a36e AC |
3826 | 2004-04-29 Ed Schonberg <schonberg@gnat.com> |
3827 | ||
3828 | * checks.adb (Enable_Range_Check): If the prefix of an index component | |
3829 | is an access to an unconstrained array, perform check unconditionally. | |
3830 | ||
3831 | 2004-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
3832 | ||
3833 | * decl.c (gnat_to_gnu_field): Also call make_packable_type if | |
3834 | Component_Clause. | |
3835 | ||
3836 | 2004-04-29 Olivier Hainque <hainque@act-europe.fr> | |
3837 | ||
3838 | * init.c (__gnat_install_handler, __gnat_error_handler): Remove | |
3839 | alternate stack setting. There was no support for the tasking cases | |
3840 | and the changes eventually caused a number of side-effect failures in | |
3841 | the non-tasking case too. | |
3842 | ||
3843 | 2004-04-29 Eric Botcazou <ebotcazou@act-europe.fr> | |
3844 | ||
3845 | lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or | |
3846 | -gnats is passed. | |
3847 | ||
3848 | 2004-04-29 Vincent Celier <celier@gnat.com> | |
3849 | ||
3850 | * make.adb (Gnatmake): Increase max size of argument array for | |
3851 | gnatbind for the potential addition of -F. | |
3852 | If there are Stand-Alone Library projects, invoke gnatbind with -F to | |
3853 | be sure that elaboration flags will be checked. | |
3854 | ||
3855 | * switch-c.adb: Correct call to Scan_Pos for -gnateI | |
3856 | ||
3857 | 2004-04-29 Thomas Quinot <quinot@act-europe.fr> | |
3858 | ||
3859 | * sem_warn.adb (Check_References): Move '<access-variable> may be | |
3860 | null' warning out of under Warn_On_No_Value_Assigned. | |
3861 | ||
3862 | 2004-04-29 Ed Falis <falis@gnat.com> | |
3863 | ||
3864 | * gnat_ugn.texi: Fixed texi error | |
3865 | ||
3866 | 2004-04-29 Robert Dewar <dewar@gnat.com> | |
3867 | ||
3868 | * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove | |
3869 | abstract operations if they come from predefined files. | |
3870 | ||
3871 | * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be | |
3872 | Dynamic, not RM). | |
3873 | ||
3874 | * s-addope.adb: Correct obvious error in mod function | |
3875 | ||
3876 | 2004-04-28 Andrew W. Reynolds <awreynolds@mac.com> | |
3877 | ||
3878 | * Makefile.in: Add target pairs for powerpc darwin* | |
3879 | tasking support. | |
3880 | ||
3881 | * a-intnam-darwin.ads, s-osinte-darwin.adb, | |
3882 | s-osinte-darwin.ads, system-darwin-ppc.ads: New files. | |
3883 | ||
ea16c81b UW |
3884 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
3885 | ||
3886 | * Makefile.in: Add target macro definitions for s390*-linux*. | |
3887 | * system-linux-s390.ads: New file. | |
3888 | * system-linux-s390x.ads: New file. | |
3889 | ||
f0e6f845 JM |
3890 | 2004-04-28 Joseph S. Myers <jsm@polyomino.org.uk> |
3891 | ||
3892 | * gnat_ugn.texi: Correct argument to @setfilename. | |
3893 | ||
e8c2eedc UW |
3894 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
3895 | ||
3896 | * a-exexpr.adb (Unwind_Word): New data type. | |
3897 | (Unwind_Exception): Use it as type of Private1 and Private2. | |
3898 | ||
3899 | * raise.c (db_action_for): Fix debug printf. | |
3900 | ||
f2c9e65a AC |
3901 | 2004-04-27 Ed Schonberg <schonberg@gnat.com> |
3902 | ||
3903 | * a-wtmoio.ads: Formal type must be a modular type, not a signed | |
3904 | integer type. | |
3905 | ||
3906 | 2004-04-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
3907 | ||
3908 | * decl.c (gnat_to_gnu_entity, case object): Call | |
3909 | __builtin_update_setjmp_buf. | |
3910 | ||
3911 | * gigi.h (update_setjmp_buf): Deleted. | |
3912 | (ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New. | |
3913 | ||
3914 | * misc.c: (update_setjmp_buf): Deleted. | |
3915 | ||
3916 | * trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue | |
3917 | around block of RTL. | |
3918 | ||
3919 | * utils.c (init_gigi_decls): Initialize update_setjmp_buf. | |
3920 | ||
35b7fa6a AC |
3921 | 2004-04-26 Thomas Quinot <quinot@act-europe.fr> |
3922 | ||
3923 | * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local | |
3924 | subprogram for which no pragma All_Calls_Remote applies, store the | |
3925 | address of the real subprogram in the underlying record type, so local | |
3926 | dereferences do not go through the PCS. | |
3927 | ||
3928 | 2004-04-26 Robert Dewar <dewar@gnat.com> | |
3929 | ||
3930 | * i-c.ads: Add some type qualifications to avoid ambiguities when | |
3931 | compiling with s-auxdec.ads and a non-private address type. | |
3932 | ||
3933 | 2004-04-26 Arnaud Charlet <charlet@act-europe.fr> | |
3934 | ||
3935 | * Makefile.rtl: Fix error in previous check-in: | |
3936 | Add s-addope.o to non tasking object list (rather than tasking object | |
3937 | list). | |
3938 | ||
3939 | 2004-04-26 Javier Miranda <miranda@gnat.com> | |
3940 | ||
3941 | * sem_aggr.adb: Fix typo in comments | |
3942 | (Resolve_Aggr_Expr): Propagate the type to the nested aggregate. | |
3943 | Required to check the null-exclusion attribute. | |
3944 | ||
3945 | * sem_attr.adb (Resolve_Attribute): Check the accessibility level in | |
3946 | case of anonymous access types in record and array components. For a | |
3947 | component definition the level is the same of the enclosing composite | |
3948 | type. | |
3949 | ||
3950 | * sem_ch3.adb (Analyze_Component_Declaration): In case of components | |
3951 | that are anonymous access types the level of accessibility depends on | |
3952 | the enclosing type declaration. In order to have this information, set | |
3953 | the scope of the anonymous access type to the enclosing record type | |
3954 | declaration. | |
3955 | (Array_Type_Declaration): In case of components that are anonymous | |
3956 | access types the level of accessibility depends on the enclosing type | |
3957 | declaration. In order to have this information, set the scope of the | |
3958 | anonymous access type to the enclosing array type declaration. | |
3959 | ||
3960 | * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous | |
3961 | access type. | |
3962 | ||
3963 | * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that | |
3964 | renaming of anonymous access-to-constant types allowed if and only if | |
3965 | the renamed object is access-to-constant. | |
3966 | ||
3967 | * sem_util.adb (Type_Access_Level): In case of anonymous access types | |
3968 | that are component_definition or discriminants of a nonlimited type, | |
3969 | the level is the same as that of the enclosing component type. | |
3970 | ||
3971 | 2004-04-26 Sergey Rybin <rybin@act-europe.fr> | |
3972 | ||
3973 | * sem_elim.adb: Some minor code reorganization from code reading. Fix | |
3974 | misprint in the function name (File_Name_Match). | |
3975 | ||
5a944040 LG |
3976 | 2004-04-23 Laurent GUERBY <laurent@guerby.net> |
3977 | ||
90afe2c9 | 3978 | * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after |
5a944040 | 3979 | install. |
90afe2c9 | 3980 | |
d0fd1344 RO |
3981 | 2004-04-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3982 | ||
3983 | * Make-lang.in (GNATBIND_OBJS): Add s-addope.o. | |
3984 | ||
cc4f0de1 AC |
3985 | 2004-04-23 Emmanuel Briot <briot@act-europe.fr> |
3986 | ||
3987 | * adaint.c (__gnat_try_lock): No longer requires that the parent | |
3988 | directory be writable, the directory itself is enough. | |
3989 | (gnat_is_absolute_path): Change profile, so that the call from | |
3990 | GNAT.OS_Lib can be made more efficient. | |
3991 | ||
3992 | * adaint.h (gnat_is_absolute_path): Change profile, so that the call | |
3993 | from GNAT.OS_Lib can be made more efficient. | |
3994 | ||
3995 | * g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid | |
3996 | one copy of the file name. Found by code reading. | |
3997 | ||
3998 | 2004-04-23 Vincent Celier <celier@gnat.com> | |
3999 | ||
4000 | * gnat_ugn.texi: Add documentation for gnatmake switch -eL | |
4001 | Correct documentation on gnatmake switches transmitted to the compiler | |
4002 | ||
4003 | * ali.ads: Minor comment fix | |
4004 | ||
4005 | 2004-04-23 Javier Miranda <miranda@gnat.com> | |
4006 | ||
4007 | * sem_ch6.adb: (Confirming Types): Code cleanup | |
4008 | ||
4009 | * decl.c (gnat_to_gnu_entity): Give support to anonymous access to | |
4010 | subprogram types: E_Anonymous_Access_Subprogram_Type and | |
4011 | E_Anonymous_Access_Protected_Subprogram_Type. | |
4012 | ||
4013 | 2004-04-23 Thomas Quinot <quinot@act-europe.fr> | |
4014 | ||
4015 | * sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating | |
4016 | whether a pragma All_Calls_Remote applies to the subprogram on which | |
4017 | 'Access is taken. | |
4018 | No functional change is introduced by this revision; the new parameter | |
4019 | will be used to allow calls to local RCI subprograms to be optimized | |
4020 | to not use the PCS in the case where no pragma All_Calls_Remote applies, | |
4021 | as is already done in the PolyORB implementation of the DSA. | |
4022 | ||
4023 | * exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating | |
4024 | whether a pragma All_Calls_Remote applies to the subprogram on which | |
4025 | 'Access is taken. | |
4026 | No functional change is introduced by this revision; the new parameter | |
4027 | will be used to allow calls to local RCI subprograms to be optimized | |
4028 | to not use the PCS in the case where no pragma All_Calls_Remote applies, | |
4029 | as is already done in the PolyORB implementation of the DSA. | |
4030 | ||
4031 | 2004-04-23 Robert Dewar <dewar@gnat.com> | |
4032 | ||
4033 | * Makefile.rtl: Add entry for s-addope.o in run time library list | |
4034 | * Make-lang.in: Add entry for s-addope.o to GNAT1 objects | |
4035 | * s-addope.ads, s-addope.adb: New files. | |
4036 | ||
90afe2c9 ZW |
4037 | * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb, |
4038 | s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb, | |
cc4f0de1 AC |
4039 | s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow |
4040 | System.Address to be non-private and signed. | |
4041 | ||
4042 | * sem_elim.adb: Minor reformatting (fairly extensive) | |
4043 | Some minor code reorganization from code reading | |
4044 | Add a couple of ??? comments | |
4045 | ||
4046 | 2004-04-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4047 | ||
4048 | * trans.c (tree_transform, build_unit_elab): Don't call getdecls. | |
90afe2c9 | 4049 | (tree_transform, case N_If_Statement): Remove non-determinism. |
cc4f0de1 AC |
4050 | |
4051 | * utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL. | |
4052 | ||
4053 | 2004-04-23 Sergey Rybin <rybin@act-europe.fr> | |
4054 | ||
4055 | * gnat_rm.texi: Small fixes in the changes made in the 'pragma | |
4056 | Eliminate' section. | |
4057 | ||
4058 | * snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is | |
4059 | no longer used as a parameter name for Eliminate pragma). | |
4060 | ||
78bad775 LG |
4061 | 2004-04-22 Laurent GUERBY <laurent@guerby.net> |
4062 | ||
4063 | PR optimization/14984 | |
4064 | PR optimization/14985 | |
4065 | * trans.c (gigi): Fix non determinism leading to bootstrap | |
4066 | comparison failures. | |
4067 | ||
af4b9434 AC |
4068 | 2004-04-21 Pascal Obry <obry@gnat.com> |
4069 | ||
4070 | * adaint.c (__gnat_portable_spawn): Quote first argument (argv[0]) | |
4071 | passed to spawnvp() to properly handle program pathname with spaces on | |
4072 | Win32. | |
4073 | ||
4074 | 2004-04-21 Emmanuel Briot <briot@act-europe.fr> | |
4075 | ||
4076 | * g-debpoo.adb (Print_Info): Avoid extra work if Display_Slots is False. | |
4077 | (Allocate, Deallocate, Free_Physically): Make sure the tasks are | |
4078 | unlocked in case of exceptions. | |
4079 | ||
4080 | 2004-04-21 Joel Brobecker <brobecker@gnat.com> | |
4081 | ||
4082 | * gigi.h (get_target_no_dollar_in_label): Remove extern declaration. | |
4083 | This function does not exist anymore. | |
4084 | ||
4085 | 2004-04-21 Thomas Quinot <quinot@act-europe.fr> | |
4086 | ||
4087 | * gnatbind.adb, gnatlink.adb: Update name of imported C symbol. | |
4088 | ||
4089 | * link.c: Move variables to the __gnat name space. | |
4090 | ||
4091 | * Makefile.in: list link.o explicitly when needed. | |
4092 | ||
4093 | * mlib.adb: Remove pragma Linker_Option for "link.o" from mlib. | |
4094 | ||
4095 | 2004-04-21 Javier Miranda <miranda@gnat.com> | |
4096 | ||
4097 | * einfo.adb (Original_Access_Type): New subprogram | |
4098 | (Set_Original_Access_Type): New subprogram | |
4099 | (Write_Field21_Name): Write the name of the new field | |
4100 | ||
4101 | * einfo.ads (Original_Access_Type): New field present in access to | |
4102 | subprogram types. | |
4103 | Addition of two new entities: E_Anonymous_Access_Subprogram_Type, and | |
4104 | E_Anonymous_Access_Protected_Subprogram_Type. | |
4105 | ||
4106 | * lib-xref.adb (Output_One_Ref): Give support to anonymous access to | |
4107 | subprogram types. | |
4108 | ||
4109 | * lib-xref.ads (Xref_Entity_Letters): Initialize values corresponding | |
4110 | to anonymous access to subprogram types. | |
4111 | ||
4112 | * sem_attr.adb (Resolve_Attribute): Give support to anonymous access | |
4113 | to subprogram types. | |
4114 | ||
4115 | * sem_ch3.adb (Access_Definition): Complete decoration of entities | |
4116 | corresponding to anonymous access to subprogram types. | |
4117 | (Analyze_Component_Declaration): Add new actual to the call to | |
4118 | subprogram replace_anonymous_access_to_protected_subprogram. | |
4119 | (Array_Type_Declaration): Add new actual to the call to subprogram | |
4120 | replace_anonymous_access_to_protected_subprogram. | |
4121 | (Process_Discriminants): Add new actual to the call to subprogram | |
4122 | replace_anonymous_access_to_protected_subprogram. | |
4123 | (Replace_Anonymous_Access_To_Protected_Subprogram): New formal. | |
4124 | ||
4125 | * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
4126 | formal. | |
4127 | ||
4128 | * sem_ch6.adb, sem_type.adb, sem_res.adb: Give support to anonymous | |
4129 | access to subprogram types. | |
4130 | ||
4131 | * sem_util.adb (Has_Declarations): Addition of package_specification | |
4132 | nodes. | |
4133 | ||
4134 | 2004-04-21 Ed Schonberg <schonberg@gnat.com> | |
4135 | ||
4136 | * sem_prag.adb (Make_Inline): If subprogram is a renaming, propagate | |
4137 | inlined flags to renamed entity only if in current unit. | |
4138 | ||
4139 | 2004-04-21 Thomas Quinot <quinot@act-europe.fr> | |
4140 | ||
4141 | * s-parint.ads: Add DSA implementation marker. | |
4142 | ||
4143 | * rtsfind.ads, rtsfind.adb, snames.ads, snames.adb, s-rpc.adb: Use the | |
4144 | value of System.Partition_Interface.DSA_Implementation to determine | |
4145 | what version of the distributed systems annex is available (no | |
4146 | implementation, GLADE, or PolyORB). | |
4147 | ||
4148 | 2004-04-21 Joel Brobecker <brobecker@gnat.com> | |
4149 | ||
4150 | * targtyps.c (get_target_no_dollar_in_label): Remove, no longer used. | |
4151 | ||
4152 | 2004-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4153 | ||
4154 | * utils.c (convert, case CONSTRUCTOR, COMPONENT_REF): Do not make node | |
4155 | with new type if alias sets differ. | |
4156 | Fixes ACATS c41103b. | |
4157 | ||
4158 | 2004-04-21 Vincent Celier <celier@gnat.com> | |
4159 | ||
4160 | * prj.ads: Remove FORTRAN as an accepted language: not tested yet. | |
4161 | Add array Lang_Args for the language specific compiling argument | |
4162 | switches. | |
4163 | ||
4164 | * gnat_ugn.texi: Explain in more details when a library is rebuilt. | |
4165 | ||
4166 | 2004-04-21 Sergey Rybin <rybin@act-europe.fr> | |
4167 | ||
4168 | * gnat_rm.texi: Update the descripton of the Eliminate pragma | |
4169 | according to the recent changes in the format of the parameters of the | |
4170 | pragma (replacing Homonym_Number with Source_Location). | |
4171 | ||
7324bf49 AC |
4172 | 2004-04-19 Arnaud Charlet <charlet@act-europe.fr> |
4173 | ||
4174 | * 5isystem.ads: Removed, unused. | |
4175 | ||
4176 | * gnat_rm.texi: Redo 1.13 change. | |
4177 | ||
4178 | 2004-04-19 Robert Dewar <dewar@gnat.com> | |
4179 | ||
4180 | * s-stoele.ads: Clean up definition of Storage_Offset (the new | |
4181 | definition is cleaner, avoids the kludge of explicit Standard operator | |
4182 | references, and also is consistent with a visible System.Address with | |
4183 | no visible operations. | |
4184 | ||
4185 | * s-geveop.adb: Add declarations to avoid assumption of visible | |
4186 | operations on type System.Address (since these might not be available | |
4187 | if Address is a non-private type for which the operations | |
4188 | are made abstract). | |
4189 | ||
4190 | * sem_eval.adb: Minor reformatting | |
4191 | ||
4192 | * s-carsi8.ads, s-carun8.ads, s-casi16.ads, s-casi32.ads, | |
4193 | s-casi64.ads, s-caun16.ads, s-caun32.ads, s-caun64.ads: Minor | |
4194 | reformatting (new function spec format). | |
4195 | ||
4196 | * s-auxdec.adb, s-carsi8.adb, s-carun8.adb, s-casi16.adb, | |
4197 | s-casi32.adb, s-casi64.adb, s-caun16.adb, s-caun32.adb, | |
4198 | s-caun64.adb: Add declarations to avoid assumption of visible | |
4199 | operations on type System.Address (since these might not be available | |
4200 | if Address is a non-private type for which the operations are made | |
4201 | abstract). | |
4202 | ||
4203 | * lib.ads, lib.adb (Synchronize_Serial_Number): New procedure. | |
4204 | ||
4205 | * exp_intr.adb: Minor comment update | |
4206 | ||
4207 | * exp_aggr.adb, exp_attr.adb, exp_ch13.adb: Minor reformatting. | |
4208 | ||
4209 | * 5omastop.adb: Add declarations to avoid assumption of visible | |
4210 | operations on type System.Address (since these might not be available | |
4211 | if Address is a non-private type for which the operations | |
4212 | are made abstract). | |
4213 | ||
4214 | 2004-04-19 Vincent Celier <celier@gnat.com> | |
4215 | ||
4216 | * switch-m.adb: (Scan_Make_Switches): Process new switch -eL | |
4217 | ||
4218 | * prj-pars.ads (Parse): New Boolean parameter Process_Languages, | |
4219 | defaulted to Ada. | |
4220 | ||
4221 | * prj-proc.adb (Process): New Boolean parameter Process_Languages, | |
4222 | defaulted to Ada. | |
4223 | Call Check with Process_Languages. | |
4224 | (Check): New Boolean parameter Process_Languages. Call Recursive_Check | |
4225 | with Process_Languages. | |
4226 | (Recursive_Check): New Boolean parameter Process_Languages. Call | |
4227 | Nmsc.Ada_Check or Nmsc.Other_Languages_Check according to | |
4228 | Process_Languages. | |
4229 | ||
4230 | * prj-proc.ads (Process): New Boolean parameter Process_Languages, | |
4231 | ||
4232 | * prj-util.ads, prj-util.adb (Executable_Of): New Boolean | |
4233 | parameter Ada_Main, defaulted to True. | |
4234 | Check for Ada specific characteristics only when Ada_Main is True. | |
4235 | ||
4236 | * opt.ads: (Follow_Links): New Boolean flag for gnatmake | |
4237 | ||
4238 | * prj.adb: (Project_Empty): Add new Project_Data components. | |
4239 | ||
4240 | * prj.ads: New types and tables for non Ada languages. | |
4241 | (Project_Data): New components Languages, Impl_Suffixes, | |
4242 | First_Other_Source, Last_Other_Source, Imported_Directories_Switches, | |
4243 | Include_Path, Include_Data_Set. | |
4244 | ||
4245 | * prj-env.ads, prj-env.adb: Minor reformatting | |
4246 | ||
4247 | * prj-nmsc.ads, prj-nmsc.adb: (Other_Languages_Check): New procedure | |
4248 | Put subprograms in alphabetical order | |
4249 | ||
4250 | * prj-pars.adb (Parse): New Boolean parameter Process_Languages, | |
4251 | defaulted to Ada; Call Prj.Proc.Process with Process_Languages and | |
4252 | Opt.Follow_Links. | |
4253 | ||
4254 | * mlib-prj.adb: Back out modification in last version, as they are | |
4255 | incorrect. | |
4256 | (Build_Library.Check_Libs): Remove useless pragma Warnings (Off) | |
4257 | ||
4258 | * make.adb: (Mains): Moved to package Makeutl | |
4259 | (Linker_Opts): Moved to package Makeutl | |
4260 | (Is_External_Assignment): Moved to package Makeutl | |
4261 | (Test_If_Relative_Path): Moved to package Makeutl | |
4262 | (Gnatmake): Move sorting of linker options to function | |
4263 | Makeutl.Linker_Options_Switches. | |
4264 | ||
8f9df7d8 VC |
4265 | * makeutl.ads, makeutl.adb: New files. |
4266 | ||
7324bf49 AC |
4267 | * Makefile.in: Add makeutl.o to the object files for gnatmake |
4268 | ||
4269 | * makeusg.adb: Add line for new switch -eL. | |
4270 | ||
4271 | * gnatls.adb (Image): New function. | |
4272 | (Output_Unit): If in verbose mode, output the list of restrictions | |
4273 | specified by pragmas Restrictions. | |
4274 | ||
4275 | * 5bml-tgt.adb, 5vml-tgt.adb (Build_Dynamic_Library): Do not use | |
4276 | Text_IO. | |
4277 | ||
4278 | * a-calend.adb (Split): Shift the date by multiple of 56 years, if | |
4279 | needed, to put it in the range 1970 (included) - 2026 (excluded). | |
4280 | (Time_Of): Do not shift Unix_Min_Year (1970). | |
4281 | Shift the date by multiple of 56 years, if needed, to put it in the | |
4282 | range 1970 (included) - 2026 (excluded). | |
4283 | ||
4284 | * adaint.h, adaint.c (__gnat_set_executable): New function. | |
4285 | ||
4286 | 2004-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4287 | ||
4288 | * trans.c (tree_transform, case N_Subprogram_Body): Temporarily push | |
4289 | and pop GC context. | |
4290 | (tree_transform, case N_Procedure_Call): Fix typo in setting TREE_TYPE. | |
4291 | (tree_transform, case N_Label): Don't set LABEL_STMT_FIRST_IN_EH. | |
4292 | (tree_transform, case N_Procedure_Call_Statement): Build a tree. | |
4293 | (tree_transform, case N_Code_Statement): Likewise. | |
4294 | (gnat_expand_stmt, case LABEL_STMT): Don't look at | |
4295 | LABEL_STMT_FIRST_IN_EH. | |
4296 | (gnat_expand_stmt, case ASM_STMT): New case. | |
4297 | ||
4298 | * utils2.c (build_unary_op): Properly set TREE_READONLY of | |
4299 | UNCONSTRAINED_ARRAY_REF. | |
4300 | ||
4301 | * utils.c (poplevel): Temporarily push/pop GC context around inline | |
4302 | function expansion. | |
4303 | ||
4304 | * decl.c (maybe_variable): Properly set TREE_READONLY of | |
4305 | UNCONSTRAINED_ARRAY_REF. | |
4306 | (make_packable_type): Only reference TYPE_IS_PADDING_P for RECORD_TYPE. | |
4307 | ||
4308 | * ada-tree.def: (ASM_STMT): New. | |
4309 | ||
4310 | * ada-tree.h: (LABEL_STMT_FIRST_IN_EH): Deleted. | |
4311 | (ASM_STMT_TEMPLATE, ASM_STMT_OUTPUT, ASM_STMT_ORIG_OUT, | |
4312 | ASM_STMT_INPUT): New. | |
4313 | (ASM_STMT_CLOBBER): Likewise. | |
4314 | ||
4315 | 2004-04-19 Thomas Quinot <quinot@act-europe.fr> | |
4316 | ||
4317 | * a-except.adb, s-parint.ads, s-parint.adb, types.ads, types.h: Use | |
4318 | general rcheck mechanism to raise Program_Error for E.4(18), instead | |
4319 | of a custom raiser in System.Partition_Interface. | |
4320 | Part of general cleanup work before PolyORB integration. | |
4321 | ||
4322 | * snames.ads, snames.adb: Add new runtime library entities and names | |
4323 | for PolyORB DSA. | |
4324 | ||
4325 | * sem_dist.ads, sem_dist.adb (Get_Subprogram_Id): Move from sem_dist to | |
4326 | exp_dist. | |
4327 | (Build_Subprogram_Id): New subprogram provided by exp_dist | |
4328 | Code reorganisation in preparation for PolyORB integration. | |
4329 | ||
4330 | * exp_dist.ads, exp_dist.adb (Get_Subprogram_Id): Move from sem_dist to | |
4331 | exp_dist. | |
4332 | (Build_Subprogram_Id): New subprogram provided by exp_dist | |
4333 | ||
4334 | * sem_ch4.adb (Analyze_One_Call): Fix error message for mismatch in | |
4335 | actual parameter types for call to dereference of an | |
4336 | access-to-subprogram type. | |
4337 | ||
4338 | * rtsfind.ads: Add new runtime library entities and names for PolyORB | |
4339 | DSA. | |
4340 | ||
4341 | * gnatlink.adb (Value): Remove. Use Interfaces.C.Strings.Value | |
4342 | instead, which has the same behaviour here since we never pass it a | |
4343 | NULL pointer. | |
4344 | ||
4345 | * link.c (run_path_option, Solaris case): Use -Wl, as for other | |
4346 | platforms. | |
4347 | ||
4348 | * Makefile.in: adjust object file lists for gnatlink and gnatmake | |
4349 | to account for new dependency upon Interfaces.C.Strings + link.o | |
4350 | For x86 FreeBSD, use 86numaux. | |
4351 | ||
4352 | * make.adb, gnatcmd.adb: Linker_Library_Path_Option has been moved up | |
4353 | from Mlib.Tgt to Mlib. | |
4354 | ||
4355 | * mlib.ads, mlib.adb (Linker_Library_Path_Option): New subprogram, now | |
4356 | target-independent. | |
4357 | ||
4358 | * mlib-tgt.ads, mlib-tgt.adb (Linker_Library_Path_Option): Remove | |
4359 | target-specific versions of this subprogram, now implemented as a | |
4360 | target-independent function in Mlib. | |
4361 | ||
4362 | * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, 5lml-tgt.adb, | |
4363 | 5sml-tgt.adb, 5vml-tgt.adb, 5zml-tgt.adb, 5wml-tgt.adb | |
4364 | (Linker_Library_Path_Option): Remove target-specific versions of this | |
4365 | subprogram, now implemented as a target-independent function in Mlib. | |
4366 | ||
4367 | * atree.adb: (Allocate_Initialize_Node): New subprogram. | |
4368 | Factors out node table slots allocation. | |
4369 | (Fix_Parents): New subprogram. | |
4370 | Encapsulate the pattern of fixing up parent pointers for syntactic | |
4371 | children of a rewritten node. | |
4372 | (New_Copy_Tree): Use New_Copy to copy non-entity nodes. | |
4373 | (Rewrite): Use New_Copy when creating saved copy of original node. | |
4374 | (Replace): Use Copy_Node to copy nodes. | |
4375 | ||
4376 | 2004-04-19 Javier Miranda <miranda@gnat.com> | |
4377 | ||
4378 | * sprint.adb (Sprint_Node_Actual): Give support to the new | |
4379 | Access_To_Subprogram node available in Access_Definition nodes. In | |
4380 | addition, give support to the AI-231 node fields: null-exclusion, | |
4381 | all-present, constant-present. | |
4382 | ||
4383 | * sem_util.ads, sem_util.adb: (Has_Declarations): New subprogram | |
4384 | ||
90afe2c9 | 4385 | * sinfo.ads, sinfo.adb: |
7324bf49 AC |
4386 | New field Access_To_Subprogram_Definition in Access_Definition nodes |
4387 | ||
4388 | * sem_ch6.adb (Process_Formals): Move here the code that creates and | |
4389 | decorates internal subtype declaration corresponding to the | |
4390 | null-excluding formal. This code was previously in Set_Actual_Subtypes. | |
4391 | In addition, carry out some code cleanup on this code. In case of | |
4392 | access to protected subprogram call | |
4393 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
4394 | (Set_Actual_Subtypes): Code cleanup. | |
4395 | ||
4396 | * sem_ch8.adb (Analyze_Object_Renaming): Remove un-necessary call to | |
4397 | Find_Type in case of anonymous access renamings. Add warning in case of | |
4398 | null-excluding attribute used in anonymous access renaming. | |
4399 | ||
4400 | * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
4401 | subprogram | |
4402 | ||
4403 | * sem_ch3.adb (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
4404 | subprogram. | |
4405 | (Access_Definition): In case of anonymous access to subprograms call | |
4406 | the corresponding semantic routine to decorate the node. | |
4407 | (Access_Subprogram_Declaration): Addition of some comments indicating | |
4408 | some code that probably should be added here. Detected by comparison | |
4409 | with the access_definition subprogram. | |
4410 | (Analyze_Component_Declaration): In case of access to protected | |
4411 | subprogram call Replace_Anonymous_Access_To_Protected. | |
4412 | (Array_Type_Declaration): In case of access to protected subprogram call | |
4413 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
4414 | (Process_Discriminants): In case of access to protected subprogram call | |
4415 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
4416 | ||
4417 | * par.adb (P_Access_Definition): New formal that indicates if the | |
4418 | null-exclusion part was present. | |
4419 | (P_Access_Type_Definition): New formal that indicates if the caller has | |
4420 | already parsed the null-excluding part. | |
4421 | ||
4422 | * par-ch3.adb (P_Subtype_Declaration): Code cleanup. | |
4423 | (P_Identifier_Declarations): Code cleanup and give support to renamings | |
4424 | of anonymous access to subprogram types. | |
4425 | (P_Derived_Type_Def_Or_Private_Ext_Decl): Code cleanup. | |
4426 | (P_Array_Type_Definition): Give support to AI-254. | |
4427 | (P_Component_Items): Give support to AI-254. | |
4428 | (P_Access_Definition): New formal that indicates if the header was | |
4429 | already parsed by the caller. | |
4430 | (P_Access_Type_Definition): New formal that indicates if the caller has | |
4431 | already parsed the null-excluding part. | |
4432 | ||
4433 | * par-ch6.adb (P_Formal_Part): Add the null-excluding parameter to the | |
4434 | call to P_Access_Definition. | |
4435 | ||
4436 | 2004-04-19 Geert Bosch <bosch@gnat.com> | |
4437 | ||
4438 | * checks.adb (Apply_Float_Conversion_Check): New procedure to implement | |
4439 | the delicate semantics of floating-point to integer conversion. | |
4440 | (Apply_Type_Conversion_Checks): Use Apply_Float_Conversion_Check. | |
4441 | ||
4442 | * eval_fat.adb (Machine_Mantissa): Moved to spec. | |
4443 | (Machine_Radix): New function. | |
4444 | ||
4445 | * eval_fat.ads (Machine_Mantissa): Moved from body for use in | |
4446 | conversion checks. | |
4447 | (Machine_Radix): New function also for use in conversion checks. | |
4448 | ||
4449 | 2004-04-19 Ed Schonberg <schonberg@gnat.com> | |
4450 | ||
4451 | * par-prag.adb (Source_File_Name_Project): Fix typo in error message. | |
4452 | ||
4453 | * exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Call analyze | |
4454 | to decorate the access-to-protected subprogram and the equivalent type. | |
4455 | ||
4456 | * checks.adb (Null_Exclusion_Static_Checks): Code cleanup. Give support | |
4457 | to anonymous access to subprogram types. | |
4458 | ||
4459 | * exp_ch4.adb (Expand_N_In): Preserve Static flag before | |
4460 | constant-folding, for legality checks in contexts that require an RM | |
4461 | static expression. | |
4462 | ||
4463 | * exp_ch6.adb (Expand_N_Function_Call): If call may generate large | |
4464 | temporary but stack checking is not enabled, increment serial number | |
4465 | to so that symbol generation is consistent with and without stack | |
4466 | checking. | |
4467 | ||
4468 | * exp_util.ads, exp_util.adb (May_Generate_Large_Temp): Predicate is | |
4469 | independent on whether stack checking is enabled, caller must check | |
4470 | the corresponding flag. | |
4471 | ||
4472 | * sem_ch3.adb (Constrain_Index): Index bounds given by attributes need | |
4473 | range checks. | |
4474 | (Build_Derived_Concurrent_Type): Inherit Is_Constrained flag from | |
4475 | parent if it has discriminants. | |
4476 | (Build_Derived_Private_Type): Constructed full view does | |
4477 | not come from source. | |
4478 | (Process_Discriminants): Default discriminants on a tagged type are | |
4479 | legal if this is the internal completion of a private untagged | |
4480 | derivation. | |
4481 | ||
4482 | * sem_ch6.adb (Set_Actual_Subtypes): The generated declaration needs | |
4483 | no constraint checks, because it corresponds to an existing object. | |
4484 | ||
4485 | * sem_prag.adb (Process_Convention): Pragma applies | |
4486 | only to subprograms in the same declarative part, i.e. the same unit, | |
4487 | not the same scope. | |
4488 | ||
4489 | * sem_res.adb (Valid_Conversion): In an instance or inlined body, | |
4490 | ignore type mismatch on a numeric conversion if expression comes from | |
4491 | expansion. | |
4492 | ||
4493 | 2004-04-19 Sergey Rybin <rybin@act-europe.fr> | |
4494 | ||
4495 | * sem_elim.adb (Process_Eliminate_Pragma): Remove the processing for | |
4496 | Homonym_Number parameter, add processing for Source_Location parameter | |
4497 | corresponding. | |
4498 | (Check_Eliminated): Remove the check for homonym numbers, add the check | |
4499 | for source location traces. | |
4500 | ||
4501 | * sem_elim.ads (Process_Eliminate_Pragma): Replace Arg_Homonym_Number | |
4502 | with Arg_Source_Location corresponding to the changes in the format of | |
4503 | the pragma. | |
4504 | ||
4505 | * sem_prag.adb: (Analyze_Pragma): Changes in the processing of | |
4506 | Eliminate pragma corresponding to the changes in the format of the | |
4507 | pragma: Homonym_Number is replaced with Source_Location, two ways of | |
4508 | distinguishing homonyms are mutially-exclusive. | |
4509 | ||
4510 | 2004-04-19 Joel Brobecker <brobecker@gnat.com> | |
4511 | ||
4512 | * get_targ.ads (Get_No_Dollar_In_Label): Remove. | |
4513 | ||
4514 | * exp_dbug.adb (Output_Homonym_Numbers_Suffix): Remove use of | |
4515 | No_Dollar_In_Label, no longer necessary, as it is always True. | |
4516 | (Strip_Suffixes): Likewise. | |
4517 | ||
4518 | 2004-04-19 Gary Dismukes <dismukes@gnat.com> | |
4519 | ||
4520 | * s-stalib.ads (type Exception_Code): Use Integer'Size for exponent of | |
4521 | modulus for compatibility with size clause on targets with 16-bit | |
4522 | Integer. | |
4523 | ||
4524 | * layout.adb (Discrimify): In the case of private types, set Vtyp to | |
4525 | full type to fix type mismatches on calls to size functions for | |
4526 | discriminant-dependent array components. | |
4527 | ||
4528 | 2004-04-19 Jerome Guitton <guitton@act-europe.fr> | |
4529 | ||
4530 | * Makefile.in (gnatlib-zcx): New target, for building a ZCX run-time | |
4531 | lib. | |
4532 | ||
4533 | 2004-04-19 Pascal Obry <obry@gnat.com> | |
4534 | ||
4535 | * mdll-utl.adb (Locate): New version is idempotent. | |
4536 | ||
4537 | 2004-04-17 Laurent Guerby <laurent@guerby.net> | |
fa795c69 LG |
4538 | |
4539 | PR ada/14988 (partial) | |
4540 | * impunit.adb: Fix typo. | |
90afe2c9 | 4541 | |
cce0244b NN |
4542 | 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org> |
4543 | ||
4544 | * Make-lang.in: Remove obsolete rts-none, rts-cert, install-rts-none, | |
4545 | and install-rts-cert targets. Remove all gnatlib and gnattools | |
4546 | targets and all other rts-* targets (moved to libada). Remove (now) | |
4547 | unused Make variables CHMOD, CHMOD_AX_FLAGS, shext, THREAD_KIND, | |
4548 | TRACE, GNATLIBFLAGS, GNATLIBCFLAGS. | |
4549 | ||
af152989 AC |
4550 | 2004-04-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4551 | ||
4552 | * trans.c (tree_transform): Shortcut returning error_mark_node for | |
4553 | statements in annotate_only_mode. | |
4554 | (tree_transform, case N_Label, case N_Return_Statement, | |
4555 | N_Goto_Statement): Make statement tree instead of generating code. | |
4556 | (tree_transform, case N_Assignment_Statement): No longer check | |
4557 | type_annotate_only. | |
4558 | (gnat_expand_stmt, case GOTO_STMT, case LABEL_STMT, case | |
4559 | RETURN_STMT): New. | |
4560 | (first_nondeleted_insn, build_block_stmt, make_expr_stmt_from_rtl): | |
4561 | New fcns. | |
4562 | (gnat_to_gnu): Collect any RTL generated and deal with it. | |
4563 | (tree_transform, case N_And_Then): Refine when have non-null RTL_EXPR. | |
4564 | (tree_transform case N_If_Statement): Rewrite to make IF_STMT. | |
4565 | (gnat_expand_stmt, case BLOCK_STMT, IF_STMT): New cases. | |
4566 | ||
4567 | * ada-tree.def (GOTO_STMT, LABEL_STMT, RETURN_STMT): New tree nodes. | |
4568 | ||
4569 | * ada-tree.def (EXPR_STMT): Fix typo in name. | |
4570 | (BLOCK_STMT, IF_STMT): New nodes. | |
4571 | ||
4572 | * ada-tree.h (GOTO_STMT_LABEL, LABEL_STMT_LABEL, | |
4573 | LABEL_STMT_FIRST_IN_EH): New macros. | |
4574 | (RETURN_STMT_EXPR): Likewise. | |
4575 | ||
4576 | * ada-tree.h: (BLOCK_STMT_LIST, IF_STMT_COND, IF_STMT_TRUE, | |
4577 | IF_STMT_ELSEIF, IF_STMT_ELSE): New macros. | |
4578 | ||
4579 | 2004-04-08 Thomas Quinot <quinot@act-europe.fr> | |
4580 | ||
4581 | * atree.ads: Correct documentation on extended nodes. | |
4582 | ||
4583 | * link.c: Set run_path_option for FreeBSD. | |
4584 | ||
4585 | 2004-04-08 Vincent Celier <celier@gnat.com> | |
4586 | ||
4587 | * mlib-prj.adb (Build_Library.Check_Libs): On OpenVMS, if dec.ali is | |
4588 | one of the ALI file, do not link with DEC lib. | |
4589 | ||
4590 | * par.adb Remove the last two characters ("%s" or "%b") when checking | |
4591 | if a language defined unit may be recompiled. | |
4592 | ||
4593 | 2004-04-08 Ed Schonberg <schonberg@gnat.com> | |
4594 | ||
4595 | * sem_ch4.adb (Remove_Abstract_Operations): Improve error message when | |
4596 | removal of abstract operation leaves no possible interpretation for | |
4597 | expression. | |
4598 | ||
4599 | * sem_eval.adb (Eval_Qualified_Expression): Use | |
4600 | Set_Raises_Constraint_Error on node when needed, so that it does not | |
4601 | get optimized away by subsequent optimizations. | |
4602 | ||
4603 | * sem_res.adb (Resolve_Intrinsic_Operator): Save interpretations of | |
4604 | operands even when they are not wrapped in a type conversion. | |
4605 | ||
4606 | 2004-04-08 Olivier Hainque <hainque@act-europe.fr> | |
4607 | ||
4608 | * sem_prag.adb (Set_Exported): Warn about making static as result of | |
4609 | export only when the export is coming from source. This may be not | |
4610 | be true e.g. on VMS where we expand export pragmas for exception codes | |
4611 | together with imported or exported exceptions, and we don't want the | |
4612 | user to be warned about something he didn't write. | |
4613 | ||
4614 | 2004-04-08 Thomas Quinot <quinot@act-europe.fr> | |
4615 | ||
4616 | * sem_util.adb (Note_Possible_Modification): Reorganize to remove code | |
4617 | duplication between normal entities and those declared as renamings. | |
4618 | No functional change. | |
4619 | ||
90afe2c9 | 4620 | * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently |
af152989 AC |
4621 | inline functions returning an unconstrained result. |
4622 | ||
4623 | 2004-04-08 Eric Botcazou <ebotcazou@act-europe.fr> | |
4624 | ||
4625 | * utils.c (type_for_mode): Handle BLKmode and VOIDmode properly, to | |
4626 | conform to what other front-ends do. | |
4627 | ||
4628 | 2004-04-08 Doug Rupp <rupp@gnat.com> | |
4629 | ||
4630 | * 5vml-tgt.adb: Use Gas instead of VMS Macro to build auto init shared | |
4631 | libraries. | |
4632 | ||
3984e89a AC |
4633 | 2004-04-06 Pascal Obry <obry@gnat.com> |
4634 | ||
4635 | * adaint.c (DIR_SEPARATOR): Properly set DIR_SEPARATOR on Win32. | |
4636 | ||
4637 | * osint.adb (Program_Name): Do not look past a directory separator. | |
4638 | ||
4639 | 2004-04-06 Thomas Quinot <quinot@act-europe.fr> | |
4640 | ||
4641 | * atree.adb: Update comment (Rewrite_Substitute_Node no longer exists). | |
4642 | ||
4643 | * exp_ch6.adb (Rewrite_Function_Call): Clarify documentation of | |
4644 | requirement for preserving a copy of the original assignment node. | |
4645 | ||
4646 | * sinfo.ads: Update comment (Original_Tree -> Original_Node). | |
4647 | ||
4648 | 2004-04-06 Olivier Hainque <hainque@act-europe.fr> | |
4649 | ||
4650 | (__gnat_initialize [Vxworks]): Enable references to the crtstuff bits | |
4651 | when supported. | |
4652 | ||
4653 | 2004-04-06 Ed Schonberg <schonberg@gnat.com> | |
4654 | ||
4655 | * sem_ch4.adb (Remove_Abstract_Operations): Extend previous changes to | |
4656 | operator calls in functional notation, and apply | |
4657 | Universal_Interpretation to operands, not to their type. | |
4658 | ||
4659 | 2004-04-06 Robert Dewar <dewar@gnat.com> | |
4660 | ||
4661 | * 5wdirval.adb: Minor reformatting | |
4662 | ||
4663 | 2004-04-06 Ed Falis <falis@gnat.com> | |
4664 | ||
4665 | * gnat_rm.texi: Improve a reference to the GCC manual | |
4666 | ||
30c20106 AC |
4667 | 2004-04-05 Vincent Celier <celier@gnat.com> |
4668 | ||
4669 | * adaint.h, adaint.c: Add function __gnat_named_file_length | |
4670 | ||
4671 | * impunit.adb: Add Ada.Directories to the list | |
4672 | ||
4673 | * Makefile.in: Add VMS and Windows versions of | |
4674 | Ada.Directories.Validity package body. | |
4675 | ||
4676 | * Makefile.rtl: Add a-direct and a-dirval | |
4677 | ||
4678 | * mlib-tgt.ads: Minor comment update. | |
4679 | ||
4680 | * a-dirval.ads, a-dirval.adb, 5vdirval.adb, 5wdirval.adb, | |
4681 | a-direct.ads, a-direct.adb: New files. | |
4682 | ||
4683 | 2004-04-05 Vincent Celier <celier@gnat.com> | |
4684 | ||
4685 | PR ada/13620 | |
4686 | * make.adb (Scan_Make_Arg): Pass any -fxxx switches to gnatlink, not | |
4687 | just to the compiler. | |
4688 | ||
4689 | 2004-04-05 Robert Dewar <dewar@gnat.com> | |
4690 | ||
4691 | * a-except.adb (Exception_Name_Simple): Make sure lower bound of | |
4692 | returned string is 1. | |
4693 | ||
4694 | * ali-util.adb: Use proper specific form for Warnings (Off, entity) | |
4695 | ||
4696 | * eval_fat.ads: Minor reformatting | |
4697 | ||
4698 | * g-curexc.ads: Document that lower bound of returned string values | |
4699 | is always one. | |
4700 | ||
4701 | * gnatlink.adb: Add ??? comment for previous change | |
4702 | (need to document why this is VMS specific) | |
4703 | ||
4704 | * s-stoele.ads: Minor reformatting | |
4705 | ||
4706 | * tbuild.ads: Minor reformatting throughout (new function specs) | |
4707 | ||
4708 | * par-ch10.adb (P_Context_Clause): Handle comma instead of semicolon | |
4709 | after WITH. | |
4710 | ||
4711 | * scng.adb: Minor reformatting | |
4712 | ||
4713 | 2004-04-05 Geert Bosch <bosch@gnat.com> | |
4714 | ||
4715 | * eval_fat.adb (Machine): Remove unnecessary suppression of warning. | |
4716 | (Leading_Part): Still perform truncation to machine number if the | |
4717 | specified radix_digits is greater or equal to machine_mantissa. | |
4718 | ||
4719 | 2004-04-05 Javier Miranda <miranda@gnat.com> | |
4720 | ||
4721 | * par-ch3.adb: Complete documentation of previous change | |
4722 | Correct wrong syntax documentation of the OBJECT_DECLARATION rule | |
4723 | (aliased must appear before constant). | |
4724 | ||
4725 | * par-ch4.adb: Complete documentation of previous change. | |
4726 | ||
4727 | * par-ch6.adb: Complete documentation of previous change. | |
4728 | ||
4729 | * sinfo.ads: Fix typo in commment. | |
4730 | ||
4731 | 2004-04-05 Ed Schonberg <schonberg@gnat.com> | |
4732 | ||
4733 | * sem_ch3.adb (Inherit_Components): If derived type is private and has | |
4734 | stored discriminants, use its discriminants to constrain parent type, | |
4735 | as is done for non-private derived record types. | |
4736 | ||
4737 | * sem_ch4.adb (Remove_Abstract_Operations): New subprogram to implement | |
4738 | Ada 2005 AI-310: an abstract non-dispatching operation is not a | |
4739 | candidate interpretation in an overloaded call. | |
4740 | ||
4741 | * tbuild.adb (Unchecked_Convert_To): Preserve conversion node if | |
4742 | expression is Null and target type is not an access type (e.g. a | |
4743 | non-private address type). | |
4744 | ||
4745 | 2004-04-05 Thomas Quinot <quinot@act-europe.fr> | |
4746 | ||
4747 | * exp_ch6.adb (Rewrite_Function_Call): When rewriting an assignment | |
4748 | statement whose right-hand side is an inlined call, save a copy of the | |
4749 | original assignment subtree to preserve enough consistency for | |
4750 | Analyze_Assignment to proceed. | |
4751 | ||
4752 | * sem_ch5.adb (Analyze_Assignment): Remove a costly copy of the | |
4753 | complete assignment subtree which is now unnecessary, as the expansion | |
4754 | of inlined call has been improved to preserve a consistent assignment | |
4755 | tree. Note_Possible_Modification must be called only | |
4756 | after checks have been applied, or else unnecessary checks will | |
4757 | be generated. | |
4758 | ||
4759 | * sem_util.adb (Note_Possible_Modification): Reorganise the handling | |
4760 | of explicit dereferences that do not Come_From_Source: | |
4761 | - be selective on cases where we must go back to the dereferenced | |
4762 | pointer (an assignment to an implicit dereference must not be | |
4763 | recorded as modifying the pointer); | |
4764 | - do not rely on Original_Node being present (Analyze_Assignment | |
4765 | calls Note_Possible_Modification on a copied tree). | |
4766 | ||
4767 | * sem_warn.adb (Check_References): When an unset reference to a pointer | |
4768 | that is never assigned is encountered, prefer '<pointer> may be null' | |
4769 | warning over '<pointer> is never assigned a value'. | |
4770 | ||
4771 | 2004-04-05 Ramon Fernandez <fernandez@gnat.com> | |
4772 | ||
4773 | * tracebak.c: Change STOP_FRAME in ppc vxworks to be compliant with | |
4774 | the ABI. | |
4775 | ||
4776 | 2004-04-05 Olivier Hainque <hainque@act-europe.fr> | |
4777 | ||
4778 | * 5gmastop.adb (Pop_Frame): Comment out the pragma Linker_Option for | |
4779 | libexc. We currently don't reference anything in this library and | |
4780 | linking it in triggers linker warnings we don't want to see. | |
4781 | ||
4782 | * init.c: Update comments. | |
4783 | ||
4f976745 RK |
4784 | 2004-04-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4785 | ||
4786 | * decl.c (gnat_to_gnu_entity): Use TYPE_READONLY. | |
4787 | * utils.c (create_field_decl): Likewise. | |
4788 | * utils2.c (build_unary_op, gnat_build_constructor): Likewise. | |
4789 | ||
6da7d579 AC |
4790 | 2004-04-02 Arnaud Charlet <charlet@act-europe.fr> |
4791 | ||
4792 | * gnat-style.texi, gnat_rm.texi, gnat_ugn.texi: Remove RCS tags. | |
4793 | Replace ifinfo by ifnottex, to make makeinfo --html happy again. | |
4794 | Add info directory entry and category. | |
4795 | ||
18c6ada9 JH |
4796 | 2004-04-02 Jan Hubicka <jh@suse.cz> |
4797 | ||
4798 | * utils.c: Include function.h | |
4799 | (end_subprog_body): Clear DECL_STRUCT_FUNCTION. | |
4800 | ||
7cd4527e AC |
4801 | 2004-04-01 Arnaud Charlet <charlet@act-europe.fr> |
4802 | ||
4803 | PR ada/14150 | |
4804 | * Make-lang.in: Clean up generation of documentation | |
4805 | ||
4806 | * gnat-style.texi, gnat_rm.texi, ug_words: Resync with AdaCore version | |
4807 | ||
4808 | * xgnatug.adb: Removed, replaced by xgnatugn.adb | |
4809 | ||
4810 | * xgnatugn.adb: Replaces xgnatug.adb | |
4811 | ||
4812 | * gnat_ug.texi: Removed, replaced by gnat_ugn.texi | |
4813 | ||
4814 | * gnat_ugn.texi: Replaces gnat_ug.texi. Resync with AdaCore version | |
4815 | ||
4816 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
4817 | gnat_ug_wnt.texi: Removed. | |
4818 | ||
0c250f07 AC |
4819 | 2004-04-01 Arnaud Charlet <charlet@act-europe.fr> |
4820 | ||
4821 | * utils2.c: Update copyright notice. | |
4822 | ||
6b6fcd3e AC |
4823 | 2004-04-01 Robert Dewar <dewar@gnat.com> |
4824 | ||
4825 | * checks.adb: Minor reformatting throughout | |
4826 | Note that prev checkin added RM reference to alignment warning | |
4827 | ||
4828 | 2004-04-01 Ed Schonberg <schonberg@gnat.com> | |
4829 | ||
4830 | * exp_aggr.adb (Get_Component_Val): Treat a string literal as | |
4831 | non-static when building aggregate for bit-packed array. | |
4832 | ||
4833 | * exp_ch4.adb (Expand_N_Slice): If a packed slice is an actual of a | |
4834 | function call that is itself the actual in a procedure call, build | |
4835 | temporary for it. | |
4836 | ||
4837 | * exp_pakd.adb (Expand_Bit_Packed_Element_Set): If right-hand side is | |
4838 | a string literal, create a temporary for it, constant folding only | |
4839 | handles scalars here. | |
4840 | ||
4841 | 2004-04-01 Vincent Celier <celier@gnat.com> | |
4842 | ||
4843 | * ali-util.adb (Post_Scan, Error_Msg, Error_Msg_S, Error_Msg_SC, | |
4844 | Error_Msg_SP): New empty procedures to instantiate the Scanner. | |
4845 | (Style, Scanner): Instantiations of Styleg and Scng to be able to scan | |
4846 | tokens. | |
4847 | (Accumulate_Checksum, Initialize_Checksum): Remove procedures. | |
4848 | (Get_File_Checksum): Use the instantiated scanner to scan all the tokens | |
4849 | and get the checksum. | |
4850 | ||
4851 | * make.adb (Gnatmake): Do not insert into Q the Main_Source if it is | |
4852 | already in the Q. | |
4853 | Increase the Marking_Label at the end of the Multiple_Main_Loop, | |
4854 | instead of at the beginning. | |
4855 | ||
4856 | * osint.adb (Lib_File_Name): Use Multi_Unit_Index_Character, not '~' | |
4857 | directly. | |
4858 | (Osint package elaboration): Change Multi_Unit_Index_Character to '$' if | |
4859 | on VMS. | |
4860 | ||
4861 | * osint.ads (Multi_Unit_Index_Character): New Character global variable | |
4862 | ||
4863 | * osint-c.adb (Set_Library_Info_Name): Use Multi_Unit_Index_Character, | |
4864 | not '~' directly. | |
4865 | ||
4866 | * par.adb: Remove test on file name to detect language defined units. | |
4867 | Add test on unit name, after parsing, to detect language defined units | |
4868 | that are not compiled with -gnatg (except System.RPC and its children) | |
4869 | ||
4870 | * par-ch10.adb (P_Compilation_Unit): In multi-unit sources, scan the | |
4871 | following units without style checking. | |
4872 | ||
4873 | * switch-c.adb: Change -gnatC to -gnateI | |
4874 | ||
4875 | * usage.adb: Document new switch -gnateInnn | |
4876 | ||
4877 | * scng.adb (Accumulate_Token_Checksum): New procedure | |
4878 | (Scan): Call Accumulate_Token_Checksum after each identifier, reserved | |
4879 | word or literal number. | |
4880 | (Scan.Nlit.Scan_Integer): Do not accumulate internal '_' in litteral | |
4881 | numbers. | |
4882 | ||
4883 | 2004-04-01 Thomas Quinot <quinot@act-europe.fr> | |
4884 | ||
4885 | * a-tasatt.adb, | |
4886 | g-comlin.adb, sinput-c.adb, s-secsta.adb, s-tpobop.adb, | |
4887 | switch-m.adb, 56taprop.adb, 5ginterr.adb, 5gmastop.adb, | |
4888 | 5staprop.adb, 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, | |
4889 | 5vtpopde.adb: Add missing 'constant' keywords. | |
4890 | ||
4891 | 2004-04-01 Javier Miranda <miranda@gnat.com> | |
4892 | ||
4893 | * par-ch4.adb: (P_Allocator): Code cleanup | |
4894 | ||
4895 | * sem_ch3.adb (Access_Definition): Properly set the null-excluding | |
4896 | attribute. | |
4897 | ||
4898 | * sinfo.ads: Complete documentation of previous change | |
4899 | ||
4900 | 2004-04-01 Pascal Obry <obry@gnat.com> | |
4901 | ||
4902 | * gnatlink.adb (Process_Binder_File): Remove duplicate linker options | |
4903 | only on VMS. This special handling was done because an old GNU/ld bug | |
4904 | on Windows which has been fixed. | |
4905 | ||
4906 | 2004-04-01 GNAT Script <nobody@gnat.com> | |
4907 | ||
4908 | * Make-lang.in: Makefile automatically updated | |
4909 | ||
8df83eae RK |
4910 | 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4911 | ||
4912 | * decl.c (gnat_to_gnu_entity, make_type_from_size): | |
4913 | Use TYPE_UNSIGNED, not TREE_UNSIGNED. | |
4914 | * trans.c (tree_transform, convert_with_check): Likewise. | |
4915 | * utils.c (gnat_signed_or_unsigned_type): Likewise. | |
4916 | (build_vms_descriptor, unchecked_convert): Likewise. | |
4917 | * utils2.c (nonbinary_modular_operation): Likewise. | |
4918 | ||
2820d220 AC |
4919 | 2004-03-29 Javier Miranda <miranda@gnat.com> |
4920 | ||
4921 | * checks.adb (Null_Exclusion_Static_Checks): New subprogram | |
4922 | (Install_Null_Excluding_Check): Local subprogram that determines whether | |
4923 | an access node requires a runtime access check and if so inserts the | |
4924 | appropriate run-time check. | |
4925 | (Apply_Access_Check): Call Install_Null_Excluding check if required | |
4926 | (Apply_Constraint_Check): Call Install_Null_Excluding check if required | |
4927 | ||
4928 | * checks.ads: (Null_Exclusion_Static_Checks): New subprogram | |
4929 | ||
4930 | * einfo.ads: Fix typo in comment | |
4931 | ||
4932 | * exp_ch3.adb (Build_Assignment): Generate conversion to the | |
4933 | null-excluding type to force the corresponding run-time check. | |
4934 | (Expand_N_Object_Declaration): Generate conversion to the null-excluding | |
4935 | type to force the corresponding run-time check. | |
4936 | ||
4937 | * exp_ch5.adb (Expand_N_Assignment_Statement): Generate conversion to | |
4938 | the null-excluding type to force the corresponding run-time check. | |
4939 | ||
4940 | * exp_ch6.adb (Expand_Call): Do not generate the run-time check in | |
4941 | case of access types unless they have the null-excluding attribute. | |
4942 | ||
4943 | * sprint.adb (Sprint_Node_Actual): Give support to the null-exclusing | |
4944 | part. | |
4945 | ||
4946 | * exp_util.ads: Fix typo in comment | |
4947 | ||
4948 | * par.adb (P_Null_Exclusion): New subprogram | |
4949 | (P_Subtype_Indication): New formal that indicates if the null-excluding | |
4950 | part has been scanned-out and it was present | |
4951 | ||
4952 | * par-ch3.adb, par-ch4.adb, par-ch6.adb: Give support to AI-231 | |
4953 | ||
4954 | * sem_aggr.adb: (Check_Can_Never_Be_Null): New subprogram | |
4955 | (Aggregate_Constraint_Checks): Generate conversion to the null-excluding | |
4956 | type to force the corresponding run-time check | |
4957 | (Resolve_Aggregate): Propagate the null-excluding attribute to the array | |
4958 | components | |
4959 | (Resolve_Array_Aggregate): Carry out some static checks | |
4960 | (Resolve_Record_Aggregate.Get_Value): Carry out some static check | |
4961 | ||
4962 | * sem_ch3.adb (Access_Definition): In Ada 0Y the Can_Never_Be_Null | |
4963 | attribute must be set only if specified by means of the null-excluding | |
4964 | part. In addition, we must also propagate the access-constant attribute | |
4965 | if present. | |
4966 | (Access_Subprogram_Declaration, Access_Type_Declaration, | |
4967 | Analyze_Component_Declaration, Analyze_Object_Declaration, | |
4968 | Array_Type_Declaration, Process_Discriminants, | |
4969 | Analyze_Subtype_Declaration): Propagate the null-excluding attribute | |
4970 | and carry out some static checks. | |
4971 | (Build_Derived_Access_Type): Set the null-excluding attribute | |
4972 | (Derived_Type_Declaration, Process_Subtype): Carry out some static | |
4973 | checks. | |
4974 | ||
4975 | * sem_ch4.adb (Analyze_Allocator): Carry out some static checks | |
4976 | ||
4977 | * sem_ch5.adb (Analyze_Assignment): Carry out some static checks | |
4978 | ||
4979 | * sem_ch6.adb (Process_Formals): Carry out some static checks. | |
4980 | (Set_Actual_Subtypes): Generate null-excluding subtype if the | |
4981 | null-excluding part was present; it is not required to be done here in | |
4982 | case of anonymous access types. | |
4983 | (Set_Formal_Mode): Ada 0Y allows anonymous access to have the null | |
4984 | value. | |
4985 | ||
4986 | * sem_res.adb (Resolve_Actuals): Carry out some static check | |
4987 | (Resolve_Null): Allow null in anonymous access | |
4988 | ||
4989 | * sinfo.adb: New subprogram Null_Exclusion_Present | |
4990 | All_Present and Constant_Present available on access_definition nodes | |
4991 | ||
4992 | * sinfo.ads: New flag Null_Exclusion_Present on subtype_declaration, | |
4993 | object_declaration, derived_type_definition, component_definition, | |
4994 | discriminant_specification, access_to_object_definition, | |
4995 | access_function_definition, allocator, access_procedure_definition, | |
4996 | access_definition, parameter_specification, All_Present and | |
4997 | Constant_Present flags available on access_definition nodes. | |
4998 | ||
4999 | 2004-03-29 Robert Dewar <dewar@gnat.com> | |
5000 | ||
5001 | * fname.adb, fname.ads, fname-sf.adb, fname-uf.adb, fname-uf.ads, | |
5002 | gnat1drv.adb, lib.adb, lib.ads, lib-load.adb, lib-writ.adb, | |
5003 | opt.ads, osint.adb, osint.ads, osint-c.adb, par.adb, | |
5004 | par-ch10.adb, par-load.adb, par-prag.adb, sfn_scan.adb, | |
5005 | sfn_scan.ads, sinput-l.adb, sinput-l.ads, switch-c.adb, | |
5006 | sem_prag.adb: Updates to handle multiple units/file | |
5007 | ||
5008 | * par.adb: Change test for s-rpc to s-rp for detecting rpc and children | |
5009 | ||
5010 | * par.adb, memtrack.adb, prj-makr.adb, prj-part.adb, | |
5011 | sem_util.adb: Minor reformatting | |
5012 | ||
5013 | * sem_ch12.adb: Add comment for previous change | |
5014 | ||
5015 | 2004-03-29 Laurent Pautet <pautet@act-europe.fr> | |
5016 | ||
5017 | * osint.adb (Executable_Prefix): Set Exec_Name to the current | |
5018 | executable name when not initialized. Otherwise, use its current value. | |
5019 | ||
5020 | * osint.ads (Exec_Name): Move Exec_Name from body to spec in order to | |
5021 | initialize it to another executable name than the current one. This | |
5022 | allows to configure paths for an executable name (gnatmake) different | |
5023 | from the current one (gnatdist). | |
5024 | ||
5025 | 2004-03-29 Ed Schonberg <schonberg@gnat.com> | |
5026 | ||
5027 | * exp_ch6.adb (Expand_Call): A call to a function declared in the | |
5028 | current unit cannot be inlined if it appears in the body of a withed | |
5029 | unit, to avoid order of elaboration problems in gigi. | |
5030 | ||
5031 | * exp_ch9.adb (Build_Protected_Sub_Specification): Generate debugging | |
5032 | information for protected (wrapper) operation as well, to simplify gdb | |
5033 | use. | |
5034 | ||
5035 | * sem_ch6.adb (Analyze_Subprogram_Body): For a private operation in a | |
5036 | protected body, indicate that the entity for the generated spec comes | |
5037 | from source, to ensure that references are properly generated for it. | |
5038 | (Build_Body_To_Inline): Do not inline a function that returns a | |
5039 | controlled type. | |
5040 | ||
5041 | * sem_prag.adb (Process_Convention): If subprogram is overloaded, only | |
5042 | apply convention to homonyms that are declared explicitly. | |
5043 | ||
5044 | * sem_res.adb (Make_Call_Into_Operator): If the operation is a function | |
5045 | that renames an equality operator and the operands are overloaded, | |
5046 | resolve them with the declared formal types, before rewriting as an | |
5047 | operator. | |
5048 | ||
5049 | 2004-03-29 GNAT Script <nobody@gnat.com> | |
5050 | ||
5051 | * Make-lang.in: Makefile automatically updated | |
5052 | ||
6d11af89 AC |
5053 | 2004-03-25 Vasiliy Fofanov <fofanov@act-europe.fr> |
5054 | ||
5055 | * memtrack.adb: Log realloc calls, which are treated as free followed | |
5056 | by alloc. | |
5057 | ||
5058 | 2004-03-25 Vincent Celier <celier@gnat.com> | |
5059 | ||
5060 | * prj-makr.adb (Process_Directories): Detect when a file contains | |
5061 | several units. Do not include such files in the config pragmas or | |
5062 | in the naming scheme. | |
5063 | ||
5064 | * prj-nmsc.adb (Record_Source): New parameter Trusted_Mode. | |
5065 | Resolve links only when not in Trusted_Mode. | |
5066 | (Find_Sources, Recursive_Find_Dirs, Find_Source_Dirs, Locate_Directory): | |
5067 | Do not resolve links for the display names. | |
5068 | ||
5069 | * prj-part.adb (Parse_Single_Project, Project_Path_Name_Of): Do not | |
5070 | resolve links when computing the display names. | |
5071 | ||
5072 | 2004-03-25 Thomas Quinot <quinot@act-europe.fr> | |
5073 | ||
5074 | * sem_attr.adb (Check_Dereference): When the prefix of a 'Tag | |
5075 | attribute reference does not denote a subtype, it can be any | |
5076 | expression that has a classwide type, potentially after an implicit | |
5077 | dereference. In particular, the prefix can be a view conversion for | |
5078 | a classwide type (for which Is_Object_Reference holds), but it can | |
5079 | also be a value conversion for an access-to-classwide type. In the | |
5080 | latter case, there is an implicit dereference, and the original node | |
5081 | for the prefix does not verify Is_Object_Reference. | |
5082 | ||
5083 | * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): A view | |
5084 | conversion of a discriminant-dependent component of a mutable object | |
5085 | is one itself. | |
5086 | ||
5087 | 2004-03-25 Ed Schonberg <schonberg@gnat.com> | |
5088 | ||
5089 | * freeze.adb (Freeze_Entity): When an inherited subprogram is | |
5090 | inherited, has convention C, and has unconstrained array parameters, | |
5091 | place the corresponding warning on the derived type declaration rather | |
5092 | than the original subprogram. | |
5093 | ||
5094 | * sem_ch12.adb (Instantiate_Formal_Subprogram): Set From_Default | |
5095 | indication on renaming declaration, if formal has a box and actual | |
5096 | is absent. | |
5097 | ||
5098 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Use From_Default flag to | |
5099 | determine whether to generate an implicit or explicit reference to | |
5100 | the renamed entity. | |
5101 | ||
5102 | * sinfo.ads, sinfo.adb: New flag From_Default, to indicate that a | |
5103 | subprogram renaming comes from a defaulted formal subprogram in an | |
5104 | instance. | |
5105 | ||
5106 | 2004-03-25 Gary Dismukes <dismukes@gnat.com> | |
5107 | ||
5108 | * sem_elab.adb (Check_Elab_Call): Refine loop that checks for default | |
5109 | value expressions to ensure that calls within a component definition | |
5110 | will be checked (since those are evaluated during the record type's | |
5111 | elaboration). | |
5112 | ||
5113 | 2004-03-25 Arnaud Charlet <charlet@act-europe.fr> | |
5114 | ||
5115 | * s-tpobop.adb: Code clean up: | |
5116 | (Requeue_Call): Extract from PO_Service_Entries to remove duplicated | |
5117 | code. | |
5118 | (PO_Do_Or_Queue): Remove duplicated code and use Requeue_Call. | |
5119 | ||
5120 | 2004-03-25 Jose Ruiz <ruiz@act-europe.fr> | |
5121 | ||
5122 | * Makefile.in: Clean up in the ravenscar run time. | |
5123 | ||
22421b79 RK |
5124 | 2004-03-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5125 | ||
5126 | * decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value | |
5127 | of No_Strict_Aliasing to build_pointer_type_for_mode. | |
5128 | * utils.c (update_pointer_to): Walk pointer and ref chains. | |
5129 | ||
24105bab AC |
5130 | 2004-03-22 Cyrille Comar <comar@act-europe.fr> |
5131 | ||
5132 | * ali.ads: Fix Comment about Dynamic_Elab. | |
5133 | ||
5134 | * gnatls.adb (Output_Unit): Add output of many flags (Dynamic_Elab, | |
5135 | Has_RACW, Is_Generic, etc.) | |
5136 | (Output_Object, Gnatls): Take into account ALI files not attached to | |
5137 | an object. | |
5138 | ||
5139 | 2004-03-22 Vincent Celier <celier@gnat.com> | |
5140 | ||
5141 | * gprep.adb: Change all String_Access to Name_Id | |
5142 | (Is_ASCII_Letter): new function | |
5143 | (Double_File_Name_Buffer): New procedure | |
5144 | (Preprocess_Infile_Name): New procedure | |
5145 | (Process_Files): New procedure | |
5146 | (Gnatprep): Check if output and input are existing directories. | |
5147 | Call Process_Files to do the real job. | |
5148 | ||
5149 | 2004-03-22 Robert Dewar <dewar@gnat.com> | |
5150 | ||
5151 | * prj-env.adb, prj-nmsc.ads, prj-proc.ads, | |
5152 | s-stache.ads, s-stache.adb: Comment updates. Minor reformatting. | |
5153 | ||
5154 | 2004-03-22 Sergey Rybin <rybin@act-europe.fr> | |
5155 | ||
5156 | * scn.adb (Contains): Add check for EOF, is needed for a degenerated | |
5157 | case when the source contains only comments. | |
5158 | ||
5159 | 2004-03-22 Ed Schonberg <schonberg@gnat.com> | |
5160 | ||
5161 | * sem_ch10.adb (Analyze_Compilation_Unit): When generating a | |
5162 | declaration for a child subprogram body that acts as a spec, indicate | |
5163 | that the entity in the declaration needs debugging information. | |
5164 | ||
5165 | * sem_ch3.adb (Complete_Private_Subtype): Do not build an underlying | |
5166 | full view if the subtype is created for a constrained record component; | |
5167 | gigi has enough information to construct the record, and there is no | |
5168 | place in the tree for the declaration. | |
5169 | ||
5170 | * sem_ch6.adb (Build_Body_To_Inline): Use an internal name without | |
5171 | serial number for the dummy body that is built for analysis, to avoid | |
5172 | inconsistencies in the generation of internal names when compiling | |
5173 | with -gnatN. | |
5174 | ||
5175 | 2004-03-22 Thomas Quinot <quinot@act-europe.fr> | |
5176 | ||
5177 | * sem_util.adb (Is_Object_Reference): A view conversion denotes an | |
5178 | object. | |
5179 | ||
5180 | 2004-03-22 GNAT Script <nobody@gnat.com> | |
5181 | ||
5182 | * Make-lang.in: Makefile automatically updated | |
5183 | ||
6fce44af RK |
5184 | 2004-03-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5185 | ||
5186 | * decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR. | |
5187 | * trans.c (tree_transform, emit_index_check): Likewise. | |
5188 | * utils.c (build_template): Likewise. | |
5189 | (max_size, convert): Remove handling of WITH_RECORD_EXPR. | |
5190 | (maybe_unconstrained_array, unchecked_convert): Likewise. | |
5191 | * utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise. | |
5192 | (build_unary_op): Likewise. | |
5193 | (compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR. | |
5194 | (fill_vms_descriptor): Likewise. | |
5195 | (build_call_alloc_dealloc): Likewise. | |
5196 | ALIGN is unsigned. | |
5197 | * gigi.h (build_call_alloc_dealloc): Alignment is unsigned. | |
5198 | ||
802f6d4b JM |
5199 | 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk> |
5200 | ||
5201 | PR other/14630 | |
5202 | * gnat_ug.texi: Add info directory category and entry. | |
5203 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
5204 | gnat_ug_wnt.texi: Regenerate. | |
5205 | ||
30f3b32b AC |
5206 | 2004-03-19 Arnaud Charlet <charlet@act-europe.fr> |
5207 | ||
5208 | * ada-tree.h: Update copyright notice. | |
5209 | Minor reformatting. | |
5210 | ||
5211 | 2004-03-19 Olivier Hainque <hainque@act-europe.fr> | |
5212 | ||
5213 | * decl.c (gnat_to_gnu_entity, case E_Exception): Handle VMS exceptions | |
5214 | as regular exception objects and not as mere integers representing the | |
5215 | condition code. The latter approach required some dynamics to mask off | |
5216 | severity bits, which did not fit well into the GCC table based model. | |
5217 | (gnat_to_gnu_entity, objects): Don't supply an external name for VMS | |
5218 | exception data objects. We don't it and it would conflict with the other | |
5219 | external symbol we have to generate for such exceptions. | |
5220 | ||
5221 | * trans.c (tree_transform, case N_Exception_Handler): Remove part of | |
5222 | the special code for VMS exceptions, since these are now represented | |
5223 | as regular exceptions objects. | |
5224 | ||
7548281d RK |
5225 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5226 | ||
5227 | * decl.c (debug_no_type_hash): Remove. | |
5228 | (gnat_to_gnu_entity, case E_Array_Type): Don't set and clear it. | |
5229 | * misc.c (LANG_HOOK_HASH_TYPE): Redefine. | |
5230 | ||
7324bf49 | 5231 | 2004-03-19 Laurent Guerby <laurent@guerby.net> |
dbee7ab9 | 5232 | |
90afe2c9 | 5233 | * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of |
dbee7ab9 | 5234 | aggregate, allows bootstrap from 3.3 on powerpc-darwin. |
90afe2c9 | 5235 | |
eb34af89 RK |
5236 | 2004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5237 | ||
5238 | * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking. | |
5239 | (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise. | |
5240 | (TYPE_RM_SIZE_INT): Directly use type.values. | |
5241 | (TREE_LOOP_ID): Clean up check. | |
5242 | * decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use | |
5243 | TYPE_VALUES, not TYPE_FIELDS. | |
5244 | * trans.c (convert_with_check): Delay access of bounds of basetype | |
5245 | until sure is numeric. | |
5246 | ||
a336eaca AC |
5247 | 2004-03-18 Arnaud Charlet <charlet@act-europe.fr> |
5248 | ||
5249 | * 5atpopsp.adb: Remove RTEMS from list of platforms using this file. | |
5250 | ||
5251 | Code clean up: | |
5252 | * 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb, | |
5253 | 5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use | |
5254 | Specific.Set instead of direct call to e.g pthread_setspecific. | |
5255 | ||
5256 | 2004-03-18 Thomas Quinot <quinot@act-europe.fr> | |
5257 | ||
5258 | * adaint.c: Update comments. | |
5259 | ||
5260 | * Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and | |
5261 | GNATLIB_SHARED for FreeBSD. | |
5262 | ||
5263 | 2004-03-18 Jose Ruiz <ruiz@act-europe.fr> | |
5264 | ||
5265 | * init.c [VxWorks]: Do not fix the stack size for the environment task. | |
5266 | When needed (stack checking) the stack size is retrieved | |
5267 | from the VxWorks kernel. | |
5268 | ||
5269 | * Makefile.in: Flag -nostdinc is required when building the run time | |
5270 | for avoiding looking for files in the base compiler. | |
5271 | Add the VxWorks specific version of the package body for | |
5272 | System.Stack_checking.Operations (5zstchop.adb). | |
5273 | ||
5274 | * Make-lang.in: Add the object file for | |
5275 | System.Stack_Checking.Operations. | |
5276 | ||
5277 | * Makefile.rtl: Add object file for the package | |
5278 | System.Stack_Checking.Operations. | |
5279 | ||
5280 | * s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files. | |
5281 | ||
5282 | * s-stache.ads, s-stache.adb: Move the operations related to stack | |
5283 | checking from this package to package System.Stack_Checking.Operations. | |
5284 | This way, stack checking operations are only linked in the final | |
5285 | executable when using the -fstack-check flag. | |
5286 | ||
5287 | 2004-03-18 Doug Rupp <rupp@gnat.com> | |
5288 | ||
5289 | * Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads). | |
5290 | Reorganize ifeq's. | |
5291 | ||
5292 | * 5qsystem.ads, 5xcrtl.ads: New files. | |
5293 | ||
5294 | 2004-03-18 Vincent Celier <celier@gnat.com> | |
5295 | ||
5296 | * prj.adb (Reset): Reset hash table Files_Htable | |
5297 | ||
5298 | * prj-env.adb (Source_Paths, Object_Paths): New tables. | |
5299 | (Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace | |
5300 | the procedures Add_To_Path_File. | |
5301 | (Set_Ada_Paths): Accumulate source and object dirs in the tables, | |
5302 | making sure that each directory is present only once and, for object | |
5303 | dirs, when a directory already present is added, the duplicate is | |
5304 | removed and the directory is always put as the last in the table. | |
5305 | Write the path files at the end of these accumulations. | |
5306 | ||
5307 | * prj-nmsc.adb (Record_Source): Add source file name in hash table | |
5308 | Files_Htable for all sources. | |
5309 | ||
5310 | * prj-proc.adb (Process): Remove restrictions between not directly | |
5311 | related extending projects. | |
5312 | ||
5313 | 2004-03-18 Emmanuel Briot <briot@act-europe.fr> | |
5314 | ||
5315 | * prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode. | |
5316 | (Find_Sources): Minor speed optimization. | |
5317 | ||
5318 | * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New | |
5319 | parameter Trusted_Mode. | |
5320 | ||
5321 | 2004-03-18 Sergey Rybin <rybin@act-europe.fr> | |
5322 | ||
5323 | * scn.adb (Determine_License): Take into account a degenerated case | |
5324 | when the source contains only comments. | |
5325 | ||
5326 | 2004-03-18 Ed Schonberg <schonberg@gnat.com> | |
5327 | ||
5328 | * sem_warn.adb (Check_References): For a warning on a selected | |
5329 | component that does not come from source, locate an uninitialized | |
5330 | component of the record type to produce a more precise error message. | |
5331 | ||
e6f69614 AC |
5332 | 2004-03-15 Jerome Guitton <guitton@act-europe.fr> |
5333 | ||
5334 | * 3zsoccon.ads: Fix multicast options. | |
5335 | ||
5336 | * s-thread.ads: Move unchecked conversion from ATSD_Access to Address | |
5337 | in the spec. | |
5338 | ||
5339 | 2004-03-15 Robert Dewar <dewar@gnat.com> | |
5340 | ||
5341 | * sem_prag.adb: Make sure No_Strict_Aliasing flag is set right when | |
5342 | pragma used for a private type. | |
5343 | ||
5344 | * lib-xref.adb (Generate_Reference): Do not generate warning if | |
5345 | reference is in a different unit from the pragma Unreferenced. | |
5346 | ||
5347 | * 5vtpopde.adb: Minor reformatting | |
5348 | Fix casing of To_Task_ID | |
5349 | ||
5350 | * sem_ch13.adb (Validate_Unchecked_Conversion): Set No_Strict_Aliasing | |
5351 | flag if we have an unchecked conversion to an access type in the same | |
5352 | unit. | |
5353 | ||
5354 | 2004-03-15 Geert Bosch <bosch@gnat.com> | |
5355 | ||
5356 | * a-ngcoty.adb (Modulus): In alternate formula for large real or | |
5357 | imaginary parts, use Double precision throughout. | |
5358 | ||
5359 | * a-tifiio.adb (Put_Scaled): Remove remaining pragma Debug. Not only | |
5360 | we want to be able to compile run-time with -gnata for testing, but | |
5361 | this may also be instantiated in user code that is compiled with -gnata. | |
5362 | ||
5363 | 2004-03-15 Olivier Hainque <hainque@act-europe.fr> | |
5364 | ||
5365 | * s-stalib.ads (Exception_Code): New type, to represent Import/Export | |
5366 | codes. Having a separate type for this is useful to enforce consistency | |
5367 | throughout the various run-time units. | |
5368 | (Exception_Data): Use Exception_Code for Import_Code. | |
5369 | ||
5370 | * s-vmextra.ads, s-vmexta.adb: Use Exception_Code instead of a mix of | |
5371 | Natural and Integer in various places. | |
5372 | (Register_VMS_Exception): Use Base_Code_In to compute the exception code | |
5373 | with the severity bits masked off. | |
5374 | (Register_VMS_Exception): Handle the additional exception data pointer | |
5375 | argument. | |
5376 | ||
5377 | * raise.c (_GNAT_Exception structure): Remove the handled_by_others | |
5378 | component, now reflected by an exported accessor. | |
5379 | (is_handled_by): New routine to compute whether the propagated | |
5380 | occurrence matches some handler choice specification. Extracted out of | |
5381 | get_action_description_for, and expanded to take care of the VMS | |
5382 | specifities. | |
5383 | (get_action_description_for): Use is_handled_by instead of an explicit | |
5384 | complex condition to decide if the current choice at hand catches the | |
5385 | propagated occurrence. | |
5386 | ||
5387 | * raise.h (Exception_Code): New type for C. | |
5388 | ||
5389 | * rtsfind.ads (RE_Id, RE_Unit_Table): Add | |
5390 | System.Standard_Library.Exception_Code, to allow references from the | |
5391 | pragma import/export expander. | |
5392 | ||
5393 | * a-exexpr.adb (Is_Handled_By_Others, Language_For, Import_Code_For): | |
5394 | New accessors to allow easy access to GNAT exception data | |
5395 | characteristics. | |
5396 | (GNAT_GCC_Exception record, Propagate_Exception): Get rid of the | |
5397 | redundant Handled_By_Others component, helper for the personality | |
5398 | routine which will now be able to call the appropriate exception data | |
5399 | accessor instead. | |
5400 | ||
5401 | * cstand.adb (Create_Standard): Adjust the type of the Import_Code | |
5402 | component of Standard_Exception_Type to be the closest possible to | |
5403 | Exception_Code in System.Standard_Library, that we cannot get at this | |
5404 | point. Expand a ??? comment to notify that this type node should | |
5405 | probably be rewritten later on. | |
5406 | ||
5407 | * exp_prag.adb (Expand_Pragma_Import_Export_Exception): Adjust the | |
5408 | registration call to include a pointer to the exception object in the | |
5409 | arguments. | |
5410 | ||
5411 | * init.c (__gnat_error_handler): Use Exception_Code and Base_Code_In | |
5412 | instead of int and explicit bitmasks. | |
5413 | ||
5414 | 2004-03-15 Vincent Celier <celier@gnat.com> | |
5415 | ||
5416 | * vms_data.ads: Add new GNAT BIND qualifier /STATIC. Makes /NOSHARED | |
5417 | equivalent to /STATIC and /NOSTATIC equivalent to /SHARED. | |
5418 | ||
5419 | * a-tasatt.adb (To_Access_Code): Remove this UC instantiation, no | |
5420 | longer needed now that it is in the spec of | |
5421 | System.Tasking.Task_Attributes. | |
5422 | ||
5423 | * adaint.h, adaint.c: (__gnat_create_output_file): New function | |
5424 | ||
5425 | * gnatcmd.adb: Fix bug introduced in previous rev: /= instead of = | |
5426 | ||
5427 | * g-os_lib.ads, g-os_lib.adb (Create_Output_Text_File): New function. | |
5428 | ||
5429 | * make.adb (Gnatmake): Do not check the executable suffix; it is being | |
5430 | taken care of in Scan_Make_Arg. | |
5431 | (Scan_Make_Arg): Add the executable suffix only if the argument | |
5432 | following -o, in canonical case, does not end with the executable | |
5433 | suffix. When in verbose mode and executable file name does not end | |
5434 | with executable suffix, output the executable name, in canonical case. | |
5435 | ||
5436 | * s-tataat.ads (Access_Dummy_Wrapper): Add pragma No_Strict_Aliasing | |
5437 | to avoid warnings when instantiating Ada.Task_Attributes. | |
5438 | Minor reformating. | |
5439 | ||
5440 | * mlib-prj.adb (Process_Imported_Libraries): Get the imported libraries | |
5441 | in the correct order. | |
5442 | ||
5443 | * prj-makr.adb (Process_Directory): No longer use GNAT.Expect, but | |
5444 | redirect standard output and error to a file for the invocation of the | |
5445 | compiler, then read the file. | |
5446 | ||
5447 | * prj-nmsc.adb (Find_Sources): Use the Display_Value for each | |
5448 | directory, instead of the Value. | |
5449 | (Find_Source_Dirs): Remove useless code & comments. | |
5450 | ||
5451 | 2004-03-15 Ed Schonberg <schonberg@gnat.com> | |
5452 | ||
5453 | * exp_ch3.adb (Freeze_Record_Type): If a primitive operation of a | |
5454 | tagged type is inherited, and the parent operation is not frozen yet, | |
5455 | force generation of a freeze node for the inherited operation, so the | |
5456 | corresponding dispatch entry is properly initialized. | |
5457 | (Make_Predefined_Primitive_Specs): Check that return type is Boolean | |
5458 | when looking for user-defined equality operation. | |
5459 | ||
5460 | * exp_ch4.adb (Expand_Composite_Equality): Check that return type is | |
5461 | boolean when locating primitive equality of tagged component. | |
5462 | ||
5463 | * exp_ch5.adb (Expand_Assign_Array): If the left-hand side is a | |
5464 | bit-aligned field and the right-hand side a string literal, introduce | |
5465 | a temporary before expanding assignment into a loop. | |
5466 | ||
5467 | * exp_ch9.adb (Expand_N_Task_Type_Declaration): Copy expression for | |
5468 | priority in full, to ensure that any expanded subepxressions of it are | |
5469 | elaborated in the scope of the init_proc. | |
5470 | ||
5471 | * exp_prag.adb (Expand_Pragma_Import): Search for initialization call | |
5472 | after object declaration, skipping over code that may have been | |
5473 | generated for validity checks. | |
5474 | ||
5475 | * sem_ch12.adb (Validate_Private_Type_Instance): If type has unknown | |
5476 | discriminants, ignore the known discriminants of its full view, if | |
5477 | any, to check legality. | |
5478 | ||
5479 | * sem_ch3.adb (Complete_Private_Subtype): Do not create constrained | |
5480 | component if type has unknown discriminants. | |
5481 | (Analyze_Private_Extension_Declaration): Discriminant constraint is | |
5482 | null if type has unknown discriminants. | |
5483 | ||
5484 | * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Generate reference | |
5485 | for end label when present. | |
5486 | ||
5487 | * s-fileio.adb (Open): When called with a C_Stream, use given name for | |
5488 | temporary file, rather than an empty string. | |
5489 | ||
5490 | 2004-03-15 Ed Falis <falis@gnat.com> | |
5491 | ||
5492 | * s-thread.adb: Removed, no longer used. | |
5493 | ||
5494 | 2004-03-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5495 | ||
5496 | * decl.c (target.h): Now include. | |
5497 | (gnat_to_gnu_entity, case E_Access_Type): Use mode derived from ESIZE | |
5498 | in new build_pointer_from_mode calls for non-fat/non-thin pointer. | |
5499 | (validate_size): For POINTER_TYPE, get smallest size permitted on | |
5500 | machine. | |
5501 | ||
5502 | * fe.h: Sort Einfo decls and add Set_Mechanism. | |
5503 | ||
5504 | * Makefile.in: (LIBGNAT_SRCS): Remove types.h. | |
5505 | (ada/decl.o): Depends on target.h. | |
5506 | ||
5507 | * trans.c (tree_transform, N_Unchecked_Type_Conversion): Do not use | |
5508 | FUNCTION_BOUNDARY; always use TYPE_ALIGN. | |
5509 | ||
5510 | 2004-03-15 Thomas Quinot <quinot@act-europe.fr> | |
5511 | ||
5512 | * 5ztpopsp.adb, 56tpopsp.adb: Fix spelling of Task_ID. | |
5513 | ||
5514 | * exp_ch4.adb (Expand_N_Indexed_Component): Do not call | |
5515 | Insert_Dereference_Action when rewriting an implicit dereference into | |
5516 | an explicit one, this will be taken care of during expansion of the | |
5517 | explicit dereference. | |
5518 | (Expand_N_Slice): Same. Always do the rewriting, even for the case | |
5519 | of non-packed slices, since the dereference action generated by | |
5520 | expansion of the explicit dereference is needed in any case. | |
5521 | (Expand_N_Selected_Component): When rewriting an implicit dereference, | |
5522 | analyze and resolve the rewritten explicit dereference so it is seen | |
5523 | by the expander. | |
5524 | (Insert_Dereference_Action): This procedure is now called only for the | |
5525 | expansion of an N_Explcit_Dereference_Node. Do insert a check even for | |
5526 | dereferences that do not come from source (including explicit | |
5527 | dereferences resulting from rewriting implicit ones), but do not | |
5528 | recursively insert a check for the dereference nodes contained within | |
5529 | the check. | |
5530 | (Insert_Dereference_Action): Clarify and correct comment. | |
5531 | ||
e4c9c075 PB |
5532 | 2004-03-08 Paolo Bonzini <bonzini@gnu.org> |
5533 | ||
5534 | PR ada/14131 | |
5535 | Move language detection to the top level. | |
5536 | * config-lang.in: Build by default. | |
5537 | ||
8a6a52dc AC |
5538 | 2004-03-05 Robert Dewar <dewar@gnat.com> |
5539 | ||
5540 | * 56taprop.adb, 5ataprop.adb: Remove unneeded unchecked conversions | |
5541 | ||
5542 | * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads, | |
5543 | i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads, | |
90afe2c9 | 5544 | 5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb, |
8a6a52dc AC |
5545 | 5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move |
5546 | unchecked conversion to spec to avoid warnings. | |
5547 | ||
5548 | * s-tasini.adb, s-taskin.ads, 5atpopsp.adb: Correct spelling Task_Id | |
5549 | to Task_ID | |
5550 | ||
5551 | * 7stpopsp.adb: Correct casing in To_Task_ID call | |
5552 | ||
5553 | * a-strsea.ads, a-strsea.adb: Minor reformatting | |
5554 | ||
5555 | * einfo.ads, einfo.adb: Define new flag No_Strict_Aliasing | |
5556 | ||
5557 | * errout.ads: Switch for VMS is now NO_STRICT_ALIASING. | |
5558 | Adjust Max_Msg_Length to be clearly large enough. | |
5559 | ||
5560 | * fe.h: Define In_Same_Source_Unit | |
5561 | ||
5562 | * osint.adb: Add pragma Warnings Off to suppress warnings | |
5563 | * g-dyntab.adb, g-table.adb, g-thread.adb: Add Warnings (Off) to kill | |
5564 | aliasing warnings. | |
5565 | ||
5566 | * opt.ads: Put entries in alpha order. Add entry for No_Strict_Aliasing | |
5567 | ||
5568 | * par-prag.adb: Add dummy entry for No_Strict_Aliasing pragma | |
5569 | ||
5570 | * sem_ch13.adb: Generate validate unchecked conversion nodes for gcc. | |
5571 | ||
5572 | * sem_ch3.adb: Set No_Strict_Aliasing flag if config pragma set. | |
5573 | ||
5574 | * sem_prag.adb: Implement pragma No_Strict_Aliasing. | |
5575 | ||
5576 | * sinfo.ads: Remove obsolete comment on validate unchecked conversion | |
5577 | node. We now do generate them for gcc back end. | |
5578 | ||
5579 | * table.adb, sinput.adb: Add pragma Warnings Off to suppress aliasing | |
5580 | warning. | |
5581 | ||
5582 | * sinput-c.adb: Fix bad name in header. | |
5583 | Add pragma Warnings Off to suppress aliasing warning. | |
5584 | ||
5585 | * sinput-l.adb: Add pragma Warnings Off to suppress aliasing warning. | |
5586 | ||
5587 | * snames.h, snames.ads, snames.adb: Add entry for pragma | |
5588 | No_Strict_Aliasing. | |
5589 | ||
5590 | 2004-03-05 Vincent Celier <celier@gnat.com> | |
5591 | ||
5592 | * prj-com.ads: Add hash table Files_Htable to check when a file name | |
5593 | is already a source of another project. | |
5594 | ||
5595 | * prj-nmsc.adb (Record_Source): Before recording a new source, check | |
5596 | if its file name is not already a source of another project. Report an | |
5597 | error if it is. | |
5598 | ||
5599 | * gnatcmd.adb: When GNAT PRETTY is invoked with a project file and no | |
5600 | source file name, call gnatpp with all the sources of the main project. | |
5601 | ||
5602 | * vms_conv.adb (Initialize): GNAT PRETTY may be called with any number | |
5603 | of file names. | |
5604 | ||
5605 | * vms_data.ads: Correct documentation of new /OPTIMIZE keyword | |
5606 | NO_STRICT_ALIASING. Add new qualifier for GNAT PRETTY: | |
5607 | /RUNTIME_SYSTEM=, converted to --RTS= | |
5608 | /NOTABS, converted to -notabs | |
5609 | ||
5610 | 2004-03-05 Pascal Obry <obry@gnat.com> | |
5611 | ||
5612 | * make.adb: Minor reformatting. | |
5613 | ||
5614 | 2004-03-05 Ed Schonberg <schonberg@gnat.com> | |
5615 | ||
5616 | Part of implemention of AI-262. | |
5617 | * par-ch10.adb (P_Context_Clause): Recognize private with_clauses. | |
5618 | ||
5619 | * sem_ch10.ads, sem_ch10.adb: (Install_Private_With_Clauses): New | |
5620 | procedure. | |
5621 | ||
5622 | * sem_ch3.adb (Analyze_Component_Declaration): Improve error message | |
5623 | when component type is a partially constrained class-wide subtype. | |
5624 | (Constrain_Discriminated_Type): If parent type has unknown | |
5625 | discriminants, a constraint is illegal, even if full view has | |
5626 | discriminants. | |
5627 | (Build_Derived_Record_Type): Inherit discriminants when deriving a type | |
5628 | with unknown discriminants whose full view is a discriminated record. | |
5629 | ||
5630 | * sem_ch7.adb (Preserve_Full_Attributes): Preserve Has_Discriminants | |
5631 | flag, to handle properly derivations of tagged types with unknown | |
5632 | discriminants. | |
5633 | (Analyze_Package_Spec, Analyze_Package_Body): Install | |
5634 | Private_With_Clauses before analyzing private part or body. | |
5635 | ||
5636 | * einfo.ads: Indicate that both Has_Unknown_Discriminants and | |
5637 | Has_Discriminants can be true for a given type (documentation). | |
5638 | ||
5639 | 2004-03-05 Arnaud Charlet <charlet@act-europe.fr> | |
5640 | ||
5641 | * s-restri.ads: Fix license (GPL->GMGPL). | |
5642 | ||
5643 | * s-tassta.adb: Minor reformatting. | |
5644 | ||
5645 | * s-tasren.adb: Replace manual handling of Self_Id.ATC_Nesting_Level | |
5646 | by calls to Exit_One_ATC_Level, since additional clean up is performed | |
5647 | by this function. | |
5648 | ||
5649 | * s-tpobop.adb: Replace manual handling of Self_Id.ATC_Nesting_Level | |
5650 | by calls to Exit_One_ATC_Level, since additional clean up is performed | |
5651 | by this function. | |
5652 | ||
5653 | 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5654 | ||
5655 | * trans.c: Reflect GCC changes to fix bootstrap problem. | |
5656 | Add warning for suspicious aliasing unchecked conversion. | |
5657 | ||
5658 | 2004-03-05 GNAT Script <nobody@gnat.com> | |
5659 | ||
5660 | * Make-lang.in: Makefile automatically updated | |
5661 | ||
555360a5 AC |
5662 | 2004-03-02 Emmanuel Briot <briot@act-europe.fr> |
5663 | ||
5664 | * ali.adb (Read_Instantiation_Instance): Do not modify the | |
5665 | current_file_num when reading information about instantiations, since | |
5666 | this corrupts files in later references. | |
5667 | ||
5668 | 2004-03-02 Vincent Celier <celier@gnat.com> | |
5669 | ||
5670 | * bcheck.adb (Check_Consistency): Get the full path of an ALI file | |
5671 | before checking if it is read-only. | |
5672 | ||
5673 | * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front | |
5674 | of SRC_DIRS and eliminate duplicates. | |
5675 | ||
5676 | * gprcmd.adb: Replace command "path" with command "path_sep" to return | |
5677 | the path separator. | |
5678 | (Usage): Document path_sep | |
5679 | ||
5680 | * Makefile.generic: For Ada and GNU C++ cases, link directly with the | |
5681 | C++ compiler. No need for a script. | |
5682 | Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH. | |
5683 | Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function | |
5684 | subst. | |
5685 | ||
5686 | * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project | |
5687 | where there are Ada sources. | |
5688 | (Set_Ada_Paths): Only add to the include path the source dirs of project | |
5689 | with Ada sources. | |
5690 | (Add_To_Path): Add the Display_Values of the directories, not their | |
5691 | Values. | |
5692 | ||
5693 | * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project | |
5694 | data. | |
5695 | ||
5696 | * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value | |
5697 | is not No_Name. | |
5698 | (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only | |
5699 | Value is canonicalized. | |
5700 | (Language_Independent_Check): Do not copy Value to Display_Value when | |
5701 | canonicalizing Value. | |
5702 | ||
5703 | * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased | |
5704 | path to find limited with cycles. | |
5705 | (Parse_Single_Project): Use canonical cased path to find the end of a | |
5706 | with cycle. | |
5707 | ||
5708 | 2004-03-02 Ed Schonberg <schonberg@gnat.com> | |
5709 | ||
5710 | * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit | |
5711 | and not a child unit. | |
5712 | ||
5713 | * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can | |
5714 | appear in a with_clause. | |
5715 | ||
5716 | * decl.c (gnat_to_gnu_type): If entity is a generic type, which can | |
5717 | only happen in type_annotate mode, do not try to elaborate it. | |
5718 | ||
5719 | * exp_util.adb (Force_Evaluation): If expression is a selected | |
5720 | component on the left of an assignment, use a renaming rather than a | |
5721 | temporary to remove side effects. | |
5722 | ||
5723 | * freeze.adb (Freeze_Entity): Do not freeze a global entity within an | |
5724 | inlined instance body, which is analyzed before the end of the | |
5725 | enclosing scope. | |
5726 | ||
5727 | 2004-03-02 Robert Dewar <dewar@gnat.com> | |
5728 | ||
5729 | * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb, | |
5730 | sem_ch4.adb: Use new feature for substitution of keywords in VMS | |
5731 | ||
5732 | * errout.ads, errout.adb: Implement new circuit for substitution of | |
5733 | keywords in VMS. | |
5734 | ||
5735 | * sem_case.adb (Analyze_Choices): Place message properly when case is | |
5736 | a subtype reference rather than an explicit range. | |
5737 | ||
5738 | * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting | |
5739 | ||
5740 | 2004-03-02 Doug Rupp <rupp@gnat.com> | |
5741 | ||
5742 | * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF. | |
5743 | ||
5744 | 2004-03-02 Thomas Quinot <quinot@act-europe.fr> | |
5745 | ||
5746 | * s-tporft.adb: Add missing locking around call to Initialize_ATCB. | |
5747 | ||
5748 | 2004-03-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5749 | ||
5750 | * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a | |
5751 | BLKmode bitfield. | |
5752 | ||
8a7988f5 AC |
5753 | 2004-02-25 Robert Dewar <dewar@gnat.com> |
5754 | ||
5755 | * 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads, | |
5756 | 55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads, | |
5757 | 5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads, | |
5758 | 5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads, | |
5759 | 5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads, | |
5760 | 5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to | |
5761 | the defining instance of the type to avoid aliasing problems. | |
5762 | Fix copyright header. Fix bad comments in package header. | |
5763 | ||
5764 | * exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting | |
5765 | ||
5766 | 2004-02-25 Ed Schonberg <schonberg@gnat.com> | |
5767 | ||
5768 | * exp_ch2.adb (Param_Entity): Handle properly formals that have been | |
5769 | rewritten as references when aliased through an address clause. | |
5770 | ||
5771 | * sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking | |
5772 | whether call can be interpreted as an indirect call to the result of a | |
5773 | parameterless function call returning an access subprogram. | |
5774 | ||
5775 | 2004-02-25 Arnaud Charlet <charlet@act-europe.fr> | |
5776 | ||
5777 | Code clean up: | |
5778 | * exp_ch7.adb (Make_Clean): Remove generation of calls to | |
5779 | Unlock[_Entries], since this is now done by Service_Entries directly. | |
5780 | ||
5781 | * exp_ch9.adb (Build_Protected_Subprogram_Body): ditto. | |
5782 | ||
5783 | * s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure | |
5784 | Requeue_Call for better code readability. Change spec and update calls: | |
5785 | PO_Service_Entries now unlock the PO on exit. | |
5786 | (Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to | |
5787 | PO_Service_Entries. | |
5788 | ||
5789 | * s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit. | |
5790 | ||
5791 | * s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries. | |
5792 | ||
5793 | 2004-02-25 Sergey Rybin <rybin@act-europe.fr> | |
5794 | ||
5795 | * exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the | |
5796 | protected subprogram call and analyzing the result of such expanding | |
5797 | in case when the called protected subprogram is eliminated. | |
5798 | ||
5799 | * sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope | |
5800 | names. | |
5801 | ||
5802 | 2004-02-25 Jerome Guitton <guitton@act-europe.fr> | |
5803 | ||
5804 | * Makefile.in: Clean ups. | |
5805 | ||
6871ba5f AC |
5806 | 2004-02-23 Ed Schonberg <schonberg@gnat.com> |
5807 | ||
5808 | * exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create | |
5809 | protected operations if original subprogram is flagged as eliminated. | |
5810 | (Expand_N_Subprogram_Body): For a protected operation, create | |
5811 | discriminals for next operation before checking whether the operation | |
5812 | is eliminated. | |
5813 | ||
5814 | * exp_ch9.adb (Expand_N_Protected_Body, | |
5815 | Expand_N_Protected_Type_Declaration): Do not generate specs and bodies | |
5816 | for internal protected operations if the original subprogram is | |
5817 | eliminated. | |
5818 | ||
5819 | * sem_elim.adb (Check_Eliminated): Handle properly protected operations | |
5820 | declared in a single protected object. | |
5821 | ||
5822 | 2004-02-23 Vincent Celier <celier@gnat.com> | |
5823 | ||
5824 | * prj-attr.adb: Make attribute Builder'Executable an associative array, | |
5825 | case insensitive if file names are case insensitive, instead of a | |
5826 | standard associative array. | |
5827 | ||
5828 | * prj-attr.adb (Initialize): For 'b' associative arrays, do not set | |
5829 | them as case insensitive on platforms where the file names are case | |
5830 | sensitive. | |
5831 | ||
5832 | * prj-part.adb (Parse_Single_Project): Make sure, when checking if | |
5833 | project file has already been parsed that canonical path are compared. | |
5834 | ||
5835 | 2004-02-23 Robert Dewar <dewar@gnat.com> | |
5836 | ||
5837 | * sinput-c.ads: Correct bad unit title in header | |
5838 | ||
5839 | * freeze.adb: Minor reformatting | |
5840 | ||
5841 | 2004-02-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5842 | ||
5843 | * trans.c (tree_transform, case N_Procedure_Call_Statement): For | |
5844 | nonaddressable COMPONENT_REF that is removing padding that we are | |
5845 | taking the address of, take the address of the padded record instead | |
5846 | if item is variable size. | |
5847 | ||
6e059adb AC |
5848 | 2004-02-20 Robert Dewar <dewar@gnat.com> |
5849 | ||
5850 | * bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting | |
5851 | ||
5852 | 2004-02-20 Ed Schonberg <schonberg@gnat.com> | |
5853 | ||
5854 | * freeze.adb (Freeze_Record_Type): Generalize mechanism that generates | |
5855 | itype references for the constrained designated type of a component | |
5856 | whose base type is already frozen. | |
5857 | ||
5858 | 2004-02-20 Arnaud Charlet <charlet@act-europe.fr> | |
5859 | ||
5860 | * init.c (__gnat_error_handler [tru64]): Rewrite previous change to | |
5861 | avoid GCC warnings. | |
5862 | ||
5863 | 2004-02-20 Sergey Rybin <rybin@act-europe.fr> | |
5864 | ||
5865 | * sem_ch12.adb (Analyze_Formal_Package): Create a new defining | |
5866 | identifier for a phantom package that rewrites the formal package | |
5867 | declaration with a box. The Add semantic decorations for the defining | |
5868 | identifier from the original node (that represents the formal package). | |
5869 | ||
88e3a2a3 MK |
5870 | 2004-02-19 Matt Kraai <kraai@alumni.cmu.edu> |
5871 | ||
5872 | * Make-lang.in (ada/stamp-sdefault): Use the top level | |
5873 | move-if-change. | |
5874 | ||
4221057e RH |
5875 | 2004-02-19 Richard Henderson <rth@redhat.com> |
5876 | ||
5877 | * misc.c (record_code_position): Add third build arg for RTL_EXPR. | |
5878 | ||
5c1c8a03 AC |
5879 | 2004-02-18 Emmanuel Briot <briot@act-europe.fr> |
5880 | ||
5881 | * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that | |
5882 | Scan_ALI can be used for multiple ALI files without reinitializing | |
5883 | between calls. | |
5884 | ||
5885 | 2004-02-18 Robert Dewar <dewar@gnat.com> | |
5886 | ||
5887 | * debug.adb: Minor reformatting. | |
5888 | ||
5889 | 2004-02-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5890 | ||
5891 | * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET | |
5892 | to zero if there is an address clause. | |
5893 | ||
5894 | 2004-02-18 Thomas Quinot <quinot@act-europe.fr> | |
5895 | ||
5896 | * exp_util.adb (Side_Effect_Free): Any literal is side effects free. | |
5897 | ||
5898 | 2004-02-18 Gary Dismukes <dismukes@gnat.com> | |
5899 | ||
5900 | * layout.adb (Layout_Component_List): Revise generation of call to | |
5901 | discriminant-checking function to pass selections of all of the type's | |
5902 | discriminants rather than just the variant-controlling discriminant. | |
5903 | ||
5904 | 2004-02-18 Olivier Hainque <hainque@act-europe.fr> | |
5905 | ||
5906 | * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to | |
5907 | fail in the current setup and triggers spurious system error messages. | |
5908 | Pretend it occurred and failed instead. | |
5909 | ||
5910 | 2004-02-18 Vincent Celier <celier@gnat.com> | |
5911 | ||
5912 | * bld.adb: Mark FLDFLAGS as saved | |
5913 | (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when | |
5914 | it is not the root project. Put each directory to be | |
5915 | extended between double quotes to prevent it to be expanded on Windows. | |
5916 | (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing | |
5917 | the project file. Set them back to their initial values if they have not | |
5918 | been set in the project file. | |
5919 | ||
5920 | * gprcmd.adb: (Gprdebug, Debug): New global variables | |
5921 | (Display_Command): New procedure | |
5922 | (Usage): Document new command "linkopts" | |
5923 | Call Display_Command when env var GPRDEBUG has the value "TRUE" | |
5924 | Implement new command "linkopts" | |
5925 | Remove quotes that may be around arguments for "extend" | |
5926 | Always call Normalize_Pathname with arguments formatted for the platform | |
5927 | ||
5928 | * Makefile.generic: Link C/C++ mains with $(FLDFLAGS) | |
5929 | Change @echo to @$(display) in target clean to be able to clean silently | |
5930 | ||
5931 | * Makefile.prolog: Save FLDFLAGS and give it an initial empty value | |
5932 | ||
5933 | * prj-part.adb (Project_Path_Name_Of): Do not put final result in | |
5934 | canonical case. | |
5935 | ||
5936 | * prj-part.adb (Parse_Single_Project): Always call with From_Extended | |
5937 | = Extending_All when current project is an extending all project. | |
5938 | ||
5939 | * vms_conv.adb (Output_File_Expected): New Boolean global variable, | |
5940 | set to True only for LINK command, after Unix switch -o. | |
5941 | (Process_Arguments): Set Output_File_Expected to True for LINK command | |
5942 | after Unix switch -o. When Output_File_Expected is True, never add an | |
5943 | extension to a file name. | |
5944 | ||
5945 | * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the | |
5946 | option file name, only to the --for-linker= switch. | |
5947 | (Option_File_Name): If option file name do not end with ".opt", append | |
5948 | "/OPTIONS". | |
5949 | ||
5950 | 2004-02-18 GNAT Script <nobody@gnat.com> | |
5951 | ||
5952 | * Make-lang.in: Makefile automatically updated | |
5953 | ||
80bcb4d2 MK |
5954 | 2004-02-17 Matt Kraai <kraai@alumni.cmu.edu> |
5955 | ||
5956 | * Make-lang.in (stamp-sdefault): Do not depend on | |
5957 | move-if-change. | |
5958 | ||
1daa84b6 ZW |
5959 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
5960 | ||
5961 | * config-lang.in: Disable Ada by default until probe logic for | |
5962 | a bootstrap Ada compiler can be moved to the top level configure | |
5963 | script. | |
5964 | ||
18c0ecbe AC |
5965 | 2004-02-12 Olivier Hainque <hainque@act-europe.fr> |
5966 | ||
5967 | * decl.c (components_to_record): Don't claim that the internal fields | |
5968 | we make to hold the variant parts are semantically addressable, because | |
5969 | they are not. | |
5970 | ||
5971 | * exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and | |
5972 | adjust the comment describing the modular type form when we can use it. | |
5973 | (Install_PAT): Account for the Esiz renaming. | |
5974 | ||
5975 | * init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the | |
5976 | sc_onstack context indication before raising the exception to which | |
5977 | the signal is mapped. Allows better handling of later signals possibly | |
5978 | triggered by the resumed user code if the exception is handled. | |
5979 | ||
5980 | 2004-02-12 Arnaud Charlet <charlet@act-europe.fr> | |
5981 | ||
5982 | * 5zinit.adb: Removed, no longer used. | |
5983 | ||
5984 | 2004-02-12 Robert Dewar <dewar@gnat.com> | |
5985 | ||
5986 | * ali.adb: Remove separating space between parameters on R line. Makes | |
5987 | format consistent with format used by the binder for Set_Globals call. | |
5988 | ||
5989 | * atree.ads, atree.adb: Minor reformatting (new function header format) | |
5990 | ||
5991 | * bindgen.adb: Add Run-Time Globals documentation section containing | |
5992 | detailed documentation of the globals passed from the binder file to | |
5993 | the run time. | |
5994 | ||
5995 | * gnatls.adb: Minor reformatting | |
5996 | ||
5997 | * init.c (__gnat_set_globals): Add note pointing to documentation in | |
5998 | bindgen. | |
5999 | ||
6000 | * lib-writ.ads, lib-writ.adb: Remove separating space between | |
6001 | parameters on R line. | |
6002 | Makes format consistent with format used by the binder for Set_Globals | |
6003 | call. | |
6004 | ||
6005 | * osint.ads: Add 2004 to copyright notice | |
6006 | Minor reformatting | |
6007 | ||
6008 | * snames.ads: Correct capitalization of FIFO_Within_Priorities | |
6009 | Noticed during code reading, documentation issue only | |
6010 | ||
6011 | * usage.adb: Remove junk line for obsolete C switch | |
6012 | Noticed during code reading | |
6013 | ||
6014 | 2004-02-12 Vincent Celier <celier@gnat.com> | |
6015 | ||
6016 | * bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd | |
6017 | extend for each directory, so that multiple /** directories are | |
6018 | extended individually. | |
6019 | (Recursive_Process): Set the default for LANGUAGES to ada | |
6020 | ||
6021 | * gprcmd.adb: Define new command "ignore", to do nothing. | |
6022 | Implement new comment "path". | |
6023 | ||
6024 | * Makefile.generic: Suppress output when SILENT is set | |
6025 | Make sure that when compiler for C/C++ is gcc, the correct -x switch is | |
6026 | used, so that the correct compiler is invoked. | |
6027 | When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/ | |
6028 | CXX_INCLUDE_PATH, to avoid failure with too long command lines. | |
6029 | ||
6030 | 2004-02-12 Jerome Guitton <guitton@act-europe.fr> | |
6031 | ||
6032 | * Makefile.in: Clean ups and remove obsolete targets. | |
6033 | ||
6034 | 2004-02-12 Ed Schonberg <schonberg@gnat.com> | |
6035 | ||
6036 | * exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar | |
6037 | predicate declared in exp_util. | |
6038 | ||
6039 | * exp_util.adb: Add comments. | |
6040 | ||
6041 | * sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from | |
6042 | visibility before compiling context of the subunit. | |
6043 | ||
6044 | * sem_res.adb (Check_Parameterless_Call): If the context expects a | |
6045 | value but the name is a procedure, do not attempt to analyze as a call, | |
6046 | in order to obtain more telling diagnostics. | |
6047 | ||
6048 | * sem_util.adb (Wrong_Type): Further enhancement to diagnose missing | |
6049 | 'Access on parameterless function calls. | |
6050 | (Normalize_Actuals): For a parameterless function call with missing | |
6051 | actuals, defer diagnostic until resolution of enclosing call. | |
6052 | ||
6053 | * sem_util.adb (Wrong_Type): If the context type is an access to | |
6054 | subprogram and the expression is a procedure name, suggest a missing | |
6055 | 'attribute. | |
6056 | ||
c1dcfa14 AC |
6057 | 2004-02-10 Arnaud Charlet <charlet@act-europe.fr>, |
6058 | Nathanael Nerode <neroden@gcc.gnu.org> | |
6059 | ||
6060 | PR ada/6637, PR ada/5911 | |
6061 | Merge with libada-branch: | |
90afe2c9 | 6062 | * config-lang.in: Build libada only when ada is built. |
c1dcfa14 | 6063 | |
2e071734 AC |
6064 | 2004-02-09 Ed Schonberg <schonberg@gnat.com> |
6065 | ||
6066 | * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality | |
6067 | for a tagged type, verify that both formals have the same type. | |
6068 | ||
6069 | * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the | |
6070 | temporary when the formal is an in-parameter and the actual a possibly | |
6071 | unaligned slice. | |
6072 | ||
6073 | * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even | |
6074 | when expansion is disabled, to ensure proper name capture with | |
6075 | overloaded literals. Condition can be of any boolean type, resolve | |
6076 | accordingly. | |
6077 | ||
6078 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the | |
6079 | renaming is for a formal subprogram with a default operator name, and | |
6080 | there is a usable operator that is visible at the point of | |
6081 | instantiation. | |
6082 | ||
6083 | 2004-02-09 Robert Dewar <dewar@gnat.com> | |
6084 | ||
6085 | * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major | |
6086 | rewrite to ignore errors in ali files, intended to allow tools downward | |
6087 | compatibility with new versions of ali files. | |
6088 | ||
6089 | * ali.ads: Add new parameter Ignore_Errors | |
6090 | ||
6091 | * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes | |
6092 | duplicating the error message giving the file with restrictions. | |
6093 | ||
6094 | * debug.adb: Add debug flag I for gnatbind | |
6095 | ||
6096 | * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around | |
6097 | operators for the case where the operator is a defining operator. | |
6098 | ||
6099 | * exp_ch3.adb: Minor reformatting (new function spec format). | |
6100 | ||
6101 | * exp_ch4.adb: Add comment for previous change, and make minor | |
6102 | adjustment to loop to always check for improper loop termination. | |
6103 | Minor reformatting throughout (new function spec format). | |
6104 | ||
6105 | * gnatbind.adb: Implement -di debug flag for gnatbind | |
6106 | ||
6107 | * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True | |
6108 | ||
6109 | * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True | |
6110 | ||
6111 | * lib-load.adb: Fix bad assertion. | |
6112 | Found by testing and code reading. | |
6113 | Minor reformatting. | |
6114 | ||
6115 | * lib-load.ads: Minor reformatting. | |
6116 | ||
6117 | * lib-writ.adb: There is only one R line now. | |
6118 | ||
6119 | * lib-writ.ads: Add documentation on making downward compatible changes | |
6120 | to ali files so old tools work with new ali files. | |
6121 | There is only one R line now. | |
6122 | Add documentation on format incompatibilities (with special GPS note) | |
6123 | ||
6124 | * namet.ads, namet.adb: (Is_Operator_Name): New procedure | |
6125 | ||
6126 | * par-load.adb: Minor reformatting | |
6127 | ||
6128 | * sem_ch8.adb: Fix to error message from last update | |
6129 | Minor reformatting and restructuring of code from last update | |
6130 | ||
6131 | * par-prag.adb, snames.adb, snames.ads, snames.h, | |
6132 | sem_prag.adb: Implement pragma Profile. | |
6133 | ||
6134 | * stylesw.adb: Implement -gnatyN switch to turn off all style check | |
6135 | options. | |
6136 | ||
6137 | * usage.adb: Add line for -gnatyN switch | |
6138 | ||
6139 | * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN | |
6140 | ||
a41ea816 AC |
6141 | 2004-02-09 Albert Lee <lee@gnat.com> |
6142 | ||
6143 | * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX | |
6144 | ||
6145 | 2004-02-09 Ed Schonberg <schonberg@gnat.com> | |
6146 | ||
6147 | * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null | |
6148 | slices. | |
6149 | ||
6150 | * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram | |
6151 | is nested in an instance that is not frozen yet, to avoid | |
6152 | order-of-elaboration problems in gigi. | |
6153 | ||
6154 | * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined | |
6155 | body the attribute is legal. | |
6156 | ||
6157 | 2004-02-09 Robert Dewar <dewar@gnat.com> | |
6158 | ||
6159 | * s-rident.ads: Minor comment correction | |
6160 | ||
6161 | * targparm.adb: Remove dependence on uintp completely. There was | |
6162 | always a bug in Make in that it called Targparm before initializing | |
6163 | the Uint package. The old code appeared to get away with this, but | |
6164 | the new code did not! This caused an assertion error in gnatmake. | |
6165 | ||
6166 | * targparm.ads: Fix bad comment, restriction pragmas with parameters | |
6167 | are indeed fully supported. | |
6168 | ||
725c60f8 AM |
6169 | 2004-02-06 Alan Modra <amodra@bigpond.net.au> |
6170 | ||
6171 | * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call. | |
6172 | ||
136e64db KH |
6173 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
6174 | ||
6175 | * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES | |
6176 | with targetm.calls.promote_prototypes. | |
6177 | ||
06effe87 AC |
6178 | 2004-02-04 Robert Dewar <dewar@gnat.com> |
6179 | ||
6180 | * 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb, | |
6181 | ali.ads, gprcmd.adb: Minor reformatting | |
6182 | ||
6183 | * bindgen.adb: Output restrictions string for new style restrictions | |
6184 | handling | |
6185 | ||
6186 | * impunit.adb: Add s-rident.ads (System.Rident) and | |
6187 | s-restri (System.Restrictions) | |
6188 | ||
6189 | * lib-writ.adb: Fix bug in writing restrictions string (last few | |
6190 | entries wrong) | |
6191 | ||
6192 | * s-restri.ads, s-restri.adb: Change name Restrictions to | |
6193 | Run_Time_Restrictions to avoid conflict with package name. | |
6194 | Add circuit to read and acquire run time restrictions. | |
6195 | ||
6196 | 2004-02-04 Jose Ruiz <ruiz@act-europe.fr> | |
6197 | ||
6198 | * restrict.ads, restrict.adb: Use the new restriction | |
6199 | No_Task_Attributes_Package instead of the old No_Task_Attributes. | |
6200 | ||
6201 | * sem_prag.adb: No_Task_Attributes is a synonym of | |
6202 | No_Task_Attributes_Package. | |
6203 | ||
6204 | * snames.ads, snames.adb: New entry for proper handling of | |
6205 | No_Task_Attributes. | |
6206 | ||
6207 | * s-rident.ads: Adding restriction No_Task_Attributes_Package | |
6208 | (AI-00249) that supersedes the GNAT specific restriction | |
6209 | No_Task_Attributes. | |
6210 | ||
6211 | 2004-02-04 Ed Schonberg <schonberg@gnat.com> | |
6212 | ||
90afe2c9 | 6213 | * sem_prag.adb: |
06effe87 AC |
6214 | (Analyze_Pragma, case Warnings): In an inlined body, as in an instance |
6215 | body, an identifier may be wrapped in an unchecked conversion. | |
6216 | ||
6217 | 2004-02-04 Vincent Celier <celier@gnat.com> | |
6218 | ||
6219 | * lib-writ.ads: Comment update for the W lines | |
6220 | ||
6221 | * bld.adb: (Expression): An empty string list is static | |
6222 | ||
6223 | * fname-uf.adb: Minor comment update | |
6224 | ||
6225 | * fname-uf.ads: (Get_File_Name): Document new parameter May_Fail | |
6226 | ||
6227 | * gnatbind.adb: Initialize Cumulative_Restrictions with the | |
6228 | restrictions on the target. | |
6229 | ||
2fb00d7f KH |
6230 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
6231 | ||
6232 | * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of | |
6233 | gen_rtx. | |
6234 | ||
5ed23e25 AC |
6235 | 2004-02-02 Arnaud Charlet <charlet@gnat.com> |
6236 | ||
6237 | * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded. | |
6238 | ||
6e937c1c AC |
6239 | 2004-02-02 Vincent Celier <celier@gnat.com> |
6240 | ||
6241 | * gprcmd.adb (Check_Args): If condition is false, print the invoked | |
6242 | comment before the usage. | |
6243 | Gprcmd: Fail when command is not recognized. | |
6244 | (Usage): Document command "prefix" | |
6245 | ||
6246 | * g-md5.adb (Digest): Process last block. | |
6247 | (Update): Do not process last block. Store remaining characters and | |
6248 | length in Context. | |
6249 | ||
6250 | * g-md5.ads (Update): Document that several call to update are | |
6251 | equivalent to one call with the concatenated string. | |
6252 | (Context): Add fields to allow new Update behaviour. | |
6253 | ||
6254 | * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail, | |
6255 | defaulted to False. | |
6256 | When May_Fail is True and no existing file can be found, return No_File. | |
6257 | ||
6258 | * 6vcstrea.adb: Inlined functions are now wrappers to implementation | |
6259 | functions. | |
6260 | ||
6261 | * lib-writ.adb (Write_With_Lines): When body file does not exist, use | |
6262 | spec file name instead on the W line. | |
6263 | ||
6264 | 2004-02-02 Robert Dewar <dewar@gnat.com> | |
6265 | ||
6266 | * ali.adb: Read and acquire info from new format restrictions lines | |
6267 | ||
6268 | * bcheck.adb: Add circuits for checking restrictions with parameters | |
6269 | ||
6270 | * bindgen.adb: Output dummy restrictions data | |
6271 | To be changed later | |
6272 | ||
6273 | * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, | |
6274 | exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb, | |
6275 | freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb, | |
6276 | sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb, | |
6277 | sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling. | |
6278 | ||
6279 | * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses | |
6280 | the warning message on access to possibly uninitialized variable S) | |
6281 | Minor changes for new restrictions handling. | |
6282 | ||
6283 | * gnatbind.adb: Minor reformatting | |
6284 | Minor changes for new restrictions handling | |
6285 | Move circuit for -r processing here from bcheck (cleaner) | |
6286 | ||
6287 | * gnatcmd.adb, gnatlink.adb: Minor reformatting | |
6288 | ||
6289 | * lib-writ.adb: Output new format restrictions lines | |
6290 | ||
6291 | * lib-writ.ads: Document new R format lines for new restrictions | |
6292 | handling. | |
6293 | ||
6294 | * s-restri.ads/adb: New files | |
6295 | ||
6296 | * Makefile.rtl: Add entry for s-restri.ads/adb | |
6297 | ||
6298 | * par-ch3.adb: Fix bad error messages starting with upper case letter | |
6299 | Minor reformatting | |
6300 | ||
6301 | * restrict.adb: Major rewrite throughout for new restrictions handling | |
6302 | Major point is to handle restrictions with parameters | |
6303 | ||
6304 | * restrict.ads: Major changes in interface to handle restrictions with | |
6305 | parameters. Also generally simplifies setting of restrictions. | |
6306 | ||
6307 | * snames.ads/adb: New entry for proper handling of No_Requeue | |
6308 | ||
6309 | * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks | |
6310 | restriction counting. | |
6311 | Other minor changes for new restrictions handling | |
6312 | ||
6313 | * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements. | |
6314 | Restriction_Warnings now allows full parameter notation | |
6315 | Major rewrite of Restrictions for new restrictions handling | |
6316 | ||
6317 | 2004-02-02 Javier Miranda <miranda@gnat.com> | |
6318 | ||
6319 | * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y | |
6320 | syntax rule for object renaming declarations. | |
6321 | (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for | |
6322 | component definitions. | |
6323 | ||
6324 | * sem_ch3.adb (Analyze_Component_Declaration): Give support to access | |
6325 | components. | |
6326 | (Array_Type_Declaration): Give support to access components. In addition | |
6327 | it was also modified to reflect the name of the object in anonymous | |
6328 | array types. The old code did not take into account that it is possible | |
6329 | to have an unconstrained anonymous array with an initial value. | |
6330 | (Check_Or_Process_Discriminants): Allow access discriminant in | |
6331 | non-limited types. | |
6332 | (Process_Discriminants): Allow access discriminant in non-limited types | |
6333 | Initialize the new Access_Definition field in N_Object_Renaming_Decl | |
6334 | node. Change Ada0Y to Ada 0Y in comments | |
6335 | ||
6336 | * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in | |
6337 | equality operators. | |
6338 | Change Ada0Y to Ada 0Y in comments | |
6339 | ||
6340 | * sem_ch8.adb (Analyze_Object_Renaming): Give support to access | |
6341 | renamings Change Ada0Y to Ada 0Y in comments | |
6342 | ||
6343 | * sem_type.adb (Find_Unique_Type): Give support to the equality | |
6344 | operators for universal access types | |
6345 | Change Ada0Y to Ada 0Y in comments | |
6346 | ||
6347 | * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms | |
6348 | ||
6349 | * sinfo.ads (N_Component_Definition): Addition of Access_Definition | |
6350 | field. | |
6351 | (N_Object_Renaming_Declaration): Addition of Access_Definition field | |
6352 | Change Ada0Y to Ada 0Y in comments | |
6353 | ||
6354 | * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for | |
6355 | component definition and object renaming nodes | |
6356 | Change Ada0Y to Ada 0Y in comments | |
6357 | ||
6358 | 2004-02-02 Jose Ruiz <ruiz@act-europe.fr> | |
6359 | ||
6360 | * restrict.adb: Use the new restriction identifier | |
6361 | No_Requeue_Statements instead of the old No_Requeue for defining the | |
6362 | restricted profile. | |
6363 | ||
6364 | * sem_ch9.adb (Analyze_Requeue): Check the new restriction | |
6365 | No_Requeue_Statements. | |
6366 | ||
6367 | * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249) | |
6368 | that supersedes the GNAT specific restriction No_Requeue. The later is | |
6369 | kept for backward compatibility. | |
6370 | ||
6371 | 2004-02-02 Ed Schonberg <schonberg@gnat.com> | |
6372 | ||
6373 | * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads, | |
6374 | 5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant | |
6375 | pragma and fix incorrect ones. | |
6376 | ||
6377 | * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a | |
6378 | warning if the pragma is redundant. | |
6379 | ||
6380 | 2004-02-02 Thomas Quinot <quinot@act-europe.fr> | |
6381 | ||
6382 | * 5staprop.adb: Add missing 'constant' keywords. | |
6383 | ||
6384 | * Makefile.in: use consistent value for SYMLIB on | |
6385 | platforms where libaddr2line is supported. | |
6386 | ||
6387 | 2004-02-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6388 | ||
6389 | * utils.c (end_subprog_body): Do not call rest_of_compilation if just | |
6390 | annotating types. | |
6391 | ||
6392 | 2004-02-02 Olivier Hainque <hainque@act-europe.fr> | |
6393 | ||
6394 | * init.c (__gnat_install_handler): Setup an alternate stack for signal | |
6395 | handlers in the environment thread. This allows proper propagation of | |
6396 | an exception on stack overflows in this thread even when the builtin | |
6397 | ABI stack-checking scheme is used without support for a stack reserve | |
6398 | region. | |
6399 | ||
6400 | * utils.c (create_field_decl): Augment the head comment about bitfield | |
6401 | creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P | |
6402 | here, because the former is not accurate enough at this point. | |
6403 | Let finish_record_type decide instead. | |
6404 | Don't make a bitfield if the field is to be addressable. | |
6405 | Always set a size for the field if the record is packed, to ensure the | |
6406 | checks for bitfield creation are triggered. | |
6407 | (finish_record_type): During last pass over the fields, clear | |
6408 | DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is | |
6409 | not covered by the calls to layout_decl. Adjust DECL_NONADDRESSABLE_P | |
6410 | from DECL_BIT_FIELD. | |
6411 | ||
71cbe2c1 KC |
6412 | 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> |
6413 | ||
90afe2c9 | 6414 | * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir). |
71cbe2c1 KC |
6415 | (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise. |
6416 | (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise. | |
6417 | ||
7f996f90 RO |
6418 | 2004-01-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6419 | ||
6420 | * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB. | |
6421 | ||
6422 | * 5fsystem.ads (Functions_Return_By_DSP): Set to False. | |
6423 | (ZCX_By_Default): Likewise. | |
6424 | (Front_End_ZCX_Support): Likewise. | |
6425 | ||
6426 | * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced. | |
6427 | (Initialize_Lock): Mark Level unreferenced. | |
6428 | (Sleep): Mark Reason unreferenced. | |
6429 | (Timed_Sleep): Likewise. | |
6430 | (Wakeup): Likewise. | |
6431 | (Exit_Task): Use Result. | |
6432 | (Check_No_Locks): Mark Self_ID unreferenced. | |
90afe2c9 | 6433 | |
7f996f90 RO |
6434 | * 5gtasinf.adb (New_Sproc): Make Attr constant. |
6435 | (Bound_Thread_Attributes): Make Sproc constant. | |
6436 | (New_Bound_Thread_Attributes): Likewise. | |
6437 | ||
26fd4eae AC |
6438 | 2004-01-26 Ed Schonberg <schonberg@gnat.com> |
6439 | ||
6440 | * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for | |
6441 | one-dimensional array an slice assignments, when component type is | |
6442 | controlled. | |
6443 | ||
6444 | * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional, | |
6445 | component type is controlled, and control_actions are in effect, use | |
6446 | TSS procedure rather than generating inline code. | |
6447 | ||
6448 | * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional | |
6449 | arrays with controlled components. | |
6450 | ||
6451 | 2004-01-26 Vincent Celier <celier@gnat.com> | |
6452 | ||
6453 | * gnatcmd.adb (GNATCmd): Add specification of argument file on the | |
6454 | command line for the non VMS case. | |
6455 | ||
6456 | * gnatlink.adb (Process_Binder_File): When building object file, if | |
6457 | GNU linker is used, put all object paths between quotes, to prevent ld | |
6458 | error when there are unusual characters (such as '!') in the paths. | |
6459 | ||
6460 | * Makefile.generic: When there are sources in Ada and the main is in | |
6461 | C/C++, invoke gnatmake with -B, instead of -z. | |
6462 | ||
6463 | * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted | |
6464 | from VMS_Conversion. | |
6465 | (Process_Argument): New procedure, extracted from VMS_Conversion. Add | |
6466 | specification of argument file on the command line. | |
6467 | ||
6468 | 2004-01-26 Bernard Banner <banner@gnat.com> | |
6469 | ||
6470 | * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64 | |
6471 | ||
6472 | 2004-01-26 Ed Schonberg <schonberg@gnat.com> | |
6473 | ||
6474 | * snames.adb: Update copyright notice. | |
6475 | Add info on slice assignment for controlled arrays. | |
6476 | ||
b7e429ab AC |
6477 | 2004-01-23 Robert Dewar <dewar@gnat.com> |
6478 | ||
6479 | * exp_aggr.adb: Minor reformatting | |
6480 | ||
6481 | * exp_ch9.adb: Minor code clean up | |
6482 | Minor reformatting | |
6483 | Fix bad character in comment | |
6484 | ||
6485 | PR ada/13471 | |
6486 | * targparm.adb (Get_Target_Parameters): Give clean abort error on | |
6487 | unexpected end of file, along with more detailed message. | |
6488 | ||
6489 | 2004-01-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6490 | ||
6491 | * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of | |
6492 | PAT. | |
6493 | ||
6494 | * decl.c (copy_alias_set): New function. | |
6495 | (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it. | |
6496 | ||
6497 | 2004-01-23 Doug Rupp <rupp@gnat.com> | |
6498 | ||
6499 | * Makefile.in (install-gnatlib): Change occurrences of lib$$file to | |
6500 | lib$${file} in case subsequent character is not a separator. | |
6501 | ||
6502 | 2004-01-23 Vincent Celier <celier@gnat.com> | |
6503 | ||
6504 | * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc | |
6505 | when the GCC version is at least 3. | |
6506 | ||
6507 | * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches | |
6508 | Remove all "Opt.", to prepare for opt split | |
6509 | ||
6510 | * prj-part.adb (Parse_Single_Project): New Boolean out parameter | |
6511 | Extends_All. Set to True when the project parsed is an extending all | |
6512 | project. Fails for importing an extending all project only when the | |
6513 | imported project is an extending all project. | |
6514 | (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause, | |
6515 | depending on the value of Extends_All returned. | |
6516 | ||
6517 | * prj-proc.adb (Process): Check that no project shares its object | |
6518 | directory with a project that extends it, directly or indirectly, | |
6519 | including a virtual project. | |
6520 | Check that no project extended by another project shares its object | |
6521 | directory with another also extended project. | |
6522 | ||
6523 | * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for | |
6524 | Kind = N_With_Clause | |
6525 | ||
6526 | * prj-tree.ads: Minor reformatting | |
6527 | Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All). | |
6528 | ||
6529 | 2004-01-23 Ed Schonberg <schonberg@gnat.com> | |
6530 | ||
6531 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute | |
6532 | applies to a type with an incomplete view, use full view in Name of | |
6533 | clause, for consistency with uses of Get_Attribute_Definition_Clause. | |
6534 | ||
6535 | 2004-01-23 Arnaud Charlet <charlet@act-europe.fr> | |
6536 | ||
6537 | * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using | |
6538 | SCHED_RR, since other values are not supported by this policy. | |
6539 | (Initialize): Move initialization of mutex attribute to package | |
6540 | elaboration, to prevent early access to this variable. | |
6541 | ||
6542 | * Makefile.in: Remove mention of Makefile.adalib, unused. | |
6543 | ||
b291953f AC |
6544 | * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb, |
6545 | 1ssecsta.ads: Removed, unused. | |
b7e429ab | 6546 | |
adc04486 AC |
6547 | 2004-01-21 Javier Miranda <miranda@gnat.com> |
6548 | ||
6549 | * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master | |
6550 | entity if already built in the current scope. | |
6551 | ||
6552 | * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity | |
6553 | reminder in internal scopes. Required for nested limited aggregates. | |
6554 | ||
6555 | 2004-01-21 Doug Rupp <rupp@gnat.com> | |
6556 | ||
6557 | * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on | |
6558 | VMS. Replace all occurences of libgnat- and libgnarl- with | |
6559 | libgnat$(hyphen) and libgnarl$(hyphen). | |
6560 | Fixed shared library build problem on VMS. | |
6561 | ||
6562 | 2004-01-21 Robert Dewar <dewar@gnat.com> | |
6563 | ||
6564 | * mlib-prj.adb: Minor reformatting | |
6565 | ||
6566 | 2004-01-21 Thomas Quinot <quinot@act-europe.fr> | |
6567 | ||
6568 | * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing | |
6569 | 'constant' keywords for declaration of pointers that are not modified. | |
6570 | ||
6571 | * exp_pakd.adb: Fix English in comment. | |
6572 | ||
6573 | 2004-01-21 Ed Schonberg <schonberg@gnat.com> | |
6574 | ||
6575 | PR ada/10889 | |
6576 | * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype, | |
6577 | copy all attributes of the parent, including the foreign language | |
6578 | convention. | |
6579 | ||
6580 | 2004-01-21 Sergey Rybin <rybin@act-europe.fr> | |
6581 | ||
6582 | PR ada/10565 | |
6583 | * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check | |
6584 | for 'delay until' statement. | |
6585 | ||
a541f69d KC |
6586 | 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> |
6587 | ||
6588 | * Make-lang.in: Replace $(docdir) with doc. | |
6589 | (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info | |
6590 | doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update | |
6591 | to use consistent MAKEINFO rule. | |
6592 | (ada.man, ada.srcman): Dummy entry. | |
6593 | (ADA_INFOFILES): Define. | |
6594 | (ada.info, ada.srcinfo): New rules. | |
6595 | ||
c01a9391 AC |
6596 | 2004-01-19 Arnaud Charlet <charlet@act-europe.fr> |
6597 | ||
6598 | * utils.c: Update copyright notice, missed in previous change. | |
6599 | ||
6600 | 2004-01-19 Vincent Celier <celier@gnat.com> | |
6601 | ||
6602 | * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the | |
6603 | args if Bind is True. Set First_ALI, if not already done. | |
6604 | (Build_Library): For Stand Alone Libraries, extract from one ALI file | |
6605 | an eventual --RTS switch, for gnatbind, and all backend switches + | |
6606 | --RTS, for linking. | |
6607 | ||
6608 | 2004-01-19 Robert Dewar <dewar@gnat.com> | |
6609 | ||
6610 | * sem_attr.adb, memtrack.adb: Minor reformatting | |
6611 | ||
6612 | 2004-01-19 Ed Schonberg <schonberg@gnat.com> | |
6613 | ||
6614 | * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions | |
6615 | that rename enumeration literals. This is properly done in sem_eval. | |
6616 | ||
6617 | * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls | |
6618 | to functions that rename enumeration literals. | |
6619 | ||
6620 | * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to | |
6621 | functions that rename enumeration literals. | |
6622 | ||
510d1e80 KH |
6623 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
6624 | ||
6625 | * Make-lang.in (utils.o): Depend on target.h. | |
6626 | * utils.c: Include target.h. | |
6627 | (process_attributes): Use targetm.have_named_sections instead | |
6628 | of ASM_OUTPUT_SECTION_NAME. | |
6629 | ||
fbf3e0dd AJ |
6630 | 2004-01-16 Andreas Jaeger <aj@suse.de> |
6631 | ||
6632 | * Makefile.in: Add $(DESTDIR). | |
6633 | ||
acd47d2a AC |
6634 | 2004-01-15 Olivier Hainque <hainque@act-europe.fr> |
6635 | ||
6636 | * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size | |
6637 | also when not defining if a Size clause applies. That information is | |
6638 | not to be ignored. | |
6639 | ||
6640 | 2004-01-15 Arnaud Charlet <charlet@act-europe.fr> | |
6641 | ||
6642 | * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up | |
6643 | symbolic links for the shared gnat run time when needed. | |
6644 | ||
6645 | 2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr> | |
6646 | ||
6647 | * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened | |
6648 | for writing, and terminate with an error message if not. | |
6649 | ||
6650 | 2004-01-15 Ed Schonberg <schonberg@gnat.com> | |
6651 | ||
6652 | * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious | |
6653 | warning on an access to subprogram in an instance, when the target | |
6654 | type is declared in the same generic unit. | |
6655 | (Eval_Attribute): If 'access is known to fail accessibility check, | |
6656 | rewrite as a raise statement. | |
6657 | ||
6658 | 2004-01-15 GNAT Script <nobody@gnat.com> | |
6659 | ||
6660 | * Make-lang.in: Makefile automatically updated | |
6661 | ||
03787dfd KC |
6662 | 2004-01-15 Kelley Cook <kcook@gcc.gnu.org> |
6663 | ||
6664 | * Make-lang.in (ada.srcextra): Dummy entry. | |
6665 | ||
73e232f0 KC |
6666 | 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> |
6667 | ||
6668 | * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode. | |
6669 | ||
9bc43c53 AC |
6670 | 2004-01-13 Ed Schonberg <schonberg@gnat.com> |
6671 | ||
6672 | * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled | |
6673 | components that are initialized with aggregates. | |
6674 | ||
6675 | 2004-01-13 Vincent Celier <celier@gnat.com> | |
6676 | ||
6677 | * gnatlink.adb (Process_Binder_File): To find directory of shared | |
6678 | libgcc, if "gcc-lib" is not a subdirectory, look for the last | |
6679 | subdirectory "lib" in the path of the shared libgnat or libgnarl. | |
6680 | ||
6681 | * make.adb (Gnatmake): If GCC version is at least 3, link with | |
6682 | -shared-libgcc, when there is at least one shared library project. | |
6683 | ||
6684 | * opt.ads (GCC_Version): New integer constant. | |
6685 | ||
6686 | * adaint.c (get_gcc_version): New function. | |
6687 | ||
6688 | 2004-01-13 Robert Dewar <dewar@gnat.com> | |
6689 | ||
6690 | * sem_dist.adb, sem_res.adb, sem_util.adb, | |
6691 | sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb, | |
6692 | exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting | |
6693 | ||
6694 | 2004-01-13 Thomas Quinot <quinot@act-europe.fr> | |
6695 | ||
6696 | * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb, | |
6697 | g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object | |
6698 | declarations. | |
6699 | ||
8b52de7b AC |
6700 | 2004-01-12 Arnaud Charlet <charlet@act-europe.fr> |
6701 | ||
f6ea0188 AC |
6702 | * misc.c: Remove trailing spaces. |
6703 | Update copyright notice missed in previous change. | |
6704 | ||
8b52de7b AC |
6705 | PR ada/13572 |
6706 | * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of | |
6707 | prefix/share/make | |
6708 | ||
6709 | * Makefile.generic: Update copyright. | |
6710 | Add license notice. | |
6711 | ||
6712 | * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead | |
6713 | of prefix/share/make. | |
6714 | ||
6715 | * Makefile.prolog: Update copyright. | |
6716 | Add license notice. | |
6717 | ||
6718 | 2004-01-12 Laurent Pautet <pautet@act-europe.fr> | |
6719 | ||
6720 | * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb, | |
6721 | 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb, | |
6722 | g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr | |
6723 | instead of String. | |
6724 | ||
6725 | * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message | |
6726 | signature. | |
6727 | ||
6728 | 2004-01-12 Javier Miranda <miranda@gnat.com> | |
6729 | ||
6730 | * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb, | |
6731 | exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb, | |
6732 | sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb, | |
6733 | sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of | |
6734 | Component_Definition node. | |
6735 | ||
6736 | 2004-01-12 Ed Falis <falis@gnat.com> | |
6737 | ||
6738 | * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit | |
6739 | ||
6740 | 2004-01-12 Thomas Quinot <quinot@act-europe.fr> | |
6741 | ||
6742 | * link.c: Change default libgnat kind to STATIC for FreeBSD. | |
6743 | ||
6744 | 2004-01-12 Bernard Banner <banner@gnat.com> | |
6745 | ||
6746 | * Makefile.in: map 86numaux to a-numaux for x86_64 | |
6747 | ||
6748 | 2004-01-12 Ed Schonberg <schonberg@gnat.com> | |
6749 | ||
6750 | * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity | |
6751 | generated to rename a generic actual, go to the actual itself, the | |
6752 | subtype is not a user-visible entity. | |
6753 | ||
6754 | * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible | |
6755 | part is a private subtype, reset the visibility of its full view, if | |
6756 | any, to be consistent. | |
6757 | ||
6758 | PR ada/13417 | |
6759 | * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt | |
6760 | to use a generic package G as a formal package for another generic | |
6761 | declared within G. | |
6762 | ||
6763 | 2004-01-12 Robert Dewar <dewar@gnat.com> | |
6764 | ||
6765 | * trans.c (Eliminate_Error_Msg): New procedure called to generate msg | |
6766 | ||
6767 | * usage.adb: Remove mention of obsolete -gnatwb switch | |
6768 | Noticed during code reading | |
6769 | ||
6770 | 2004-01-12 Jerome Guitton <guitton@act-europe.fr> | |
6771 | ||
6772 | * 1ssecsta.adb: Minor changes for -gnatwa warnings | |
6773 | ||
6774 | 2004-01-12 GNAT Script <nobody@gnat.com> | |
6775 | ||
6776 | * Make-lang.in: Makefile automatically updated | |
6777 | ||
0fab64a3 MM |
6778 | 2004-01-09 Mark Mitchell <mark@codesourcery.com> |
6779 | ||
6780 | * misc.c (gnat_expand_expr): Add alt_rtl parameter. | |
6781 | ||
47527624 RO |
6782 | 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6783 | ||
6784 | * link.c [sgi] (shared_libgnat_default): Change to STATIC. | |
6785 | ||
dedebde1 KC |
6786 | 2004-01-05 Kelley Cook <kcook@gcc.gnu.org> |
6787 | ||
fbf3e0dd | 6788 | * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18. |
dedebde1 KC |
6789 | Update comment and copyright date. |
6790 | * stamp-xgnatug: Delete. | |
6791 | ||
91b1417d AC |
6792 | 2004-01-05 Robert Dewar <dewar@gnat.com> |
6793 | ||
6794 | * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may | |
6795 | be modified by the binder generated main program if the -D switch is | |
6796 | used. | |
6797 | ||
6798 | * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all | |
6799 | imported functions (since now we expect this to be done for imported | |
6800 | functions) | |
6801 | ||
6802 | * 5vtaprop.adb: Add several ??? for sections requiring more comments | |
6803 | Minor reformatting throughout | |
6804 | ||
6805 | * 5zinit.adb: Minor reformatting | |
6806 | Add 2004 to copyright date | |
6807 | Minor changes to avoid -gnatwa warnings | |
6808 | Correct some instances of using OR instead of OR ELSE (noted while | |
6809 | doing reformatting) | |
6810 | ||
6811 | * sprint.adb: Minor updates to avoid -gnatwa warnings | |
6812 | ||
fbf3e0dd | 6813 | * s-secsta.ads, s-secsta.adb: |
91b1417d AC |
6814 | (SS_Get_Max): New function to obtain high water mark for ss stack |
6815 | Default_Secondary_Stack is not a constant since it may be modified by | |
6816 | the binder generated main program if the -D switch is used. | |
6817 | ||
6818 | * switch-b.adb: New -Dnnn switch for binder | |
6819 | ||
fbf3e0dd | 6820 | * switch-c.adb: |
91b1417d AC |
6821 | Make -gnatg imply all warnings currently in -gnatwa |
6822 | ||
6823 | * vms_conv.adb: Minor reformatting | |
6824 | Add 2004 to copyright notice | |
6825 | Add 2004 to printed copyright notice | |
6826 | ||
6827 | * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb, | |
6828 | 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb, | |
6829 | 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb, | |
6830 | 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb, | |
6831 | 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb, | |
6832 | 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb, | |
6833 | 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb, | |
6834 | 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb, | |
6835 | 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb, | |
6836 | 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb, | |
6837 | 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb, | |
6838 | vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb, | |
6839 | xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads, | |
6840 | sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb, | |
6841 | checks.adb, clean.adb, cstand.adb, einfo.ads, | |
6842 | einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb, | |
6843 | exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb, | |
6844 | prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb, | |
6845 | sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb, | |
6846 | g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb, | |
6847 | lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb: | |
6848 | Minor reformatting and code clean ups. | |
6849 | Minor changes to prevent -gnatwa warnings | |
6850 | ||
6851 | * ali.adb: Minor reformatting and cleanup of code | |
6852 | Acquire new SS indication of secondary stack use from ali files | |
6853 | ||
6854 | * a-numaux.ads: Add Pure_Function pragmas for all imported functions | |
6855 | (since now we expect this to be done for imported functions) | |
6856 | ||
6857 | * bindgen.adb: Generate call to modify default secondary stack size if | |
6858 | -Dnnn switch given | |
6859 | ||
6860 | * bindusg.adb: Add line for new -D switch | |
6861 | ||
6862 | * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate | |
6863 | replacement name for Type_May_Have_Non_Bit_Aligned_Components! | |
6864 | Add circuitry for both records and arrays to avoid gigi | |
6865 | processing if the type involved has non-bit-aligned components | |
6866 | ||
6867 | * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that | |
6868 | N_String_Literal node always references an E_String_Literal_Subtype | |
6869 | entity. This may not be true in the future. | |
6870 | (Possible_Bit_Aligned_Component): Move processing of | |
6871 | Component_May_Be_Bit_Aligned from exp_ch5 to exp_util | |
6872 | ||
6873 | * exp_ch6.adb (Expand_Thread_Body): Pick up | |
6874 | Default_Secondary_Stack_Size as variable so that we get value modified | |
6875 | by possible -Dnnn binder parameter. | |
6876 | ||
6877 | * exp_util.adb (Component_May_Be_Bit_Aligned): New function. | |
6878 | (Type_May_Have_Bit_Aligned_Components): New function. | |
6879 | ||
6880 | * exp_util.ads (Component_May_Be_Bit_Aligned): New function. | |
6881 | (Type_May_Have_Bit_Aligned_Components): New function. | |
6882 | ||
6883 | * fe.h: (Set_Identifier_Casing): Fix prototype. | |
6884 | Add declaration for Sem_Elim.Eliminate_Error_Msg. | |
6885 | Minor reformatting. | |
6886 | ||
6887 | * freeze.adb (Freeze_Entity): Add RM reference to error message about | |
6888 | importing constant atomic/volatile objects. | |
6889 | (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram | |
6890 | unless explicit Pure_Function pragma given, to avoid insidious bug of | |
6891 | call to non-pure imported function getting eliminated. | |
6892 | ||
6893 | * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb, | |
6894 | gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb, | |
6895 | gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting | |
6896 | Add 2004 to printed copyright notice | |
6897 | ||
6898 | * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary | |
6899 | stack used. | |
6900 | ||
6901 | * Makefile.rtl: Add entry for g-sestin.o | |
6902 | g-sestin.ads: New file. | |
6903 | ||
6904 | * mdll.adb: Minor changes to avoid -gnatwa warnings | |
6905 | ||
6906 | * mlib-tgt.adb: Minor reformatting | |
6907 | ||
6908 | * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND) | |
6909 | New switch Sec_Stack_Used (GNAT, GNATBIND) | |
6910 | Make Default_Secondary_Stack_Size a variable instead of a constant, | |
6911 | so that it can be modified by the new -Dnnn bind switch. | |
6912 | ||
6913 | * rtsfind.adb (Load_Fail): Give full error message in configurable | |
6914 | run-time mode if all_errors mode is set. This was not done in the case | |
6915 | of a file not found, which was an oversight. | |
6916 | Note if secondary stack unit is used by compiler. | |
6917 | ||
6918 | * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put | |
6919 | ineffective elaborate all pragmas on non-visible packages (this | |
6920 | happened when a renamed subprogram was called). Now the elaborate all | |
6921 | always goes on the package containing the renaming rather than the one | |
6922 | containing the renamed subprogram. | |
6923 | ||
6924 | * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure | |
6925 | (Process_Eliminate_Pragma): Add parameter to capture pragma location. | |
6926 | ||
6927 | * sem_eval.adb (Eval_String_Literal): Do not assume that string literal | |
6928 | has an Etype that references an E_String_Literal. | |
6929 | (Eval_String_Literal): Avoid assumption that N_String_Literal node | |
6930 | always references an E_String_Literal_Subtype entity. This may not | |
6931 | be true in the future. | |
6932 | ||
6933 | * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture | |
6934 | pragma location. | |
6935 | ||
6936 | * sem_res.adb (Resolve): Specialize msg for function name used in proc | |
6937 | call. | |
6938 | ||
6939 | 2004-01-05 Ed Falis <falis@gnat.com> | |
6940 | ||
6941 | * g-debuti.adb: Replaced direct boolean operator with short-circuit | |
6942 | form. | |
6943 | ||
6944 | 2004-01-05 Vincent Celier <celier@gnat.com> | |
6945 | ||
6946 | * bld.adb: Minor comment updates | |
6947 | (Process_Declarative_Items): Correct incorrect name (Index_Name instead | |
6948 | of Item_Name). | |
6949 | ||
6950 | * make.adb (Gnatmake): Special process for files to compile/check when | |
6951 | -B is specified. Fail when there are only foreign mains in attribute | |
6952 | Main of the project file and -B is not specified. Do not skip bind/link | |
6953 | steps when -B is specified. | |
6954 | ||
6955 | * makeusg.adb: Document new switch -B | |
6956 | ||
6957 | * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag | |
6958 | ||
6959 | * switch-m.adb: (Scan_Make_Switches): Process -B switch | |
6960 | ||
6961 | * vms_data.ads: Add new GNAT PRETTY qualifier | |
6962 | /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff | |
6963 | ||
6964 | 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6965 | ||
6966 | * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer | |
6967 | case. | |
6968 | ||
6969 | * misc.c (gnat_printable_name): If VERBOSITY is 2, call | |
6970 | Set_Identifier_Casing. | |
6971 | ||
6972 | * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type | |
6973 | has size that overflows. | |
6974 | ||
6975 | 2004-01-05 Gary Dismukes <dismukes@gnat.com> | |
6976 | ||
6977 | * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid | |
6978 | -gnatwa warning on static condition. | |
6979 | ||
6980 | 2004-01-05 Doug Rupp <rupp@gnat.com> | |
6981 | ||
6982 | * link.c: (shared_libgnat_default) [VMS]: Change to STATIC. | |
6983 | ||
6984 | 2004-01-05 Arnaud Charlet <charlet@act-europe.fr> | |
6985 | ||
6986 | * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve | |
6987 | all attributes, including read-only attribute. | |
6988 | ||
6989 | 2004-01-05 Pascal Obry <obry@gnat.com> | |
6990 | ||
6991 | * bindgen.adb (Gen_Object_Files_Options): Generate the new shared | |
6992 | library naming scheme. | |
6993 | ||
6994 | * mlib-prj.adb (Build_Library): Generate different names for the static | |
6995 | or dynamic version of the GNAT runtime. This is needed to support the | |
6996 | new shared library naming scheme. | |
6997 | (Process_Binder_File): Add detection of shared library in binder file | |
6998 | based on the new naming scheme. | |
6999 | ||
7000 | * gnatlink.adb (Process_Binder_File): Properly detect the new naming | |
7001 | scheme for the shared runtime libraries. | |
7002 | ||
7003 | * Makefile.in: | |
7004 | (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming | |
7005 | scheme. | |
7006 | (install-gnatlib): Do not create symlinks for shared libraries. | |
7007 | (gnatlib-shared-default): Idem. | |
7008 | (gnatlib-shared-dual-win32): New target. Not used for now as the | |
7009 | auto-import feature does not support arrays/records. | |
7010 | (gnatlib-shared-win32): Do not create copy for the shared libraries. | |
7011 | (gnatlib-shared-vms): Fix shared runtime libraries names. | |
7012 | ||
7013 | * osint.ads, osint.adb (Shared_Lib): New routine, returns the target | |
7014 | dependent runtime shared library name. | |
7015 | ||
7016 | 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr> | |
7017 | ||
7018 | * osint.adb (Read_Library_Info): Remove bogus check if ALI is older | |
7019 | than the object. | |
7020 | ||
7021 | 2004-01-05 Ed Schonberg <schonberg@gnat.com> | |
7022 | ||
7023 | * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic | |
7024 | protected objects when allocator has a subtype indication, not a | |
7025 | qualified expression. Note that qualified expressions may have to be | |
7026 | checked when limited aggregates are implemented. | |
7027 | ||
7028 | * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is | |
7029 | pure, emit warning. | |
7030 | (Analyze_Pragma, case Pure_Function): If enclosing package is pure and | |
7031 | subprogram is imported, remove warning. | |
7032 | ||
7033 | 2004-01-05 Geert Bosch <bosch@gnat.com> | |
7034 | ||
7035 | * s-poosiz.adb: Update copyright notice. | |
7036 | (Allocate): Use Task_Lock to protect against concurrent access. | |
7037 | (Deallocate): Likewise. | |
7038 | ||
7039 | 2004-01-05 Joel Brobecker <brobecker@gnat.com> | |
7040 | ||
7041 | * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ??? | |
7042 | comment. | |
7043 | ||
2ab127f3 KC |
7044 | 2003-12-23 Kelley Cook <kcook@gcc.gnu.org> |
7045 | ||
7046 | * gnat_ug.texi: Force a CVS commit by updating copyright. | |
7047 | * gnat_ug_vxw.texi: Regenerate. | |
7048 | * gnat_ug_wnt.texi: Regenerate. | |
7049 | * gnat_ug_vms.texi: Regenerate. | |
7050 | * gnat_ug_unx.texi: Regenerate. | |
7051 | ||
aed8bfdc KH |
7052 | 2003-12-20 Kazu Hirata <kazu@cs.umass.edu> |
7053 | ||
7054 | * trans.c: Remove uses of "register" specifier in | |
7055 | declarations of local variables. | |
7056 | ||
90c2f1de KC |
7057 | 2003-12-18 Kelley Cook <kcook@gcc.gnu.org> |
7058 | ||
7059 | * stamp-xgnatug: New stamp file. | |
7060 | * Make-lang.in (stamp-xgnatug): New stamp file and comment. | |
7061 | (ada/doctools/xgnatug): Add $(build_exeext). | |
7062 | (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi | |
7063 | ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug. | |
7064 | ||
891a6e79 AC |
7065 | 2003-12-17 Ed Falis <falis@gnat.com> |
7066 | ||
7067 | * a-elchha.adb (Tailored_Exception_Information): made Info constant to | |
7068 | eliminate warning. | |
7069 | ||
7070 | * a-exextr.adb: Add context clause for | |
7071 | Ada.Exceptions.Last_Chance_Handler. | |
7072 | ||
7073 | 2003-12-17 Sergey Rybin <rybin@act-europe.fr> | |
7074 | ||
7075 | * cstand.adb (Create_Standard): Change the way how the declaration of | |
7076 | the Duration type is created (making it the same way as it is for all | |
7077 | the other standard types). | |
7078 | ||
7079 | 2003-12-17 Robert Dewar <dewar@gnat.com> | |
7080 | ||
7081 | * s-crtl.ads: Fix header format | |
7082 | Change Pure to Preelaborate | |
7083 | ||
7084 | 2003-12-17 Ed Schonberg <schonberg@gnat.com> | |
7085 | ||
7086 | * checks.adb (Selected_Length_Checks): Generate an Itype reference for | |
7087 | the expression type only if it is declared in the current unit. | |
7088 | ||
7089 | * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds | |
7090 | are universal and already analyzed, as can occur in constrained | |
7091 | subcomponents that depend on discriminants, when one constraint is a | |
7092 | subtype mark. | |
7093 | ||
7094 | * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of | |
7095 | type Any_Fixed is legal as the argument of a conversion, if only one | |
7096 | fixed-point type is in context. | |
7097 | ||
7098 | 2003-12-17 GNAT Script <nobody@gnat.com> | |
7099 | ||
7100 | * Make-lang.in: Makefile automatically updated | |
7101 | ||
209db2bf AC |
7102 | 2003-12-15 Robert Dewar <dewar@gnat.com> |
7103 | ||
7104 | * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default | |
7105 | sec stack size. | |
7106 | ||
7107 | 2003-12-15 Vincent Celier <celier@gnat.com> | |
7108 | ||
7109 | * gnatchop.adb: (Error_Msg): Do not exit on error for a warning | |
7110 | (Gnatchop): Do not set failure status when reporting the number of | |
7111 | warnings. | |
7112 | ||
7113 | 2003-12-15 Doug Rupp <rupp@gnat.com> | |
7114 | ||
7115 | * s-ctrl.ads: New file. | |
7116 | ||
7117 | * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext). | |
7118 | ||
7119 | * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o. | |
7120 | (GNATBIND_OBJS): Add ada/s-crtl.o. | |
7121 | ||
7122 | * Makefile.in [VMS]: Clean up ifeq rules. | |
7123 | ||
7124 | * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb, | |
7125 | a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb, | |
7126 | g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb, | |
7127 | s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb, | |
7128 | s-tasdeb.adb: Update copyright. | |
7129 | Import System.CRTL. | |
7130 | Make minor modifications to use System.CRTL declared functions instead | |
7131 | of importing locally. | |
7132 | ||
7133 | 2003-12-15 GNAT Script <nobody@gnat.com> | |
7134 | ||
7135 | * Make-lang.in: Makefile automatically updated | |
7136 | ||
a9f4e3d2 AC |
7137 | 2003-12-11 Ed Falis <falis@gnat.com> |
7138 | ||
7139 | * 5zinit.adb: Clean up. | |
7140 | ||
7141 | * 5zintman.adb (Notify_Exception): replaced case statement with a call | |
7142 | to __gnat_map_signal, imported from init.c to support | |
7143 | signal -> exception mappings that depend on the vxWorks version. | |
7144 | ||
fbf3e0dd | 7145 | * init.c: |
a9f4e3d2 AC |
7146 | Created and exported __gnat_map_signal to support signal -> exception |
7147 | mapping that is dependent on the VxWorks version. | |
7148 | Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks | |
7149 | ||
7150 | 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr> | |
7151 | ||
7152 | * 5wosinte.ads: Link with -mthreads switch. | |
7153 | ||
7154 | 2003-12-11 Arnaud Charlet <charlet@act-europe.fr> | |
7155 | ||
7156 | * init.c (__gnat_install_handler [NetBSD]): Set | |
7157 | __gnat_handler_installed, as done on all other platforms. | |
7158 | Remove duplicated code. | |
7159 | ||
7160 | 2003-12-11 Jerome Guitton <guitton@act-europe.fr> | |
7161 | ||
7162 | * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a. | |
7163 | ||
7164 | 2003-12-11 Thomas Quinot <quinot@act-europe.fr> | |
7165 | ||
7166 | * sinfo.ads: Fix inconsistent example code in comment. | |
7167 | ||
7168 | 2003-12-11 Robert Dewar <dewar@gnat.com> | |
7169 | ||
7170 | * a-tiinau.adb: Add a couple of comments | |
7171 | ||
7172 | * sem_ch3.adb: Minor reformatting | |
7173 | ||
fbf3e0dd | 7174 | * sem_prag.adb: |
a9f4e3d2 AC |
7175 | Fix bad prototype of Same_Base_Type in body (code reading cleanup) |
7176 | Minor reformatting throughout | |
7177 | ||
7178 | 2003-12-11 Ed Schonberg <schonberg@gnat.com> | |
7179 | ||
7180 | * exp_ch7.adb (Establish_Transient_Scope): If the call is within the | |
7181 | bounds of a loop, create a separate block in order to generate proper | |
7182 | cleanup actions to prevent memory leaks. | |
7183 | ||
7184 | * sem_res.adb (Resolve_Call): After a call to | |
7185 | Establish_Transient_Scope, the call may be rewritten and relocated, in | |
7186 | which case no further processing is needed. | |
7187 | ||
7188 | * sem_util.adb: (Wrong_Type): Refine previous fix. | |
7189 | Fixes ACATS regressions. | |
7190 | ||
7191 | PR ada/13353 | |
7192 | ||
7193 | * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always | |
7194 | be inlined. | |
7195 | ||
c45b6ae0 AC |
7196 | 2003-12-08 Jerome Guitton <guitton@act-europe.fr> |
7197 | ||
7198 | * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb, | |
7199 | i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of | |
7200 | obsolete files. | |
7201 | ||
7202 | * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a. | |
7203 | (rts-zfp): Ditto. | |
7204 | ||
7205 | 2003-12-08 Robert Dewar <dewar@gnat.com> | |
7206 | ||
7207 | * 7sintman.adb: Minor reformatting | |
7208 | ||
7209 | * bindgen.adb: Configurable_Run_Time mode no longer suppresses the | |
7210 | standard linker options to get standard libraries linked. We now plan | |
7211 | to provide dummy versions of these libraries to match the appropriate | |
7212 | configurable run-time (e.g. if a library is not needed at all, provide | |
7213 | a dummy empty library). | |
7214 | ||
7215 | * targparm.ads: Configurable_Run_Time mode no longer affects linker | |
7216 | options (-L parameters and standard libraries). What we plan to do is | |
7217 | to provide dummy libraries where the libraries are not required. | |
7218 | ||
7219 | * gnatbind.adb: Minor comment improvement | |
7220 | ||
7221 | 2003-12-08 Javier Miranda <miranda@gnat.com> | |
7222 | ||
7223 | * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded | |
7224 | aggregate in the parent. Otherwise constants with limited aggregates | |
7225 | are not supported. Add new formal to pass the component type (Ctype). | |
7226 | It is required to call the corresponding IP subprogram in case of | |
7227 | default initialized components. | |
7228 | (Gen_Assign): In case of default-initialized component, generate a | |
7229 | call to the IP subprogram associated with the component. | |
7230 | (Build_Record_Aggr_Code): Remove the aggregate from the parent in case | |
7231 | of aggregate with default initialized components. | |
7232 | (Has_Default_Init_Comps): Improve implementation to recursively check | |
7233 | all the present expressions. | |
7234 | ||
7235 | * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal | |
7236 | to indicate that the initialization call corresponds to a | |
7237 | default-initialized component of an aggregate. | |
7238 | In case of default initialized aggregate with tasks this parameter is | |
7239 | used to generate a null string (this is just a workaround that must be | |
7240 | improved later). In case of discriminants, this parameter is used to | |
7241 | generate a selected component node that gives access to the discriminant | |
7242 | value. | |
7243 | ||
7244 | * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New | |
7245 | subprogram, based on Build_Task_Allocate_Block, but adapted to expand | |
7246 | allocated aggregates with default-initialized components. | |
7247 | ||
7248 | * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if | |
7249 | the box notation is used in positional aggregates. | |
7250 | ||
7251 | 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr> | |
7252 | ||
7253 | * lib.ads: Fix typo in comment | |
7254 | ||
7255 | 2003-12-08 Vincent Celier <celier@gnat.com> | |
7256 | ||
7257 | * prj.adb (Project_Empty): New component Unkept_Comments | |
7258 | (Scan): Remove procedure; moved to Prj.Err. | |
7259 | ||
7260 | * prj.ads (Project_Data): New Boolean component Unkept_Comments | |
7261 | (Scan): Remove procedure; moved to Prj.Err. | |
7262 | ||
7263 | * prj-dect.adb: Manage comments for the different declarations. | |
7264 | ||
7265 | * prj-part.adb (With_Record): New component Node | |
7266 | (Parse): New Boolean parameter Store_Comments, defaulted to False. | |
7267 | Set the scanner to return ends of line and comments as tokens, if | |
7268 | Store_Comments is True. | |
7269 | (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that | |
7270 | comments are associated with these nodes. Store the node IDs in the | |
7271 | With_Records. | |
7272 | (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the | |
7273 | With_Records. | |
7274 | (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating | |
7275 | the N_Project node. Call Tree.Save and Tree.Reset before scanning the | |
7276 | current project. Call Tree.Restore afterwards. Set the various nodes | |
7277 | for comment storage (Next_End, End_Of_Line, Previous_Line, | |
7278 | Previous_End). | |
7279 | ||
7280 | * prj-part.ads (Parse): New Boolean parameter Store_Comments, | |
7281 | defaulted to False. | |
7282 | ||
7283 | * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted | |
7284 | to False. When Truncated is True, truncate the string, never go to the | |
7285 | next line. | |
7286 | (Write_End_Of_Line_Comment): New procedure | |
7287 | (Print): Process comments for nodes N_With_Clause, | |
7288 | N_Package_Declaration, N_String_Type_Declaration, | |
7289 | N_Attribute_Declaration, N_Typed_Variable_Declaration, | |
7290 | N_Variable_Declaration, N_Case_Construction, N_Case_Item. | |
7291 | Process nodes N_Comment. | |
7292 | ||
7293 | * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node | |
7294 | without comments and there are some comments, set the flag | |
7295 | Unkept_Comments to True. | |
7296 | (Scan): If there are comments, set the flag Unkept_Comments to True and | |
7297 | clear the comments. | |
7298 | (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment | |
7299 | (Next_End_Nodes: New table | |
7300 | (Comment_Zones_Of): New function | |
7301 | (Scan): New procedure; moved from Prj. Accumulate comments in the | |
7302 | Comments table and set end of line comments, comments after, after end | |
7303 | and before end. | |
7304 | (Add_Comments): New procedure | |
7305 | (Save, Restore, Seset_State): New procedures | |
7306 | (There_Are_Unkept_Comments): New function | |
7307 | (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures | |
7308 | (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New | |
7309 | procedures. | |
7310 | (First_Comment_After, First_Comment_After_End): New functions | |
7311 | (First_Comment_Before, First_Comment_Before_End): New functions | |
7312 | (Next_Comment): New function | |
7313 | (End_Of_Line_Comment, Follows_Empty_Line, | |
7314 | Is_Followed_By_Empty_Line): New functions | |
7315 | (Set_First_Comment_After, Set_First_Comment_After_End): New procedures | |
7316 | (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures | |
7317 | (Set_Next_Comment): New procedure | |
7318 | (Default_Project_Node): Associate comment before if the node can store | |
7319 | comments. | |
7320 | ||
7321 | * scans.ads (Token_Type): New enumeration value Tok_Comment | |
7322 | (Comment_Id): New global variable | |
7323 | ||
7324 | * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable, | |
7325 | defaulted to False. | |
7326 | (Scan): Store position of start of comment. If comments are tokens, set | |
7327 | Comment_Id and set Token to Tok_Comment when scanning a comment. | |
7328 | (Set_Comment_As_Token): New procedure | |
7329 | ||
7330 | * sinput-p.adb: Update Copyright notice | |
7331 | (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan | |
7332 | that no longer exists. | |
7333 | ||
7334 | 2003-12-08 Javier Miranda <miranda@gnat.com> | |
7335 | ||
7336 | * sem_aggr.adb: Add dependence on Exp_Tss package | |
7337 | Correct typo in comment | |
7338 | (Resolve_Aggregate): In case of array aggregates set the estimated | |
7339 | type of the aggregate before calling resolve. This is needed to know | |
7340 | the name of the corresponding IP in case of limited array aggregates. | |
7341 | (Resolve_Array_Aggregate): Delay the resolution to the expansion phase | |
7342 | in case of default initialized array components. | |
7343 | ||
7344 | * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited | |
7345 | types. Required to give support to limited aggregates in generic | |
7346 | formals. | |
7347 | ||
7348 | 2003-12-08 Ed Schonberg <schonberg@gnat.com> | |
7349 | ||
7350 | * sem_ch3.adb (Check_Initialization): For legality purposes, an | |
7351 | inlined body functions like an instantiation. | |
7352 | (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype | |
7353 | until bounds are analyzed, to diagnose premature use of type. | |
7354 | ||
7355 | * sem_util.adb (Wrong_Type): Improve error message when the type of | |
7356 | the expression is used prematurely. | |
7357 | ||
7358 | 2003-12-08 GNAT Script <nobody@gnat.com> | |
7359 | ||
7360 | * Make-lang.in: Makefile automatically updated | |
7361 | ||
0875a894 AC |
7362 | 2003-12-08 Arnaud Charlet <charlet@act-europe.fr> |
7363 | ||
7618d510 AC |
7364 | * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since |
7365 | they are automatically generated by Make-lang.in and cause nothing but | |
0875a894 AC |
7366 | maintenance troubles. |
7367 | ||
5b4994bc AC |
7368 | 2003-12-05 Thomas Quinot <quinot@act-europe.fr> |
7369 | ||
7370 | * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare, | |
7371 | version of this unit). | |
7372 | ||
7373 | 2003-12-05 Olivier Hainque <hainque@act-europe.fr> | |
7374 | ||
7375 | * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads, | |
7376 | 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads, | |
7377 | 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from | |
7378 | the body of System.Interrupt_Management common to several targets. | |
7379 | Update copyright notice when appropriate. | |
7380 | ||
7381 | * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO | |
7382 | constant. | |
7383 | ||
7384 | * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags, | |
7385 | to ensure that the kernel fills in the interrupted context structure | |
7386 | before calling a signal handler, which is necessary to be able to | |
7387 | unwind past it. Update the copyright notice. | |
7388 | ||
7389 | 2003-12-05 Jerome Guitton <guitton@act-europe.fr> | |
7390 | ||
7391 | * a-elchha.ads: New file. | |
7392 | ||
7393 | * a-elchha.adb: New default last chance handler. Contents taken from | |
7394 | Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate. | |
7395 | ||
7396 | * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine | |
7397 | is moved to a-elchha.adb to provide a target-independent default last | |
7398 | chance handler. | |
7399 | ||
7400 | * Makefile.rtl: Add a-elchha.o | |
7401 | ||
7402 | * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o. | |
7403 | ||
7404 | 2003-12-05 Ed Schonberg <schonberg@gnat.com> | |
7405 | ||
7406 | * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is | |
7407 | declared in an instance, do not inline the call if the instance is not | |
7408 | frozen yet, to prevent order of elaboration problems. | |
7409 | ||
7410 | * sem_prag.adb: Add comments for previous fix. | |
7411 | ||
7412 | 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr> | |
7413 | ||
7414 | * g-table.adb: Use the right variable in Set_Item. | |
7415 | Update copyright notice. | |
7416 | ||
7417 | 2003-12-05 Arnaud Charlet <charlet@act-europe.fr> | |
7418 | ||
7419 | * Makefile.in: Remove unused rules. | |
7420 | ||
7421 | 2003-12-05 Vincent Celier <celier@gnat.com> | |
7422 | ||
7423 | * switch-c.adb (Scan_Front_End_Switches): Remove processing of | |
7424 | -nostdlib. Not needed here after all. | |
7425 | ||
efdfd311 AC |
7426 | 2003-12-03 Thomas Quinot <quinot@act-europe.fr> |
7427 | ||
7428 | PR ada/11724 | |
7429 | ||
fbf3e0dd | 7430 | * adaint.h, adaint.c, g-os_lib.ads: |
efdfd311 AC |
7431 | Do not assume that the offset argument to lseek(2) is a 32 bit integer, |
7432 | on some platforms (including FreeBSD), it is a 64 bit value. | |
7433 | Introduce a __gnat_lseek wrapper in adaint.c to allow for portability. | |
7434 | ||
7435 | 2003-12-03 Arnaud Charlet <charlet@act-europe.fr> | |
7436 | ||
7437 | * gnatvsn.ads (Library_Version): Now contain only the relevant | |
7438 | version info. | |
7439 | (Verbose_Library_Version): New constant. | |
7440 | ||
7441 | * g-spipat.adb, g-awk.adb, g-debpoo.adb, | |
7442 | g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb, | |
7443 | s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa. | |
7444 | ||
7445 | * gnatlbr.adb: Clean up: replace Library_Version by | |
7446 | Verbose_Library_Version. | |
7447 | ||
fbf3e0dd | 7448 | * make.adb, lib-writ.adb, exp_attr.adb: |
efdfd311 AC |
7449 | Clean up: replace Library_Version by Verbose_Library_Version. |
7450 | ||
7451 | * 5lintman.adb: Removed. | |
7452 | ||
fbf3e0dd | 7453 | * Makefile.in: |
efdfd311 AC |
7454 | Update and simplify computation of LIBRARY_VERSION. |
7455 | Fix computation of GSMATCH_VERSION. | |
7456 | 5lintman.adb is no longer used: replaced by 7sintman.adb. | |
7457 | ||
7458 | 2003-12-03 Robert Dewar <dewar@gnat.com> | |
7459 | ||
fbf3e0dd | 7460 | * exp_ch5.adb: |
efdfd311 AC |
7461 | (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new |
7462 | name. Modified to consider small non-bit-packed arrays as troublesome | |
7463 | and in need of component-by-component assigment expansion. | |
7464 | ||
7465 | 2003-12-03 Vincent Celier <celier@gnat.com> | |
7466 | ||
7467 | * lang-specs.h: Process nostdlib as nostdinc | |
7468 | ||
7469 | * back_end.adb: Update Copyright notice | |
7470 | (Scan_Compiler_Arguments): Process -nostdlib directly. | |
7471 | ||
7472 | 2003-12-03 Jose Ruiz <ruiz@act-europe.fr> | |
7473 | ||
fbf3e0dd | 7474 | * Makefile.in: |
efdfd311 AC |
7475 | When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the |
7476 | redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always | |
7477 | included in HIE_NONE_TARGET_PAIRS. | |
7478 | ||
7479 | 2003-12-03 Ed Schonberg <schonberg@gnat.com> | |
7480 | ||
fbf3e0dd | 7481 | * sem_attr.adb: |
efdfd311 AC |
7482 | (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it |
7483 | is legal in an instance, because legality is cheched in the template. | |
7484 | ||
fbf3e0dd | 7485 | * sem_prag.adb: |
efdfd311 AC |
7486 | (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be |
7487 | appplied to an unchecked conversion of a formal parameter. | |
7488 | ||
fbf3e0dd | 7489 | * sem_warn.adb: |
efdfd311 AC |
7490 | (Output_Unreferenced_Messages): Suppress "not read" warnings on imported |
7491 | variables. | |
7492 | ||
7493 | 2003-12-03 Olivier Hainque <hainque@act-europe.fr> | |
7494 | ||
7495 | * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New | |
7496 | routines. The second one is new functionality to deal with backtracing | |
7497 | through signal handlers. | |
7498 | (unwind): Split into the two separate subroutines above. | |
7499 | Update the documentation, and deal properly with sizeof (REG) different | |
7500 | from sizeof (void*). | |
7501 | ||
08aa9a4a AC |
7502 | 2003-12-01 Nicolas Setton <setton@act-europe.fr> |
7503 | ||
7504 | * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point, | |
7505 | so that the debugger can reliably access the value of the parameter, | |
7506 | and therefore is able to display the exception name when an exception | |
7507 | breakpoint is reached. | |
7508 | ||
7509 | 2003-12-01 Thomas Quinot <quinot@act-europe.fr> | |
7510 | ||
7511 | * fmap.adb: Fix typo in warning message. | |
7512 | ||
7513 | * g-socket.ads, g-socket.adb: Make Free a visible instance of | |
7514 | Ada.Unchecked_Deallocation (no need to wrap it in a subprogram). | |
7515 | ||
7516 | 2003-12-01 Vincent Celier <celier@gnat.com> | |
7517 | ||
7518 | * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if | |
7519 | ther is no Afile. | |
7520 | (Build_Library): Get the switches only if Default_Switches is declared | |
7521 | in package Binder. | |
7522 | ||
7523 | 2003-12-01 Ed Schonberg <schonberg@gnat.com> | |
7524 | ||
7525 | * exp_ch6.adb (Expand_Actuals): When applying validity checks to | |
7526 | actuals that are indexed components, reanalyze actual to ensure that | |
7527 | packed array references are properly expanded. | |
7528 | ||
7529 | * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for | |
7530 | attempted assignment to a discriminant. | |
7531 | ||
7532 | 2003-12-01 Robert Dewar <dewar@gnat.com> | |
7533 | ||
7534 | * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor | |
7535 | reformatting. | |
7536 | ||
7537 | * switch-c.adb: Minor reformatting of comments | |
7538 | ||
7539 | 2003-12-01 Arnaud Charlet <charlet@act-europe.fr> | |
7540 | ||
7541 | * Makefile.in: Clean ups. | |
7542 | ||
7543 | 2003-12-01 GNAT Script <nobody@gnat.com> | |
7544 | ||
7545 | * Make-lang.in: Makefile automatically updated | |
7546 | ||
c6135994 AC |
7547 | 2003-12-01 Arnaud Charlet <charlet@act-europe.fr> |
7548 | ||
7549 | * 5wsystem.ads: Disable zero cost exception, not ready yet. | |
7550 | ||
51a30506 UW |
7551 | 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com> |
7552 | ||
7553 | * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb | |
7554 | to force serialization. | |
7555 | ||
81a5b587 AC |
7556 | 2003-11-26 Thomas Quinot <quinot@act-europe.fr> |
7557 | ||
fbf3e0dd | 7558 | * g-socket.ads, g-socket.adb: |
81a5b587 AC |
7559 | Clarify documentation of function Stream. Introduce a Free procedure |
7560 | to release the returned Stream once it becomes unused. | |
7561 | ||
7562 | * 5asystem.ads: For Alpha Tru64, enable ZCX by default. | |
7563 | ||
7564 | 2003-11-26 Arnaud Charlet <charlet@act-europe.fr> | |
7565 | ||
7566 | (Cond_Timed_Wait): Introduce new constant Time_Out_Max, | |
7567 | since NT 4 cannot handle timeout values that are too large, | |
7568 | e.g. DWORD'Last - 1. | |
7569 | ||
7570 | 2003-11-26 Ed Schonberg <schonberg@gnat.com> | |
7571 | ||
fbf3e0dd | 7572 | * exp_ch4.adb: |
81a5b587 AC |
7573 | (Expand_N_Slice): Recognize all cases of slices that appear as actuals |
7574 | in procedure calls and whose expansion must be deferred. | |
7575 | ||
7576 | * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix | |
7577 | is in exp_ch4. | |
7578 | ||
fbf3e0dd | 7579 | * sem_ch3.adb: |
81a5b587 AC |
7580 | (Build_Derived_Array_Type): Create operator for unconstrained type |
7581 | if ancestor is unconstrained. | |
7582 | ||
7583 | 2003-11-26 Vincent Celier <celier@gnat.com> | |
7584 | ||
7585 | * make.adb (Project_Object_Directory): New global variable | |
7586 | (Change_To_Object_Directory): New procedure | |
7587 | (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead | |
7588 | of Change_Dir directly. Do not change working directory to object | |
7589 | directory of main project after each compilation. | |
7590 | (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir | |
7591 | directly. | |
7592 | Change to object directory of main project before binding step. | |
7593 | (Initialize): Initialize Project_Object_Directory to No_Project | |
7594 | ||
fbf3e0dd | 7595 | * mlib-prj.adb: |
81a5b587 AC |
7596 | (Build_Library): Take into account Builder'Default_Switches ("Ada") when |
7597 | binding a Stand-Alone Library. | |
7598 | ||
7599 | * output.adb: Update Copyright notice | |
7600 | (Write_Char): Output buffer when full | |
7601 | ||
7602 | 2003-11-26 Robert Dewar <dewar@gnat.com> | |
7603 | ||
7604 | * sem_ch13.adb: (Check_Size): Reset size if size is too small | |
7605 | ||
fbf3e0dd | 7606 | * sem_ch13.ads: |
81a5b587 AC |
7607 | (Check_Size): Fix documentation to include bit-packed array case |
7608 | ||
7609 | * sem_res.adb: Implement restriction No_Direct_Boolean_Operators | |
7610 | ||
7611 | * s-rident.ads: Put No_Direct_Boolean_Operators in proper order | |
7612 | ||
7613 | * s-rident.ads: Add new restriction No_Direct_Boolean_Operators | |
7614 | ||
d4c47b51 AC |
7615 | 2003-11-24 Arnaud Charlet <charlet@act-europe.fr> |
7616 | ||
7617 | PR ada/13142 | |
7618 | * utils.c (init_gigi_decls): Change name of built-in setjmp to | |
7619 | __builtin_setjmp, since this is apparently needed by recent | |
7620 | non Ada changes. | |
7621 | ||
7677e9e0 RO |
7622 | 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7623 | ||
d4c47b51 | 7624 | * adadecode.c: Only include ctype.h if not IN_GCC. |
7677e9e0 RO |
7625 | (__gnat_decode): Use ISDIGIT from safe-ctype.h. |
7626 | ||
6c1e24d3 AC |
7627 | 2003-11-24 Jose Ruiz <ruiz@act-europe.fr> |
7628 | ||
fbf3e0dd | 7629 | * Makefile.in: |
6c1e24d3 AC |
7630 | Use 5zintman.ads for VxWorks targets. This file avoid confusion between |
7631 | signals and interrupts. | |
7632 | ||
7633 | * 5zintman.ads: New File. | |
7634 | ||
7635 | * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and | |
7636 | add exception signals to the set of unmasked signals. | |
7637 | ||
fbf3e0dd | 7638 | * 5ztaprop.adb: |
6c1e24d3 AC |
7639 | Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion |
7640 | between signals and interrupts. | |
7641 | Add to Unblocked_Signal_Mask the set of signals that are in | |
7642 | Keep_Unmasked. | |
7643 | ||
fbf3e0dd | 7644 | * 7sinmaop.adb: |
6c1e24d3 AC |
7645 | Adding a check to see whether the Interrupt_ID we want to unmask is in |
7646 | the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The | |
7647 | reason is that the index type of the Keep_Unmasked array is not always | |
7648 | Interrupt_ID; it may be a subtype of Interrupt_ID. | |
7649 | ||
7650 | 2003-11-24 Gary Dismukes <dismukes@gnat.com> | |
7651 | ||
fbf3e0dd | 7652 | * exp_util.adb: |
6c1e24d3 AC |
7653 | (Remove_Side_Effects): Condition constantness of object created for a |
7654 | an unchecked type conversion on the constantness of the expression | |
7655 | to ensure the correct value for 'Constrained when passing components | |
7656 | of view-converted class-wide objects. | |
7657 | ||
7658 | 2003-11-24 Robert Dewar <dewar@gnat.com> | |
7659 | ||
7660 | * par-load.adb (Load): Improve handling of misspelled and missing units | |
7661 | Removes several cases of compilation abandoned messages | |
7662 | ||
7663 | * lib.adb: (Remove_Unit): New procedure | |
7664 | ||
7665 | * lib.ads: (Remove_Unit): New procedure | |
7666 | ||
7667 | * lib-load.adb: Minor reformatting | |
7668 | ||
7669 | 2003-11-24 Vincent Celier <celier@gnat.com> | |
7670 | ||
fbf3e0dd | 7671 | * make.adb: |
6c1e24d3 AC |
7672 | (Gnatmake, Initialize): Call Usage instead of Makeusg directly |
7673 | (Marking_Label): Label to mark processed source files. Incremented for | |
7674 | each executable. | |
7675 | (Gnatmake): Increase Marking_Labet for each executable | |
7676 | (Is_Marked): Compare against marking label | |
7677 | (Mark): Mark with marking label | |
7678 | ||
7679 | 2003-11-24 Jerome Guitton <guitton@act-europe.fr> | |
7680 | ||
fbf3e0dd | 7681 | * s-thread.ads: |
6c1e24d3 AC |
7682 | Move the declaration of the TSD for System.Threads to System.Soft_Links. |
7683 | Add some comments. | |
7684 | ||
7685 | * Makefile.in: Added target pair for s-thread.adb for cert runtime. | |
7686 | (rts-cert): build a single relocatable object for the run-time lib. | |
7687 | Fix perms. | |
7688 | ||
7689 | 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr> | |
7690 | ||
fbf3e0dd | 7691 | * Make-lang.in: |
6c1e24d3 AC |
7692 | Use gnatls rather than gcc to obtain the location of GNAT RTL for |
7693 | crosstools build. | |
7694 | ||
7695 | 2003-11-24 Sergey Rybin <rybin@act-europe.fr> | |
7696 | ||
7697 | * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we | |
7698 | can not use it as before (that is, as a variable) when dumping it into | |
7699 | the tree file. Add a local variable to store the result of this | |
7700 | function and to be used as the string to be written into the tree. | |
7701 | ||
7702 | * scn.adb (Initialize_Scanner): Add comments explaining the recent | |
7703 | changes. | |
7704 | ||
7705 | * sinput.adb (Source_First, Source_Last): In case of | |
7706 | Internal_Source_File, replace returning attributes of | |
7707 | Internal_Source_Ptr (which is wrong) with returning attributes of | |
7708 | Internal_Source. | |
7709 | ||
7710 | 2003-11-24 Ed Schonberg <schonberg@gnat.com> | |
7711 | ||
fbf3e0dd | 7712 | * sem_ch3.adb: |
6c1e24d3 AC |
7713 | (New_Concatenation_Op): Proper name for New_Binary_Operator, only |
7714 | used for implicit concatenation operators. | |
7715 | Code cleanup. | |
7716 | ||
fbf3e0dd | 7717 | * sem_elab.adb: |
6c1e24d3 AC |
7718 | (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in |
7719 | task bodies that are in the scope of a Suppress pragma. | |
7720 | (Check_A Call): Use the flag to prevent spurious elaboration checks. | |
7721 | ||
fbf3e0dd | 7722 | * sinfo.ads, sinfo.adb: |
6c1e24d3 AC |
7723 | New flag No_Elaboration_Check on function/procedure calls, to properly |
7724 | suppress checks on calls in task bodies that are within a local suppress | |
7725 | pragma. | |
7726 | ||
fbf3e0dd | 7727 | * exp_ch4.adb: |
6c1e24d3 AC |
7728 | (Expand_Concatenate_Other): Use the proper integer type for the |
7729 | expression for the upper bound, to avoid universal_integer computations | |
7730 | when possible. | |
7731 | ||
6f2aeb72 KC |
7732 | 2003-11-21 Kelley Cook <kcook@gcc.gnu.org> |
7733 | ||
7734 | * .cvsignore: Delete. | |
7735 | ||
e9f85cd6 AS |
7736 | 2003-11-21 Andreas Schwab <schwab@suse.de> |
7737 | ||
7738 | * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True. | |
7739 | ||
4e074baf VF |
7740 | 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr> |
7741 | ||
7742 | * 5wsystem.ads: Enable zero cost exception. | |
7743 | ||
f1f9fe30 AC |
7744 | 2003-11-21 Jerome Guitton <guitton@act-europe.fr> |
7745 | ||
7746 | * 5ztiitho.adb: Remove an unreferenced variable. | |
7747 | ||
7748 | 2003-11-21 Thomas Quinot <quinot@act-europe.fr> | |
7749 | ||
7750 | * adaint.c: For FreeBSD, use mkstemp. | |
7751 | ||
7752 | 2003-11-21 Arnaud Charlet <charlet@act-europe.fr> | |
7753 | ||
7754 | * gnatlbr.adb: Now reference Gnat_Static_Version_String. | |
7755 | ||
7756 | 2003-11-21 Robert Dewar <dewar@gnat.com> | |
7757 | ||
7758 | * bld.adb: Remove useless USE of gnatvsn | |
7759 | ||
7760 | * gnatchop.adb: Minor reformatting | |
7761 | Clean up version handling to be more consistent | |
7762 | ||
7763 | * gnatxref.adb: Minor reformatting | |
7764 | ||
7765 | * gprcmd.adb: Minor reformatting | |
7766 | Fix output of copyright to be more consistent with other tools | |
7767 | ||
7768 | 2003-11-21 Vincent Celier <celier@gnat.com> | |
7769 | ||
7770 | * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink | |
7771 | ||
7772 | 2003-11-21 Sergey Rybin <rybin@act-europe.fr> | |
7773 | ||
7774 | * atree.adb (Initialize): Add initializations for global variables | |
7775 | used in New_Copy_Tree. | |
7776 | ||
7777 | * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with | |
7778 | Internal_Source_File as the actual). | |
7779 | Put the set of statements creating Any_Character before the set of | |
7780 | statements creating Any_Array to have Any_Character fully initialized | |
7781 | when it is used in creating Any_Array. | |
7782 | ||
7783 | * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do | |
7784 | not call Scan in case if the actual is Internal_Source_File | |
7785 | Add 2003 to copyright note. | |
7786 | ||
7787 | * sinput.adb (Source_First, Source_Last, Source_Text): Add code for | |
7788 | processing Internal_Source_File. | |
7789 | ||
7790 | * types.ads: Add the constant Internal_Source_File representing the | |
7791 | source buffer for artificial source-code-like strings created within | |
7792 | the compiler (the definition of Source_File_Index is changed). | |
7793 | ||
c5b2a8ae AC |
7794 | 2003-11-20 Arnaud Charlet <charlet@act-europe.fr> |
7795 | ||
7796 | * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads, | |
7797 | 56system.ads: New file, FreeBSD version. | |
7798 | ||
a03ad584 JM |
7799 | 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk> |
7800 | ||
7801 | * Make-lang.in (ada.extraclean): Delete. | |
7802 | ||
19f0526a AC |
7803 | 2003-11-19 Arnaud Charlet <charlet@act-europe.fr> |
7804 | ||
7805 | * gnatmem.adb: Clean up verbose output. | |
7806 | ||
7807 | * gprcmd.adb: Change copyright to FSF. | |
7808 | ||
7809 | 2003-11-19 Vincent Celier <celier@gnat.com> | |
7810 | ||
7811 | * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy | |
7812 | and Version (ignored). | |
7813 | ||
7814 | * symbols.ads: (Policy): New type | |
7815 | (Initialize): New parameter Reference, Symbol_Policy and | |
7816 | Library_Version. | |
7817 | Remove parameter Force. | |
7818 | Minor reformatting. | |
7819 | ||
7820 | * snames.ads, snames.adbadb: New standard names | |
7821 | Library_Reference_Symbol_File and Library_Symbol_Policy | |
7822 | ||
fbf3e0dd | 7823 | * mlib-prj.adb: |
19f0526a AC |
7824 | (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the |
7825 | project. | |
7826 | ||
fbf3e0dd | 7827 | * mlib-tgt.adb: |
19f0526a AC |
7828 | (Build_Dynamic_Library): New parameter Symbol_Data (ignored) |
7829 | ||
7830 | * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data | |
7831 | ||
7832 | * prj.adb: (Project_Empty): New component Symbol_Data | |
7833 | ||
7834 | * prj.ads: (Policy, Symbol_Record): New types | |
7835 | (Project_Data): New component Symbol_Data | |
7836 | ||
fbf3e0dd | 7837 | * prj-attr.adb: |
19f0526a AC |
7838 | New attributes Library_Symbol_File, Library_Symbol_Policy and |
7839 | Library_Reference_Symbol_File. | |
7840 | ||
fbf3e0dd | 7841 | * prj-nmsc.adb: |
19f0526a AC |
7842 | (Ada_Check): When project is a Stand-Alone library project, process |
7843 | attribute Library_Symbol_File, Library_Symbol_Policy and | |
7844 | Library_Reference_Symbol_File. | |
7845 | ||
7846 | * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, | |
7847 | 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb, | |
7848 | 5sml-tgt.adb (Build_Dynamic_Library): New parameter | |
7849 | Symbol_Data (ignored). | |
7850 | ||
7851 | * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0 | |
7852 | (Build_Dynamic_Library): New parameter Symbol_Data. New internal | |
7853 | functions Option_File_Name and Version_String. Set new options of | |
7854 | gnatsym related to symbol file, symbol policy and reference symbol | |
7855 | file. | |
7856 | ||
fbf3e0dd | 7857 | * 5vsymbol.adb: |
19f0526a AC |
7858 | Extensive modifications to take into account the reference symbol file, |
7859 | the symbol policy, the library version and to put in the symbol file the | |
7860 | minor and major IDs. | |
7861 | ||
7862 | * bld.adb (Process_Declarative_Items): Put second argument of | |
7863 | gprcmd to_absolute between single quotes, to avoid problems with | |
7864 | Windows. | |
7865 | ||
7866 | * bld-io.adb: Update Copyright notice. | |
7867 | (Flush): Remove last character of a line, if it is a back slash, to | |
7868 | avoid make problems. | |
7869 | ||
fbf3e0dd | 7870 | * gnatsym.adb: |
19f0526a AC |
7871 | Implement new scheme with reference symbol file and symbol policy. |
7872 | ||
7873 | * g-os_lib.ads: (Is_Directory): Clarify comment | |
7874 | ||
7875 | 2003-11-19 Robert Dewar <dewar@gnat.com> | |
7876 | ||
7877 | * atree.adb: Move New_Copy_Tree global variables to head of package | |
7878 | ||
7879 | * errout.adb: Minor reformatting | |
7880 | ||
7881 | 2003-11-19 Javier Miranda <miranda@gnat.com> | |
7882 | ||
7883 | * sem_ch4.adb: (Diagnose_Call): Improve error message. | |
7884 | Add reference to Ada0Y (AI-50217) | |
7885 | ||
7886 | * sem_ch6.adb, sem_ch8.adb, sem_type.adb, | |
7887 | sem_util.adb: Add reference to AI-50217 | |
7888 | ||
7889 | * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217 | |
7890 | ||
7891 | * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287) | |
7892 | ||
7893 | * sem_aggr.adb: Complete documentation of AI-287 changes | |
7894 | ||
7895 | * par-ch4.adb: Document previous changes. | |
7896 | ||
7897 | * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb, | |
7898 | sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to | |
7899 | Ada0Y (AI-50217) | |
7900 | ||
7901 | * exp_aggr.adb: Add references to AI-287 in previous changes | |
7902 | ||
7903 | 2003-11-19 Ed Schonberg <schonberg@gnat.com> | |
7904 | ||
fbf3e0dd | 7905 | * exp_ch6.adb: |
19f0526a AC |
7906 | (Add_Call_By_Copy_Node): Do not original node of rewritten expression |
7907 | in the rewriting is the result of an inlined call. | |
7908 | ||
7909 | * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out | |
7910 | parameter is a type conversion, use original node to construct the | |
7911 | post-call assignment, because expression may have been rewritten, e.g. | |
7912 | if it is a packed array. | |
7913 | ||
fbf3e0dd | 7914 | * sem_attr.adb: |
19f0526a AC |
7915 | (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined |
7916 | body, just as it is in an instance. | |
7917 | Categorization routines | |
7918 | ||
7919 | * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram, | |
7920 | Instantiate_Object): Set proper sloc reference for message on missing | |
7921 | actual. | |
7922 | ||
7923 | 2003-11-19 Thomas Quinot <quinot@act-europe.fr> | |
7924 | ||
7925 | * Makefile.in: Add FreeBSD libgnat pairs. | |
7926 | ||
7927 | * usage.adb: Fix typo in usage message. | |
7928 | ||
7929 | 2003-11-19 Jerome Guitton <guitton@act-europe.fr> | |
7930 | ||
7931 | * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?, | |
7932 | s-thrini.ad? and s-tiitho.adb to the full runtime, to support the | |
7933 | pragma Thread_Body. | |
7934 | Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore. | |
7935 | ||
7936 | * s-thread.adb: This file is now a dummy implementation of | |
7937 | System.Thread. | |
7938 | ||
7939 | 2003-11-19 Sergey Rybin <rybin@act-europe.fr> | |
7940 | ||
7941 | * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available | |
7942 | ||
7943 | 2003-11-19 Emmanuel Briot <briot@act-europe.fr> | |
7944 | ||
7945 | * xref_lib.adb (Parse_Identifier_Info): Add handling of generic | |
7946 | instanciation references in the parent type description. | |
7947 | ||
0d77ab84 AC |
7948 | 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7949 | ||
7950 | * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s". | |
7951 | ||
7952 | * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set | |
7953 | TYPE_PRECISION directly from esize. | |
7954 | ||
7955 | 2003-11-18 Thomas Quinot <quinot@act-europe.fr> | |
7956 | ||
fbf3e0dd | 7957 | * cstreams.c: |
0d77ab84 AC |
7958 | Use realpath(3) on FreeBSD. Fix typo in comment while we are at it. |
7959 | ||
7960 | * init.c: Initialization routines for FreeBSD | |
7961 | ||
7962 | * link.c: Link info for FreeBSD | |
7963 | ||
7964 | * sysdep.c: Add the case of FreeBSD | |
7965 | ||
cb7a5092 AC |
7966 | 2003-11-17 Jerome Guitton <guitton@act-europe.fr> |
7967 | ||
7968 | * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is | |
7969 | already called in System.Threads. | |
7970 | ||
7971 | * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the | |
7972 | environment task, as it has been moved to System.Threads.Initialization. | |
7973 | ||
7974 | 2003-11-17 Arnaud Charlet <charlet@act-europe.fr> | |
7975 | ||
7976 | * adaint.c (__gnatlib_install_locks): Only reference | |
7977 | __gnat_install_locks on VMS, since other platforms can avoid using | |
7978 | --enable-threads=gnat | |
7979 | ||
7980 | 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
7981 | ||
7982 | * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro. | |
7983 | ||
7984 | * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set | |
7985 | TYPE_PACKED_ARRAY_TYPE_P. | |
7986 | (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P. | |
7987 | ||
7988 | Part of PR ada/12806 | |
7989 | * utils.c (float_type_for_precision): Renamed from float_type_for_size. | |
7990 | Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE. | |
7991 | ||
7992 | 2003-11-17 Vincent Celier <celier@gnat.com> | |
7993 | ||
7994 | * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted | |
7995 | to False. | |
7996 | Do not set exit status to Failure when Warning is True. | |
7997 | (Gnatchop): Make errors "no compilation units found" and | |
7998 | "no source files written" warnings only. | |
7999 | ||
8000 | * make.adb (Gnatmake): When using a project file, set | |
8001 | Look_In_Primary_Dir to False. | |
8002 | (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas | |
8003 | and Local_Configuration_Pragmas in the project where they are declared | |
8004 | not an extending project which might have inherited them. | |
8005 | ||
8006 | * osint.adb (Locate_File): If Name is already an absolute path, do not | |
8007 | look for a directory. | |
8008 | ||
8009 | * par-ch10.adb (P_Compilation_Unit): If source contains no token, and | |
8010 | -gnats (Check_Syntax) is used, issue only a warning, not an error. | |
8011 | ||
8012 | * prj.adb (Register_Default_Naming_Scheme): Add new component Project | |
8013 | in objects of type Variable_Value. | |
8014 | ||
8015 | * prj.ads: (Variable_Value): New component Project | |
8016 | ||
8017 | * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source | |
8018 | is in a project extended by Project. | |
8019 | ||
8020 | * prj-proc.adb (Add_Attributes): New parameter Project. Set component | |
8021 | Project of Variable_Values to this new parameter value. | |
8022 | (Expression): Set component Project of Variable_Values. | |
8023 | (Process_Declarative_Items): Call Add_Attributes with parameter Project. | |
8024 | Set the component Project in array elements. | |
8025 | ||
8026 | 2003-11-17 Sergey Rybin <rybin@act-europe.fr> | |
8027 | ||
8028 | * errout.adb: (Initialize): Add initialization for error nodes. | |
8029 | ||
8030 | * sem_ch12.adb (Initialize): Add missing initializations for | |
8031 | Exchanged_Views and Hidden_Entities. | |
8032 | ||
8033 | 2003-11-17 Ed Schonberg <schonberg@gnat.com> | |
8034 | ||
8035 | * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an | |
8036 | already instantiated tree for use in subsequent inlining. | |
8037 | (Analyze_Associations, Instantiate_Formal_Subprogram, | |
8038 | Instantiate_Object): improve error message for mismatch in | |
8039 | instantiations. | |
8040 | ||
8041 | * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle | |
8042 | instantiations of subprograms declared in instances. | |
8043 | ||
8044 | 2003-11-17 Javier Miranda <miranda@gnat.com> | |
8045 | ||
8046 | * sem_ch4.adb (Analyze_Allocator): Previous modification must be | |
8047 | executed only under the Extensions_Allowed flag. | |
8048 | ||
8049 | 2003-11-17 Robert Dewar <dewar@gnat.com> | |
8050 | ||
8051 | * a-exexda.adb (Address_Image): Fix documentation to indicate leading | |
8052 | zeroes suppressed. | |
8053 | (Address_Image): Fix bug of returning 0x instead of 0x0 | |
8054 | Minor reformatting (function specs). | |
8055 | ||
8056 | * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array | |
8057 | (missed case of 33-63) | |
8058 | ||
8059 | * freeze.adb, sem_ch13.adb: Properly check size of packed bit array | |
8060 | ||
8061 | * s-thread.adb: Add comments for pragma Restriction | |
8062 | ||
8063 | * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb, | |
8064 | sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting | |
8065 | ||
8066 | 2003-11-17 Ed Falis <falis@gnat.com> | |
8067 | ||
8068 | * s-thread.adb: Added No_Tasking restriction for this implementation. | |
8069 | ||
8070 | 2003-11-17 Emmanuel Briot <briot@act-europe.fr> | |
8071 | ||
8072 | * xref_lib.adb (Parse_Identifier_Info): Add handling of generic | |
8073 | instanciation references in the parent type description. | |
8074 | ||
8075 | 2003-11-17 GNAT Script <nobody@gnat.com> | |
8076 | ||
8077 | * Make-lang.in: Makefile automatically updated | |
8078 | ||
7d60db05 JM |
8079 | 2003-11-16 Jason Merrill <jason@redhat.com> |
8080 | ||
8081 | * Make-lang.in (ada.tags): Create TAGS.sub files in each directory | |
8082 | and TAGS files that include them for each front end. | |
8083 | ||
c0040397 AJ |
8084 | 2003-11-14 Andreas Jaeger <aj@suse.de> |
8085 | ||
a477ab83 | 8086 | * lang.opt: Change -Wno-long-long to -Wlong-long since the latter |
fbf3e0dd | 8087 | is the canonical version. |
a477ab83 AJ |
8088 | * misc.c (gnat_handle_option): Likewise. |
8089 | ||
c0040397 AJ |
8090 | * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux. |
8091 | ||
8092 | * 5nsystem.ads: New file for x86_64-linux-gnu. | |
8093 | ||
95a6aaf9 AC |
8094 | 2003-11-14 Arnaud Charlet <charlet@act-europe.fr> |
8095 | ||
262cc585 | 8096 | * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated. |
95a6aaf9 | 8097 | |
4a4fe537 AC |
8098 | * comperr.adb: Fix logic in previous change. |
8099 | ||
65356e64 AC |
8100 | 2003-11-13 Vincent Celier <celier@gnat.com> |
8101 | ||
8102 | * 5bml-tgt.adb (Build_Dynamic_Library): Use | |
8103 | Osint.Include_Dir_Default_Prefix instead of | |
8104 | Sdefault.Include_Dir_Default_Name. | |
8105 | ||
8106 | * gnatlbr.adb: Update Copyright notice | |
8107 | (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of | |
8108 | Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix | |
8109 | instead of Sdefault.Object_Dir_Default_Name | |
8110 | ||
c0040397 | 8111 | * gnatlink.adb: |
65356e64 AC |
8112 | (Process_Binder_File): Never suppress the option following -Xlinker |
8113 | ||
c0040397 | 8114 | * mdll-utl.adb: |
65356e64 AC |
8115 | (Gcc): Use Osint.Object_Dir_Default_Prefix instead of |
8116 | Sdefault.Object_Dir_Default_Name. | |
8117 | ||
c0040397 | 8118 | * osint.ads, osint.adb: |
65356e64 AC |
8119 | (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions |
8120 | Minor reformatting. | |
8121 | ||
8122 | * vms_conv.ads: Minor reformating | |
8123 | Remove GNAT STANDARD and GNAT PSTA | |
8124 | ||
c0040397 | 8125 | * vms_conv.adb: |
65356e64 AC |
8126 | Allow GNAT MAKE to have several files on the command line. |
8127 | (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of | |
8128 | Sdefault.Object_Dir_Default_Name. | |
8129 | Minor Reformating | |
8130 | Remove data for GNAT STANDARD | |
8131 | ||
c0040397 | 8132 | * vms_data.ads: |
65356e64 AC |
8133 | Add new compiler qualifier /PRINT_STANDARD (-gnatS) |
8134 | Remove data for GNAT STANDARD | |
8135 | Remove options and documentation for -gnatwb/-gnatwB: these warning | |
8136 | options no longer exist. | |
8137 | ||
8138 | 2003-11-13 Ed Falis <falis@gnat.com> | |
8139 | ||
8140 | * 5zthrini.adb: (Init_RTS): Made visible | |
8141 | ||
c0040397 | 8142 | * 5zthrini.adb: |
65356e64 AC |
8143 | (Register): Removed unnecessary call to taskVarGet that checked whether |
8144 | an ATSD was already set as a task var for the argument thread. | |
8145 | ||
c0040397 | 8146 | * s-thread.adb: |
65356e64 AC |
8147 | Updated comment to reflect that this is a VxWorks version |
8148 | Added context clause for System.Threads.Initialization | |
8149 | Added call to System.Threads.Initialization.Init_RTS | |
8150 | ||
8151 | 2003-11-13 Jerome Guitton <guitton@act-europe.fr> | |
8152 | ||
c0040397 | 8153 | * 5zthrini.adb: |
65356e64 AC |
8154 | (Init_RTS): New procedure, for the initialization of the run-time lib. |
8155 | ||
c0040397 | 8156 | * s-thread.adb: |
65356e64 AC |
8157 | Remove dependancy on System.Init, so that this file can be used in the |
8158 | AE653 sequential run-time lib. | |
8159 | ||
8160 | 2003-11-13 Robert Dewar <dewar@gnat.com> | |
8161 | ||
8162 | * bindgen.adb: Minor reformatting | |
8163 | ||
8164 | 2003-11-13 Ed Schonberg <schonberg@gnat.com> | |
8165 | ||
c0040397 | 8166 | * checks.adb: |
65356e64 AC |
8167 | (Apply_Discriminant_Check): Do no apply check if target type is derived |
8168 | from source type with no applicable constraint. | |
8169 | ||
c0040397 | 8170 | * lib-writ.adb: |
65356e64 AC |
8171 | (Ensure_System_Dependency): Do not apply the style checks that may have |
8172 | been specified for the main unit. | |
8173 | ||
c0040397 | 8174 | * sem_ch8.adb: |
65356e64 AC |
8175 | (Find_Selected_Component): Further improvement in error message, with |
8176 | RM reference. | |
8177 | ||
c0040397 | 8178 | * sem_res.adb: |
65356e64 AC |
8179 | (Resolve): Handle properly the case of an illegal overloaded protected |
8180 | procedure. | |
8181 | ||
8182 | 2003-11-13 Javier Miranda <miranda@gnat.com> | |
8183 | ||
c0040397 | 8184 | * exp_aggr.adb: |
65356e64 AC |
8185 | (Has_Default_Init_Comps): New function to check the presence of |
8186 | default initialization in an aggregate. | |
8187 | (Build_Record_Aggr_Code): Recursively expand the ancestor in case of | |
8188 | extension aggregate of a limited record. In addition, a new formal | |
8189 | was added to do not initialize the record controller (if any) during | |
8190 | this recursive expansion of ancestors. | |
8191 | (Init_Controller): Add support for limited record components. | |
8192 | (Expand_Record_Aggregate): In case of default initialized components | |
8193 | convert the aggregate into a set of assignments. | |
8194 | ||
8195 | * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment | |
8196 | describing the new syntax. | |
8197 | Nothing else needed to be done because this subprogram delegates part of | |
8198 | its work to P_Precord_Or_Array_Component_Association. | |
8199 | (P_Record_Or_Array_Component_Association): Give support to the new | |
8200 | syntax for default initialization of components. | |
8201 | ||
c0040397 | 8202 | * sem_aggr.adb: |
65356e64 AC |
8203 | (Resolve_Aggregate): Relax the strictness of the frontend in case of |
8204 | limited aggregates. | |
8205 | (Resolve_Record_Aggregate): Give support to default initialized | |
8206 | components. | |
8207 | (Get_Value): In case of default initialized components, duplicate | |
8208 | the corresponding default expression (from the record type | |
8209 | declaration). In case of default initialization in the *others* | |
8210 | choice, do not check that all components have the same type. | |
8211 | (Resolve_Extension_Aggregate): Give support to limited extension | |
8212 | aggregates. | |
8213 | ||
c0040397 | 8214 | * sem_ch3.adb: |
65356e64 AC |
8215 | (Check_Initialization): Relax the strictness of the front-end in case |
8216 | of aggregate and extension aggregates. This test is now done in | |
8217 | Get_Value in a per-component manner. | |
8218 | ||
8219 | * sem_ch4.adb (Analyze_Allocator): Don't post an error if the | |
8220 | expression corresponds to a limited aggregate. This test is now done | |
8221 | in Get_Value. | |
8222 | ||
8223 | * sinfo.ads, sinfo.adb (N_Component_Association): Addition of | |
8224 | Box_Present flag. | |
8225 | ||
8226 | * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if | |
8227 | present in an N_Component_Association node | |
8228 | ||
8229 | 2003-11-13 Thomas Quinot <quinot@act-europe.fr> | |
8230 | ||
8231 | * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a | |
8232 | type-conformant entry only if they are homographs. | |
8233 | ||
8234 | 2003-11-13 GNAT Script <nobody@gnat.com> | |
8235 | ||
8236 | * Make-lang.in: Makefile automatically updated | |
8237 | ||
49add53f RO |
8238 | 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8239 | ||
8240 | * adadecode.c: Use <> form of include for ctype.h. | |
8241 | * sysdep.c [IN_RTS]: Use <> form of include for time.h. | |
8242 | ||
94bae1cc RO |
8243 | 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8244 | ||
8245 | * 5gsystem.ads (Functions_Return_By_DSP): Set to False. | |
8246 | Works around PR middle-end/6552. | |
8247 | ||
463f452c AC |
8248 | 2003-11-10 Ed Falis <falis@gnat.com> |
8249 | ||
8250 | * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted | |
8251 | ||
8252 | * 5zinit.adb: (Install_Handler): Moved back to spec | |
8253 | (Install_Signal_Handlers): Deleted | |
8254 | ||
8255 | * 5zthrini.adb: Added context clause for System.Storage_Elements | |
8256 | (Register): Only handles creation of taskVar; initialization moved to | |
8257 | Thread_Body_Enter. | |
8258 | (Reset_TSD): Deleted; replaced by Thread_Body_Enter | |
8259 | Added declaration of environment task secondary stack and | |
8260 | initialization. | |
8261 | ||
8262 | * s-thread.adb: Implement bodies for thread body processing | |
8263 | ||
c0040397 | 8264 | * s-thread.ads: |
463f452c AC |
8265 | Added comment identifying supported targets for pragma Thread_Body. |
8266 | ||
8267 | 2003-11-10 Pascal Obry <obry@gnat.com> | |
8268 | ||
8269 | * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than | |
8270 | GNAT_MAX_PATH_LEN. | |
8271 | ||
c0040397 | 8272 | * s-fileio.adb: |
463f452c AC |
8273 | (Open): Properly check for string length before copying into the buffer. |
8274 | Raises Name_Error if buffer is too small. Note that this was a potential | |
8275 | buffer overflow. | |
8276 | ||
8277 | 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr> | |
8278 | ||
8279 | * bindgen.adb, comperr.adb: Code clean ups. | |
8280 | * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function. | |
8281 | ||
8282 | 2003-11-10 Sergey Rybin <rybin@act-europe.fr> | |
8283 | ||
8284 | * gnat1drv.adb: Add call to Sem_Elim.Initialize. | |
8285 | ||
8286 | 2003-11-10 Vincent Celier <celier@gnat.com> | |
8287 | ||
c0040397 | 8288 | * gprcmd.adb: |
463f452c AC |
8289 | (Gprcmd): Add new command "prefix" to get the prefix of the GNAT |
8290 | installation. | |
8291 | ||
8292 | * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler | |
8293 | ||
8294 | * prj.adb: (Project_Empty): Add new boolean component Virtual | |
8295 | ||
8296 | * prj.ads: (Virtual_Prefix): New constant string | |
8297 | (Project_Data): New boolean component Virtual | |
8298 | ||
8299 | * prj-nmsc.adb (Language_Independent_Check): Adjust error message when | |
8300 | a library project is extended by a virtual extending project. | |
8301 | ||
c0040397 | 8302 | * prj-part.adb: |
463f452c AC |
8303 | Modifications throughout to implement extending-all project, including: |
8304 | (Virtual_Hash, Processed_Hash): New hash tables | |
8305 | (Create_Virtual_Extending_Project): New procedure | |
8306 | (Look_For_Virtual_Projects_For): New procedure | |
8307 | ||
c0040397 | 8308 | * prj-proc.adb: |
463f452c AC |
8309 | (Process): After checking the projects, if main project is an |
8310 | extending-all project, set the object directory of all virtual extending | |
8311 | project to the object directory of the main project. | |
8312 | Adjust error message when a virtual extending project has the same | |
8313 | object directory as an project being extended. | |
8314 | (Recursive_Process): If name starts with the virtual prefix, set Virtual | |
8315 | to True in the project data. | |
8316 | ||
c0040397 | 8317 | * prj-tree.adb: |
463f452c AC |
8318 | (Default_Project_Node): Add new boolean component Extending_All |
8319 | (Is_Extending_All): New function | |
8320 | (Set_Is_Extending_All): New procedure | |
8321 | ||
8322 | * prj-tree.ads: (Is_Extending_All): New function | |
8323 | (Set_Is_Extending_All): New procedure | |
8324 | (Project_Node_Record): New boolean component Extending_All | |
8325 | ||
8326 | * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib | |
8327 | ||
c0040397 | 8328 | * vms_data.ads: |
463f452c AC |
8329 | Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler |
8330 | ||
8331 | * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call | |
8332 | "gprcmd prefix" to define it. | |
8333 | ||
8334 | 2003-11-10 Thomas Quinot <quinot@act-europe.fr> | |
8335 | ||
8336 | * einfo.ads: Fix a typo and remove an extraneous word in comments. | |
8337 | ||
c0040397 | 8338 | * lib-load.adb: |
463f452c AC |
8339 | (Create_Dummy_Package_Unit): Set the scope of the entity for the |
8340 | created dummy package to Standard_Standard, not to itself, to | |
8341 | defend other parts of the front-end against encoutering a cycle in | |
8342 | the scope chain. | |
8343 | ||
c0040397 | 8344 | * sem_ch10.adb: |
463f452c AC |
8345 | (Analyze_With_Clause): When setting the entities for the successive |
8346 | N_Expanded_Names that constitute the name of a child unit, do not | |
8347 | attempt to go further than Standard_Standard in the chain of scopes. | |
8348 | This case arises from the placeholder units created by | |
8349 | Create_Dummy_Package_Unit in the case of a with_clause for a | |
8350 | nonexistent child unit. | |
8351 | ||
8352 | 2003-11-10 Ed Schonberg <schonberg@gnat.com> | |
8353 | ||
c0040397 | 8354 | * exp_ch6.adb: |
463f452c AC |
8355 | (Expand_Thread_Body): Place subprogram on scope stack, so that new |
8356 | declarations are given the proper scope. | |
8357 | ||
c0040397 | 8358 | * sem_ch13.adb: |
463f452c AC |
8359 | (Check_Expr_Constants): Reject an expression that contains a constant |
8360 | created during expansion, and that appears after the object to which | |
8361 | the address clause applies. | |
8362 | ||
8363 | * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of | |
8364 | Analyze_Iteration_Scheme, to rewrite a loop parameter specification | |
8365 | that uses 'Range of a function call with controlled components, so | |
8366 | that the function result can be finalized before starting the loop. | |
8367 | ||
c0040397 | 8368 | * sem_ch8.adb: |
463f452c AC |
8369 | (Find_Selected_Component): Improve error message when prefix is |
8370 | an implicit dereference of an incomplete type. | |
8371 | ||
8372 | 2003-11-10 Robert Dewar <dewar@gnat.com> | |
8373 | ||
8374 | * opt.ads: New Print_Standard flag for -gnatS switch | |
8375 | ||
8376 | * sem_ch13.adb: Remove some additional checks for unaligned arrays | |
8377 | ||
8378 | * cstand.adb (Create_Standard): Print out package standard if -gnatS | |
8379 | switch set | |
8380 | ||
8381 | * debug.adb: Update doc for -gnatds to discuss relationship with new | |
8382 | -gnatS flag | |
8383 | ||
8384 | * sinfo.adb: Add new field Entity_Or_Associated_Node | |
8385 | ||
8386 | * sinfo.ads: Add new field Entity_Or_Associated_Node | |
8387 | Update documentation for Associated_Node and Entity fields to clarify | |
8388 | relationship and usage. | |
8389 | ||
c0040397 | 8390 | * sprint.adb: |
463f452c AC |
8391 | (Write_Id): Properly process Associated_Node field in generic template |
8392 | ||
c0040397 | 8393 | * switch-c.adb: |
463f452c AC |
8394 | Recognize new -gnatS switch for printing package Standard |
8395 | This replaces gnatpsta | |
8396 | ||
c0040397 | 8397 | * usage.adb: |
463f452c AC |
8398 | Add line for new -gnatS switch for printing package Standard |
8399 | This replaces gnatpsta | |
8400 | ||
c77c5f2e AJ |
8401 | 2003-11-10 Andreas Jaeger <aj@suse.de> |
8402 | ||
8403 | * 7sosprim.adb: tv_usec of struct_timeval and time_t are long | |
8404 | integer. | |
8405 | ||
5c90f17f AC |
8406 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
8407 | ||
8408 | * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed | |
8409 | by gnat1. | |
8410 | ||
139f0d1e AC |
8411 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
8412 | ||
8413 | * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta, | |
8414 | no longer needed. | |
8415 | ||
8416 | * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed. | |
8417 | ||
8418 | * sysdep.c: Add handling of cygwin. | |
8419 | ||
f3e4c05c GS |
8420 | 2003-11-10 GNAT Script <nobody@gnat.com> |
8421 | ||
8422 | * Make-lang.in: Makefile automatically updated | |
8423 | ||
2cdc8909 AC |
8424 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
8425 | ||
8426 | PR 12950 | |
8427 | * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New | |
8428 | functions. Used to handle dynamic prefix relocation, via set_std_prefix. | |
8429 | Replace GNAT_ROOT by GCC_ROOT. | |
8430 | ||
8431 | * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb | |
8432 | ||
37783865 ZW |
8433 | 2003-11-06 Zack Weinberg <zack@codesourcery.com> |
8434 | ||
8435 | * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION | |
8436 | and update for changed meaning of GET_MODE_BITSIZE. | |
8437 | ||
6bc1c519 AC |
8438 | 2003-11-04 Doug Rupp <rupp@gnat.com> |
8439 | ||
8440 | * sysdep.c: Problem discovered during IA64 VMS port. | |
8441 | [VMS] #include <unixio.h> to get proper prototypes. | |
8442 | ||
37783865 | 8443 | * adaint.c: |
6bc1c519 AC |
8444 | Issues discovered/problems fixed during IA64 VMS port. |
8445 | [VMS] #define _POSIX_EXIT for proper semantics. | |
8446 | [VMS] #include <unixio.h> for proper prototypes. | |
8447 | [VMS] (fork): #define IA64 version. | |
8448 | (__gnat_os_exit): Remove unnecessary VMS specific code. | |
8449 | ||
8450 | 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
8451 | ||
8452 | Part of PR ada/12806 | |
8453 | ||
8454 | * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as | |
8455 | tree, not integer. | |
8456 | ||
37783865 | 8457 | * decl.c: |
6bc1c519 AC |
8458 | (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree, |
8459 | not integer. | |
8460 | ||
8461 | * targtyps.c, decl.c, misc.c, | |
8462 | gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary | |
8463 | routines to work around change in FP sizing semantics in GCC. | |
8464 | ||
37783865 | 8465 | * utils.c: |
6bc1c519 AC |
8466 | (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer. |
8467 | ||
8468 | * gigi.h: (enumerate_modes): New function. | |
8469 | ||
8470 | * Make-lang.in: (ada/misc.o): Add real.h. | |
8471 | ||
8472 | * misc.c: (enumerate_modes): New function. | |
8473 | ||
8474 | 2003-11-04 Robert Dewar <dewar@gnat.com> | |
8475 | ||
8476 | * 3vtrasym.adb: Minor reformatting | |
8477 | Use terminology encoded/decoded name, rather than C++ specific notion | |
8478 | of mangling (this is the terminology used throughout GNAT). | |
8479 | ||
8480 | * einfo.h: Regenerated | |
8481 | ||
8482 | * einfo.ads, einfo.adb: Add new flag Is_Thread_Body | |
8483 | ||
37783865 | 8484 | * exp_ch6.adb: |
6bc1c519 AC |
8485 | (Expand_N_Subprogram_Body): Handle expansion of thread body procedure |
8486 | ||
8487 | * par-prag.adb: Add dummy entry for Thread_Body pragma | |
8488 | ||
37783865 | 8489 | * rtsfind.ads: |
6bc1c519 AC |
8490 | Add entries for System.Threads entities for thread body processing |
8491 | ||
37783865 | 8492 | * sem_attr.adb: |
6bc1c519 AC |
8493 | (Analyze_Pragma, Access attributes): Check these are not applied to a |
8494 | thread body, since this is not permitted | |
8495 | ||
8496 | * sem_prag.adb: Add processing for Thread_Body pragma. | |
8497 | Minor comment fix. | |
8498 | ||
37783865 | 8499 | * sem_res.adb: |
6bc1c519 AC |
8500 | (Resolve_Call): Check for incorrect attempt to call a thread body |
8501 | procedure with a direct call. | |
8502 | ||
8503 | * snames.ads, snames.adb: Add entry for Thread_Body pragma | |
8504 | Add names associated with thread body expansion | |
8505 | ||
8506 | * snames.h: Add entry for Thread_Body pragma | |
8507 | ||
8508 | * s-thread.adb: Add entries for thread body processing | |
8509 | These are dummy bodies so far | |
8510 | ||
8511 | * s-thread.ads: Add documentation on thread body handling. | |
8512 | Add entries for thread body processing. | |
8513 | ||
8514 | 2003-11-04 Javier Miranda <miranda@gnat.com> | |
8515 | ||
37783865 | 8516 | * sem_ch10.adb: |
6bc1c519 AC |
8517 | (Build_Limited_Views): Return after posting an error in case of limited |
8518 | with_clause on subprograms, generics, instances or generic renamings | |
8519 | (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause | |
8520 | on subprograms, generics, instances or generic renamings | |
8521 | ||
8522 | 2003-11-04 Arnaud Charlet <charlet@act-europe.fr> | |
8523 | ||
8524 | * raise.c (setup_to_install): Correct mistake in last revision; two | |
8525 | arguments out of order. | |
8526 | ||
8527 | * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c, | |
8528 | gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright | |
8529 | notice, missed in previous change. | |
8530 | Remove trailing blanks and other style errors introduced in previous | |
8531 | change. | |
8532 | ||
8533 | 2003-11-04 Olivier Hainque <hainque@act-europe.fr> | |
8534 | ||
8535 | * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get | |
8536 | rid of the wrapper for a LJM type, ensuring we don't do that if the | |
8537 | field is addressable. This avoids potential low level type view | |
8538 | mismatches later on, for instance in a by-reference argument passing | |
8539 | process. | |
8540 | ||
8541 | 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
8542 | ||
8543 | * decl.c (gnat_to_gnu_field): No longer check for BLKmode being | |
8544 | aligned at byte boundary. | |
8545 | ||
8546 | 2003-11-04 Joel Brobecker <brobecker@gnat.com> | |
8547 | ||
8548 | * decl.c (components_to_record): Do not delete the empty variants from | |
8549 | the end of the union type. | |
8550 | ||
8551 | 2003-11-04 Ed Schonberg <schonberg@gnat.com> | |
8552 | ||
8553 | * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive | |
8554 | operation for a derived type, an explicit declaration may use a local | |
8555 | subtype of Boolean. | |
8556 | ||
8557 | 2003-11-04 Vincent Celier <celier@gnat.com> | |
8558 | ||
8559 | * make.adb (Gnatmake): Allow main sources on the command line with a | |
8560 | library project when it is only for compilation (no binding or | |
8561 | linking). | |
8562 | ||
487e9fff RO |
8563 | 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8564 | ||
8565 | * Makefile.in: Remove many duplicate variables. | |
8566 | ||
63069342 KC |
8567 | 2003-11-03 Kelley Cook <kcook@gcc.gnu.org> |
8568 | ||
8569 | * Make-lang.in (dvi): Move targets to $(docobjdir). | |
8570 | (gnat_ug_vms.dvi): Simplify rule and adjust target. | |
8571 | (gnat_ug_wnt.dvi): Likewise. | |
8572 | (gnat_ug_unx.dvi): Likewise. | |
8573 | (gnat_ug_vxw.dvi): Likewise. | |
8574 | (gnat_rm.dvi): Likewise. | |
8575 | (gnat-style.dvi): Likewise. | |
8576 | ||
c2edc52b KC |
8577 | 2003-10-31 Kelley Cook <kcook@gcc.gnu.org> |
8578 | ||
8579 | * gigi.h: Missed commit from update for C90. | |
8580 | ||
14df9585 KC |
8581 | 2003-10-31 Kelley Cook <kcook@gcc.gnu.org> |
8582 | ||
8583 | * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error. | |
8584 | ||
acd8e984 AS |
8585 | 2003-10-31 Andreas Schwab <schwab@suse.de> |
8586 | ||
8587 | * raise.c (get_action_description_for): Fix typo in last change. | |
8588 | ||
b2c62c45 NN |
8589 | 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org> |
8590 | ||
8591 | PR ada/12761 | |
8592 | * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS, | |
8593 | T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in. | |
8594 | ||
9373164a KC |
8595 | 2003-10-30 Kelley Cook <kcook@gcc.gnu.org> |
8596 | ||
8597 | * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c, | |
8598 | ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c, | |
8599 | gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c, | |
8600 | sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c, | |
8601 | trans.c, utils.c, utils2.c: Convert function prototypes to C90. | |
8602 | ||
bde58e32 AC |
8603 | 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr> |
8604 | ||
37783865 | 8605 | * 3vtrasym.adb: |
bde58e32 AC |
8606 | Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line |
8607 | numbers when symbol name is too long. | |
8608 | ||
8609 | 2003-10-30 Ed Falis <falis@gnat.com> | |
8610 | ||
8611 | * g-signal.ads, g-signal.adb: New files | |
8612 | ||
8613 | * impunit.adb: (Non_Imp_File_Names): Added "g-signal" | |
8614 | ||
8615 | * Makefile.rtl: Introduce GNAT.Signals | |
8616 | ||
8617 | 2003-10-30 Robert Dewar <dewar@gnat.com> | |
8618 | ||
8619 | * freeze.adb: Minor reformatting | |
8620 | ||
8621 | * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified | |
8622 | ||
37783865 ZW |
8623 | * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb, |
8624 | par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb: | |
bde58e32 AC |
8625 | New handling of Id_Check parameter to improve recognition of keywords |
8626 | used as identifiers. | |
8627 | Update copyright notice to include 2003 | |
8628 | ||
657a9dd9 AC |
8629 | 2003-10-29 Robert Dewar <dewar@gnat.com> |
8630 | ||
8631 | * 3vtrasym.adb, 5vtraent.ads, sprint.adb, | |
8632 | sem_ch10.adb: Minor reformatting | |
8633 | ||
8634 | * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands | |
8635 | (Expand_Assign_Record): Test right hand side for bit unaligned as well | |
8636 | ||
8637 | 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr> | |
8638 | ||
37783865 | 8639 | * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c: |
657a9dd9 AC |
8640 | Support for TBK$SYMBOLIZE-based symbolic traceback. |
8641 | ||
8642 | 2003-10-29 Jose Ruiz <ruiz@act-europe.fr> | |
8643 | ||
37783865 | 8644 | * exp_disp.adb: |
657a9dd9 AC |
8645 | Revert previous change, that did not work well when pragma No_Run_Time |
8646 | was used in conjunction with a run-time other than ZFP. | |
8647 | ||
8648 | 2003-10-29 Vincent Celier <celier@gnat.com> | |
8649 | ||
37783865 | 8650 | * make.adb: |
657a9dd9 AC |
8651 | (Gnatmake): When there are no Ada mains in attribute Main, disable the |
8652 | bind and link steps only is switch -z is not used. | |
8653 | ||
8654 | 2003-10-29 Arnaud Charlet <charlet@act-europe.fr> | |
8655 | ||
8656 | * Makefile.generic: Remove duplicated setting of CC. | |
8657 | ||
8658 | * Makefile.prolog: Set CC to gcc by default, to override make's | |
8659 | default (cc). | |
8660 | ||
8661 | * einfo.h: Regenerated. | |
8662 | ||
8663 | 2003-10-29 Ed Schonberg <schonberg@gnat.com> | |
8664 | ||
8665 | * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for | |
8666 | current body, after compiling subunit. | |
8667 | ||
8668 | * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype | |
8669 | when in deleted code, because gigi needs properly ordered freeze | |
8670 | actions to annotate types. | |
8671 | ||
8672 | * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to | |
8673 | prevent the premature freezing of record type that contains | |
8674 | subcomponents with a private type that does not yet have a completion. | |
8675 | ||
8676 | 2003-10-29 Javier Miranda <miranda@gnat.com> | |
8677 | ||
37783865 | 8678 | * sem_ch12.adb: |
657a9dd9 AC |
8679 | (Analyze_Package_Instantiation): Check that instances can not be used in |
8680 | limited with_clauses. | |
8681 | ||
37783865 | 8682 | * sem_ch8.adb: |
657a9dd9 AC |
8683 | (Analyze_Package_Renaming): Check that limited withed packages cannot |
8684 | be renamed. Improve text on error messages related to limited | |
8685 | with_clauses. | |
8686 | ||
8687 | * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute. | |
8688 | ||
8689 | * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses. | |
8690 | Update copyright notice. | |
8691 | ||
8692 | * sem_ch10.adb: (Build_Limited_Views): Complete its documentation. | |
8693 | (Install_Limited_Context_Clauses): New subprogram that isolates all the | |
8694 | checks required for limited context_clauses and installs the limited | |
8695 | view. | |
8696 | (Install_Limited_Withed_Unit): Complete its documentation. | |
8697 | (Analyze_Context): Check that limited with_clauses are only allowed in | |
8698 | package specs. | |
8699 | (Install_Context): Call Install_Limited_Context_Clauses after the | |
8700 | parents have been installed. | |
8701 | (Install_Limited_Withed_Unit): Add documentation. Mark the installed | |
8702 | package as 'From_With_Type'; this mark indicates that the limited view | |
8703 | is installed. Used to check bad usages of limited with_clauses. | |
8704 | (Build_Limited_Views): Do not add shadow entities to the scope's list | |
8705 | of entities. Do not add real entities to the Non_Limited_Views chain. | |
8706 | Improve error notification. | |
8707 | (Remove_Context_Clauses): Remove context clauses in two phases: | |
8708 | limited views first and regular views later (to maintain the | |
8709 | stack model). | |
8710 | (Remove_Limited_With_Clause): If the package is analyzed then reinstall | |
8711 | its visible entities. | |
8712 | ||
8713 | 2003-10-29 Thomas Quinot <quinot@act-europe.fr> | |
8714 | ||
8715 | * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible | |
8716 | with any type that Is_Fixed_Point_Type. | |
8717 | ||
8718 | * sinfo.ads: Fix documentation for Associated_Node attribute. | |
8719 | ||
8720 | 2003-10-29 Sergey Rybin <rybin@act-europe.fr> | |
8721 | ||
8722 | * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when | |
8723 | both '-gnatc' and '-gnatt' are specified. | |
8724 | ||
8725 | * atree.adb (Initialize): Add initialization for Node_Count (set to | |
8726 | zero). | |
8727 | ||
8728 | 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
8729 | ||
8730 | * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value, | |
8731 | do not consider as Pure. | |
8732 | ||
8733 | Part of implementation of function-at-a-time: | |
8734 | ||
8735 | * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt. | |
8736 | (tree_transform): Add new argument to build_component_ref. | |
8737 | (tree_transform, case N_Assignment_Statement): Make and return an | |
8738 | EXPR_STMT. | |
8739 | (tree_transform): If result IS_STMT, set flags and return it. | |
8740 | (gnat_expand_stmt, set_lineno_from_sloc): New functions. | |
8741 | ||
8742 | * utils2.c (build_simple_component_ref, build_component_ref): Add new | |
8743 | arg, NO_FOLD_P. | |
8744 | (build_binary_op, case EQ_EXPR): Pass additional arg to it. | |
8745 | (build_allocator): Likewise. | |
8746 | ||
8747 | * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert): | |
8748 | Add new arg to build_component_ref. | |
8749 | (maybe_unconstrained_array, unchecked_convert): Likewise. | |
8750 | ||
8751 | * ada-tree.def (EXPR_STMT): New code. | |
8752 | ||
8753 | * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros. | |
8754 | ||
8755 | * decl.c (gnat_to_gnu_entity, case object): Add extra arg to | |
8756 | build_component_ref calls. | |
8757 | ||
8758 | * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt. | |
8759 | ||
8760 | * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions. | |
8761 | (build_component_ref): Add new argument, NO_FOLD_P. | |
8762 | ||
ecad994d AC |
8763 | 2003-10-27 Arnaud Charlet <charlet@act-europe.fr> |
8764 | ||
8765 | * Makefile.generic: Add missing substitution on object_deps handling. | |
8766 | ||
8767 | PR ada/5909: | |
8768 | * Make-lang.in (check-ada): Enable ACATS test suite. | |
8769 | ||
8770 | 2003-10-27 Robert Dewar <dewar@gnat.com> | |
8771 | ||
37783865 | 8772 | * exp_ch3.adb: |
ecad994d AC |
8773 | (Freeze_Array_Type): We do not need an initialization routine for types |
8774 | derived from String or Wide_String. They should be treated the same | |
8775 | as String and Wide_String themselves. This caused problems with the | |
8776 | use of Initialize_Scalars. | |
8777 | ||
37783865 | 8778 | * exp_ch5.adb: |
ecad994d AC |
8779 | (Expand_Assign_Record): Do component-wise assignment of non-byte aligned |
8780 | composites. This allows use of component clauses that are not byte | |
8781 | aligned. | |
8782 | ||
37783865 | 8783 | * sem_prag.adb: |
ecad994d AC |
8784 | (Analyze_Pragma, case Pack): Generate warning and ignore pack if there |
8785 | is an attempt to pack an array of atomic objects. | |
8786 | ||
8787 | * make.adb, prj-env.adb, prj-env.ads: Minor reformatting | |
8788 | ||
8789 | 2003-10-27 Pascal Obry <obry@gnat.com> | |
8790 | ||
37783865 | 8791 | * g-dirope.adb: |
ecad994d AC |
8792 | (Basename): Check for drive letters in a pathname only on DOS based OS. |
8793 | ||
8794 | 2003-10-27 Vincent Celier <celier@gnat.com> | |
8795 | ||
37783865 | 8796 | * make.adb: |
ecad994d AC |
8797 | (Gnatmake): When unable to change dir to the object dir, display the |
8798 | content of the parent dir of the obj dir, to try to understand why this | |
8799 | happens. | |
8800 | ||
8801 | 2003-10-27 GNAT Script <nobody@gnat.com> | |
8802 | ||
8803 | * Make-lang.in: Makefile automatically updated | |
8804 | ||
8805 | 2003-10-27 Ed Schonberg <schonberg@gnat.com> | |
8806 | ||
37783865 | 8807 | * sem_ch12.adb: |
ecad994d AC |
8808 | (Inline_Instance_Body): Indicate that the save/restore of use_clauses |
8809 | should not be done in Save/Restore_Scope_Stack, because it is performed | |
8810 | locally. | |
8811 | ||
37783865 | 8812 | * sem_ch8.adb: |
ecad994d AC |
8813 | (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate |
8814 | whether use clauses should be removed/restored. | |
8815 | ||
37783865 | 8816 | * sem_ch8.ads: |
ecad994d AC |
8817 | (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate |
8818 | whether use clauses should be removed/restored. | |
8819 | ||
b6b3c138 AJ |
8820 | 2003-10-26 Andreas Jaeger <aj@suse.de> |
8821 | ||
8822 | * Makefile.in: Remove duplicated lines. | |
8823 | ||
b6d83931 AC |
8824 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> |
8825 | ||
8826 | * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to | |
8827 | minimize the differences with ACT tree. | |
8828 | ||
8829 | * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb, | |
8830 | gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of | |
8831 | Gnatvsn.Gnat_Static_Version_String to reduce differences between | |
8832 | ACT and FSF trees. | |
8833 | ||
8834 | 2003-10-24 Pascal Obry <obry@gnat.com> | |
8835 | ||
8836 | * adadecode.c (ostrcpy): New function. | |
8837 | (__gnat_decode): Use ostrcpy of strcpy. | |
8838 | (has_prefix): Set first parameter a const. | |
8839 | (has_suffix): Set first parameter a const. | |
8840 | Update copyright notice. Fix source name in header. | |
8841 | Removes a trailing space. | |
8842 | PR ada/12014. | |
8843 | ||
8844 | 2003-10-24 Jose Ruiz <ruiz@act-europe.fr> | |
8845 | ||
b6b3c138 | 8846 | * exp_disp.adb: |
b6d83931 AC |
8847 | Remove the test against being in No_Run_Time_Mode before generating a |
8848 | call to Register_Tag. It is redundant with the test against the | |
8849 | availability of the function Register_Tag. | |
8850 | ||
8851 | 2003-10-24 Vincent Celier <celier@gnat.com> | |
8852 | ||
8853 | * g-catiio.adb: (Month_Name): Correct spelling of February | |
8854 | ||
8855 | * make.adb: (Mains): New package | |
8856 | (Initialize): Call Mains.Delete | |
8857 | (Gnatmake): Check that each main on the command line is a source of a | |
8858 | project file and, if there are several mains, each of them is a source | |
8859 | of the same project file. | |
8860 | (Gnatmake): When a foreign language is specified in attribute Languages, | |
8861 | no main is specified on the command line and attribute Mains is not | |
8862 | empty, only build the Ada main. If there is no Ada main, just compile | |
8863 | the Ada sources and their closure. | |
8864 | (Gnatmake): If a main is specified on the command line with directory | |
8865 | information, check that the source exists and, if it does, that the path | |
8866 | is the actual path of a source of a project. | |
8867 | ||
b6b3c138 | 8868 | * prj-env.adb: |
b6d83931 AC |
8869 | (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When |
8870 | Full_Path is True, return the full path instead of the simple file name. | |
8871 | (Project_Of): New function | |
8872 | ||
b6b3c138 | 8873 | * prj-env.ads: |
b6d83931 AC |
8874 | (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path, |
8875 | defaulted to False. | |
8876 | (Project_Of): New function | |
8877 | ||
8878 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> | |
8879 | ||
b6b3c138 | 8880 | * Makefile.generic: |
b6d83931 AC |
8881 | Ensure objects of main project are always checked and rebuilt if needed. |
8882 | Set CC to gcc by default. | |
8883 | Prepare new handling of link by creating a global archive (not activated | |
8884 | yet). | |
8885 | ||
8886 | * adadecode.h, atree.h, elists.h, nlists.h, raise.h, | |
8887 | stringt.h: Update copyright notice. Remove trailing blanks. | |
8888 | Fix source name in header. | |
8889 | ||
8890 | 2003-10-24 Robert Dewar <dewar@gnat.com> | |
8891 | ||
8892 | * sem_ch12.adb: Minor reformatting | |
8893 | ||
b6b3c138 | 8894 | * sem_ch3.adb: |
b6d83931 AC |
8895 | Minor reformatting (including new function return style throughout) |
8896 | ||
b6b3c138 | 8897 | * sem_ch3.ads: |
b6d83931 AC |
8898 | Minor reformatting (including new function return style throughout) |
8899 | ||
8900 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> | |
8901 | ||
8902 | * adadecode.h, atree.h, elists.h, nlists.h, raise.h, | |
8903 | stringt.h: Update copyright notice. Remove trailing blanks. | |
8904 | Fix source name in header. | |
8905 | ||
8906 | 2003-10-24 GNAT Script <nobody@gnat.com> | |
8907 | ||
8908 | * Make-lang.in: Makefile automatically updated | |
8909 | ||
b4e2d709 NN |
8910 | 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org> |
8911 | ||
8912 | * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h, | |
8913 | stringt.h: Convert to ISO C90 declarations and definitions. | |
8914 | ||
9d7d51be AC |
8915 | 2003-10-23 Thomas Quinot <quinot@act-europe.fr> |
8916 | ||
8917 | PR ada/11978: | |
8918 | * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited | |
8919 | External_Tag attribute definition clauses. | |
8920 | ||
8921 | 2003-10-23 Ed Schonberg <schonberg@gnat.com> | |
8922 | ||
8923 | PR ada/7613: | |
8924 | * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a | |
8925 | child unit, generate a fully qualified name to avoid spurious errors | |
8926 | when the context contains renamings of different child units with | |
8927 | the same simple name. | |
8928 | ||
8929 | * exp_dbug.ads: Add documentation on name qualification for renamings | |
8930 | of child units. | |
8931 | ||
8932 | 2003-10-23 Robert Dewar <dewar@gnat.com> | |
8933 | ||
8934 | * g-regpat.ads, g-regpat.adb: Minor reformatting | |
8935 | ||
8936 | 2003-10-23 Jose Ruiz <ruiz@act-europe.fr> | |
8937 | ||
8938 | * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times. | |
8939 | ||
8940 | 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
8941 | ||
8942 | * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to | |
8943 | Machine call. | |
8944 | ||
8945 | * urealp.h: (Machine): Update to proper definition. | |
8946 | ||
6d244bbe AC |
8947 | 2003-10-23 Arnaud Charlet <charlet@act-europe.fr> |
8948 | ||
8949 | * init.c, adaint.c: Minor reformatting. | |
8950 | ||
8f4eb34b DS |
8951 | 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net> |
8952 | ||
6d244bbe | 8953 | * adaint.c (w32_epoch_offset): Define static const at file level. |
8f4eb34b DS |
8954 | (win32_filetime): Replace offset with w32_epoch_offset. Use NULL |
8955 | rather than t_create, t_access in call to GetFileTime. Use union | |
8956 | to convert between FILETIME and unsigned long long. | |
8957 | (__gnat_file_time_name): Test for invalid file handle. | |
8958 | (__gnat_set_filetime_name): Support win32 targets using | |
8959 | w32api SetFileTime. | |
8960 | ||
25412599 DS |
8961 | 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net> |
8962 | ||
8963 | * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW. | |
8964 | ||
8965 | * ctrl_c.c (__gnat_int_handler): Remove declaration. | |
8966 | ||
8967 | * decl.c (creat_concat_name): Const-ify prefix. | |
8968 | ||
8969 | * adaint.c: Include ctype.h if __MINGW32__. | |
8970 | (__gnat_readlink): Mark arguments as possibly unused. | |
8971 | (__gnat_symlink): Likewise. | |
8972 | (__gnat_is_symbolic_link): Likewise. | |
8973 | (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match | |
8974 | declaration | |
b6b3c138 | 8975 | (__gnat_file_time_name): Don't declare struct stat statbuf when |
25412599 DS |
8976 | not needed. |
8977 | (__gnat_is_absolute_path): Add parenthesis around condition of | |
8978 | 'if' statement to avoid warning. | |
8979 | (__gnat_plist_init): Specify void as parameter. | |
8980 | (plist_enter): Likewise. | |
8981 | (plist_leave): Likewise. | |
8982 | (remove_handle): Make static. Initialize prev. | |
8983 | ||
698a5e79 AC |
8984 | 2003-10-22 Arnaud Charlet <charlet@act-europe.fr> |
8985 | ||
6d244bbe | 8986 | * Makefile.in: Disable build of gnatpsta. PR ada/10110. |
698a5e79 AC |
8987 | * cstreams.c (__gnat_full_name): Minor improvements and clean up |
8988 | of previous change. | |
8989 | ||
e97c30aa RO |
8990 | 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8991 | ||
8992 | * tracebak.c (MAX): Avoid redefinition warning. | |
8993 | ||
8994 | * init.c [sgi] (__gnat_error_handler): Remove i, unused. | |
8995 | Change msg to const char *. | |
8996 | (__gnat_install_handler): Remove ss, unused. | |
8997 | [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg | |
8998 | to const char *. | |
8999 | * cstreams.c (__gnat_full_name): Declare p only when used. | |
9000 | (__gnat_full_name) [sgi] Return buffer. | |
9001 | ||
65f1ebd1 AC |
9002 | 2003-10-22 Arnaud Charlet <charlet@act-europe.fr> |
9003 | ||
9004 | * mingw32.h: New file. | |
0c644933 AC |
9005 | * gnat_wrapper.adb: New file. |
9006 | ||
6d244bbe | 9007 | 2003-10-22 Jerome Roussel <roussel@act-europe.fr> |
0c644933 AC |
9008 | |
9009 | * g-regpat.ads, g-regpat.adb (Match): new function, to know if a | |
9010 | string match a pre compiled regular expression (the corresponding | |
9011 | version of the function working on a raw regular expression) | |
9012 | Fix typos in various comments | |
9013 | Update copyright notice in spec | |
9014 | ||
6d244bbe | 9015 | 2003-10-21 Gary Dismukes <dismukes@gnat.com> |
0c644933 | 9016 | |
b6b3c138 | 9017 | * exp_ch3.adb: |
0c644933 AC |
9018 | (Component_Needs_Simple_Initialization): Return False when the type is a |
9019 | packed bit array. Revise spec comments to document this case. | |
9020 | ||
b6b3c138 | 9021 | * exp_prag.adb: |
0c644933 AC |
9022 | (Expand_Pragma_Import): Set any expression on the imported object to |
9023 | empty to avoid initializing imported objects (in particular this | |
9024 | covers the case of zero-initialization of bit arrays). | |
9025 | Update copyright notice. | |
9026 | ||
6d244bbe | 9027 | 2003-10-21 Ed Schonberg <schonberg@gnat.com> |
0c644933 | 9028 | |
b6b3c138 | 9029 | * sem_ch12.adb: |
0c644933 AC |
9030 | (Load_Parent_Of_Generic): If parent is compilation unit, stop search, |
9031 | a subunit is missing. | |
9032 | (Instantiate_Subprogram_Body): If body of function is missing, set type | |
9033 | of return expression explicitly in dummy body, to prevent cascaded | |
9034 | errors when a subunit is missing. | |
9035 | Fixes PR 5677. | |
9036 | ||
b6b3c138 | 9037 | * sem_ch3.adb: |
0c644933 AC |
9038 | (Access_Subprogram_Declaration): Verify that return type is valid. |
9039 | Fixes PR 8693. | |
9040 | ||
b6b3c138 | 9041 | * sem_elab.adb: |
0c644933 AC |
9042 | (Check_Elab_Calls): Do not apply elaboration checks if the main unit is |
9043 | generic. | |
9044 | Fixes PR 12318. | |
9045 | ||
b6b3c138 | 9046 | * sem_util.adb: |
0c644933 AC |
9047 | (Corresponding_Discriminant): If the scope of the discriminant is a |
9048 | private type without discriminant, use its full view. | |
9049 | Fixes PR 8247. | |
65f1ebd1 | 9050 | |
fbf5a39b AC |
9051 | 2003-10-21 Arnaud Charlet <charlet@act-europe.fr> |
9052 | ||
9053 | * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads, | |
9054 | 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads, | |
9055 | 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads, | |
9056 | 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb, | |
9057 | 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads, | |
9058 | 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads, | |
9059 | 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb, | |
9060 | 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads, | |
9061 | 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads, | |
9062 | 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb, | |
9063 | 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads, | |
9064 | 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb, | |
9065 | 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb, | |
9066 | 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb, | |
9067 | 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb, | |
9068 | a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb, | |
9069 | a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb, | |
9070 | a-stwisu.ads, bld.adb, bld.ads, bld-io.adb, | |
9071 | bld-io.ads, clean.adb, clean.ads, ctrl_c.c, | |
9072 | erroutc.adb, erroutc.ads, errutil.adb, errutil.ads, | |
9073 | err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads, | |
9074 | g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb, | |
9075 | g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads, | |
9076 | g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb, | |
9077 | g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb, | |
9078 | g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb, | |
9079 | g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads, | |
9080 | gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb, | |
9081 | g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads, | |
9082 | g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb, | |
9083 | i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl, | |
9084 | prep.adb, prep.ads, prepcomp.adb, prepcomp.ads, | |
9085 | prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb, | |
9086 | s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb, | |
9087 | s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb, | |
9088 | s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb, | |
9089 | s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb, | |
9090 | s-caun64.ads, scng.adb, scng.ads, s-exnint.adb, | |
9091 | s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb, | |
9092 | s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb, | |
9093 | s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads, | |
9094 | socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb, | |
9095 | s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads, | |
9096 | s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads, | |
9097 | s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb, | |
9098 | styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb, | |
9099 | s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads, | |
9100 | tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads, | |
9101 | vms_conv.ads, vms_conv.adb, vms_data.ads, | |
9102 | vxaddr2line.adb: Files added. Merge with ACT tree. | |
9103 | ||
9104 | * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads, | |
9105 | 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb, | |
9106 | 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads, | |
9107 | 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c, | |
9108 | g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb, | |
9109 | s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads, | |
9110 | s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads, | |
9111 | s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads, | |
9112 | s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads, | |
9113 | s-expssi.ads, style.adb: Files removed. Merge with ACT tree. | |
9114 | ||
9115 | * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads, | |
9116 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads, | |
9117 | 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, | |
9118 | 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads, | |
9119 | 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, | |
9120 | 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads, | |
9121 | 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, | |
9122 | 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads, | |
9123 | 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads, | |
9124 | 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads, | |
9125 | 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, | |
9126 | 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, | |
9127 | 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb, | |
9128 | 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads, | |
9129 | 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads, | |
9130 | 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads, | |
9131 | 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads, | |
9132 | 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb, | |
9133 | 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads, | |
9134 | 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads, | |
9135 | 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads, | |
9136 | 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb, | |
9137 | 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb, | |
9138 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads, | |
9139 | 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb, | |
9140 | 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads, | |
9141 | 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb, | |
9142 | 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads, | |
9143 | 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, | |
9144 | 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb, | |
9145 | 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb, | |
9146 | 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, | |
9147 | 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb, | |
9148 | 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, | |
9149 | 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, | |
9150 | 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb, | |
9151 | 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb, | |
9152 | a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads, | |
9153 | a-comlin.adb, adaint.c, adaint.h, ada-tree.def, | |
9154 | a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb, | |
9155 | a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads, | |
9156 | a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads, | |
9157 | ali.adb, ali.ads, ali-util.adb, ali-util.ads, | |
9158 | a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb, | |
9159 | a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb, | |
9160 | a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb, | |
9161 | a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb, | |
9162 | a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads, | |
9163 | a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb, | |
9164 | a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, | |
9165 | a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb, | |
9166 | a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb, | |
9167 | a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb, | |
9168 | a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads, | |
9169 | a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads, | |
9170 | atree.adb, atree.ads, a-witeio.adb, a-witeio.ads, | |
9171 | a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb, | |
9172 | a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb, | |
9173 | bcheck.adb, binde.adb, bindgen.adb, bindusg.adb, | |
9174 | checks.adb, checks.ads, cio.c, comperr.adb, | |
9175 | comperr.ads, csets.adb, cstand.adb, cstreams.c, | |
9176 | debug_a.adb, debug_a.ads, debug.adb, decl.c, | |
9177 | einfo.adb, einfo.ads, errout.adb, errout.ads, | |
9178 | eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb, | |
9179 | expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb, | |
9180 | exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, | |
9181 | exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads, | |
9182 | exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb, | |
9183 | exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c, | |
9184 | exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb, | |
9185 | exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb, | |
9186 | exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb, | |
9187 | fe.h, fmap.adb, fmap.ads, fname.adb, | |
9188 | fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb, | |
9189 | freeze.ads, frontend.adb, g-awk.adb, g-awk.ads, | |
9190 | g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads, | |
9191 | g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads, | |
9192 | g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads, | |
9193 | g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads, | |
9194 | g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads, | |
9195 | g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads, | |
9196 | g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads, | |
9197 | g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb, | |
9198 | g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb, | |
9199 | g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h, | |
9200 | g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads, | |
9201 | g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads, | |
9202 | gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb, | |
9203 | gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb, | |
9204 | gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb, | |
9205 | gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb, | |
9206 | gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb, | |
9207 | g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb, | |
9208 | g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads, | |
9209 | g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads, | |
9210 | g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads, | |
9211 | g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads, | |
9212 | g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb, | |
9213 | g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb, | |
9214 | g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads, | |
9215 | i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads, | |
9216 | i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c, | |
9217 | inline.adb, interfac.ads, i-pacdec.ads, itypes.adb, | |
9218 | itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h, | |
9219 | layout.adb, lib.adb, lib.ads, lib-list.adb, | |
9220 | lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb, | |
9221 | lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads, | |
9222 | link.c, live.adb, make.adb, make.ads, | |
9223 | Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb, | |
9224 | mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, | |
9225 | mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb, | |
9226 | misc.c, mkdir.c, mlib.adb, mlib.ads, | |
9227 | mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, | |
9228 | mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, | |
9229 | namet.adb, namet.ads, namet.h, nlists.ads, | |
9230 | nlists.h, nmake.adt, opt.adb, opt.ads, | |
9231 | osint.adb, osint.ads, osint-b.adb, osint-c.adb, | |
9232 | par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb, | |
9233 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, | |
9234 | par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb, | |
9235 | par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb, | |
9236 | prj.adb, prj.ads, prj-attr.adb, prj-attr.ads, | |
9237 | prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads, | |
9238 | prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads, | |
9239 | prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads, | |
9240 | prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads, | |
9241 | prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads, | |
9242 | prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads, | |
9243 | prj-util.adb, prj-util.ads, raise.c, raise.h, | |
9244 | repinfo.adb, repinfo.h, restrict.adb, restrict.ads, | |
9245 | rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads, | |
9246 | s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb, | |
9247 | s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb, | |
9248 | scans.ads, scn.adb, scn.ads, s-crc32.adb, | |
9249 | s-crc32.ads, s-direio.adb, sem.adb, sem.ads, | |
9250 | sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb, | |
9251 | sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb, | |
9252 | sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb, | |
9253 | sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, | |
9254 | sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads, | |
9255 | sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads, | |
9256 | sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb, | |
9257 | sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb, | |
9258 | sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads, | |
9259 | sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads, | |
9260 | sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb, | |
9261 | s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads, | |
9262 | s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads, | |
9263 | s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads, | |
9264 | s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb, | |
9265 | s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb, | |
9266 | s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads, | |
9267 | s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb, | |
9268 | sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb, | |
9269 | sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads, | |
9270 | sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads, | |
9271 | s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads, | |
9272 | s-memory.adb, s-memory.ads, snames.adb, snames.ads, | |
9273 | snames.h, s-osprim.ads, s-parame.ads, s-parint.ads, | |
9274 | s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb, | |
9275 | s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads, | |
9276 | s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads, | |
9277 | s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads, | |
9278 | s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads, | |
9279 | s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads, | |
9280 | s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads, | |
9281 | s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads, | |
9282 | s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb, | |
9283 | s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb, | |
9284 | s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb, | |
9285 | s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads, | |
9286 | s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads, | |
9287 | s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads, | |
9288 | s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, | |
9289 | s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads, | |
9290 | stringt.adb, stringt.ads, stringt.h, style.ads, | |
9291 | stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads, | |
9292 | s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb, | |
9293 | s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb, | |
9294 | switch.ads, switch-b.adb, switch-c.adb, switch-m.adb, | |
9295 | s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads, | |
9296 | table.adb, table.ads, targparm.adb, targparm.ads, | |
9297 | targtyps.c, tbuild.adb, tbuild.ads, tracebak.c, | |
9298 | trans.c, tree_io.adb, treepr.adb, treeprs.adt, | |
9299 | ttypes.ads, types.ads, types.h, uintp.adb, | |
9300 | uintp.ads, uintp.h, uname.adb, urealp.adb, | |
9301 | urealp.ads, urealp.h, usage.adb, utils2.c, | |
9302 | utils.c, validsw.adb, validsw.ads, widechar.adb, | |
9303 | xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads, | |
9304 | xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb, | |
9305 | einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb, | |
9306 | gnatvsn.ads: Merge with ACT tree. | |
9307 | ||
9308 | * gnatvsn.adb: Rewritten in a simpler and more efficient way. | |
9309 | ||
97ae108d MM |
9310 | 2003-10-20 Mark Mitchell <mark@codesourcery.com> |
9311 | ||
de696511 MM |
9312 | * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir. |
9313 | (gnat_ug_vmx.info): Likewise. | |
9314 | (gnat_ug_vxw.info): Likewise. | |
9315 | (gnat_ug_wnt.info): Likewise. | |
9316 | (gnat_rm.info): Likewise. | |
9317 | (gnat-style.info): Likewise. | |
9318 | ||
97ae108d MM |
9319 | * Make-lang.in (ada.install-info): Remove target. |
9320 | (info): New target. | |
9321 | (install-info): Likewise. | |
9322 | (gnat_ug_unx.info): Simplify rule. | |
9323 | (gnat_ug_vmx.info): Likewise. | |
9324 | (gnat_ug_vxw.info): Likewise. | |
9325 | (gnat_ug_wnt.info): Likewise. | |
9326 | (gnat_rm.info): Likewise. | |
9327 | (gnat-style.info): Likewise. | |
9328 | ||
43aba518 NN |
9329 | 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org> |
9330 | ||
9331 | * Make-lang.in: Replace uses of $(target_alias) with | |
9332 | $(target_noncanonical). | |
9333 | * ada/Makefile.in: Remove unused mention of $(target_alias). | |
9334 | ||
62b81e45 MM |
9335 | 2003-10-06 Mark Mitchell <mark@codesourcery.com> |
9336 | ||
9337 | * Make-lang.in (ada.info): Replace with ... | |
9338 | (info): ... this. | |
9339 | (ada.dvi): Replace with ... | |
9340 | (dvi): ... this. | |
9341 | ||
783be936 ZW |
9342 | 2003-09-29 Zack Weinberg <zack@codesourcery.com> |
9343 | ||
9344 | * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to | |
9345 | initialize dconstp5 and dconstmp5. | |
9346 | ||
177560b2 RH |
9347 | 2003-09-28 Richard Henderson <rth@redhat.com> |
9348 | ||
9349 | * trans.c (tree_transform): Update call to expand_asm_operands. | |
9350 | ||
f31686a3 RH |
9351 | 2003-09-21 Richard Henderson <rth@redhat.com> |
9352 | ||
9353 | * trans.c, utils.c: Revert. | |
9354 | ||
7e2af53a RH |
9355 | 2003-09-21 Richard Henderson <rth@redhat.com> |
9356 | ||
9357 | * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and | |
9358 | change to const. | |
9359 | ||
5f1e32fa MM |
9360 | 2003-09-04 Michael Matz <matz@suse.de> |
9361 | ||
9362 | * misc.c: Include "target.h". | |
9363 | * Make-lang.in (misc.o): Add dependency on target.h. | |
9364 | ||
61f71b34 DD |
9365 | 2003-09-03 DJ Delorie <dj@redhat.com> |
9366 | ||
9367 | * misc.c (default_pass_by_ref): Convert to calls.return_in_memory | |
9368 | hook. | |
9369 | ||
2ed26f6b ZW |
9370 | 2003-08-30 Zack Weinberg <zack@codesourcery.com> |
9371 | ||
9372 | * Makefile.in: Update substitutions to match changes to | |
9373 | configure. Use include directives instead of @-insertions | |
9374 | to read in host and target fragments. Add a rule to | |
9375 | regenerate ada/Makefile. | |
9376 | ||
b2e608ca NB |
9377 | 2003-07-18 Neil Booth <neil@daikokuya.co.uk> |
9378 | ||
9379 | * lang-options.h: Remove. | |
9380 | * lang.opt: Add help text. | |
9381 | ||
0cea056b NS |
9382 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
9383 | ||
9384 | * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note | |
9385 | calls. | |
9386 | ||
cb66e385 NB |
9387 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
9388 | ||
9389 | * misc.c (gnat_handle_option): Don't handle filenames. | |
9390 | ||
8c90b13a L |
9391 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
9392 | ||
9393 | * Make-lang.in: Replace PWD with PWD_COMMAND. | |
9394 | * Makefile.adalib: Likewise. | |
9395 | * Makefile.in: Likewise. | |
9396 | ||
9c286213 MK |
9397 | 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu> |
9398 | ||
9399 | * misc.c (gnat_argv): Revert last change. | |
9400 | (gnat_handle_option, gnat_init_options): Copy arguments. | |
9401 | ||
b9add449 NB |
9402 | 2003-07-03 Neil Booth <neil@daikokuya.co.uk> |
9403 | ||
9c286213 | 9404 | * misc.c (gnat_argv): Make const. |
b9add449 | 9405 | |
836d77a9 NB |
9406 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
9407 | ||
9408 | * misc.c (save_argc, save_argv): Keep non-static! | |
9409 | ||
b86f6cd9 NB |
9410 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
9411 | ||
9412 | * misc.c (save_argc, save_argv): Make static. | |
9413 | (gnat_init_options): New prototype. | |
9414 | (gnat_init_options): Update. | |
9415 | ||
6344b1f1 MK |
9416 | 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu> |
9417 | ||
9418 | * gnat_ug.texi: Remove unlikely characters from @vars. | |
9419 | * gnat_ug_vms.texi: Regenerate. | |
9420 | ||
2e040219 NS |
9421 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
9422 | ||
9423 | * misc.c (record_code_position): Adjust emit_note call. | |
9424 | ||
9eee5e72 NB |
9425 | 2003-06-26 Neil Booth <neil@daikokuya.co.uk> |
9426 | ||
9427 | * misc.c (gnat_handle_option): Don't check for missing arguments. | |
9428 | ||
1f9cc6db NS |
9429 | 2003-06-20 Nathan Sidwell <nathan@codesourcery.com> |
9430 | ||
9431 | * utils.c (end_subprog_body): Adjust expand_function_end call. | |
9432 | ||
23d6baa3 MK |
9433 | 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu> |
9434 | ||
9435 | * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test | |
9436 | Bind_Main_Program. | |
9437 | ||
be43ab4e NB |
9438 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
9439 | ||
9440 | * lang.opt: Declare Ada. | |
9441 | * misc.c (gnat_init_options): Update. | |
9442 | ||
ee6b0296 NS |
9443 | 2003-06-14 Nathan Sidwell <nathan@codesourcery.com> |
9444 | ||
9445 | * utils.c (begin_subprog_body): Adjust init_function_start call. | |
9446 | ||
d7b42618 NB |
9447 | 2003-06-14 Neil Booth <neil@daikokuya.co.uk> |
9448 | ||
9449 | * Make-lang.in: Update to use options.c and options.h. | |
9450 | * misc.c: Include options.h not aoptions.h. | |
9451 | (gnat_handle_option): Abort on unrecognized switch. | |
9452 | (gnat_init_options): Request Ada switches. | |
9453 | ||
57eb6503 NB |
9454 | 2003-06-14 Neil Booth <neil@daikokuya.co.uk> |
9455 | ||
9456 | * lang.opt: Add -Wall. | |
9457 | * misc.c (gnat_handle_option): Handle it. | |
9458 | ||
70fd6569 NB |
9459 | 2003-06-12 Neil Booth <neil@daikokuya.co.uk> |
9460 | ||
9461 | * misc.c (gnat_handle_option): Fix warnings. | |
9462 | ||
8cdea5a1 MK |
9463 | 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu> |
9464 | ||
9465 | * Make-lang.in (gnatbind): Remove $(LIBIBERTY). | |
9466 | ||
3c900cb5 NB |
9467 | 2003-06-11 Neil Booth <neil@daikokuya.co.uk> |
9468 | ||
9469 | * Make-lang.in: Update to handle command-line options. | |
9470 | * lang.opt: New file. | |
9471 | * misc.c: Include aoptions.h. | |
9472 | (cl_options_count, cl_options): Remove. | |
9473 | (gnat_handle_option): New. | |
9474 | (gnat_decode_option): Remove. | |
9475 | (LANG_HOOKS_DECODE_OPTION): Remove. | |
9476 | (LANG_HOOKS_HANDLE_OPTION): Override. | |
9477 | ||
e8face4c NN |
9478 | 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org> |
9479 | ||
9480 | * init.c, misc.c, trans.c, utils.c: Remove dead code. | |
9481 | ||
4665e56c NN |
9482 | 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org> |
9483 | ||
9484 | * Makefile.in: Replace "host_canonical" with "host" for autoconf | |
9485 | substitution. | |
9486 | ||
a165c302 NB |
9487 | 2003-06-08 Neil Booth <neil@daikokuya.co.uk> |
9488 | ||
9489 | * Make-lang.in: Update. | |
9490 | * misc.c: Include opts.h. Define cl_options_count and cl_options. | |
9491 | ||
2772ef3e NB |
9492 | 2003-06-07 Neil Booth <neil@daikokuya.co.uk> |
9493 | ||
9494 | * misc.c (gnat_init_options): Update. | |
9495 | ||
d8277a55 MK |
9496 | 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu> |
9497 | ||
9498 | * Make-lang.in (ada/b_gnatb.o-warn): Remove. | |
9499 | * bindgen.adb (Gen_Main_C): Mark ensure_reference with | |
9500 | __attribute__ ((__unused__)). | |
9501 | ||
602a82f3 | 9502 | 2003-06-05 Jan Hubicka <jh@suse.cz> |
8f231b5d JH |
9503 | |
9504 | * Make-lang.in: Add support for stageprofile and stagefeedback | |
9505 | ||
3aa07c6d MK |
9506 | 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu> |
9507 | ||
9508 | * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C) | |
9509 | (Gen_Main_C, Gen_Output_File_C): Generate ISO C. | |
9510 | ||
f1093866 MK |
9511 | 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu> |
9512 | ||
9513 | * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr): | |
9514 | Remove non-VMS directive. | |
9515 | (Switches for gnatlbr, Optimization Levels): Remove non-VMS | |
9516 | alternatives. | |
9517 | (Examples of gnatls Usage): Remove VMS alternative. | |
dee2df72 OH |
9518 | |
9519 | 2003-06-04 Olivier Hainque <hainque@act-europe.fr> | |
9520 | ||
2ed26f6b ZW |
9521 | PR ada/9953: |
9522 | * 5hsystem.ads: Remove pragma Linker_Option for pthreads library, | |
9523 | and turn ZCX_By_Default back to False since the underlying support | |
9524 | is not quite there yet. | |
dee2df72 | 9525 | |
80eaf415 AJ |
9526 | 2003-06-01 Andreas Jaeger <aj@suse.de> |
9527 | ||
9528 | * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE | |
9529 | and ROUND_TYPE_SIZE_UNIT. | |
9530 | ||
36f9020c GB |
9531 | 2003-05-22 Geert Bosch <bosch@gnat.com> |
9532 | ||
9533 | * gnat_rm.texi : Remove reference to Ada Core Technologies. | |
9534 | ||
e7b5f0c9 NS |
9535 | 2003-05-03 Nathan Sidwell <nathan@codesourcery.com> |
9536 | ||
9537 | * trans.c (tree_transform): Use location_t and input_location | |
9538 | directly. | |
9539 | (build_unit_elab): Likewise. | |
9540 | * utils.c (create_label_decl): Likewise. | |
9541 | ||
d479d37f NS |
9542 | 2003-05-01 Nathan Sidwell <nathan@codesourcery.com> |
9543 | ||
561712fe NS |
9544 | * trans.c (tree_transform, build_unit_elab, |
9545 | set_lineno): Rename lineno to input_line. | |
d479d37f NS |
9546 | * utils.c (pushdecl, create_label_decl, begin_subprog_body, |
9547 | end_subprog_body): Likewise. | |
9548 | * utils2.c (build_call_raise): Likewise. | |
9549 | ||
4f9335cd LG |
9550 | 2003-05-01 Laurent Guerby <guerby@acm.org> |
9551 | ||
2ed26f6b ZW |
9552 | PR ada/10546 |
9553 | * 5iosinte.ads: Increase pthread_cond_t size to match recent | |
9554 | LinuxThread and NPTL version, merge from ACT. | |
80eaf415 | 9555 | |
0864034e ZW |
9556 | 2003-04-28 Zack Weinberg <zack@codesourcery.com> |
9557 | ||
9558 | * utils.c (convert): No need to clear TREE_CST_RTL. | |
9559 | ||
bcea76b6 GB |
9560 | 2003-04-23 Geert Bosch <bosch@gnat.com> |
9561 | ||
9562 | * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb, | |
9563 | 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads, | |
9564 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads, | |
9565 | 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, | |
9566 | 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads, | |
9567 | 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb, | |
9568 | 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads, | |
9569 | 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads, | |
9570 | 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb, | |
9571 | 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, | |
9572 | 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, | |
9573 | 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb, | |
9574 | 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads, | |
9575 | 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads, | |
9576 | 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb, | |
9577 | 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads, | |
9578 | 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb, | |
9579 | 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, | |
9580 | 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb, | |
9581 | 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads, | |
9582 | 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb, | |
9583 | 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads, | |
9584 | 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb, | |
9585 | 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, | |
9586 | 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, | |
9587 | 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb, | |
9588 | 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads, | |
9589 | 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads, | |
9590 | 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb, | |
9591 | 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads, | |
9592 | 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, | |
9593 | 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb, | |
9594 | 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb, | |
9595 | 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads, | |
9596 | 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, | |
9597 | 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb, | |
9598 | 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb, | |
9599 | 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads, | |
9600 | 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, | |
9601 | 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb, | |
9602 | 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb, | |
9603 | 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads, | |
9604 | 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads, | |
9605 | 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, | |
9606 | 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb, | |
9607 | 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads, | |
9608 | 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads, | |
9609 | 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb, | |
9610 | a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb, | |
9611 | a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads, | |
9612 | a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads, | |
9613 | a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads, | |
9614 | a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads, | |
9615 | a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads, | |
9616 | a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads, | |
9617 | a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb, | |
9618 | a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads, | |
9619 | a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads, | |
9620 | a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads, | |
9621 | a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads, | |
9622 | a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads, | |
9623 | a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads, | |
9624 | a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads, | |
9625 | a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads, | |
9626 | a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads, | |
9627 | a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads, | |
9628 | a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads, | |
9629 | a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb, | |
9630 | a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads, | |
9631 | a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads, | |
9632 | a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads, | |
9633 | a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads, | |
9634 | a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb, | |
9635 | a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads, | |
9636 | a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads, | |
9637 | a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads, | |
9638 | a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads, | |
9639 | a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads, | |
9640 | a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads, | |
9641 | a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb, | |
9642 | a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb, | |
9643 | a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb, | |
9644 | a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb, | |
9645 | a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb, | |
9646 | a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb, | |
9647 | a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb, | |
9648 | a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb, | |
9649 | a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb, | |
9650 | a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb, | |
9651 | a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb, | |
9652 | a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads, | |
9653 | a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb, | |
9654 | a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb, | |
9655 | a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb, | |
9656 | a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb, | |
9657 | a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb, | |
9658 | a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb, | |
9659 | a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb, | |
9660 | a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb, | |
9661 | a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb, | |
9662 | a-wttest.ads, ada-tree.h, ada.ads, ada.h, | |
9663 | adadecode.c, adadecode.h, ali-util.adb, ali-util.ads, | |
9664 | ali.adb, ali.ads, alloc.ads, argv.c, | |
9665 | atree.adb, atree.ads, atree.h, aux-io.c, | |
9666 | back_end.adb, back_end.ads, bcheck.adb, bcheck.ads, | |
9667 | binde.adb, binde.ads, binderr.adb, binderr.ads, | |
9668 | bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads, | |
9669 | butil.adb, butil.ads, cal.c, calendar.ads, | |
9670 | casing.adb, casing.ads, ceinfo.adb, checks.adb, | |
9671 | checks.ads, cio.c, comperr.adb, comperr.ads, | |
9672 | config-lang.in, csets.adb, csets.ads, csinfo.adb, | |
9673 | cstand.adb, cstand.ads, cuintp.c, debug.adb, | |
9674 | debug.ads, debug_a.adb, debug_a.ads, dec-io.adb, | |
9675 | dec-io.ads, dec.ads, deftarg.c, directio.ads, | |
9676 | einfo.adb, einfo.ads, elists.adb, elists.ads, | |
9677 | elists.h, errno.c, errout.adb, errout.ads, | |
9678 | eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb, | |
9679 | exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads, | |
9680 | exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads, | |
9681 | exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads, | |
9682 | exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads, | |
9683 | exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads, | |
9684 | exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads, | |
9685 | exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads, | |
9686 | exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads, | |
9687 | exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads, | |
9688 | exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads, | |
9689 | exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads, | |
9690 | exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads, | |
9691 | exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads, | |
9692 | exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads, | |
9693 | fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads, | |
9694 | fname-uf.adb, fname-uf.ads, fname.adb, fname.ads, | |
9695 | freeze.adb, freeze.ads, frontend.adb, frontend.ads, | |
9696 | g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads, | |
9697 | g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads, | |
9698 | g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads, | |
9699 | g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads, | |
9700 | g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads, | |
9701 | g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb, | |
9702 | g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb, | |
9703 | g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb, | |
9704 | g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb, | |
9705 | g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads, | |
9706 | g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads, | |
9707 | g-htable.adb, g-htable.ads, g-io.adb, g-io.ads, | |
9708 | g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb, | |
9709 | g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb, | |
9710 | g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads, | |
9711 | g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb, | |
9712 | g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads, | |
9713 | g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb, | |
9714 | g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, | |
9715 | g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads, | |
9716 | g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads, | |
9717 | g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads, | |
9718 | get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads, | |
9719 | gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads, | |
9720 | gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads, | |
9721 | gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads, | |
9722 | gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb, | |
9723 | gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb, | |
9724 | gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads, | |
9725 | gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb, | |
9726 | hlo.adb, hlo.ads, hostparm.ads, i-c.adb, | |
9727 | i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads, | |
9728 | i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads, | |
9729 | i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads, | |
9730 | i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb, | |
9731 | i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb, | |
9732 | i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads, | |
9733 | inline.adb, inline.ads, interfac.ads, ioexcept.ads, | |
9734 | itypes.adb, itypes.ads, krunch.adb, krunch.ads, | |
9735 | layout.adb, layout.ads, lib-list.adb, lib-load.adb, | |
9736 | lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads, | |
9737 | lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads, | |
9738 | lib.adb, lib.ads, live.adb, live.ads, | |
9739 | machcode.ads, make.adb, make.ads, makeusg.adb, | |
9740 | makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads, | |
9741 | mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads, | |
9742 | memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb, | |
9743 | mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb, | |
9744 | mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb, | |
9745 | mlib.ads, namet.adb, namet.ads, nlists.adb, | |
9746 | nlists.ads, opt.adb, opt.ads, osint-b.adb, | |
9747 | osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb, | |
9748 | osint-l.ads, osint-m.adb, osint-m.ads, osint.adb, | |
9749 | osint.ads, output.adb, output.ads, par-ch10.adb, | |
9750 | par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, | |
9751 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, | |
9752 | par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb, | |
9753 | par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb, | |
9754 | par-tchk.adb, par-util.adb, par.adb, par.ads, | |
9755 | prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads, | |
9756 | prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads, | |
9757 | prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads, | |
9758 | prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, | |
9759 | prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads, | |
9760 | prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads, | |
9761 | prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads, | |
9762 | prj.adb, prj.ads, repinfo.adb, repinfo.ads, | |
9763 | restrict.adb, restrict.ads, rident.ads, rtsfind.adb, | |
9764 | rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb, | |
9765 | s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb, | |
9766 | s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb, | |
9767 | s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads, | |
9768 | s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads, | |
9769 | s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb, | |
9770 | s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads, | |
9771 | s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads, | |
9772 | s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads, | |
9773 | s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads, | |
9774 | s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads, | |
9775 | s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads, | |
9776 | s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb, | |
9777 | s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads, | |
9778 | s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads, | |
9779 | s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads, | |
9780 | s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads, | |
9781 | s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads, | |
9782 | s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads, | |
9783 | s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads, | |
9784 | s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads, | |
9785 | s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads, | |
9786 | s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads, | |
9787 | s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads, | |
9788 | s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads, | |
9789 | s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads, | |
9790 | s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb, | |
9791 | s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb, | |
9792 | s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads, | |
9793 | s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads, | |
9794 | s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads, | |
9795 | s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads, | |
9796 | s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads, | |
9797 | s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads, | |
9798 | s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads, | |
9799 | s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads, | |
9800 | s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads, | |
9801 | s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads, | |
9802 | s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads, | |
9803 | s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads, | |
9804 | s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads, | |
9805 | s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads, | |
9806 | s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads, | |
9807 | s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads, | |
9808 | s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads, | |
9809 | s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads, | |
9810 | s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads, | |
9811 | s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads, | |
9812 | s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads, | |
9813 | s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads, | |
9814 | s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads, | |
9815 | s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads, | |
9816 | s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads, | |
9817 | s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads, | |
9818 | s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads, | |
9819 | s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads, | |
9820 | s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads, | |
9821 | s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads, | |
9822 | s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads, | |
9823 | s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb, | |
9824 | s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads, | |
9825 | s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads, | |
9826 | s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads, | |
9827 | s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads, | |
9828 | s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads, | |
9829 | s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads, | |
9830 | s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb, | |
9831 | s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb, | |
9832 | s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb, | |
9833 | s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads, | |
9834 | s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads, | |
9835 | s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads, | |
9836 | s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads, | |
9837 | s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb, | |
9838 | s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb, | |
9839 | s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb, | |
9840 | s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb, | |
9841 | s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb, | |
9842 | s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads, | |
9843 | s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads, | |
9844 | s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads, | |
9845 | s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads, | |
9846 | s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads, | |
9847 | s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads, | |
9848 | s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads, | |
9849 | s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads, | |
9850 | s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads, | |
9851 | s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb, | |
9852 | s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb, | |
9853 | s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb, | |
9854 | s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb, | |
9855 | s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb, | |
9856 | s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb, | |
9857 | s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb, | |
9858 | scn-slit.adb, scn.adb, scn.ads, sdefault.ads, | |
9859 | sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads, | |
9860 | sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads, | |
9861 | sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads, | |
9862 | sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads, | |
9863 | sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads, | |
9864 | sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads, | |
9865 | sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads, | |
9866 | sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads, | |
9867 | sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads, | |
9868 | sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads, | |
9869 | sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads, | |
9870 | sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads, | |
9871 | sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads, | |
9872 | sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads, | |
9873 | sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads, | |
9874 | sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads, | |
9875 | sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb, | |
9876 | sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb, | |
9877 | sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb, | |
9878 | sinput-p.ads, sinput.adb, sinput.ads, snames.adb, | |
9879 | snames.ads, sprint.adb, sprint.ads, stand.adb, | |
9880 | stand.ads, stringt.adb, stringt.ads, style.adb, | |
9881 | style.ads, stylesw.adb, stylesw.ads, switch-b.adb, | |
9882 | switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb, | |
9883 | switch-m.ads, switch.adb, switch.ads, system.ads, | |
9884 | table.adb, table.ads, targparm.adb, targparm.ads, | |
9885 | tbuild.adb, tbuild.ads, text_io.ads, trans.c, | |
9886 | tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads, | |
9887 | tree_io.adb, tree_io.ads, treepr.adb, treepr.ads, | |
9888 | ttypef.ads, ttypes.ads, types.adb, types.ads, | |
9889 | uintp.adb, uintp.ads, uname.adb, uname.ads, | |
9890 | unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads, | |
9891 | usage.adb, usage.ads, validsw.adb, validsw.ads, | |
9892 | widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb, | |
9893 | xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads, | |
9894 | xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header, | |
9895 | formatting and other trivial changes from ACT. | |
9896 | ||
dcf92453 ZW |
9897 | 2003-04-12 Zack Weinberg <zack@codesourcery.com> |
9898 | ||
9899 | * gigi.h, utils2.c (build_constructor): | |
9900 | Rename gnat_build_constructor. Use build_constructor. | |
9901 | * decl.c (gnat_to_gnu_entity) | |
9902 | * trans.c (tree_transform, pos_to_constructor, extract_values) | |
9903 | * ada/utils.c (build_template, convert_to_fat_pointer, convert) | |
9904 | (unchecked_convert) | |
9905 | * ada/utils2.c (build_binary_op, build_call_raise, build_allocator) | |
9906 | (fill_vms_descriptor): | |
9907 | Update to match. | |
9908 | ||
d78e771d ZW |
9909 | 2003-04-06 Zack Weinberg <zack@codesourcery.com> |
9910 | ||
9911 | * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero. | |
9912 | * misc.c (gnat_tree_size): New function. | |
9913 | (LANG_HOOKS_TREE_SIZE): Override. | |
9914 | ||
78d55cc8 JM |
9915 | 2003-04-03 Jason Merrill <jason@redhat.com> |
9916 | ||
9917 | * misc.c (gnat_adjust_rli): #if 0. | |
9918 | ||
b174e2d4 GB |
9919 | 2003-03-31 Geert Bosch <bosch@gnat.com> |
9920 | ||
9921 | PR ada/10020 | |
9922 | * link.c : Fix misspelled "const" keyword | |
9923 | ||
f29a2bd1 MM |
9924 | 2003-03-23 Mark Mitchell <mark@codesourcery.com> |
9925 | ||
9926 | PR c++/7086 | |
9927 | * utils2.c: Adjust calls to put_var_into_stack. | |
9928 | ||
08e247b1 NN |
9929 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
9930 | ||
9931 | * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC. | |
9932 | ||
4bfec483 NB |
9933 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
9934 | ||
9935 | * misc.c (gnat_init): Update for new prototype. | |
9936 | ||
3d713bb8 GB |
9937 | 2003-03-05 Olivier Hainque <hainque@gnat.com> |
9938 | ||
9939 | ada/9961 | |
78d55cc8 JM |
9940 | * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid |
9941 | warning, and fix return type for the IN_RTS && !SJLJ case. | |
3d713bb8 | 9942 | |
8b89fcdf TT |
9943 | 2003-03-04 Tom Tromey <tromey@redhat.com> |
9944 | ||
9945 | * Make-lang.in (ada.tags): New target. | |
9946 | ||
3d713bb8 | 9947 | 2003-03-04 Olivier Hainque <hainque@act-europe.fr> |
23cae84f OH |
9948 | |
9949 | ada/9911 | |
9950 | * a-except.adb (Unwind_RaiseException): Import a GNAT specific | |
9951 | wrapper, which name remains constant whatever underlying GCC | |
9952 | scheme. | |
9953 | ||
9954 | * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing | |
9955 | the stable interface needed for a-except. | |
9956 | ||
f4ae98be AJ |
9957 | 2003-03-02 Andreas Jaeger <aj@suse.de> |
9958 | ||
9959 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
9960 | gnat_ug_wnt.texi: Regenerate. | |
9961 | ||
5348742b LG |
9962 | 2003-03-02 Laurent Guerby <guerby@acm.org> |
9963 | ||
f4ae98be | 9964 | * Makefile.in (install-gnatlib): Match previous change there |
5348742b | 9965 | so it works. |
f4ae98be | 9966 | |
8c108db2 AS |
9967 | 2003-02-28 Andreas Schwab <schwab@suse.de> |
9968 | ||
9969 | * Make-lang.in (install-gnatlib): Change to ada directory before | |
9970 | running make instead of using ada/Makefile directly. | |
9971 | ||
601d71bc BE |
9972 | 2003-02-18 Ben Elliston <bje@redhat.com> |
9973 | ||
9974 | Part of fix for PR ada/9406 | |
9975 | * gnat_ug.texi (Binder output file): Grammar fix. | |
9976 | ||
bf7c02dd BE |
9977 | 2003-02-18 Ben Elliston <bje@redhat.com> |
9978 | ||
9979 | PR other/7350 | |
9980 | * 5qtaprop.adb (Sleep): Fix typo in comment. | |
9981 | ||
b3a8389d JM |
9982 | 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> |
9983 | ||
9984 | * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2. | |
9985 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
9986 | gnat_ug_wnt.texi: Regenerate. | |
9987 | ||
5da14cb5 CC |
9988 | 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
9989 | ||
9990 | * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) | |
9991 | be created if necessary. | |
9992 | (ada.install-common): Let $(DESTDIR)$(bindir) be created | |
9993 | if necessary. Remove erroneous and redundant gnatchop | |
9994 | installation commands. Test for gnatdll before attempting | |
9995 | to install it. | |
9996 | (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr, | |
9997 | and gnatdll from all plausible locations. | |
9998 | ||
271bd540 RS |
9999 | 2003-02-01 Richard Sandiford <rsandifo@redhat.com> |
10000 | ||
10001 | * utils2.c (build_unary_op): Don't check flag_volatile. | |
10002 | * gnat_ug.texi: Remove -fvolatile from example. | |
10003 | * gnat_ug_vxw.texi: Likewise. | |
10004 | ||
c1cc6a51 LG |
10005 | 2003-01-29 Laurent Guerby <guerby@acm.org> |
10006 | ||
d78e771d ZW |
10007 | PR ada/8344 |
10008 | * final.c: rename to adafinal.c to avoid file name conflicts with gcc file. | |
10009 | * Makefile.in: match previous change. | |
10010 | * Make-lang.in: match previous change. | |
c1cc6a51 | 10011 | |
c4039eb0 JS |
10012 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
10013 | ||
10014 | * 5rosinte.ads: Add SIGXCPU. | |
10015 | * 5rtpopsp.adb: New file. | |
10016 | * Make-lang.in: Do not build gnatpsta and gnatpsys when cross. | |
10017 | * Makefile.in: Recognize more RTEMS targets and add the RTEMS | |
10018 | specific file 5rtpopsp.adb. | |
10019 | * adaint.h: Add include of <stdio.h> when target is RTEMS. This | |
10020 | is likely needed for all newlib targets. | |
10021 | * init.c: Add RTEMS specific version of __gnat_initialize(). | |
10022 | ||
00d29f7d RO |
10023 | 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10024 | ||
10025 | * adaint.c, adaint.h, gmem.c, init.c: Update copyright year. | |
10026 | ||
437026ef RO |
10027 | 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10028 | ||
10029 | * init.c (__gnat_error_handler): Make msg const. | |
10030 | ||
10031 | * gmem.c (convert_addresses): Move declaration ... | |
10032 | * adaint.h: ... here. | |
10033 | * adaint.c (convert_addresses): Adapt addrs type to match | |
10034 | prototype. | |
10035 | ||
10036 | * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format. | |
10037 | ||
e12825cd AS |
10038 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
10039 | ||
10040 | * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to | |
10041 | size_t to avoid warning. | |
10042 | ||
a8729406 ZW |
10043 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
10044 | ||
b09b91b9 | 10045 | * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c. |
a8729406 | 10046 | |
17211ab5 GK |
10047 | 2003-01-09 Geoffrey Keating <geoffk@apple.com> |
10048 | ||
10049 | * gnat_rm.texi: Remove RCS version number. | |
10050 | ||
10051 | * ada-tree.h (union lang_tree_node): Add chain_next option. | |
10052 | ||
1d27195c CC |
10053 | 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
10054 | ||
10055 | * Make-lang.in (ada.install-info, ada.install-common, | |
10056 | ada.uninstall): Prepend $(DESTDIR) to the destination | |
10057 | directory in all (un)installation commands. | |
10058 | * Makefile.in (install-gnatlib, install-rts): Ditto. | |
10059 | ||
bdefb2ab JM |
10060 | 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk> |
10061 | ||
10062 | * gnat_rm.texi, gnat_ug.texi: Use @copying. | |
10063 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
10064 | gnat_ug_wnt.texi: Regenerate. | |
10065 | ||
46d40353 JM |
10066 | 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk> |
10067 | ||
10068 | * gnat_rm.texi: Include gcc-common.texi. Use GCC version number | |
10069 | only. | |
10070 | * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info, | |
10071 | $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info, | |
10072 | $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info, | |
10073 | ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi, | |
10074 | ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on | |
10075 | $(srcdir)/doc/include/gcc-common.texi. | |
10076 | ||
d2f97d3e GB |
10077 | 2002-12-15 Geert Bosch <bosch@gnat.com> |
10078 | ||
10079 | * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting | |
10080 | ||
93a81b02 GB |
10081 | 2002-12-14 Geert Bosch <bosch@gnat.com> |
10082 | ||
4977bab6 ZW |
10083 | * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional |
10084 | case of a body created for a Renaming_As_Body, on which | |
10085 | conformance checks are not performed. Fixes PR ada/5690. | |
10086 | ||
10087 | 2002-11-30 Zack Weinberg <zack@codesourcery.com> | |
10088 | ||
10089 | * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c, | |
10090 | utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when | |
10091 | not already included. | |
10092 | * Make-lang.in: Update dependencies. | |
93a81b02 | 10093 | |
dfc15546 NN |
10094 | 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org> |
10095 | * adaint.c (__gnat_tmp_name): Better, but good enough for now, | |
4977bab6 | 10096 | solution to buffer overflow bug on GNU/Linux. |
dfc15546 | 10097 | |
8b54424d NN |
10098 | 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org> |
10099 | Closes PR ada/5856 and PR ada/6919 ! | |
10100 | * bindgen.adb: Remove all references to Public_Version. | |
10101 | * comperr.adb: Remove all references to Public_Version and | |
10102 | GNATPRO_Version; correct bug reporting instructions. | |
10103 | * comperr.ads: Change to match bug box. | |
10104 | * gnatvsn.ads: Remove all references to Public version and | |
10105 | GNATPRO version. | |
10106 | ||
cc41268d | 10107 | 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org> |
1a083c0e NN |
10108 | PR ada/6919 |
10109 | * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on | |
10110 | GNU/Linux. | |
10111 | ||
cc41268d NN |
10112 | PR ada/6558 |
10113 | * config-lang.in: Remove diff_excludes. | |
10114 | ||
1c7b0712 GS |
10115 | 2002-11-05 Graham Stott <graham.stott@btinternet.com> |
10116 | PR ada/8358 | |
10117 | * trans.c (gnu_pending_elaboration_lists): New GC root. | |
4977bab6 | 10118 | (build_unit_elab): Use.. |
1c7b0712 | 10119 | |
1c4048ca GB |
10120 | 2002-10-30 Geert Bosch <bosch@gnat.com> |
10121 | PR ada/6558 | |
10122 | * misc.c : Include optabs.h | |
10123 | ||
10124 | * Make-lang.in (misc.o): Add dependency on optabs.h | |
10125 | ||
f0d96f9c | 10126 | 2002-10-29 Geert Bosch <bosch@gnat.com> |
4977bab6 | 10127 | PR ada/6558 |
f0d96f9c GB |
10128 | * Make-lang.in (gnatbind): Depend on CONFIG_H |
10129 | ||
a7512dec | 10130 | 2002-10-29 Geert bosch <bosch@gnat.com> |
4977bab6 ZW |
10131 | PR ada/6558 |
10132 | * misc.c: Unrevert misc.c (1.13) | |
a7512dec | 10133 | |
c6362f4f NN |
10134 | 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org> |
10135 | ||
10136 | * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update | |
10137 | maintainership comments. | |
10138 | ||
10139 | 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> | |
91ed4b19 | 10140 | PR ada/5904 |
4977bab6 ZW |
10141 | * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb |
10142 | 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb | |
10143 | 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb | |
10144 | 7staprop.adb: Correct statements in comments about | |
91ed4b19 NN |
10145 | maintainership of GNAT. |
10146 | ||
1f02b6af | 10147 | PR ada/5904 |
4977bab6 ZW |
10148 | * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c |
10149 | gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads | |
10150 | osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb | |
10151 | osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads | |
10152 | s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb | |
10153 | s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb | |
10154 | sinput-d.ads switch-b.adb switch-b.ads switch-c.adb | |
1f02b6af NN |
10155 | switch-c.ads switch-m.adb switch-m.ads: Correct statements in |
10156 | comments about maintainership of GNAT. | |
10157 | ||
71ff80dc | 10158 | PR ada/6919 (forward port of patch for PR ada/5904) |
4977bab6 ZW |
10159 | * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads |
10160 | 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb | |
10161 | 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads | |
10162 | 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads | |
10163 | 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb | |
10164 | 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb | |
10165 | 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb | |
10166 | 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads | |
10167 | 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads | |
10168 | 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads | |
10169 | 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads | |
10170 | 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb | |
10171 | 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads | |
10172 | 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads | |
10173 | 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads | |
10174 | 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads | |
10175 | 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads | |
10176 | 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads | |
10177 | 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb | |
10178 | 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads | |
10179 | 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads | |
10180 | 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb | |
10181 | 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads | |
10182 | 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb | |
10183 | 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb | |
10184 | 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb | |
10185 | 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb | |
10186 | 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb | |
10187 | 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb | |
10188 | a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb | |
10189 | a-chahan.ads a-colien.adb a-colien.ads a-colire.adb | |
10190 | a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads | |
10191 | a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads | |
10192 | a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads | |
10193 | a-except.adb a-except.ads a-excpol.adb a-exctra.adb | |
10194 | a-exctra.ads a-filico.adb a-filico.ads a-finali.adb | |
10195 | a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads | |
10196 | a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb | |
10197 | a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads | |
10198 | a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb | |
10199 | a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb | |
10200 | a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb | |
10201 | a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads | |
10202 | a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads | |
10203 | a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads | |
10204 | a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads | |
10205 | a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb | |
10206 | a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb | |
10207 | a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads | |
10208 | a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads | |
10209 | a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads | |
10210 | a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads | |
10211 | a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads | |
10212 | a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads | |
10213 | a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads | |
10214 | a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads | |
10215 | a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads | |
10216 | a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads | |
10217 | a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads | |
10218 | a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb | |
10219 | a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads | |
10220 | a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads | |
10221 | a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads | |
10222 | a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads | |
10223 | a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads | |
10224 | a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads | |
10225 | a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb | |
10226 | a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h | |
10227 | adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads | |
10228 | alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb | |
10229 | back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads | |
10230 | binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb | |
10231 | bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads | |
10232 | ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads | |
10233 | csets.adb csets.ads csinfo.adb cstand.adb cstand.ads | |
10234 | cstreams.c cuintp.c debug.adb debug.ads debug_a.adb | |
10235 | debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c | |
10236 | einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h | |
10237 | errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c | |
10238 | exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads | |
10239 | exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb | |
10240 | exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads | |
10241 | exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb | |
10242 | exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads | |
10243 | exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb | |
10244 | exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb | |
10245 | exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb | |
10246 | exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb | |
10247 | exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb | |
10248 | exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb | |
10249 | exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads | |
10250 | exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h | |
10251 | final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads | |
10252 | fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb | |
10253 | freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb | |
10254 | g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads | |
10255 | g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h | |
10256 | gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb | |
10257 | gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb | |
10258 | gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb | |
10259 | gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads | |
10260 | gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads | |
10261 | gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads | |
10262 | i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb | |
10263 | i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads | |
10264 | i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads | |
10265 | i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads | |
10266 | impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c | |
10267 | itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h | |
10268 | lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb | |
10269 | lib-load.ads lib-sort.adb lib-util.adb lib-util.ads | |
10270 | lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb | |
10271 | lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb | |
10272 | makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c | |
10273 | namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h | |
10274 | nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb | |
10275 | osint.ads output.adb output.ads par-ch10.adb par-ch11.adb | |
10276 | par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb | |
10277 | par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb | |
10278 | par-endh.adb par-labl.adb par-load.adb par-prag.adb | |
10279 | par-sync.adb par-tchk.adb par-util.adb par.adb par.ads | |
10280 | prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb | |
10281 | prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads | |
10282 | prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads | |
10283 | prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads | |
10284 | prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads | |
10285 | prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h | |
10286 | repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads | |
10287 | rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads | |
10288 | s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads | |
10289 | s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb | |
10290 | s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads | |
10291 | s-direio.adb s-direio.ads s-except.ads s-exctab.adb | |
10292 | s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads | |
10293 | s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads | |
10294 | s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads | |
10295 | s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads | |
10296 | s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads | |
10297 | s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads | |
10298 | s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb | |
10299 | s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads | |
10300 | s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads | |
10301 | s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads | |
10302 | s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb | |
10303 | s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb | |
10304 | s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb | |
10305 | s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb | |
10306 | s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb | |
10307 | s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb | |
10308 | s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb | |
10309 | s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb | |
10310 | s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads | |
10311 | s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb | |
10312 | s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads | |
10313 | s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads | |
10314 | s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads | |
10315 | s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads | |
10316 | s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads | |
10317 | s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads | |
10318 | s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads | |
10319 | s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads | |
10320 | s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads | |
10321 | s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads | |
10322 | s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads | |
10323 | s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads | |
10324 | s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads | |
10325 | s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads | |
10326 | s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads | |
10327 | s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads | |
10328 | s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads | |
10329 | s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads | |
10330 | s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads | |
10331 | s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads | |
10332 | s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads | |
10333 | s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads | |
10334 | s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads | |
10335 | s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads | |
10336 | s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads | |
10337 | s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads | |
10338 | s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads | |
10339 | s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads | |
10340 | s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads | |
10341 | s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads | |
10342 | s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads | |
10343 | s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads | |
10344 | s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads | |
10345 | s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb | |
10346 | s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb | |
10347 | s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb | |
10348 | s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb | |
10349 | s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb | |
10350 | s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb | |
10351 | s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads | |
10352 | s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads | |
10353 | s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads | |
10354 | s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads | |
10355 | s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads | |
10356 | s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads | |
10357 | s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads | |
10358 | s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads | |
10359 | s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads | |
10360 | s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads | |
10361 | s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads | |
10362 | s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads | |
10363 | s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb | |
10364 | s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb | |
10365 | s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb | |
10366 | s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb | |
10367 | s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb | |
10368 | s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb | |
10369 | s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads | |
10370 | scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb | |
10371 | sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads | |
10372 | sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb | |
10373 | sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb | |
10374 | sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads | |
10375 | sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb | |
10376 | sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads | |
10377 | sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb | |
10378 | sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb | |
10379 | sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb | |
10380 | sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb | |
10381 | sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb | |
10382 | sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads | |
10383 | sem_type.adb sem_type.ads sem_util.adb sem_util.ads | |
10384 | sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads | |
10385 | sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb | |
10386 | sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb | |
10387 | sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads | |
10388 | snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb | |
10389 | stringt.ads stringt.h style.adb style.ads stylesw.adb | |
10390 | stylesw.ads switch.adb switch.ads sysdep.c system.ads | |
10391 | table.adb table.ads targparm.adb targparm.ads targtyps.c | |
10392 | tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads | |
10393 | tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb | |
10394 | treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads | |
10395 | types.adb types.ads types.h uintp.adb uintp.ads uintp.h | |
10396 | uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb | |
10397 | usage.ads utils.c utils2.c validsw.adb validsw.ads | |
10398 | widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb | |
10399 | xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb | |
71ff80dc NN |
10400 | xtreeprs.adb: Correct statements in comments about maintainership |
10401 | of GNAT. | |
10402 | ||
b4f94ac1 ZW |
10403 | 2002-09-23 Zack Weinberg <zack@codesourcery.com> |
10404 | ||
10405 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o. | |
10406 | * Makefile.in (TOOLS_LIBS): Add ../../version.o. | |
10407 | * gnatvsn.ads: Gnat_Version_String is now a function. | |
10408 | * gnatvsn.adb: New file. When asked for Gnat_Version_String, | |
10409 | copy the C version_string into a String and return it. | |
10410 | * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb, | |
10411 | gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb: | |
10412 | Remove pragma Ident (Gnat_Version_String). If this was the | |
10413 | sole use of package Gnatvsn, remove the with statement too. | |
10414 | * gnat1drv.adb: Tweak -gnatv output. | |
10415 | ||
eaff3bf8 RH |
10416 | 2002-09-17 Richard Henderson <rth@redhat.com> |
10417 | ||
10418 | * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP. | |
10419 | * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN. | |
10420 | * config/mips/mips.md (fixuns_truncdfsi2): Likewise. | |
10421 | (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise. | |
10422 | * config/m68k/m68k.c (floating_exact_log2): Use real_exponent | |
10423 | and real_2expN instead of a loop. | |
10424 | * doc/tm.texi (REAL_VALUE_LDEXP): Remove. | |
10425 | (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove. | |
10426 | ||
d241f75b | 10427 | 2002-08-25 Andre Leis <a.leis@gmx.net> |
f4ae98be | 10428 | David Billinghurst (David.Billinghurst@riotinto.com> |
d241f75b | 10429 | |
f4ae98be | 10430 | * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin |
d241f75b | 10431 | |
4320085a RO |
10432 | 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10433 | ||
10434 | * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS). | |
10435 | Remove $(CONFIG_H) dependency. | |
10436 | ||
22aa533e NS |
10437 | 2002-08-08 Nathan Sidwell <nathan@codesourcery.com> |
10438 | ||
10439 | * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. | |
10440 | ||
1dcd444b KG |
10441 | 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10442 | ||
10443 | * adadecode.c (ada_demangle): Use xstrdup in lieu of | |
10444 | xmalloc/strcpy. | |
10445 | * misc.c (gnat_decode_option): Likewise. | |
10446 | ||
7bc7d27b FW |
10447 | 2002-07-15 Florian Weimer <fw@deneb.enyo.de> |
10448 | ||
10449 | * make.adb (Add_Switch): Make Generic_Position a procedure. The | |
10450 | function approach did not work well because of a side effect (the | |
10451 | function call could reallocate the table which was being indexed | |
10452 | using its result). Fixes ada/4851. [RESURRECTED] | |
10453 | ||
6a2dd09a RS |
10454 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
10455 | ||
10456 | * ada/utils.c (builtin_function): Accept an additional parameter. | |
10457 | ||
c168bbd7 AJ |
10458 | 2002-06-28 Andreas Jaeger <aj@suse.de> |
10459 | ||
10460 | PR ada/7144 | |
10461 | * Makefile.in: Fix typo in comment, patch by Adrian Knoth | |
10462 | <adi@thur.de>. | |
10463 | ||
b41e09a7 KG |
10464 | 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10465 | ||
10466 | * Makefile.in (SHELL): Set to @SHELL@. | |
10467 | ||
62c71f4b KG |
10468 | 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10469 | ||
10470 | * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit | |
10471 | array size calculation. | |
10472 | ||
94213cff AJ |
10473 | 2002-06-04 Andreas Jaeger <aj@suse.de> |
10474 | ||
10475 | * Make-lang.in (gnatbind): Readd rule that has been lost in last | |
10476 | patch. | |
10477 | ||
e2500fed GK |
10478 | 2002-06-03 Geoffrey Keating <geoffk@redhat.com> |
10479 | ||
10480 | Merge from pch-branch: | |
10481 | ||
10482 | * config-lang.in (gtfiles): Add ada-tree.h. | |
10483 | * ada-tree.h (SET_TYPE_CI_CO_LIST): New. | |
10484 | (SET_TYPE_MODULUS): New. | |
10485 | (SET_TYPE_INDEX): New. | |
10486 | (SET_TYPE_DIGITS_VALUE): New. | |
10487 | (SET_TYPE_RM_SIZE): New. | |
10488 | (SET_TYPE_UNCONSTRAINED_ARRAY): New. | |
10489 | (SET_TYPE_ADA_SIZE): New. | |
10490 | (SET_TYPE_ACTUAL_BOUNDS): New. | |
10491 | (SET_DECL_CONST_CORRESPONDING_VAR): New. | |
10492 | (SET_DECL_ORIGINAL_FIELD): New. | |
10493 | (TREE_LOOP_ID): Correct typo. | |
10494 | * decl.c: Use new macros. | |
10495 | * utils.c: Include debug.h, use new macros. | |
94213cff | 10496 | * utils2.c: Use new macros. |
e2500fed GK |
10497 | |
10498 | * ada-tree.h: Update all macros for new tree description. | |
10499 | (struct tree_loop_id): New. | |
10500 | (union lang_tree_node): New. | |
10501 | (struct lang_decl): New. | |
10502 | (struct lang_type): New. | |
10503 | * misc.c (gnat_mark_tree): Delete. | |
10504 | (LANG_HOOKS_MARK_TREE): Delete. | |
10505 | * trans.c (tree_transform): No longer any need to cast | |
10506 | for TREE_LOOP_ID. | |
10507 | ||
10508 | * utils.c (struct language_function): New dummy structure. | |
10509 | ||
10510 | * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir. | |
10511 | (misc.o): Likewise. | |
10512 | (utils.o): Likewise; also gtype-ada.h. | |
10513 | * Make-lang.in (gnat1): Add dependency on s-gtype. | |
10514 | (gnatbind): Add dependency on $(CONFIG_H). | |
10515 | * utils.c: Correct last #include. | |
10516 | (stuct e_stack): Remove unnecessary 'static'. | |
10517 | (mark_e_stack): Remove unused prototype. | |
10518 | ||
10519 | * scn-nlit.adb: Remove whitespace after version number to | |
10520 | keep lines under 80 chars. | |
10521 | * snames.adb: Likewise. | |
10522 | * treepr.ads: Likewise. | |
94213cff | 10523 | |
e2500fed GK |
10524 | * Makefile.in (decl.o): Include gt-ada-<filename>.h. |
10525 | (misc.o): Likewise. | |
10526 | (utils.o): Include gt-ada-<filename>.h and gtype-ada.h. | |
10527 | * config-lang.in (gtfiles): New. | |
10528 | * decl.c: Use gengtype for roots. | |
10529 | * gigi.h: Use gengtype for roots. | |
10530 | * trans.c: Use gengtype for roots. | |
10531 | * utils.c: Use gengtype for roots, marking. Include gtype-ada.h. | |
10532 | ||
27e511e0 GDR |
10533 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
10534 | ||
10535 | * misc.c (gnat_init): Adjust setting of internal_error_function. | |
10536 | ||
113dc143 JM |
10537 | 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk> |
10538 | ||
10539 | * gnat_ug.texi: Use @ifnottex instead of @ifinfo. | |
10540 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
10541 | gnat_ug_wnt.texi: Regenerate. | |
10542 | ||
5321fb3e FW |
10543 | 2002-05-31 Florian Weimer <fw@deneb.enyo.de> |
10544 | ||
15e6136e FW |
10545 | * 5ntaprop.adb (with System.OS_Primitives): Remove. |
10546 | ||
019310ac FW |
10547 | * cstreams.c (max_path_len): Move from here ... |
10548 | * adaint.c (__gnat_max_path_len): ... to here. | |
10549 | * adaint.c (__gnat_max_path_len): Declare. | |
10550 | * g-dirope.adb (Max_Path): Adjust. | |
10551 | * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust. | |
94213cff | 10552 | * i-cstrea.ads (max_path_len): Adjust. |
019310ac FW |
10553 | * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust. |
10554 | * xr_tabls.adb (Dir_Name.Max_Path: Adjust. | |
10555 | ||
5321fb3e FW |
10556 | * Makefile.in, Make-lang.in: Documentation is now built in |
10557 | Make-lang.in. Store Info and generated Texinfo files in the | |
10558 | source directory. | |
10559 | * gnat_ug.texi: Remove CVS keywords, correct version number. | |
10560 | Set file name correctly. | |
10561 | ||
10562 | * gnat_ug_*.texi: Add. | |
10563 | * .cvsignore: Ignore generated Texinfo files. | |
10564 | ||
b1c12c4b ZW |
10565 | 2002-05-30 Zack Weinberg <zack@codesourcery.com> |
10566 | ||
10567 | * ada.h: Add MI guard macro. | |
10568 | (SUBTYPE): Define constants with an anonymous enum, not static | |
10569 | const variables. | |
10570 | (IN): Cast constants to appropriate type before use. | |
10571 | ||
ead33da9 JM |
10572 | 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk> |
10573 | ||
10574 | * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526 | |
10575 | (experimental)". | |
10576 | ||
7d600178 RO |
10577 | 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10578 | ||
10579 | * Make-lang.in (CP, ECHO): Copy from Makefile.in. | |
10580 | (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise. | |
10581 | (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise. | |
10582 | (ALL_ADA_CFLAGS): Likewise. | |
10583 | (ADA_INCLUDES): Likewise. | |
10584 | Adapt for new working dir. | |
10585 | (GNATBIND): Use Makefile.in version. | |
10586 | (.SUFFIXES): Copy from Makefile.in. | |
10587 | (ada-warn): Define. | |
10588 | (.adb.o, .ads.o): Copy from Makefile.in. | |
10589 | Added $(OUTPUT_OPTION). | |
10590 | (GNAT1_C_OBJS): Moved from Makefile.in. | |
10591 | Prefix with ada subdir. | |
10592 | (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise. | |
10593 | (EXTRA_GNAT1_OBJS): Moved from Makefile.in. | |
10594 | Adapt for new working dir. | |
10595 | (EXTRA_GNATBIND_OBJS): Likewise. | |
10596 | (ADA_BACKEND): Moved from Makefile.in. | |
10597 | Renamed to avoid conflict with global BACKEND. | |
10598 | Use that one. | |
10599 | (TARGET_ADA_SRCS): Moved from Makefile.in. | |
10600 | (gnat1$(exeext)): Replaced recursive rule with Makefile.in version. | |
10601 | Use ADA_BACKEND. | |
10602 | (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version. | |
10603 | (ada_extra_files): Moved from Makefile.in. | |
10604 | Prefix with ada subdir. | |
10605 | (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise. | |
10606 | (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise. | |
10607 | (ada/nmake.ads): Likewise. | |
10608 | (update-sources): Moved from Makefile.in. | |
10609 | Prefix with ada subdir. | |
10610 | (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise. | |
10611 | (ADA_TREE_H): Likewise. | |
10612 | (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise. | |
10613 | (ada/memtrack.o): Likewise. | |
10614 | (ada/adadecode.o): Likewise. | |
10615 | Update dependencies. | |
10616 | (ada/adaint.o): New. | |
10617 | (ada/argv.o): Moved from Makefile.in. | |
10618 | Prefix with ada subdir. | |
94213cff | 10619 | Update dependencies. |
7d600178 RO |
10620 | (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise. |
10621 | (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise. | |
10622 | (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in. | |
10623 | Prefix with ada subdir. | |
10624 | (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise. | |
10625 | (GNAT DEPENDENCIES): Regenerate. | |
10626 | * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by | |
10627 | toplevel Makefile.in. | |
10628 | (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed. | |
10629 | (TARGET_ADA_SRCS): Removed. | |
10630 | (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise. | |
10631 | (GNATBIND_OBJS): Likewise. | |
10632 | (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here. | |
10633 | (BACKEND): Removed. | |
10634 | (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise. | |
10635 | (TREE_H): Likewise. | |
10636 | (ada_extra_files): Likewise. | |
10637 | (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise. | |
10638 | (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise. | |
10639 | (update-sources): Likewise. | |
10640 | (sdefault.adb, stamp-sdefault, sdefault.o): Likewise | |
10641 | (ADA_TREE_H): Likewise. | |
10642 | (adadecoce.o): Likewise. | |
10643 | (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise. | |
10644 | (GNAT DEPENDENCIES): Likewise. | |
10645 | ||
1e6347d8 RO |
10646 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10647 | ||
10648 | * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd. | |
10649 | * Makefile.in: Likewise. | |
10650 | ||
db80834f RO |
10651 | 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10652 | ||
10653 | * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools): | |
10654 | Restore $(CONFIG_H) and prefix.o dependencies. | |
10655 | (ada.stage[1-4]): Depend on stage?-start. | |
10656 | ||
10657 | * Makefile.in (b_gnatb.c): Depend on interfac.o. | |
10658 | ||
ac293f98 JW |
10659 | 2002-05-02 Jim Wilson <wilson@redhat.com> |
10660 | ||
10661 | * utils.c (finish_record_type): Change record_size to record_type. | |
10662 | ||
b303008e JDA |
10663 | 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10664 | ||
10665 | * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides. | |
10666 | (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in | |
10667 | ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC. | |
94213cff | 10668 | |
ff45c01e NB |
10669 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
10670 | ||
10671 | * misc.c (gnat_parse_file): Update. | |
10672 | ||
349ae713 NB |
10673 | 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk> |
10674 | ||
10675 | * misc.c (gnat_init): Don't set lang_attribute_common. | |
10676 | ||
ace133aa JM |
10677 | 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk> |
10678 | ||
10679 | * gnat_rm.texi: Use @ifnottex instead of @ifinfo. | |
10680 | ||
5c558dd9 FW |
10681 | 2002-04-21 Florian Weimer <fw@deneb.enyo.de> |
10682 | ||
b4f94ac1 | 10683 | * gnat_ug.texi: New file. |
88e1739c | 10684 | |
5c558dd9 FW |
10685 | * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi |
10686 | instead of gfdl.texi | |
10687 | ||
10688 | * xgnatug.adb, ug_words: New files. | |
10689 | ||
10690 | * Makefile.in (doc, dvi): New targets. Build gnat_ug_*, | |
b4f94ac1 | 10691 | gnat_rm and gnat-style manuals. |
5c558dd9 | 10692 | |
7a228918 NB |
10693 | 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk> |
10694 | ||
10695 | * gigi.h (incomplete_type_error): Remove. | |
10696 | * utils.c (incomplete_type_error): Remove. | |
10697 | ||
b2123dc0 MM |
10698 | 2002-04-16 Mark Mitchell <mark@codesourcery.com> |
10699 | ||
10700 | * trans.c (tree_transform): Add has_scope argument to | |
10701 | expand_start_stmt_expr. | |
10702 | ||
78ef5b89 NB |
10703 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
10704 | ||
10705 | * gigi.h (truthvalue_conversion): Rename. | |
10706 | * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
10707 | * trans.c (tree_transform): Update. | |
10708 | * utils2.c (truthvalue_conversion): Rename, update. | |
10709 | (build_binary_op, build_unary_op): Update. | |
10710 | ||
a71742a8 LG |
10711 | 2002-04-04 Laurent Guerby <guerby@acm.org> |
10712 | ||
10713 | * make.adb: Implement -margs, remove restriction about file name placement. | |
10714 | * makeusg.adb: Documentation update. | |
10715 | * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir). | |
10716 | * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line. | |
10717 | ||
82a4b025 NB |
10718 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
10719 | ||
10720 | * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME. | |
10721 | (builtin_function): Similarly. | |
10722 | ||
dffd7eb6 NB |
10723 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
10724 | ||
10725 | * decl.c (gnat_to_gnu_entity): Update. | |
10726 | * gigi.h (mark_addressable): Rename. | |
10727 | * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
10728 | * trans.c (tree_transform): Update. | |
10729 | * utils.c (create_var_decl): Update. | |
10730 | * util2.c (build_binary_op, build_unary_op, | |
10731 | fill_vms_descriptor): Update. | |
10732 | (mark_addressable): Rename, update. | |
10733 | ||
ceef8ce4 NB |
10734 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
10735 | ||
10736 | * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
10737 | Rename. | |
10738 | * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
10739 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
10740 | * trans.c (tree_transform, convert_with_check): Update. | |
10741 | * utils.c (unsigned_type, signed_type, signed_or_unsigned_type): | |
10742 | Rename. | |
10743 | ||
48a7a235 NB |
10744 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
10745 | ||
10746 | * gigi.h (finish_incomplete_decl): Rename. | |
10747 | * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine. | |
10748 | * utils.c (gnat_init_decl_processing): Don't set hook. | |
10749 | (finish_incomplete_decl): Rename. | |
10750 | ||
1d5af871 AS |
10751 | 2002-03-29 Andreas Schwab <schwab@suse.de> |
10752 | ||
10753 | * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts | |
10754 | directory. | |
10755 | ||
8cbb664e MG |
10756 | 2001-03-28 Robert Dewar <dewar@gnat.com> |
10757 | ||
10758 | * checks.ads: | |
10759 | (Remove_Checks): New procedure | |
10760 | ||
10761 | * checks.adb: | |
10762 | (Remove_Checks): New procedure | |
10763 | ||
10764 | * exp_util.adb: | |
10765 | Use new Duplicate_Subexpr functions | |
10766 | (Duplicate_Subexpr_No_Checks): New procedure | |
10767 | (Duplicate_Subexpr_No_Checks_Orig): New procedure | |
10768 | (Duplicate_Subexpr): Restore original form (checks duplicated) | |
10769 | (Duplicate_Subexpr): Call Remove_Checks | |
10770 | ||
82a4b025 | 10771 | * exp_util.ads: |
8cbb664e MG |
10772 | (Duplicate_Subexpr_No_Checks): New procedure |
10773 | (Duplicate_Subexpr_No_Checks_Orig): New procedure | |
10774 | Add 2002 to copyright notice | |
10775 | ||
10776 | * sem_util.adb: Use new Duplicate_Subexpr functions | |
10777 | ||
82a4b025 | 10778 | * sem_eval.adb: |
8cbb664e MG |
10779 | (Eval_Indexed_Component): This is the place to call |
10780 | Constant_Array_Ref and to replace the value. We simply merge | |
10781 | the code of this function in here, since it is now no longer | |
10782 | used elsewhere. This fixes the problem of the back end not | |
10783 | realizing we were clever enough to see that this was | |
10784 | constant. | |
10785 | (Expr_Val): Remove call to Constant_Array_Ref | |
10786 | (Expr_Rep_Val): Remove call to Constant_Array_Ref | |
10787 | Minor reformatting | |
10788 | (Constant_Array_Ref): Deal with string literals (patch | |
10789 | suggested by Zack Weinberg on the gcc list) | |
10790 | ||
10791 | 2001-03-28 Ed Schonberg <schonber@gnat.com> | |
10792 | ||
82a4b025 | 10793 | * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig => |
8cbb664e MG |
10794 | Duplicate_Subexpr_Move_Checks. |
10795 | ||
82a4b025 | 10796 | * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig => |
8cbb664e MG |
10797 | Duplicate_Subexpr_Move_Checks. |
10798 | ||
82a4b025 NB |
10799 | * sem_eval.adb: (Constant_Array_Ref): Verify that constant |
10800 | value of array exists before retrieving it (it may a private | |
8cbb664e MG |
10801 | protected component in a function). |
10802 | ||
792c4e74 GB |
10803 | 2002-03-28 Geert Bosch <bosch@gnat.com> |
10804 | ||
10805 | * prj-pp.adb : New file. | |
10806 | ||
10807 | * prj-pp.ads : New file. | |
10808 | ||
915e8bad AJ |
10809 | 2002-03-28 Andreas Jaeger <aj@suse.de> |
10810 | ||
10811 | * Makefile.in (stamp-sdefault): Fix path for Makefile. | |
10812 | ||
0840811c NB |
10813 | 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk> |
10814 | ||
10815 | * misc.c (gnat_expand_expr): Move prototype. | |
10816 | ||
7ffb4fd2 NB |
10817 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
10818 | ||
10819 | * misc.c (insert_default_attributes): Remove. | |
10820 | ||
c9d892a8 NB |
10821 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
10822 | ||
10823 | * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
10824 | (gnat_init): Don't set hook. | |
10825 | (gnat_expand_expr): Fix prototype. | |
10826 | ||
31c816cf NB |
10827 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
10828 | ||
10829 | * misc.c (ggc_p): Remove. | |
10830 | ||
ef83161c GB |
10831 | 2002-03-27 Geert Bosch <bosch@gnat.com> |
10832 | ||
10833 | * prj-makr.ads, prj-makr.adb : New files. | |
10834 | ||
4f0ade92 NB |
10835 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
10836 | ||
10837 | * misc.c (LANG_HOOKS_MARK_TREE): Redefine. | |
10838 | (lang_mark_tree): Make static, rename. | |
10839 | ||
c88770e9 NB |
10840 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
10841 | ||
10842 | * misc.c (maybe_build_cleanup): Remove. | |
10843 | ||
05671968 NB |
10844 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
10845 | ||
10846 | * gigi.h (yyparse): Remove. | |
10847 | ||
ad42149c FW |
10848 | 2002-03-23 Florian Weimer <fw@deneb.enyo.de> |
10849 | ||
82a4b025 | 10850 | * gnat_rm.texi: Sync with ACT version. |
b4f94ac1 | 10851 | (From Ben Brosgol <brosgol@gnat.com>) |
ad42149c | 10852 | |
7afff7cf NB |
10853 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
10854 | ||
10855 | * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
10856 | (gnat_init): Remove old hook. | |
10857 | ||
52dabb6c NB |
10858 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
10859 | ||
10860 | * misc.c (LANG_HOOKS_PARSE_FILE): Redefine. | |
10861 | (yyparse): Rename gnat_parse_file. | |
10862 | ||
6cbcc541 GK |
10863 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
10864 | ||
10865 | Delete all lines containing "$Revision:". | |
10866 | * xeinfo.adb: Don't look for revision numbers. | |
10867 | * xnmake.adb: Likewise. | |
10868 | * xsinfo.adb: Likewise. | |
10869 | * xsnames.adb: Likewise. | |
10870 | * xtreeprs.adb: Likewise. | |
10871 | ||
2f9834e8 KG |
10872 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10873 | ||
10874 | * misc.c (gnat_tree_code_type, gnat_tree_code_length, | |
10875 | gnat_tree_code_name): Delete. | |
10876 | (tree_code_type, tree_code_length, tree_code_name): Define. | |
10877 | (gnat_init): Don't try to copy into the various tree_code | |
10878 | arrays. | |
10879 | ||
63adb4ff RH |
10880 | 2002-03-11 Richard Henderson <rth@redhat.com> |
10881 | ||
10882 | * Makefile.in (.NOTPARALLEL): Add fake tag. | |
10883 | ||
43ff4547 GB |
10884 | 2002-03-07 Geert Bosch <bosch@gnat.com> |
10885 | ||
82a4b025 NB |
10886 | * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads, |
10887 | s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads, | |
10888 | switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads, | |
43ff4547 GB |
10889 | switch-m.adb, switch-m.ads : New files. |
10890 | ||
07fc65c4 GB |
10891 | 2002-03-07 Geert Bosch <bosch@gnat.com> |
10892 | ||
10893 | * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads, | |
10894 | 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads, | |
10895 | 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads, | |
10896 | 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads, | |
10897 | 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb, | |
10898 | 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads, | |
10899 | 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, | |
10900 | 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, | |
10901 | 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb, | |
10902 | 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb, | |
10903 | 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads, | |
10904 | 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb, | |
10905 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads, | |
10906 | 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb, | |
10907 | 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb, | |
10908 | 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, | |
10909 | 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, | |
10910 | 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb, | |
10911 | 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb, | |
10912 | 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb, | |
10913 | 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb, | |
10914 | Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads, | |
10915 | a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb, | |
10916 | a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads, | |
10917 | a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb, | |
10918 | a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb, | |
10919 | a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb, | |
10920 | a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb, | |
10921 | a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h, | |
10922 | adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb, | |
10923 | atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb, | |
10924 | bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb, | |
10925 | csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c, | |
10926 | einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads, | |
10927 | eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, | |
10928 | exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, | |
10929 | exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads, | |
10930 | exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads, | |
10931 | exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb, | |
10932 | exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads, | |
10933 | expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb, | |
10934 | freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb, | |
10935 | g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads, | |
10936 | g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb, | |
10937 | g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb, | |
10938 | g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb, | |
10939 | g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb, | |
10940 | g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c, | |
10941 | gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb, | |
10942 | gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads, | |
10943 | gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb, | |
10944 | i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads, | |
10945 | impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb, | |
10946 | lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb, | |
10947 | lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb, | |
10948 | memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads, | |
10949 | mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb, | |
10950 | nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads, | |
10951 | output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb, | |
10952 | par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb, | |
10953 | prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb, | |
10954 | prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb, | |
10955 | prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads, | |
10956 | rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb, | |
10957 | s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads, | |
10958 | s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb, | |
10959 | s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb, | |
10960 | s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb, | |
10961 | s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb, | |
10962 | s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb, | |
10963 | s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads, | |
10964 | s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads, | |
10965 | s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb, | |
10966 | s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads, | |
10967 | s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads, | |
10968 | s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb, | |
10969 | s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, | |
10970 | s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads, | |
10971 | s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb, | |
10972 | sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb, | |
10973 | sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, | |
10974 | sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads, | |
10975 | sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb, | |
10976 | sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb, | |
10977 | sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb, | |
10978 | sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb, | |
10979 | sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb, | |
10980 | sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb, | |
10981 | sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads, | |
10982 | snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads, | |
10983 | stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads, | |
10984 | table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb, | |
10985 | tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb, | |
10986 | treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads, | |
10987 | types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb, | |
10988 | utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb, | |
10989 | xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes. | |
10990 | ||
10991 | * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads, | |
10992 | g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads, | |
10993 | mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads, | |
10994 | osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files | |
10995 | ||
10996 | * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb, | |
10997 | 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed | |
10998 | ||
10999 | * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed | |
11000 | to mdll-fil.ad[bs] and mdll-util.ad[bs] | |
11001 | ||
11002 | * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed | |
11003 | from mdllfile.ad[bs] and mdlltool.ad[bs] | |
11004 | ||
ca7558fc KG |
11005 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11006 | ||
11007 | * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in | |
11008 | lieu of explicit sizeof/sizeof. | |
11009 | ||
63e1b1c4 NB |
11010 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
11011 | ||
11012 | * misc.c (copy_lang_decl): Remove. | |
11013 | ||
f458d1d5 ZW |
11014 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
11015 | ||
11016 | * misc.c: Delete traditional-mode-related code copied from the | |
11017 | C front end but not used, or used only to permit the compiler | |
11018 | to link. | |
11019 | ||
21e09952 RH |
11020 | 2002-02-07 Richard Henderson <rth@redhat.com> |
11021 | ||
11022 | * adaint.c (__gnat_to_gm_time): First arg is int, not time_t. | |
11023 | * adaint.h (__gnat_to_gm_time): Update prototype. | |
11024 | ||
ead39bdf | 11025 | 2002-01-30 Richard Henderson <rth@redhat.com> |
e803a64b RH |
11026 | |
11027 | * trans.c (tree_transform) [N_Loop_Statement]: Use | |
11028 | expand_exit_loop_top_cond. | |
11029 | ||
72ac12bf RH |
11030 | 2001-12-23 Richard Henderson <rth@redhat.com> |
11031 | ||
11032 | * utils.c (end_subprog_body): Push GC context around | |
11033 | rest_of_compilation for nested functions. | |
11034 | ||
14aacce7 RH |
11035 | 2001-12-23 Richard Henderson <rth@redhat.com> |
11036 | ||
11037 | * 5nosinte.ads: Get definition of "int" from Interfaces.C. | |
11038 | ||
b3d45d87 FW |
11039 | 2001-12-23 Florian Weimer <fw@deneb.enyo.de> |
11040 | ||
ece2d1b8 FW |
11041 | * gnat-style.texi (Declarations and Types): Remove ancient style |
11042 | rule which was mandated by code generation issues. | |
82a4b025 | 11043 | |
b3d45d87 FW |
11044 | * gnat-style.texi (header): Add @dircategory, @direntry. |
11045 | (title page): Remove date. | |
11046 | (general) Add @./@: where approriate, and two spaces after the | |
11047 | full stop at the end of a sentence. Use @samp markup when | |
11048 | referring concrete lexical entities (keywords, attribute names | |
11049 | etc.), and @syntax for ARM grammar elements. Use @r for English | |
11050 | text in comments. Use @emph for emphasis. Change "if-statements" | |
11051 | etc. to "if statements" (without @samp). Break long lines. Make | |
11052 | casing of section names consistent. | |
11053 | (Identifiers): Use @samp markup for variable names. | |
11054 | (Comments): Use @samp markup for comment characters. Line-end | |
11055 | comments may follow any Ada code, not just statements. Fix | |
11056 | misspelling of "Integer" as "integer". | |
11057 | (Loop statements): Do not use variable name "I", use "J". | |
11058 | (Subprogram Declarations): Document alignment. | |
11059 | (Subprogram Bodies, Block statements): Document empty line before | |
11060 | "begin". | |
11061 | ||
7a73ad55 FW |
11062 | 2001-12-22 Florian Weimer <fw@deneb.enyo.de> |
11063 | ||
11064 | * make.adb (Add_Switch): Make Generic_Position a procedure. The | |
11065 | function approach did not work well because of a side effect (the | |
11066 | function call could reallocate the table which was being indexed | |
11067 | using its result). Fixes ada/4851. | |
11068 | ||
17c5c8a5 GB |
11069 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
11070 | ||
11071 | * bindgen.adb: Minor reformatting | |
82a4b025 | 11072 | |
17c5c8a5 | 11073 | * cstand.adb: Minor reformatting |
82a4b025 | 11074 | |
17c5c8a5 GB |
11075 | * fmap.adb: Minor reformatting |
11076 | Change name from Add for Add_To_File_Map (Add is much too generic) | |
11077 | Change Path_Name_Of to Mapped_Path_Name | |
11078 | Change File_Name_Of to Mapped_File_Name | |
11079 | Fix copyright dates in header | |
82a4b025 | 11080 | |
17c5c8a5 GB |
11081 | * fmap.ads: |
11082 | Change name from Add for Add_To_File_Map (Add is much too generic) | |
11083 | Change Path_Name_Of to Mapped_Path_Name | |
11084 | Change File_Name_Of to Mapped_File_Name | |
11085 | Fix copyright dates in header | |
82a4b025 | 11086 | |
17c5c8a5 GB |
11087 | * fname-uf.adb: Minor reformatting. New names of stuff in Fmap. |
11088 | Add use clause for Fmap. | |
82a4b025 | 11089 | |
17c5c8a5 | 11090 | * make.adb: Minor reformatting |
82a4b025 | 11091 | |
17c5c8a5 GB |
11092 | * osint.adb: Minor reformatting. Change of names in Fmap. |
11093 | Add use clause for Fmap. | |
82a4b025 | 11094 | |
17c5c8a5 | 11095 | * prj-env.adb: Minor reformatting |
82a4b025 | 11096 | |
17c5c8a5 | 11097 | * prj-env.ads: Minor reformatting |
82a4b025 | 11098 | |
07fc65c4 GB |
11099 | * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if |
11100 | error found (there were odd exceptions to this general rule in | |
17c5c8a5 | 11101 | -gnatec/-gnatem processing) |
82a4b025 | 11102 | |
17c5c8a5 GB |
11103 | 2001-12-19 Olivier Hainque <hainque@gnat.com> |
11104 | ||
07fc65c4 GB |
11105 | * raise.c (__gnat_eh_personality): Exception handling personality |
11106 | routine for Ada. Still in rough state, inspired from the C++ version | |
17c5c8a5 | 11107 | and still containing a bunch of debugging artifacts. |
07fc65c4 | 11108 | (parse_lsda_header, get_ttype_entry): Local (static) helpers, also |
17c5c8a5 | 11109 | inspired from the C++ library. |
82a4b025 | 11110 | |
07fc65c4 | 11111 | * raise.c (eh_personality): Add comments. Part of work for the GCC 3 |
17c5c8a5 | 11112 | exception handling integration. |
82a4b025 | 11113 | |
17c5c8a5 GB |
11114 | 2001-12-19 Arnaud Charlet <charlet@gnat.com> |
11115 | ||
11116 | * Makefile.in: Remove use of 5smastop.adb which is obsolete. | |
11117 | (HIE_SOURCES): Add s-secsta.ad{s,b}. | |
11118 | (HIE_OBJS): Add s-fat*.o | |
07fc65c4 | 11119 | (RAVEN_SOURCES): Remove files that are no longer required. Add |
17c5c8a5 GB |
11120 | interrupt handling files. |
11121 | (RAVEN_MOD): Removed, no longer needed. | |
82a4b025 | 11122 | |
17c5c8a5 GB |
11123 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
11124 | ||
11125 | * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always | |
11126 | Add 2001 to copyright date | |
82a4b025 | 11127 | |
07fc65c4 | 11128 | * g-regpat.adb: Change pragma Inline_Always to Inline. There is no |
17c5c8a5 | 11129 | need to force universal inlining for these cases. |
82a4b025 | 11130 | |
17c5c8a5 GB |
11131 | 2001-12-19 Arnaud Charlet <charlet@gnat.com> |
11132 | ||
07fc65c4 | 11133 | * s-taprob.adb: Minor clean ups so that this unit can be used in |
17c5c8a5 | 11134 | Ravenscar HI. |
82a4b025 | 11135 | |
17c5c8a5 GB |
11136 | * exp_ch7.adb: Allow use of secondary stack in HI mode. |
11137 | Disallow it when pragma Restrictions (No_Secondary_Stack) is specified. | |
82a4b025 | 11138 | |
17c5c8a5 GB |
11139 | 2001-12-19 Vincent Celier <celier@gnat.com> |
11140 | ||
07fc65c4 | 11141 | * prj-tree.ads (Project_Node_Record): Add comments for components |
17c5c8a5 | 11142 | Pkg_Id and Case_Insensitive. |
82a4b025 | 11143 | |
17c5c8a5 GB |
11144 | 2001-12-19 Pascal Obry <obry@gnat.com> |
11145 | ||
11146 | * g-socket.adb: Minor reformatting. Found while reading code. | |
82a4b025 | 11147 | |
17c5c8a5 GB |
11148 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
11149 | ||
11150 | * prj-tree.ads: Minor reformatting | |
11151 | ||
38be19f6 JM |
11152 | 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk> |
11153 | ||
11154 | * config-lang.in (diff_excludes): Remove. | |
11155 | ||
6510f4c9 GB |
11156 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11157 | ||
07fc65c4 GB |
11158 | * sem_res.adb (Resolve_Selected_Component): do not generate a |
11159 | discriminant check if the selected component is a component of | |
6510f4c9 GB |
11160 | the argument of an initialization procedure. |
11161 | ||
07fc65c4 GB |
11162 | * trans.c (tree_transform, case of arithmetic operators): If result |
11163 | type is private, the gnu_type is the base type of the full view, | |
6510f4c9 | 11164 | given that the full view itself may be a subtype. |
82a4b025 | 11165 | |
6510f4c9 GB |
11166 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11167 | ||
11168 | * sem_res.adb: Minor reformatting | |
82a4b025 | 11169 | |
07fc65c4 GB |
11170 | * trans.c (tree_transform, case N_Real_Literal): Add missing third |
11171 | parameter in call to Machine (unknown horrible effects from this | |
6510f4c9 | 11172 | omission). |
82a4b025 | 11173 | |
6510f4c9 GB |
11174 | * urealp.h: Add definition of Round_Even for call to Machine |
11175 | Add third parameter for Machine | |
82a4b025 | 11176 | |
6510f4c9 GB |
11177 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11178 | ||
07fc65c4 | 11179 | * sem_warn.adb (Check_One_Unit): Suppress warnings completely on |
6510f4c9 | 11180 | predefined units in No_Run_Time mode. |
82a4b025 | 11181 | |
6510f4c9 GB |
11182 | 2001-12-17 Richard Kenner <kenner@gnat.com> |
11183 | ||
11184 | * misc.c (insn-codes.h): Now include. | |
82a4b025 | 11185 | |
6510f4c9 GB |
11186 | 2001-12-17 Olivier Hainque <hainque@gnat.com> |
11187 | ||
07fc65c4 | 11188 | * a-except.adb: Preparation work for future integration of the GCC 3 |
6510f4c9 GB |
11189 | exception handling mechanism |
11190 | (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines | |
11191 | to factorize previous code sequences and make them externally callable, | |
11192 | e.g. for the Ada personality routine when the GCC 3 mechanism is used. | |
11193 | (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler): | |
11194 | Use the new notification routines. | |
82a4b025 | 11195 | |
6510f4c9 GB |
11196 | 2001-12-17 Emmanuel Briot <briot@gnat.com> |
11197 | ||
11198 | * prj-tree.ads (First_Choice_Of): Document the when others case | |
82a4b025 | 11199 | |
6510f4c9 GB |
11200 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
11201 | ||
07fc65c4 | 11202 | * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in |
6510f4c9 | 11203 | HI-E mode, in order to support Ravenscar profile properly. |
82a4b025 | 11204 | |
07fc65c4 | 11205 | * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E |
6510f4c9 | 11206 | mode on 32 bits targets. |
82a4b025 | 11207 | |
6510f4c9 GB |
11208 | 2001-12-17 Vincent Celier <celier@gnat.com> |
11209 | ||
11210 | * fmap.adb: Initial version. | |
82a4b025 | 11211 | |
6510f4c9 | 11212 | * fmap.ads: Initial version. |
82a4b025 | 11213 | |
6510f4c9 GB |
11214 | * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped. |
11215 | If search is successfully done, add to mapping. | |
82a4b025 | 11216 | |
6510f4c9 | 11217 | * frontend.adb: Initialize the mapping if a -gnatem switch was used. |
82a4b025 | 11218 | |
6510f4c9 GB |
11219 | * make.adb: |
11220 | (Gnatmake): Add new local variable Mapping_File_Name. | |
11221 | Create mapping file when using project file(s). | |
11222 | Delete mapping file before exiting. | |
82a4b025 | 11223 | |
6510f4c9 | 11224 | * opt.ads (Mapping_File_Name): New variable |
82a4b025 | 11225 | |
6510f4c9 | 11226 | * osint.adb (Find_File): Use path name found in mapping, if any. |
82a4b025 | 11227 | |
6510f4c9 | 11228 | * prj-env.adb (Create_Mapping_File): New procedure |
82a4b025 | 11229 | |
6510f4c9 | 11230 | * prj-env.ads (Create_Mapping_File): New procedure. |
82a4b025 | 11231 | |
07fc65c4 | 11232 | * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem |
6510f4c9 | 11233 | (Mapping_File) |
82a4b025 | 11234 | |
6510f4c9 | 11235 | * usage.adb: Add entry for new switch -gnatem. |
82a4b025 | 11236 | |
6510f4c9 | 11237 | * Makefile.in: Add dependencies for fmap.o. |
82a4b025 | 11238 | |
6510f4c9 GB |
11239 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11240 | ||
07fc65c4 | 11241 | * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit |
6510f4c9 GB |
11242 | is a package instantiation rewritten as a package body. |
11243 | (Install_Withed_Unit): Undo previous change, now redundant. | |
82a4b025 | 11244 | |
6510f4c9 GB |
11245 | 2001-12-17 Gary Dismukes <dismukes@gnat.com> |
11246 | ||
11247 | * layout.adb: | |
11248 | (Compute_Length): Move conversion to Unsigned to callers. | |
11249 | (Get_Max_Size): Convert Len expression to Unsigned after calls to | |
11250 | Compute_Length and Determine_Range. | |
11251 | (Layout_Array_Type): Convert Len expression to Unsigned after calls to | |
11252 | Compute_Length and Determine_Range. | |
11253 | Above changes fix problem with length computation for supernull arrays | |
07fc65c4 | 11254 | where Max (Len, 0) wasn't getting applied due to the Unsigned |
6510f4c9 | 11255 | conversion used by Compute_Length. |
82a4b025 | 11256 | |
6510f4c9 GB |
11257 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
11258 | ||
11259 | * rtsfind.ads: | |
11260 | (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and | |
11261 | System.Secondary_Stack. | |
11262 | (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar | |
11263 | in HI-E mode. | |
11264 | Remove unused entity RE_Exception_Data. | |
82a4b025 | 11265 | |
6510f4c9 | 11266 | * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode. |
82a4b025 | 11267 | |
6510f4c9 GB |
11268 | * rident.ads (No_Secondary_Stack): New restriction. |
11269 | ||
3a77b68d GB |
11270 | 2001-12-17 Joel Brobecker <brobecke@gnat.com> |
11271 | ||
07fc65c4 | 11272 | * gnat_rm.texi: Fix minor typos. Found while reading the section |
3a77b68d GB |
11273 | regarding "Bit_Order Clauses" that was sent to a customer. |
11274 | Very interesting documentation! | |
82a4b025 | 11275 | |
3a77b68d GB |
11276 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11277 | ||
07fc65c4 GB |
11278 | * sem_case.adb (Choice_Image): Avoid creating improper character |
11279 | literal names by using the routine Set_Character_Literal_Name. This | |
3a77b68d | 11280 | fixes bombs in certain error message cases. |
82a4b025 | 11281 | |
3a77b68d GB |
11282 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
11283 | ||
11284 | * a-reatim.adb: Minor reformatting. | |
82a4b025 | 11285 | |
3a77b68d GB |
11286 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11287 | ||
07fc65c4 GB |
11288 | * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the |
11289 | case where the formal is an extension of another formal in the current | |
3a77b68d | 11290 | unit or in a parent generic unit. |
82a4b025 | 11291 | |
3a77b68d GB |
11292 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
11293 | ||
07fc65c4 | 11294 | * s-tposen.adb: Update comments. Minor reformatting. |
3a77b68d | 11295 | Minor code clean up. |
82a4b025 | 11296 | |
3a77b68d | 11297 | * s-tarest.adb: Update comments. Minor code reorganization. |
82a4b025 | 11298 | |
3a77b68d GB |
11299 | 2001-12-17 Gary Dismukes <dismukes@gnat.com> |
11300 | ||
07fc65c4 | 11301 | * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag |
3a77b68d | 11302 | when Java_VM. |
82a4b025 | 11303 | |
3a77b68d GB |
11304 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11305 | ||
11306 | * exp_attr.adb: Minor reformatting | |
82a4b025 | 11307 | |
3a77b68d GB |
11308 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11309 | ||
07fc65c4 | 11310 | * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle |
3a77b68d GB |
11311 | derivations nested within a child unit: verify that the parent |
11312 | type is declared in an outer scope. | |
82a4b025 | 11313 | |
3a77b68d GB |
11314 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11315 | ||
11316 | * sem_ch12.adb: Minor reformatting | |
82a4b025 | 11317 | |
3a77b68d GB |
11318 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11319 | ||
07fc65c4 GB |
11320 | * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post |
11321 | warning if current unit is a predefined one, from which bodies may | |
3a77b68d | 11322 | have been deleted. |
82a4b025 | 11323 | |
3a77b68d GB |
11324 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11325 | ||
11326 | * eval_fat.ads: Add comment that Round_Even is referenced in Ada code | |
11327 | Fix header format. Add 2001 to copyright date. | |
82a4b025 | 11328 | |
07fc65c4 | 11329 | * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference, |
3a77b68d GB |
11330 | which caused CE during compilation if checks were enabled. |
11331 | ||
79503fdd GB |
11332 | 2001-12-17 Vincent Celier <celier@gnat.com> |
11333 | ||
11334 | * make.adb: | |
11335 | (Switches_Of): New function | |
11336 | (Test_If_Relative_Path): New procedure | |
11337 | (Add_Switches): Use new function Switches_Of | |
11338 | (Collect_Arguments_And_Compile): Use new function Switches_Of. | |
11339 | When using a project file, test if there are any relative | |
11340 | search path. Fail if there are any. | |
07fc65c4 GB |
11341 | (Gnatmake): Only add switches for the primary directory when not using |
11342 | a project file. When using a project file, change directory to the | |
11343 | object directory of the main project file. When using a project file, | |
11344 | test if there are any relative search path. Fail if there are any. | |
11345 | When using a project file, fail if specified executable is relative | |
11346 | path with directory information, and prepend executable, if not | |
11347 | specified as an absolute path, with the exec directory. Make sure | |
79503fdd | 11348 | that only one -o switch is transmitted to the linker. |
82a4b025 | 11349 | |
79503fdd | 11350 | * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir |
82a4b025 | 11351 | |
79503fdd GB |
11352 | * prj-nmsc.adb: |
11353 | (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc, | |
11354 | when using a non standard naming scheme. | |
11355 | (Check_Ada_Naming_Scheme): Make sure that error messages | |
11356 | do not raise exceptions. | |
11357 | (Is_Illegal_Append): Return True if there is no dot in the suffix. | |
11358 | (Language_Independent_Check): Check the exec directory. | |
82a4b025 | 11359 | |
79503fdd | 11360 | * prj.adb (Project_Empty): Add new component Exec_Directory |
82a4b025 | 11361 | |
79503fdd GB |
11362 | * prj.ads: |
11363 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults. | |
11364 | (Project_Data): Add component Exec_Directory | |
82a4b025 | 11365 | |
79503fdd | 11366 | * snames.adb: Updated to match snames.ads revision 1.215 |
82a4b025 | 11367 | |
79503fdd | 11368 | * snames.ads: Added Exec_Dir |
82a4b025 | 11369 | |
79503fdd GB |
11370 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11371 | ||
11372 | * make.adb: Minor reformatting | |
82a4b025 | 11373 | |
79503fdd | 11374 | * prj-nmsc.adb: Minor reformatting |
82a4b025 | 11375 | |
79503fdd | 11376 | * snames.adb: Updated to match snames.ads |
82a4b025 | 11377 | |
79503fdd GB |
11378 | * snames.ads: Alphebetize entries for project file |
11379 | ||
11380 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
11381 | ||
07fc65c4 | 11382 | * trans.c (process_freeze_entity): Do nothing if the entity is a |
79503fdd | 11383 | subprogram that was already elaborated. |
82a4b025 | 11384 | |
79503fdd | 11385 | 2001-12-17 Richard Kenner <kenner@gnat.com> |
82a4b025 | 11386 | |
07fc65c4 | 11387 | * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment |
79503fdd GB |
11388 | and Esize if object is referenced via pointer. |
11389 | ||
855ff2e1 GB |
11390 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11391 | ||
07fc65c4 | 11392 | * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant |
855ff2e1 | 11393 | is discrete before analyzing choices. |
82a4b025 | 11394 | |
855ff2e1 GB |
11395 | 2001-12-17 Joel Brobecker <brobecke@gnat.com> |
11396 | ||
07fc65c4 GB |
11397 | * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string |
11398 | containing the name of the Ada Main Program. This string is mainly | |
855ff2e1 GB |
11399 | intended for the debugger. |
11400 | (Gen_Output_File_C): Do the equivalent change when generating a C file. | |
82a4b025 | 11401 | |
855ff2e1 GB |
11402 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11403 | ||
11404 | * ali.adb: Set new Dummy_Entry field in dependency entry | |
82a4b025 | 11405 | |
855ff2e1 | 11406 | * ali.ads: Add Dummy_Entry field to source dependency table |
82a4b025 | 11407 | |
855ff2e1 | 11408 | * bcheck.adb (Check_Consistency): Ignore dummy D lines |
82a4b025 | 11409 | |
855ff2e1 | 11410 | * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files |
82a4b025 | 11411 | |
855ff2e1 | 11412 | * lib-writ.ads: Document dummy D lines for missing files. |
82a4b025 | 11413 | |
855ff2e1 GB |
11414 | * types.ads: (Dummy_Time_Stamp): New value for non-existant files |
11415 | ||
c1c22e7a GB |
11416 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11417 | ||
11418 | * ali.adb: Type reference does not reset current file. | |
82a4b025 | 11419 | |
c1c22e7a | 11420 | * ali.adb: Recognize and scan renaming reference |
82a4b025 | 11421 | |
c1c22e7a | 11422 | * ali.ads: Add spec for storing renaming references. |
82a4b025 | 11423 | |
c1c22e7a | 11424 | * lib-xref.ads: Add documentation for handling of renaming references |
82a4b025 | 11425 | |
c1c22e7a | 11426 | * lib-xref.adb: Implement output of renaming reference. |
82a4b025 | 11427 | |
c1c22e7a GB |
11428 | * checks.adb: |
11429 | (Determine_Range): Document local variables | |
11430 | (Determine_Range): Make sure Hbound is initialized. It looks as though | |
11431 | there could be a real problem here with an uninitialized reference | |
11432 | to Hbound, but no actual example of failure has been found. | |
82a4b025 | 11433 | |
c1c22e7a GB |
11434 | 2001-12-17 Laurent Pautet <pautet@gnat.com> |
11435 | ||
11436 | * g-socket.ads: | |
11437 | Fix comment of Shutdown_Socket and Close_Socket. These functions | |
11438 | should not fail silently because if they are called twice, this | |
11439 | probably means that there is a race condition in the user program. | |
11440 | Anyway, this behaviour is consistent with the rest of this unit. | |
11441 | When an error occurs, an exception is raised with the error message | |
11442 | as exception message. | |
11443 | ||
7eb7bb07 RD |
11444 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11445 | ||
07fc65c4 | 11446 | * frontend.adb: Move call to Check_Unused_Withs from Frontend, so |
7eb7bb07 | 11447 | that it happens before modification of Sloc values for -gnatD. |
82a4b025 | 11448 | |
07fc65c4 | 11449 | * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend, |
7eb7bb07 | 11450 | so that it happens before modification of Sloc values for -gnatD. |
82a4b025 | 11451 | |
7eb7bb07 RD |
11452 | * switch.adb: Minor reformatting |
11453 | ||
b6434700 RH |
11454 | 2001-12-15 Richard Henderson <rth@redhat.com> |
11455 | ||
11456 | * sem_ch7.adb: Wrap comment. | |
11457 | ||
44d6a706 JM |
11458 | 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk> |
11459 | ||
11460 | * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb, | |
11461 | 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb, | |
11462 | 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb, | |
11463 | 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb, | |
11464 | 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb, | |
11465 | 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in, | |
11466 | a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb, | |
11467 | a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb, | |
11468 | cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb, | |
11469 | exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb, | |
11470 | exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads, | |
11471 | g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb, | |
11472 | gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c, | |
11473 | make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads, | |
11474 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb, | |
11475 | repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads, | |
11476 | s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb, | |
11477 | s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads, | |
11478 | s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads, | |
11479 | s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb, | |
11480 | sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb, | |
11481 | sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb, | |
11482 | sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads, | |
11483 | sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix | |
11484 | spelling errors. | |
11485 | ||
226ada7a GB |
11486 | 2001-12-14 Vincent Celier <celier@gnat.com> |
11487 | ||
07fc65c4 | 11488 | * osint.adb(Create_Debug_File): When an object file is specified, |
226ada7a | 11489 | put the .dg file in the same directory as the object file. |
82a4b025 | 11490 | |
226ada7a GB |
11491 | 2001-12-14 Robert Dewar <dewar@gnat.com> |
11492 | ||
11493 | * osint.adb: Minor reformatting | |
82a4b025 | 11494 | |
07fc65c4 | 11495 | * lib-xref.adb (Output_Instantiation): New procedure to generate |
226ada7a | 11496 | instantiation references. |
82a4b025 | 11497 | |
226ada7a | 11498 | * lib-xref.ads: Add documentation of handling of generic references. |
82a4b025 | 11499 | |
07fc65c4 | 11500 | * ali.adb (Read_Instantiation_Ref): New procedure to read |
226ada7a | 11501 | instantiation references |
82a4b025 | 11502 | |
226ada7a | 11503 | * ali.ads: Add spec for storing instantiation references |
82a4b025 | 11504 | |
226ada7a | 11505 | * bindusg.adb: Minor reformatting |
82a4b025 | 11506 | |
226ada7a | 11507 | * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 11508 | |
226ada7a | 11509 | * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 11510 | |
226ada7a | 11511 | * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 11512 | |
226ada7a | 11513 | * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 11514 | |
226ada7a GB |
11515 | * csets.ads: |
11516 | Fix header format | |
11517 | Add 2001 to copyright date | |
11518 | Add entry for Latin-5 (Cyrillic ISO-8859-5) | |
82a4b025 | 11519 | |
226ada7a GB |
11520 | 2001-12-14 Matt Gingell <gingell@gnat.com> |
11521 | ||
07fc65c4 | 11522 | * adaint.c: mktemp is a macro on Lynx and can not be used as an |
226ada7a | 11523 | expression. |
82a4b025 | 11524 | |
226ada7a GB |
11525 | 2001-12-14 Richard Kenner <kenner@gnat.com> |
11526 | ||
07fc65c4 | 11527 | * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR |
226ada7a | 11528 | if operand is CONSTRUCTOR. |
82a4b025 | 11529 | |
226ada7a GB |
11530 | 2001-12-14 Ed Schonberg <schonber@gnat.com> |
11531 | ||
07fc65c4 GB |
11532 | * trans.c (tree_transform, case N_Assignment_Statement): Set lineno |
11533 | before emiting check on right-hand side, so that exception information | |
226ada7a GB |
11534 | is correct. |
11535 | ||
11536 | 2001-12-14 Richard Kenner <kenner@gnat.com> | |
82a4b025 | 11537 | |
07fc65c4 | 11538 | * utils.c (create_var_decl): Throw away initializing expression |
226ada7a | 11539 | if just annotating types and non-constant. |
82a4b025 | 11540 | |
226ada7a GB |
11541 | 2001-12-14 Vincent Celier <celier@gnat.com> |
11542 | ||
11543 | * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to | |
11544 | Default_Ada_... | |
82a4b025 | 11545 | |
07fc65c4 | 11546 | * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
226ada7a GB |
11547 | Remove functions. |
11548 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec. | |
82a4b025 | 11549 | |
07fc65c4 | 11550 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
226ada7a GB |
11551 | Remove functions. |
11552 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body. | |
11553 | ||
9b94bf9e JM |
11554 | 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk> |
11555 | ||
11556 | * ChangeLog: Remove piece of diff output. | |
11557 | ||
449d2be3 GB |
11558 | 2001-12-14 Geert Bosch <bosch@gnat.com> |
11559 | ||
11560 | * config-lang.in: Update copyright notice | |
11561 | ||
11562 | * layout.adb: Remove commented out code. | |
11563 | ||
11564 | * mdllfile.ads: Update copyright notice. Fix header format. | |
11565 | ||
11566 | * sem_case.ads: Likewise. | |
11567 | ||
11568 | * sem_ch3.adb: Minor reformatting. | |
11569 | ||
e5bd5cb4 GB |
11570 | 2001-12-12 Geert Bosch <bosch@gnat.com> |
11571 | ||
11572 | * freeze.ads: Update copyright date. | |
11573 | ||
11574 | * g-comlin.ads: Minor reformatting. | |
11575 | ||
11576 | * gnat-style.texi: Fix typo. | |
11577 | ||
b468d8ec GB |
11578 | 2001-12-12 Geert Bosch <bosch@gnat.com> |
11579 | ||
11580 | * einfo.h: Regenerate. | |
11581 | ||
ed7da216 GB |
11582 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
11583 | ||
07fc65c4 | 11584 | * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names |
ed7da216 | 11585 | on known node types, rather than untyped fields. Further cleanups. |
82a4b025 | 11586 | |
ed7da216 GB |
11587 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
11588 | ||
11589 | * sem_ch12.adb: | |
11590 | (Save_Entity_Descendant): Minor comment update. | |
11591 | (Copy_Generic_Node): Deal with incorrect reference to Associated_Node | |
07fc65c4 | 11592 | of an N_Attribute_Reference node. As per note below, this does not |
ed7da216 | 11593 | eliminate need for Associated_Node in attribute ref nodes. |
07fc65c4 | 11594 | (Associated_Node): Documentation explicitly mentions attribute |
ed7da216 | 11595 | reference nodes, since this field is used in such nodes. |
82a4b025 | 11596 | |
ed7da216 GB |
11597 | * sem_ch12.adb (Associated_Node): Minor documentation cleanup. |
11598 | ||
de76a39c GB |
11599 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
11600 | ||
11601 | * s-stalib.adb: Add more comments on with statements being needed | |
82a4b025 | 11602 | |
de76a39c | 11603 | * par-ch12.adb: Minor reformatting |
82a4b025 | 11604 | |
de76a39c | 11605 | * prj-dect.ads: Fix copyright header |
82a4b025 | 11606 | |
07fc65c4 | 11607 | * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both |
de76a39c | 11608 | inputs fit in 32 bits, but the result still overflows. |
82a4b025 | 11609 | |
de76a39c | 11610 | * s-fatgen.ads: Minor comment improvement |
82a4b025 | 11611 | |
de76a39c GB |
11612 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
11613 | ||
07fc65c4 GB |
11614 | * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a |
11615 | formal derived type, look for an inherited component from the full | |
de76a39c | 11616 | view of the parent, if any. |
82a4b025 | 11617 | |
de76a39c GB |
11618 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
11619 | ||
11620 | * checks.ads (Apply_Alignment_Check): New procedure. | |
82a4b025 | 11621 | |
07fc65c4 GB |
11622 | * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to |
11623 | ensure that the alignment of objects with address clauses is | |
de76a39c GB |
11624 | appropriate, and raise PE if not. |
11625 | ||
07fc65c4 | 11626 | * exp_util.ads (Must_Be_Aligned): Removed, replaced by |
de76a39c | 11627 | Exp_Pakd.Known_Aligned_Enough |
82a4b025 | 11628 | |
de76a39c GB |
11629 | * mdllfile.ads: Minor reformatting |
11630 | ||
11631 | * mlib-fil.ads: Minor reformatting | |
82a4b025 | 11632 | |
de76a39c GB |
11633 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
11634 | ||
07fc65c4 GB |
11635 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous |
11636 | fix to any component reference if enclosing record has non-standard | |
de76a39c | 11637 | representation. |
82a4b025 | 11638 | |
de76a39c GB |
11639 | 2001-12-12 Vincent Celier <celier@gnat.com> |
11640 | ||
07fc65c4 | 11641 | * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package |
de76a39c | 11642 | Iteration |
82a4b025 | 11643 | |
de76a39c GB |
11644 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
11645 | ||
07fc65c4 | 11646 | * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in |
de76a39c | 11647 | sem_attr. |
82a4b025 | 11648 | |
de76a39c GB |
11649 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
11650 | ||
11651 | * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration | |
82a4b025 | 11652 | |
de76a39c GB |
11653 | 2001-12-12 Emmanuel Briot <briot@gnat.com> |
11654 | ||
11655 | * g-regexp.adb: Remove all debug code, since it isn't required anymore, | |
11656 | and it adds dependencies to system.io. | |
82a4b025 | 11657 | |
de76a39c GB |
11658 | 2001-12-12 Pascal Obry <obry@gnat.com> |
11659 | ||
07fc65c4 | 11660 | * g-dirope.adb (Expand_Path.Var): Correctly detect end of |
de76a39c GB |
11661 | variable name. |
11662 | ||
0b09835f ES |
11663 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
11664 | ||
11665 | * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance | |
07fc65c4 GB |
11666 | that is the parent of other generics, the instance body replaces the |
11667 | instance node. Retrieve the instance of the spec, which is the one | |
0b09835f ES |
11668 | that is visible in clients and within the body. |
11669 | ||
598c3446 GB |
11670 | 2001-12-11 Vincent Celier <celier@gnat.com> |
11671 | ||
11672 | * gnatmain.adb: Initial version. | |
82a4b025 | 11673 | |
598c3446 | 11674 | * gnatmain.ads: Initial version. |
82a4b025 | 11675 | |
598c3446 | 11676 | * prj-attr.adb (Initialisation_Data): Add package Gnatstub. |
82a4b025 | 11677 | |
598c3446 | 11678 | * snames.adb: Updated to match snames.ads. |
82a4b025 | 11679 | |
598c3446 | 11680 | * snames.ads: Added Gnatstub. |
82a4b025 | 11681 | |
598c3446 GB |
11682 | 2001-12-11 Vincent Celier <celier@gnat.com> |
11683 | ||
07fc65c4 | 11684 | * prj-attr.adb (Initialization_Data): Change name from |
598c3446 | 11685 | Initialisation_Data. |
82a4b025 | 11686 | |
598c3446 GB |
11687 | 2001-12-11 Emmanuel Briot <briot@gnat.com> |
11688 | ||
11689 | * g-regpat.adb (Parse_Literal): Properly handle simple operators ?, | |
11690 | + and * applied to backslashed expressions like \r. | |
82a4b025 | 11691 | |
598c3446 GB |
11692 | 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com> |
11693 | ||
07fc65c4 | 11694 | * g-os_lib.ads: String_List type added, Argument_List type is now |
598c3446 | 11695 | subtype of String_List. |
82a4b025 | 11696 | |
598c3446 GB |
11697 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
11698 | ||
11699 | * g-os_lib.ads: Change copyright to FSF | |
11700 | Add comments for String_List type | |
82a4b025 | 11701 | |
598c3446 GB |
11702 | 2001-12-11 Vincent Celier <celier@gnat.com> |
11703 | ||
07fc65c4 | 11704 | * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a |
598c3446 GB |
11705 | string to the buffer). |
11706 | ||
7fb754a1 GB |
11707 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
11708 | ||
11709 | * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in | |
11710 | sem_attr. | |
82a4b025 | 11711 | |
7fb754a1 | 11712 | * sem_attr.adb: Simplify previous fix for Address. |
07fc65c4 GB |
11713 | (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now, |
11714 | to avoid anomalies where the bound of the type appears to raise | |
7fb754a1 GB |
11715 | constraint error. |
11716 | ||
11717 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
11718 | ||
07fc65c4 | 11719 | * lib-xref.adb (Output_Refs): Make sure pointers are always properly |
7fb754a1 | 11720 | handled. |
82a4b025 | 11721 | |
7fb754a1 GB |
11722 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
11723 | ||
07fc65c4 | 11724 | * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a |
7fb754a1 | 11725 | renamed unit before checking for recursive instantiations. |
82a4b025 | 11726 | |
7fb754a1 GB |
11727 | 2001-12-11 Emmanuel Briot <briot@gnat.com> |
11728 | ||
11729 | * prj.ads: Add comments for some of the fields. | |
11730 | ||
0873bafc GB |
11731 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
11732 | ||
07fc65c4 | 11733 | * lib-xref.adb (Output_Refs): Don't output type references outside |
0873bafc | 11734 | the main unit if they are not otherwise referenced. |
82a4b025 | 11735 | |
0873bafc GB |
11736 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
11737 | ||
07fc65c4 | 11738 | * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify |
0873bafc | 11739 | code and diagnose additional illegal uses |
82a4b025 | 11740 | |
07fc65c4 | 11741 | * sem_util.adb (Is_Object_Reference): An indexed component is an |
0873bafc | 11742 | object only if the prefix is. |
82a4b025 | 11743 | |
0873bafc GB |
11744 | 2001-12-11 Vincent Celier <celier@gnat.com> |
11745 | ||
11746 | * g-diopit.adb: Initial version. | |
82a4b025 | 11747 | |
0873bafc | 11748 | * g-diopit.ads: Initial version. |
82a4b025 | 11749 | |
0873bafc GB |
11750 | * g-dirope.adb: |
11751 | (Expand_Path): Avoid use of Unbounded_String | |
11752 | (Find, Wildcard_Iterator): Moved to child package Iteration | |
82a4b025 | 11753 | |
0873bafc | 11754 | * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS |
82a4b025 | 11755 | |
7fb754a1 | 11756 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
0873bafc GB |
11757 | |
11758 | * sem_attr.adb: Minor reformatting | |
11759 | ||
d087cd96 GB |
11760 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
11761 | ||
11762 | * sem_ch3.adb: Clarify some ???. | |
82a4b025 | 11763 | |
d087cd96 GB |
11764 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
11765 | ||
07fc65c4 | 11766 | * exp_util.adb (Must_Be_Aligned): Removed, replaced by |
d087cd96 | 11767 | Exp_Pakd.Known_Aligned_Enough |
82a4b025 | 11768 | |
07fc65c4 | 11769 | * sem_ch13.adb (Check_Address_Alignment): Removed, extended |
d087cd96 GB |
11770 | version is moved to Exp_Ch13. |
11771 | ||
11772 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
11773 | ||
11774 | * einfo.ads: Minor reformatting | |
82a4b025 | 11775 | |
d087cd96 | 11776 | * exp_ch5.adb: Add comment for previous.change |
82a4b025 | 11777 | |
d087cd96 | 11778 | * ali.adb: New interface for extended typeref stuff. |
82a4b025 | 11779 | |
d087cd96 | 11780 | * ali.ads: New interface for typeref stuff. |
82a4b025 | 11781 | |
d087cd96 | 11782 | * checks.adb (Apply_Alignment_Check): New procedure. |
82a4b025 | 11783 | |
d087cd96 | 11784 | * debug.adb: Add -gnatdM for modified ALI output |
82a4b025 | 11785 | |
d087cd96 | 11786 | * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough. |
82a4b025 | 11787 | |
07fc65c4 GB |
11788 | * lib-xref.adb: Extend generation of <..> notation to cover |
11789 | subtype/object types. Note that this is a complete rewrite, | |
11790 | getting rid of the very nasty quadratic algorithm previously | |
d087cd96 | 11791 | used for derived type output. |
82a4b025 | 11792 | |
07fc65c4 GB |
11793 | * lib-xref.ads: Extend description of <..> notation to cover |
11794 | subtype/object types. Uses {..} for these other cases. | |
d087cd96 | 11795 | Also use (..) for pointer types. |
82a4b025 | 11796 | |
d087cd96 | 11797 | * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup. |
82a4b025 | 11798 | |
07fc65c4 | 11799 | * exp_pakd.adb: Minor reformatting. Note that prevous RH should say: |
d087cd96 GB |
11800 | (Known_Aligned_Enough): Replaces Must_Be_Aligned. |
11801 | ||
290986ed GB |
11802 | 2001-12-11 Vincent Celier <celier@gnat.com> |
11803 | ||
11804 | * gnatcmd.adb: | |
11805 | Changed /COMPILE_ONLY to /ACTIONS=COMPILE | |
11806 | Changed /BIND_ONLY to /ACTIONS=BIND | |
11807 | Changed /LINK_ONLY to /ACTIONS=LINK | |
82a4b025 | 11808 | |
290986ed GB |
11809 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
11810 | ||
11811 | * sem_ch8.adb (Find_Selected_Component): improved search for a | |
11812 | candidate package in case of error. | |
82a4b025 | 11813 | |
290986ed GB |
11814 | * sem_ch12.adb (Inline_Instance_Body): place head of use_clause |
11815 | chain back on scope stack before reinstalling use clauses. | |
82a4b025 | 11816 | |
290986ed GB |
11817 | * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings |
11818 | is enabled, do not kill the code for the condition, to preserve | |
11819 | warning. | |
11820 | ||
84157f51 GB |
11821 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
11822 | ||
07fc65c4 | 11823 | * checks.adb (Insert_Valid_Check): Apply validity check to expression |
84157f51 GB |
11824 | of conversion, not to result of conversion. |
11825 | ||
11826 | 2001-12-11 Ed Schonberg <schonber@gnat.com> | |
82a4b025 | 11827 | |
07fc65c4 GB |
11828 | * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag |
11829 | before freezing parent. If the declarations are mutually recursive, | |
11830 | an access to the current record type may be frozen before the | |
84157f51 GB |
11831 | derivation is complete. |
11832 | ||
7ffa903f VC |
11833 | 2001-12-05 Vincent Celier <celier@gnat.com> |
11834 | ||
07fc65c4 | 11835 | * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY, |
7ffa903f | 11836 | -c /COMPILE_ONLY, -l /LINK_ONLY |
82a4b025 | 11837 | |
7ffa903f VC |
11838 | * opt.ads: |
11839 | (Bind_Only): New Flag | |
11840 | (Link_Only): New flag | |
82a4b025 | 11841 | |
07fc65c4 | 11842 | * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only) |
7ffa903f | 11843 | and -l (Link_Only) |
82a4b025 | 11844 | |
7ffa903f | 11845 | * makeusg.adb: Add new switches -b and -l. Update Copyright notice. |
82a4b025 | 11846 | |
7ffa903f VC |
11847 | * make.adb: |
11848 | (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags. | |
11849 | (Gnatmake): Set the step flags. Only perform a step if the | |
11850 | corresponding step flag is True. | |
11851 | (Scan_Make_Arg): Reset the bind and link step flags when -u | |
11852 | or -gnatc has been specified. | |
11853 | ||
f91b40db GB |
11854 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
11855 | ||
07fc65c4 | 11856 | * sem_eval.adb (Eval_Concatenation): If left operand is a null string, |
f91b40db | 11857 | get bounds from right operand. |
82a4b025 | 11858 | |
f91b40db | 11859 | * sem_eval.adb: Minor reformatting |
82a4b025 | 11860 | |
07fc65c4 | 11861 | * exp_util.adb (Make_Literal_Range): use bound of literal rather |
f91b40db | 11862 | than Index'First, its lower bound may be different from 1. |
82a4b025 | 11863 | |
07fc65c4 | 11864 | * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B |
f91b40db | 11865 | and C48009J |
82a4b025 | 11866 | |
f91b40db GB |
11867 | 2001-12-05 Vincent Celier <celier@gnat.com> |
11868 | ||
11869 | * prj-nmsc.adb Minor reformatting | |
82a4b025 | 11870 | |
07fc65c4 | 11871 | * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if |
f91b40db | 11872 | set and libraries are not supported. |
82a4b025 | 11873 | |
f91b40db GB |
11874 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
11875 | ||
07fc65c4 GB |
11876 | * sem_ch3.adb (Build_Derived_Private_Type): set Public status of |
11877 | private view explicitly, so the back-end can treat as a global | |
f91b40db GB |
11878 | when appropriate. |
11879 | ||
45d04cbb GB |
11880 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
11881 | ||
11882 | * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation | |
11883 | unit, always replace instance node with new body, for ASIS use. | |
11884 | ||
11885 | 2001-12-05 Vincent Celier <celier@gnat.com> | |
82a4b025 | 11886 | |
07fc65c4 GB |
11887 | * prj-nmsc.adb (Language_Independent_Check): Issue a warning if |
11888 | libraries are not supported and both attributes Library_Name and | |
45d04cbb | 11889 | Library_Dir are specified. |
82a4b025 | 11890 | |
07fc65c4 | 11891 | * prj-proc.adb (Expression): Set location of Result to location of |
45d04cbb | 11892 | first term. |
82a4b025 | 11893 | |
45d04cbb GB |
11894 | * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS. |
11895 | (prj-nmsc is now importing MLib.Tgt) | |
82a4b025 | 11896 | |
45d04cbb GB |
11897 | * prj-proc.adb: Put the change indicated above that was forgotten. |
11898 | ||
84436014 RD |
11899 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
11900 | ||
11901 | * Makefile.in: Add dependencies for System.IO for GNAT.Regexp | |
11902 | ||
7ae0dcd8 ES |
11903 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
11904 | ||
11905 | * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a | |
11906 | constraint, introduce explicit subtype declaration and derive from it. | |
82a4b025 | 11907 | |
7ae0dcd8 ES |
11908 | * sem_ch3.adb: Minor reformatting |
11909 | ||
c9a4817d RD |
11910 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
11911 | ||
07fc65c4 | 11912 | * checks.adb (Determine_Range): Increase cache size for checks. |
c9a4817d | 11913 | Minor reformatting |
82a4b025 | 11914 | |
c9a4817d RD |
11915 | * exp_ch6.adb: Minor reformatting |
11916 | (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has | |
11917 | a parameter whose root type is System.Address, since treating such | |
11918 | subprograms as pure in the code generator is almost surely a mistake | |
11919 | that will lead to unexpected results. | |
82a4b025 | 11920 | |
07fc65c4 | 11921 | * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and |
c9a4817d | 11922 | change handling of conversions. |
82a4b025 | 11923 | |
c9a4817d RD |
11924 | * g-regexp.adb: Use System.IO instead of Ada.Text_IO. |
11925 | ||
2514b839 ES |
11926 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
11927 | ||
07fc65c4 GB |
11928 | * sem_ch3.adb (Analyze_Object_Declaration): If expression is an |
11929 | aggregate with static wrong size, attach generated Raise node to | |
2514b839 ES |
11930 | declaration. |
11931 | ||
457b6274 RD |
11932 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
11933 | ||
07fc65c4 | 11934 | * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute. |
457b6274 RD |
11935 | Fixes compilation abandoned bomb in B24009B. |
11936 | ||
19349925 ES |
11937 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
11938 | ||
11939 | * sem_ch12.adb: | |
11940 | Document use of Associated_Node on Selected_Components. | |
11941 | (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants, | |
11942 | to clarify use of untyped descendant fields. | |
11943 | ||
6663c393 RD |
11944 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
11945 | ||
11946 | * prj-dect.ads: Add ??? comment | |
11947 | Add 2001 to copyright notice (was not done in after all) | |
82a4b025 | 11948 | |
6663c393 | 11949 | * prj-part.adb: Minor reformatting. Reword one awkward error message. |
82a4b025 | 11950 | |
6663c393 | 11951 | * prj.ads: Minor reformatting throughout, and add some ??? comments |
82a4b025 | 11952 | |
6663c393 RD |
11953 | * snames.ads: Minor reformatting |
11954 | ||
d7b2a6af GB |
11955 | 2001-12-05 Geert Bosch <bosch@gnat.com> |
11956 | ||
11957 | * snames.adb: Autoupdate | |
11958 | ||
fbc9a404 VC |
11959 | 2001-12-05 Vincent Celier <celier@gnat.com> |
11960 | ||
11961 | * prj-dect.adb (Parse): Rename parameter Modifying to Extends. | |
82a4b025 | 11962 | |
fbc9a404 | 11963 | * prj-dect.ads (Parse): Rename parameter Modifying to Extends. |
82a4b025 | 11964 | |
fbc9a404 | 11965 | * prj-env.adb: Minor comment changes (modifying -> extends). |
82a4b025 | 11966 | |
fbc9a404 | 11967 | * prj-nmsc.adb: Minor comment changes (modifying -> extends). |
82a4b025 | 11968 | |
07fc65c4 | 11969 | * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to |
fbc9a404 | 11970 | Tok_Extends. |
82a4b025 | 11971 | |
fbc9a404 | 11972 | * prj.adb (Initialize): Change Modifying to Extends. |
82a4b025 | 11973 | |
fbc9a404 | 11974 | * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends. |
82a4b025 | 11975 | |
fbc9a404 | 11976 | * prj.ads: Minor comment change (Modifying -> extending). |
82a4b025 | 11977 | |
fbc9a404 VC |
11978 | * snames.ads: Change modifying to extends. |
11979 | ||
7cff0b1b RD |
11980 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
11981 | ||
07fc65c4 | 11982 | * sem_warn.adb: Remove stuff for conditionals, we are not going to |
7cff0b1b | 11983 | do this after all. |
82a4b025 | 11984 | |
07fc65c4 | 11985 | * sem_warn.ads: Remove stuff for conditionals, we are not going to |
7cff0b1b RD |
11986 | do this after all. Add 2001 to copyright notice |
11987 | ||
4f56ebb7 GB |
11988 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
11989 | ||
11990 | * einfo.h, sinfo.h, treeprs.ads: Regenerate. | |
11991 | ||
053defdf RD |
11992 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
11993 | ||
07fc65c4 GB |
11994 | * errout.adb (Error_Msg): Ignore attempt to put error msg at junk |
11995 | location if we already have errors. Stops some cases of cascaded | |
053defdf | 11996 | errors. |
82a4b025 | 11997 | |
053defdf RD |
11998 | * errout.adb: Improve comment. |
11999 | ||
f311e166 RD |
12000 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12001 | ||
12002 | * sem_ch12.adb: | |
12003 | (Analyze_Formal_Type_Definition): Defend against Error. | |
12004 | (Analyze_Formal_Subprogram): Defend against Error. | |
82a4b025 | 12005 | |
07fc65c4 | 12006 | * par-ch12.adb (F_Formal_Type_Declaration): In case of error, |
f311e166 RD |
12007 | remove following semicolon if present. Removes cascaded error. |
12008 | ||
d61bd65a DR |
12009 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> |
12010 | ||
12011 | * bindgen.adb: | |
12012 | (Gen_Exception_Table_Ada): Write "begin" and then return if Num | |
12013 | exceptions equals 0. | |
12014 | (Gen_Exception_Table_C): Return if Num exceptions equals 0. | |
12015 | Fixes PIWG E tests (which have to be run with -gnatL). | |
12016 | ||
4ba603e2 RD |
12017 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12018 | ||
12019 | * einfo.ads: Minor reformatting | |
12020 | ||
57568d91 ES |
12021 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12022 | ||
07fc65c4 GB |
12023 | * einfo.ads: Block_Node points to the identifier of the block, not to |
12024 | the block node itself, to preserve the link when the block is | |
12025 | rewritten, e.g. within an if-statement with a static condition. | |
82a4b025 | 12026 | |
07fc65c4 | 12027 | * inline.adb (Cleanup_Scopes): recover block statement from block |
57568d91 | 12028 | entity using new meaning of Block_Node. |
82a4b025 | 12029 | |
07fc65c4 | 12030 | * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to |
57568d91 ES |
12031 | identifier of block node, rather than to node itself. |
12032 | ||
0815d36a | 12033 | 2001-12-04 Gary Dismukes <dismukes@gnat.com> |
82a4b025 | 12034 | |
0815d36a GD |
12035 | * layout.adb: |
12036 | (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size. | |
12037 | (Discrimify): Go back to setting the Etypes of the selected component | |
07fc65c4 | 12038 | because the Vname component does not exist at this point and will |
0815d36a GD |
12039 | fail name resolution. Also set Analyzed. |
12040 | Remove with and use of Sem_Res. | |
12041 | ||
edc0f304 AC |
12042 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
12043 | ||
12044 | * Makefile.in: (HIE_SOURCES): add s-fat*. | |
12045 | ||
32213142 RD |
12046 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12047 | ||
12048 | * sem_attr.adb: | |
12049 | (Compile_Time_Known_Attribute): New procedure. | |
12050 | (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure | |
12051 | proper range check. | |
12052 | ||
c0def2ad ES |
12053 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12054 | ||
07fc65c4 | 12055 | * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before |
c0def2ad ES |
12056 | processing discriminants to diagnose illegal default values. |
12057 | ||
ee0a48c5 ES |
12058 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12059 | ||
07fc65c4 GB |
12060 | * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide |
12061 | access discriminant within a type extension that constrains its | |
ee0a48c5 ES |
12062 | parent discriminants. |
12063 | ||
dd5875a6 ES |
12064 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12065 | ||
07fc65c4 | 12066 | * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication |
dd5875a6 | 12067 | is malformed, use instance of Any_Id to allow analysis to proceed. |
82a4b025 | 12068 | |
07fc65c4 | 12069 | * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if |
dd5875a6 ES |
12070 | type definition is illegal. |
12071 | (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is | |
12072 | misplaced. | |
12073 | ||
c2a41e57 ES |
12074 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12075 | ||
07fc65c4 | 12076 | * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to |
c2a41e57 ES |
12077 | constants. |
12078 | ||
0ae84753 RD |
12079 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12080 | ||
12081 | * errout.adb: Minor reformatting | |
12082 | ||
63db260e RD |
12083 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12084 | ||
12085 | * exp_util.adb: Minor reformatting from last change | |
82a4b025 | 12086 | |
07fc65c4 GB |
12087 | * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node |
12088 | which is a rewriting of an expression, traverse the original | |
63db260e RD |
12089 | expression to remove warnings that may have been posted on it. |
12090 | ||
c6d289f4 ES |
12091 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12092 | ||
07fc65c4 | 12093 | * exp_util.adb (Must_Be_Aligned): Return false for a component of a |
c6d289f4 ES |
12094 | record that has other packed components. |
12095 | ||
5917e80d DR |
12096 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
12097 | ||
12098 | * adaint.c: Minor cleanups. | |
12099 | ||
2c70f9dd DR |
12100 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
12101 | ||
12102 | * adaint.c: Do not use utime.h on vxworks. | |
12103 | ||
e59b3387 AC |
12104 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
12105 | ||
07fc65c4 | 12106 | * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes |
e59b3387 AC |
12107 | more confusion than it solves. |
12108 | ||
e288604a GB |
12109 | 2001-12-04 Geert bosch <bosch@gnat.com> |
12110 | ||
12111 | * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate. | |
12112 | ||
5ac21013 GB |
12113 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
12114 | ||
07fc65c4 | 12115 | * Makefile.in (update-sources): New target. |
5ac21013 GB |
12116 | For use by gcc_release script. |
12117 | ||
7dd5bd5e ES |
12118 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12119 | ||
07fc65c4 | 12120 | * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as |
7dd5bd5e ES |
12121 | a configuration pragma, it is now legal wherever a pragma can appear. |
12122 | ||
a078a589 ZW |
12123 | 2001-12-04 Zack Weinberg <zack@codesourcery.com> |
12124 | ||
12125 | * Makefile.in: Don't set ALL. Delete @cross_defines@, | |
12126 | @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS | |
12127 | is now @CROSS@ -DIN_GCC; update comment. | |
12128 | ||
0839863c GB |
12129 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12130 | ||
12131 | * einfo.adb (Has_Pragma_Pure_Function): New flag. | |
12132 | Fix problem that stopped ceinfo from working | |
82a4b025 | 12133 | |
0839863c | 12134 | * einfo.ads (Has_Pragma_Pure_Function): New flag. |
82a4b025 | 12135 | |
0839863c GB |
12136 | * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function. |
12137 | ||
12138 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> | |
9678de49 DR |
12139 | |
12140 | * gnatchop.adb: | |
12141 | (File_Time_Stamp): New procedure. | |
12142 | (Preserve_Mode): New boolean. | |
12143 | (Write_Unit): Pass time stamp. | |
12144 | Implement -p switch (preserve time stamps). | |
82a4b025 | 12145 | |
9678de49 | 12146 | * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE). |
82a4b025 | 12147 | |
9678de49 | 12148 | * gnatchop.adb: Do usage info for -p switch |
82a4b025 | 12149 | |
9678de49 | 12150 | * adaint.h (__gnat_set_file_time_name): New function |
82a4b025 | 12151 | |
9678de49 | 12152 | * adaint.c (__gnat_set_file_time_name): Implement |
82a4b025 | 12153 | |
9678de49 DR |
12154 | * adaint.h: Fix typo |
12155 | ||
3b9a13c4 RD |
12156 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
12157 | ||
667e5c5d | 12158 | * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not |
b4f94ac1 | 12159 | have Associated_Node. |
3b9a13c4 | 12160 | |
767b404e RD |
12161 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
12162 | ||
12163 | * prj-proc.adb: Minor reformatting | |
667e5c5d | 12164 | |
767b404e RD |
12165 | * make.adb: Minor reformatting |
12166 | ||
11ac71ba GB |
12167 | 2001-12-03 Geert Bosch <bosch@gnat.com> |
12168 | ||
667e5c5d | 12169 | * make.adb: Minor reformatting. |
11ac71ba | 12170 | |
ef3d4d6e | 12171 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
b1446533 RD |
12172 | |
12173 | * sem_ch12.adb: Minor reformatting | |
12174 | ||
d6d32b24 ES |
12175 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
12176 | ||
667e5c5d AJ |
12177 | * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and |
12178 | push Standard on the stack before analyzing the instance body, | |
d6d32b24 | 12179 | in order to have a clean visibility environment. |
667e5c5d AJ |
12180 | |
12181 | * sem_ch12.adb (Inline_Instance_Body): Remove redundant code. | |
d6d32b24 | 12182 | |
13f08f03 ES |
12183 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
12184 | ||
667e5c5d | 12185 | * sem_ch12.adb (Instantiate_Package_Body): Protect against double |
13f08f03 ES |
12186 | instantiation of a body that contains an inlined body. |
12187 | ||
3bd6c100 ES |
12188 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
12189 | ||
12190 | * sem_ch12.adb: | |
12191 | (Analyze_generic_subprogram_Declaration): Set outer_generic_scope, | |
12192 | to prevent freezing within formal packages. | |
12193 | (Freeze_Subprogram_Body): If body comes from another instance that | |
12194 | appeared before its own body, place freeze node at end of current | |
12195 | declarative part, to prevent a back-end crash. | |
12196 | (Inline_Instance_Body): Handle properly a package instance within | |
12197 | a subprogram instance that is a child unit. | |
12198 | ||
58d07d8f GS |
12199 | 2001-12-01 Graham Stott <grahams@redhat.com> |
12200 | ||
12201 | * Makefile.in (misc.o): Add missing $(srcdir) prefix | |
12202 | and add optabs.h dependency. | |
12203 | ||
12204 | * misc.c: Include optabs.h | |
12205 | (gnat_tree_code_type): Make static and const. | |
12206 | (gnat_tree_code_length): Likewise. | |
12207 | (gnat_tree_code_name): Likewise. | |
12208 | (update_setjmp_buf): Obtain operands mode from insn_data. | |
12209 | ||
c87222f0 RH |
12210 | 2001-11-29 Richard Henderson <rth@redhat.com> |
12211 | ||
12212 | * init.c: Remove obsolete dwarf2 frame.h section. | |
12213 | ||
d3945f0a JM |
12214 | 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk> |
12215 | ||
12216 | * Make-lang.in (ada.generated-manpages): New dummy target. | |
12217 | ||
9f639397 ES |
12218 | 2001-11-29 Ed Schonberg <schonber@gnat.com> |
12219 | ||
667e5c5d AJ |
12220 | * g-os_lib.adb (Add_To_Command): use explicit loop to move string |
12221 | into Command, an array conversion is illegal here. Uncovered by | |
9f639397 ES |
12222 | ACATS B460005. |
12223 | ||
c835e5c6 GB |
12224 | 2001/11/28 Geert Bosch <bosch@gnat.com> |
12225 | ||
12226 | * init.c: Minor whitespace changes. | |
12227 | ||
49bb4548 DR |
12228 | 2001-11-28 Doug Rupp <rupp@gnat.com> |
12229 | ||
667e5c5d | 12230 | * init.c: (__gnat_install_handler,VMS): Increase size of alternate |
49bb4548 DR |
12231 | signal stack. |
12232 | ||
ea2417e5 ZW |
12233 | 2001-11-28 Zack Weinberg <zack@codesourcery.com> |
12234 | ||
12235 | * misc.c (gnat_expand_constant): Move declaration above | |
12236 | definition of lang_hooks. | |
12237 | (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant. | |
12238 | (gnat_init): lang_expand_constant no longer exists. | |
12239 | ||
12240 | (internal_error_function): Remove #ifdef HAVE_VPRINTF. We | |
12241 | always have vprintf. | |
12242 | (gnat_init): Always call set_internal_error_function. | |
12243 | ||
f8e0aa73 AJ |
12244 | 2001-11-27 Andreas Jaeger <aj@suse.de> |
12245 | ||
12246 | * Makefile.in (stamp-tool_src_dir): Use symbolic link. | |
12247 | ||
d99b0e79 LG |
12248 | 2001-11-27 Laurent Guerby <guerby@acm.org> |
12249 | ||
12250 | * Makefile.in: Regenerate Ada dependencies. | |
12251 | ||
3f0496e5 RH |
12252 | 2001-11-26 Richard Henderson <rth@redhat.com> |
12253 | ||
12254 | * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd, | |
12255 | gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys, | |
12256 | gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o. | |
12257 | ||
92fa4733 LG |
12258 | 2001-11-25 Laurent Guerby <guerby@acm.org> |
12259 | ||
12260 | * sysdep.c (rts_get_*): Fix style. | |
12261 | ||
07626501 LG |
12262 | 2001-11-19 Laurent Guerby <guerby@acm.org> |
12263 | ||
12264 | * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include | |
12265 | since it is of no apparent use and cause warnings. | |
12266 | ||
22703ccc NB |
12267 | 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk> |
12268 | ||
12269 | * misc.c (gnat_decode_option, gnat_init_options): Make definitions | |
12270 | static too. | |
12271 | (gnat_init): Don't return NULL. | |
12272 | (finish_parse): Remove. | |
12273 | ||
b0df4321 LG |
12274 | 2001-11-17 Laurent Guerby <guerby@acm.org> |
12275 | ||
12276 | * Make-lang.in (GNATLIBFLAGS): Add -W -Wall. | |
12277 | * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing. | |
12278 | * io-aux.c: Provide K&R prototypes to all functions, reformat code. | |
12279 | * lang-spec.h: Add missing struct field to silence warnings. | |
12280 | * sysdep.c (rts_get_*): Provide K&R prototype. | |
12281 | * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype. | |
12282 | * traceback.c (Unlock_Task, Lock_Task): Likewise. | |
12283 | * tracebak.c (__gnat_backtrace): Remove unused variable. | |
12284 | * utils.c (end_subprog_body): Move to K&R style. | |
12285 | ||
d215024f RK |
12286 | Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
12287 | ||
12288 | * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference. | |
12289 | ||
f5e99456 NB |
12290 | 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk> |
12291 | ||
12292 | * misc.c (gnat_init): Change prototype. Include the | |
12293 | functionality of the old init_parse and init_decl_processing. | |
12294 | (gnat_init_decl_processing): New prototype. | |
12295 | (init_parse): Remove. | |
12296 | * utils.c (init_decl_processing): Rename gnat_init_decl_processing. | |
12297 | ||
5d69f816 NB |
12298 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
12299 | ||
12300 | * misc.c (gnat_print_decl, gnat_print_type): Renamed. | |
12301 | (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override. | |
12302 | (print_lang_statistics, lang_print_xnode, print_lang_identifier, | |
12303 | set_yydebug): Remove. | |
12304 | ||
3ac88239 NB |
12305 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
12306 | ||
12307 | * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override. | |
12308 | (struct lang_hooks): Constify. | |
12309 | (language_string, lang_identify): Remove. | |
12310 | * utils.c (init_decl_processing): Update. | |
12311 | ||
d23c55c2 NB |
12312 | 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
12313 | ||
12314 | * misc.c: Include langhooks-def.h. | |
12315 | * Makefile.in: Update. | |
12316 | ||
04a1b79c RD |
12317 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12318 | ||
12319 | * style.adb: | |
12320 | (Check_Identifier): Rewrite circuit to be compatible with use of letters | |
12321 | in the upper half of ASCII. | |
12322 | (Check_Identifier): Minor reformatting | |
12323 | ||
81fa2d39 GB |
12324 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
12325 | ||
f8e0aa73 | 12326 | * (Associated_Node, Set_Associated_Node): Do not check for |
81fa2d39 GB |
12327 | Freeze_Entity. |
12328 | ||
ffc5527f RD |
12329 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12330 | ||
12331 | * a-reatim.ads: Minor reformatting | |
12332 | ||
865335eb RD |
12333 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12334 | ||
f8e0aa73 | 12335 | * gnatdll.adb: Minor reformatting throughout. Many ??? added for |
865335eb RD |
12336 | undocumented declarations. |
12337 | ||
5e257178 PO |
12338 | 2001-10-30 Pascal Obry <obry@gnat.com> |
12339 | ||
f8e0aa73 | 12340 | * gnatdll.adb (Parse_Command_Line): handle -g option to be passed |
5e257178 PO |
12341 | to the binder and linker. |
12342 | Minor style fix. | |
f8e0aa73 | 12343 | |
5e257178 PO |
12344 | * mdll.ads: Fix layout. Update copyright notice. |
12345 | ||
12346 | * mdll.adb: Fix layout. Update copyright notice. | |
12347 | ||
1753e0ad RD |
12348 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12349 | ||
12350 | * usage.adb: Minor fix to output for -gnaty. | |
12351 | ||
84bfdde0 ES |
12352 | 2001-10-30 Ed Schonberg <schonber@gnat.com> |
12353 | ||
f8e0aa73 AJ |
12354 | * a-reatim.ads: Makes Seconds_Count into a 64-bit integer, |
12355 | to accommodate all its possible values. | |
84bfdde0 | 12356 | |
f8e0aa73 | 12357 | * a-reatim.adb (Split): Special-case handling of Time_Span_First |
84bfdde0 ES |
12358 | and of small absolute values of T. |
12359 | ||
c296e5fc RK |
12360 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
12361 | ||
f8e0aa73 AJ |
12362 | * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to |
12363 | set_mem_attributes since not needed and wrong if RESULT if a REG; | |
c296e5fc RK |
12364 | fixes ACATS failures. |
12365 | ||
07c809df GB |
12366 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
12367 | ||
12368 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads, | |
12369 | s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice. | |
12370 | ||
54d22416 | 12371 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 12372 | |
54d22416 | 12373 | * bindusg.adb: Undocument -f switch. |
f8e0aa73 | 12374 | |
54d22416 | 12375 | * gnatcmd.adb: Remove /FULL_ELABORATION. |
f8e0aa73 AJ |
12376 | |
12377 | * opt.ads (Force_RM_Elaboration_Order): Document that this is | |
54d22416 | 12378 | obsolescent. |
f8e0aa73 | 12379 | |
54d22416 | 12380 | * gnatbind.adb: Output new warning for use of obsolescent -f switch. |
f8e0aa73 | 12381 | |
54d22416 RD |
12382 | * gnatbind.adb: Minor update of warning msg. |
12383 | ||
af5cf6f8 VC |
12384 | 2001-10-30 Vincent Celier <celier@gnat.com> |
12385 | ||
f8e0aa73 | 12386 | * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations |
af5cf6f8 | 12387 | for project file switches (-P (/PROJECT_FILE=), |
f8e0aa73 | 12388 | -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT |
af5cf6f8 VC |
12389 | or MEDIUM or HIGH) |
12390 | ||
984bc4c3 GB |
12391 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
12392 | ||
12393 | * decl.c: Minor whitespace fixes. | |
12394 | ||
5dece937 RK |
12395 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
12396 | ||
12397 | * utils2.c (build_allocator): Test for SIZE overflow in array case too | |
12398 | ||
de4bf6cb GB |
12399 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
12400 | ||
f8e0aa73 | 12401 | * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out. |
de4bf6cb | 12402 | Found due to GCC 3.0 warning of using uninitialized value. |
f8e0aa73 | 12403 | |
de4bf6cb GB |
12404 | * layout.adb: |
12405 | (Get_Max_Size): Use variant record for tracking value/expression. | |
12406 | Makes logic clearer and prevents warnings for uninitialized variables. | |
12407 | (Layout_Array_Type): Use variant record for tracking value/expression. | |
12408 | Makes logic clearer and prevents warnings for uninitialized variables. | |
12409 | ||
f5e44987 RD |
12410 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12411 | ||
12412 | * lib.adb: Minor reformatting | |
12413 | ||
12414 | * s-taprop.ads: Minor reformatting | |
12415 | ||
45659035 | 12416 | 2001-10-29 Laurent Guerby <guerby@acm.org> |
f8e0aa73 | 12417 | |
45659035 GB |
12418 | * init.c: |
12419 | (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg | |
12420 | const. | |
12421 | (_gnat_error_handler): Make MSG const. | |
12422 | ||
12423 | 2001-10-29 Richard Kenner <kenner@gnat.com> | |
12424 | ||
12425 | * sysdep.c: Fix localtime_r problem on LynxOS. | |
12426 | Also remove #elif to avoid warnings. | |
f8e0aa73 AJ |
12427 | |
12428 | * misc.c (yyparse): Don't set up and register jmpbuf; remove decls | |
45659035 | 12429 | used by this. |
f8e0aa73 | 12430 | |
45659035 GB |
12431 | * decl.c (annotate_value): Make SIZE unsigned to avoid warning. |
12432 | ||
638e383e JM |
12433 | 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk> |
12434 | ||
12435 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb, | |
12436 | exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb, | |
12437 | g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads, | |
12438 | g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c, | |
12439 | layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads, | |
12440 | s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads, | |
12441 | sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb, | |
12442 | sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb, | |
12443 | sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads, | |
12444 | types.ads, urealp.adb: Fix spelling errors. | |
12445 | ||
97f6baa0 LG |
12446 | 2001-10-27 Laurent Guerby <guerby@acm.org> |
12447 | ||
12448 | * trans.c (gigi): Fix non determinism leading to bootstrap | |
12449 | comparison failures for debugging information. | |
12450 | ||
46b58b8c FW |
12451 | 2001-10-26 Florian Weimer <fw@deneb.enyo.de> |
12452 | ||
12453 | * gnat_rm.texi: Use @./@: where appropriate. | |
12454 | ||
30151c7b RD |
12455 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
12456 | ||
12457 | * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup. | |
12458 | ||
c0b1738d RK |
12459 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
12460 | ||
12461 | * gmem.c (__gnat_gmem_read_next): Properly check for EOF | |
12462 | ||
5b09c153 RK |
12463 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
12464 | ||
f8e0aa73 | 12465 | * decl.c (validate_size): Modify message for bad size to avoid |
5b09c153 RK |
12466 | implication that compiler is modifying the size. |
12467 | ||
4d553668 RD |
12468 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
12469 | ||
12470 | * prj-util.adb: Minor reformatting. Fix bad header format. | |
12471 | ||
3e542a58 RD |
12472 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
12473 | ||
12474 | * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup. | |
f8e0aa73 | 12475 | |
3e542a58 | 12476 | * sinfo.ads: Clarify use of Associated_Node (documentation only). |
f8e0aa73 AJ |
12477 | |
12478 | * sem_ch12.adb: Change Node4 to Associated_Node. Change | |
12479 | Associated_Node to Get_Associated_Node. Put use of Unchecked_Access | |
3e542a58 RD |
12480 | much more narrowly in places where needed. These are cleanups. |
12481 | ||
0bf08bfe JB |
12482 | 2001-10-26 Joel Brobecker <brobecke@gnat.com> |
12483 | ||
12484 | * 5zosinte.ads (null_pthread): new constant. | |
f8e0aa73 | 12485 | |
0bf08bfe JB |
12486 | * 5ztaprop.adb: |
12487 | (Initialize_TCB): Initialize thread ID to null, to be able to verify | |
12488 | later that this field has been set. | |
12489 | (Finalize_TCB): ditto. | |
12490 | (Suspend_Task): Verify that the thread ID is not null before using it. | |
12491 | (Resume_Task): ditto. | |
f8e0aa73 | 12492 | |
0bf08bfe JB |
12493 | * s-tasdeb.adb: |
12494 | (Resume_All_Tasks): Lock the tasks list before using it. | |
12495 | (Suspend_All_Tasks): ditto. | |
12496 | ||
7a3a8c06 RK |
12497 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
12498 | ||
f8e0aa73 | 12499 | * decl.c (gnat_to_gnu_entity, case E_General_Access_Type): |
7a3a8c06 RK |
12500 | Make constant variant of designated type for Is_Access_Constant. |
12501 | Call update_pointer_to with main variant. | |
f8e0aa73 AJ |
12502 | |
12503 | * trans.c (process_freeze_entity, process_type): | |
7a3a8c06 | 12504 | Call update_pointer_to on main variant. |
f8e0aa73 | 12505 | |
7a3a8c06 RK |
12506 | * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE. |
12507 | If main variant, update all other variants. | |
f8e0aa73 AJ |
12508 | |
12509 | * utils2.c (build_unary_op, case INDIRECT_REF): No longer set | |
7a3a8c06 RK |
12510 | TREE_STATIC. |
12511 | ||
a160babb RD |
12512 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
12513 | ||
12514 | * prj-util.adb: Minor reformatting | |
12515 | ||
b403bd17 RD |
12516 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
12517 | ||
12518 | * prj-util.adb: Minor reformatting | |
12519 | ||
5fc3b4c7 RD |
12520 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
12521 | ||
12522 | * prj-attr.adb: Minor reformatting throughout | |
12523 | ||
8c736034 RD |
12524 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
12525 | ||
12526 | * prj-attr.ads: Minor reformatting | |
12527 | Add ??? comment (this whole spec has almost no comments) | |
12528 | ||
47d5b6ed VC |
12529 | 2001-10-26 Vincent Celier <celier@gnat.com> |
12530 | ||
f8e0aa73 | 12531 | * g-os_lib.adb (Normalize_Pathname): Preserve the double slash |
b4f94ac1 | 12532 | ("//") that precede the drive letter on Interix. |
47d5b6ed | 12533 | |
41af791f GB |
12534 | 2001-10-26 Geert Bosch <bosch@gnat.com> |
12535 | ||
12536 | * gnat_rm.texi: Add GNAT Reference Manual. | |
12537 | ||
ed4a1468 RD |
12538 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
12539 | ||
f8e0aa73 | 12540 | * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name |
b4f94ac1 | 12541 | is Error. Similar change for other renaming cases. |
ed4a1468 | 12542 | |
24377ae4 RD |
12543 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
12544 | ||
12545 | * s-atacco.ads: Add pragma Inline_Always for functions. | |
12546 | Fix header format. Add copyright 2001 | |
12547 | ||
fef3204e ES |
12548 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
12549 | ||
f8e0aa73 | 12550 | * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array |
b4f94ac1 | 12551 | return Error rather than Empty so that analysis can proceed. |
fef3204e | 12552 | |
dfc69d80 ES |
12553 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
12554 | ||
f8e0aa73 | 12555 | * sem_util.adb (Enter_Name): better handling of cascaded error |
b4f94ac1 | 12556 | messages when a unit appears in its own context. |
dfc69d80 | 12557 | |
5a15af62 ES |
12558 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
12559 | ||
f8e0aa73 | 12560 | * sem_util.adb (Defining_Entity): in case of error, attach created |
b4f94ac1 | 12561 | entity to specification, so that semantic analysis can proceed. |
5a15af62 | 12562 | |
2b881d53 RD |
12563 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
12564 | ||
f8e0aa73 | 12565 | * sem_util.adb |
b4f94ac1 | 12566 | (Defining_Entity): Deal with Error. |
2b881d53 RD |
12567 | (Process_End_Label): Deal with bad end label for. |
12568 | ||
578053f2 ES |
12569 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
12570 | ||
f8e0aa73 | 12571 | * sem_elab.adb (Check_A_Call): refine message when call is in an |
578053f2 ES |
12572 | instance but callee is not declared in the generic unit. |
12573 | ||
0597ce0b | 12574 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
f8e0aa73 AJ |
12575 | |
12576 | * sem_elab.adb (Check_A_Call): check for renaming before finding the | |
0597ce0b ES |
12577 | enclosing unit, which may already be different from the calling unit. |
12578 | ||
3de6e6da GB |
12579 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
12580 | ||
12581 | * 4gintnam.ads: fix header format. | |
12582 | ||
6f311316 ES |
12583 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
12584 | ||
f8e0aa73 | 12585 | * sem_res.adb (Resolve_Call): if the call is actually an indexing |
b4f94ac1 ZW |
12586 | operation on the result of a parameterless call, perform elaboration |
12587 | check after the node has been properly rewritten. | |
f8e0aa73 AJ |
12588 | |
12589 | * sem_ch12.adb (Copy_Generic_Node): after the proper body has been | |
b4f94ac1 ZW |
12590 | inlined within the generic tree, the defining identifier is not a |
12591 | compilation_unit. | |
6f311316 | 12592 | |
17be0cdf ES |
12593 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
12594 | ||
f8e0aa73 | 12595 | * sem_res.adb (Resolve): special-case resolution of Null in an |
b4f94ac1 | 12596 | instance or an inlined body to avoid view conflicts. |
f8e0aa73 AJ |
12597 | |
12598 | * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view | |
b4f94ac1 | 12599 | compatibility by retrieving the access type of the generic copy. |
17be0cdf | 12600 | |
ce9e9122 RD |
12601 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
12602 | ||
12603 | * sem_ch3.adb: | |
12604 | (Analyze_Number_Declaration): Handle error expression. | |
12605 | (Signed_Integer_Type_Declaration): Handle error bound. | |
12606 | (Analyze_Subtype_Indication): Handle error range. | |
f8e0aa73 | 12607 | |
ce9e9122 RD |
12608 | * sem_util.adb (Get_Index_Bounds): Check for Error. |
12609 | ||
e12fbc9e RD |
12610 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
12611 | ||
f8e0aa73 | 12612 | * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default |
e12fbc9e RD |
12613 | in no run time mode. |
12614 | ||
52b80488 PO |
12615 | 2001-10-25 Pascal Obry <obry@gnat.com> |
12616 | ||
f8e0aa73 | 12617 | * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet |
b4f94ac1 | 12618 | mode case for ALLOC case. |
f8e0aa73 AJ |
12619 | |
12620 | * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on | |
b4f94ac1 | 12621 | all platforms. Improvement of last change. |
52b80488 | 12622 | |
316ad9c5 RD |
12623 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
12624 | ||
12625 | * exp_ch4.adb (Expand_N_Allocator): Minor reformatting. | |
12626 | ||
1a7e4df4 GB |
12627 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
12628 | ||
12629 | * osint.adb (Is_Relative): Remove duplicate. | |
12630 | ||
90a9fff2 PO |
12631 | 2001-10-25 Pascal Obry <obry@gnat.com> |
12632 | ||
f8e0aa73 | 12633 | * osint.adb (Read_Default_Search_Dirs): correctly detect relative |
b4f94ac1 | 12634 | pathnames in UNIX and DOS style with drive letter. |
90a9fff2 | 12635 | (Is_Relative): new routine. |
f8e0aa73 | 12636 | |
90a9fff2 | 12637 | * osint.adb: Minor reformatting |
f8e0aa73 AJ |
12638 | |
12639 | * osint.adb (Is_Relative): implementation using | |
b4f94ac1 | 12640 | GNAT.OS_Lib.Is_Absolute_Path. Better fix. |
90a9fff2 | 12641 | |
5c1ba4cc PO |
12642 | 2001-10-25 Pascal Obry <obry@gnat.com> |
12643 | ||
f8e0aa73 | 12644 | * g-dirope.adb (Basename): correctly compute offset between the |
b4f94ac1 | 12645 | original Path and the translated one. |
f8e0aa73 | 12646 | |
5c1ba4cc PO |
12647 | * g-dirope.adb: (Base_Name): add some comments. |
12648 | ||
a7fb206d RD |
12649 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
12650 | ||
f8e0aa73 | 12651 | * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use |
b4f94ac1 | 12652 | in HIE mode, avoids compilation abandoned message |
f8e0aa73 | 12653 | |
a7fb206d | 12654 | * exp_imgv.adb: Correct typo in previous change |
f8e0aa73 | 12655 | |
a7fb206d RD |
12656 | * exp_imgv.adb: Correct typo in previous change (not my day!) |
12657 | ||
e6a7e62e RD |
12658 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
12659 | ||
12660 | * s-tpinop.ads: Add 2001 to copyright notice. Fix header format. | |
12661 | ||
0d2b8e0b | 12662 | 2001-10-25 Pascal Obry <obry@gnat.com> |
75c09e7d | 12663 | |
f8e0aa73 | 12664 | * g-awk.ads: Move all pragma inlines next to the routine |
0d2b8e0b | 12665 | declarations. This is more uniform with other GNAT spec. |
75c09e7d | 12666 | |
0d2b8e0b | 12667 | 2001-10-22 Geert Bosch <bosch@gnat.com> |
d2740a69 GB |
12668 | |
12669 | * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem. | |
12670 | ||
0d2b8e0b | 12671 | 2001-10-19 Geert Bosch <bosch@gnat.com> |
d7ac9bdd GB |
12672 | |
12673 | * Makefile.in (tools, gnattools): Remove gnatmem. | |
12674 | ||
17ed6335 RH |
12675 | 2001-10-17 Richard Henderson <rth@redhat.com> |
12676 | ||
12677 | * Makefile.in (misc.o): Depend on langhooks.h. | |
12678 | * misc.c: Include it. | |
12679 | (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. | |
12680 | (LANG_HOOKS_DECODE_OPTION): New. | |
12681 | (lang_hooks): Use LANG_HOOKS_INITIALIZER. | |
12682 | ||
f2436274 FW |
12683 | 2001-10-16 Florian Weimer <fw@deneb.enyo.de> |
12684 | ||
12685 | * trans.c (tree_transform): Adjust to recent change in | |
12686 | expand_asm_operands to implement named asm operands. | |
12687 | ||
b14127e6 ES |
12688 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
12689 | ||
f8e0aa73 | 12690 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in |
b14127e6 ES |
12691 | renaming of discriminant for mutable record type. |
12692 | ||
e70ee92a RD |
12693 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
12694 | ||
12695 | * validsw.adb: Properly save -gnatVn status. | |
12696 | ||
9a5621d7 | 12697 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 12698 | |
9a5621d7 RD |
12699 | * usage.adb: Add lines for V switch. |
12700 | ||
f8e0aa73 | 12701 | * gnatcmd.adb (COMPILE): Revise translations for -gnatV |
9a5621d7 RD |
12702 | (/VALIDITY_CHECKING). |
12703 | ||
45667f04 ES |
12704 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
12705 | ||
f8e0aa73 | 12706 | * sem_type.adb (Add_One_Interp): an operator for a type declared in |
45667f04 ES |
12707 | an extension of System is known to be visible. |
12708 | ||
c3de5c4c ES |
12709 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
12710 | ||
f8e0aa73 | 12711 | * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal |
c3de5c4c ES |
12712 | properly. Fixes regression on ACATS C34005G. |
12713 | ||
4fa964a6 RD |
12714 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
12715 | ||
f8e0aa73 | 12716 | * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null |
4fa964a6 RD |
12717 | loop in generic instance, since this is likely not very useful. |
12718 | ||
0868e09c RD |
12719 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
12720 | ||
f8e0aa73 | 12721 | * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize |
0868e09c | 12722 | the error message for high integrity mode. |
f8e0aa73 AJ |
12723 | |
12724 | * rtsfind.adb (RTE): Give message if we try to find an entity that | |
0868e09c | 12725 | is not available in high integrity mode. |
f8e0aa73 | 12726 | |
0868e09c RD |
12727 | * rtsfind.ads: |
12728 | (OK_To_Use_In_HIE_Mode): New array. | |
12729 | (RTE): May return Empty in high integrity mode. | |
f8e0aa73 AJ |
12730 | |
12731 | * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for | |
12732 | OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx. | |
12733 | ||
12734 | * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined | |
12735 | unit if not inlined always and in no runtime mode. Fixes problem | |
0868e09c | 12736 | caused by new Rtsfind changes. |
f8e0aa73 AJ |
12737 | |
12738 | * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if | |
0868e09c | 12739 | body is deleted. |
f8e0aa73 AJ |
12740 | |
12741 | * rtsfind.adb (RTE): Make sure we do not try to load unit after | |
0868e09c RD |
12742 | giving message for entity not available in high integrity mode. |
12743 | ||
934abf9c | 12744 | 2001-10-11 Pascal Obry <obry@gnat.com> |
f8e0aa73 | 12745 | |
934abf9c PO |
12746 | * impunit.adb: Add GNAT.CRC32. |
12747 | ||
3c72bea4 ES |
12748 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
12749 | ||
f8e0aa73 AJ |
12750 | * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle |
12751 | properly the case where one universal operand in a non-static | |
3c72bea4 ES |
12752 | exponentiation of a real literal. |
12753 | ||
44d8d2bb ES |
12754 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
12755 | ||
f8e0aa73 AJ |
12756 | * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type |
12757 | clause, return the gobal finalization list, for lack of anthing else. | |
44d8d2bb | 12758 | |
9e2b9627 ES |
12759 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
12760 | ||
f8e0aa73 AJ |
12761 | * exp_ch7.adb (Make_Transient_Block): if statement is within |
12762 | exception handler, always use new transient scope to place Clean | |
9e2b9627 ES |
12763 | procedure. |
12764 | ||
cfac6e9f PO |
12765 | 2001-10-11 Pascal Obry <obry@gnat.com> |
12766 | ||
12767 | * Makefile.in: | |
12768 | (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
12769 | (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
12770 | (GNATLS_RTL_OBJS): add g-crc32.o | |
12771 | (GNATMAKE_RTL_OBJS): add g-crc32.o | |
f8e0aa73 | 12772 | |
cfac6e9f PO |
12773 | * ali-util.adb: |
12774 | (CRC_Match): new function. | |
f8e0aa73 | 12775 | (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit |
cfac6e9f PO |
12776 | instead of the previous simple checksum algorithm. |
12777 | (Time_Stamp_Mismatch): use CRC_Match for comparison. | |
12778 | (Set_Source_Table): idem. | |
f8e0aa73 | 12779 | |
cfac6e9f | 12780 | * ali-util.ads: |
f8e0aa73 | 12781 | (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC |
cfac6e9f PO |
12782 | instead of simple checksum. |
12783 | (CRC_Match): new function. | |
12784 | (CRC_Error): new constant. | |
f8e0aa73 AJ |
12785 | |
12786 | * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling | |
12787 | a CRC now and not a simple checksum. A CRC uses lower-case hex | |
cfac6e9f | 12788 | letters, fixes ambiguity in parsing. |
f8e0aa73 AJ |
12789 | |
12790 | * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this | |
cfac6e9f | 12791 | is what this variable will store. |
f8e0aa73 | 12792 | |
cfac6e9f | 12793 | * bcheck.adb: Change reference to chechsum in comments by CRC. |
f8e0aa73 AJ |
12794 | (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC. |
12795 | rename All_Checksum_Match to All_CRC_Match. Change due to API | |
12796 | renaming since now GNAT does not use a simple checksum but a | |
cfac6e9f | 12797 | CRC using GNAT.CRC32. |
f8e0aa73 AJ |
12798 | |
12799 | * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC | |
cfac6e9f | 12800 | now and not anymore a simple checksum. |
f8e0aa73 AJ |
12801 | |
12802 | * lib-load.adb: Use Source_CRC instead of Source_Checksum in many | |
cfac6e9f | 12803 | places. |
f8e0aa73 | 12804 | |
cfac6e9f | 12805 | * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum. |
f8e0aa73 | 12806 | |
cfac6e9f PO |
12807 | * scans.adb: |
12808 | (Restore_Scan_State): rename Checksum to CRC. | |
12809 | (Save_Scan_State): idem. | |
f8e0aa73 | 12810 | |
cfac6e9f PO |
12811 | * scans.ads: |
12812 | With GNAT.CRC32. | |
12813 | (Checksum): rename to CRC. | |
12814 | (Saved_Scan_State): Save_Checksum field renamed to Save_CRC | |
f8e0aa73 AJ |
12815 | |
12816 | * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 12817 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 AJ |
12818 | |
12819 | * scn-slit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 12820 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 | 12821 | |
cfac6e9f PO |
12822 | * scn.adb: |
12823 | (Accumulate_Checksum): removed. | |
12824 | (Update): new procedure. Add a wide-character into the CRC. | |
f8e0aa73 | 12825 | |
cfac6e9f PO |
12826 | * sinput-l.adb: |
12827 | (Complete_Source_File_Entry): use CRC32 instead of simple checksum. | |
f8e0aa73 | 12828 | (Load_File): fix initialization of S (change Source_Checksum to |
cfac6e9f | 12829 | Source_CRC) |
f8e0aa73 AJ |
12830 | |
12831 | * sinput-p.adb (Load_Project_File): rename Source_Checksum to | |
cfac6e9f | 12832 | Source_CRC in S initialization. |
f8e0aa73 | 12833 | |
cfac6e9f | 12834 | * sinput.adb (Source_Checksum): renamed to Source_CRC. |
f8e0aa73 | 12835 | |
cfac6e9f PO |
12836 | * sinput.ads (Source_Checksum): renamed to Source_CRC. |
12837 | Update comments for the CRC. | |
f8e0aa73 | 12838 | |
cfac6e9f | 12839 | * types.adb (Hex): Use lowercase for the letter part. |
f8e0aa73 AJ |
12840 | |
12841 | * types.ads (Get_Hex_String): Returns the hexadecimal representation | |
12842 | for a word. This is currently used only for CRC. In previous version, | |
12843 | the checksum was using a representation with all letter being | |
12844 | upper-case. With the new implementation (using CRC) we do not remove | |
12845 | the 32th bit of the CRC, so we can have an upper-case starting letter | |
12846 | in the CRC. This is not possible to parse in Scan_ALI (ali.adb). | |
12847 | It is ambigous since the CRC was optional and could be followed by | |
12848 | options like EB, EE. So now this routines uses lower-case letter for | |
12849 | the hexadecimal representation. Strange enough only lower case letters | |
cfac6e9f | 12850 | where checked in Scan_ALI (even if this was not a possible case). |
f8e0aa73 | 12851 | |
cfac6e9f | 12852 | * gnatvsn.ads (Library_Version): changed to 3.15a. |
f8e0aa73 AJ |
12853 | |
12854 | * s-crc32.ads: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 12855 | for the compiler. |
f8e0aa73 AJ |
12856 | |
12857 | * s-crc32.adb: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 12858 | for the compiler. |
f8e0aa73 | 12859 | |
cfac6e9f PO |
12860 | * ali-util.adb: Redo previous change to avoid using word CRC everywhere |
12861 | Add 2001 to copyright notice | |
12862 | (Accumulate_Checksum): Modify to use System.CRC32. | |
f8e0aa73 AJ |
12863 | |
12864 | * ali-util.ads: Redo changes of previous revision to continue to use | |
cfac6e9f | 12865 | the word Checksum. Add 2001 to copyright notice. |
f8e0aa73 | 12866 | |
cfac6e9f PO |
12867 | * ali.adb: Undo some of previous changes, not needed. |
12868 | Keep the change for lower case letters in the checksum. | |
f8e0aa73 | 12869 | |
cfac6e9f PO |
12870 | * ali.ads: Undo previous change not needed. |
12871 | ||
12872 | * bcheck.adb: Undo most of previous change, not needed. | |
12873 | But do use Checksums_Match for checksum comparison. | |
f8e0aa73 | 12874 | |
cfac6e9f PO |
12875 | * gnatls.adb: Undo most of previous change, not needed. |
12876 | But do use Checksums_Match for comparing checksums. | |
f8e0aa73 | 12877 | |
cfac6e9f | 12878 | * lib-load.adb: Undo previous change, not needed. |
f8e0aa73 | 12879 | |
cfac6e9f | 12880 | * lib-writ.adb: Undo previous change, not needed. |
f8e0aa73 AJ |
12881 | |
12882 | * lib-writ.ads: Document that checksums use lower case, | |
cfac6e9f | 12883 | not upper case letters. |
f8e0aa73 | 12884 | |
cfac6e9f | 12885 | * scans.adb: Undo previous change, not needed |
f8e0aa73 | 12886 | |
cfac6e9f | 12887 | * scans.ads: Undo previous change, not needed. |
f8e0aa73 | 12888 | |
cfac6e9f | 12889 | * scn-nlit.adb: Undo previous changes, not needed. |
f8e0aa73 | 12890 | |
cfac6e9f | 12891 | * scn-slit.adb: Undo previous change, not needed. Fix header format. |
f8e0aa73 | 12892 | |
cfac6e9f PO |
12893 | * scn.adb: |
12894 | (Accumulate_Checksum): Use System.CRC32. | |
12895 | (Initialize_Checksum): New procedure. | |
12896 | Remove other changes of previous revision. | |
f8e0aa73 | 12897 | |
cfac6e9f | 12898 | * sinput-p.adb: Undo previous change, not needed. |
f8e0aa73 | 12899 | |
cfac6e9f PO |
12900 | * sinput.adb: Undo previous change, not needed. |
12901 | ||
12902 | * sinput-l.adb: Undo previous change, not needed. | |
f8e0aa73 AJ |
12903 | |
12904 | * sinput.ads: Undo previous change, not needed. Keep only comment | |
cfac6e9f | 12905 | on new checksum algorithm |
f8e0aa73 | 12906 | |
cfac6e9f PO |
12907 | * Makefile.in: Add s-crc32 as needed, remove g-crc32. |
12908 | Also remove a-tags and a-stream from GNAT sources. | |
f8e0aa73 | 12909 | |
cfac6e9f | 12910 | * ali.adb (Scan_ALI): fix typo introduce in latest check-in. |
f8e0aa73 | 12911 | |
cfac6e9f PO |
12912 | * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o. |
12913 | ||
4d6d06a5 GB |
12914 | 2001-10-11 Geert Bosch <bosch@gnat.com> |
12915 | ||
12916 | * einfo.h: Regenerate. | |
12917 | ||
12918 | * nmake.ads: Regenerate. | |
12919 | ||
12920 | * nmake.adb: Regenerate. | |
12921 | ||
12922 | * sinfo.h: Regenerate. | |
12923 | ||
12924 | * treeprs.adb: Regenerate. | |
12925 | ||
c97412e2 GB |
12926 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
12927 | ||
12928 | * gnat-style.texi: New file describing coding guidelines for Ada. | |
f8e0aa73 | 12929 | |
b83018ca ES |
12930 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
12931 | ||
f8e0aa73 | 12932 | * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required |
b83018ca ES |
12933 | is Flag174. |
12934 | ||
e834fe1f GB |
12935 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
12936 | ||
12937 | * snames.ads: Add new names for project facility. | |
12938 | ||
12939 | * snames.adb: Update to reflect snames.ads changes. | |
12940 | ||
12941 | * snames.h: Update to reflect snames.ads changes. | |
12942 | ||
b30668b7 VC |
12943 | 2001-10-10 Vincent Celier <celier@gnat.com> |
12944 | ||
12945 | * make.adb: | |
12946 | (Add_Switches): reflect the changes for the switches attributes | |
12947 | Default_Switches indexed by the programming language, | |
12948 | Switches indexed by the file name. | |
12949 | (Collect_Arguments_And_Compile): Idem. | |
12950 | Reflect the attribute name changes. | |
f8e0aa73 | 12951 | |
b30668b7 VC |
12952 | * prj-attr.adb: |
12953 | (Initialisation_Data): Change the names of some packages and | |
12954 | attributes. | |
12955 | (Initialize): process case insensitive associative arrays. | |
f8e0aa73 | 12956 | |
b30668b7 VC |
12957 | * prj-attr.ads: |
12958 | (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array. | |
f8e0aa73 | 12959 | |
b30668b7 VC |
12960 | * prj-dect.adb: |
12961 | (Parse_Attribute_Declaration): For case insensitive associative | |
12962 | arrays, set the index string to lower case. | |
f8e0aa73 | 12963 | |
b30668b7 VC |
12964 | * prj-env.adb: |
12965 | Reflect the changes of the project attributes. | |
f8e0aa73 | 12966 | |
b30668b7 VC |
12967 | * prj-nmsc.adb: |
12968 | Replace Check_Naming_Scheme by Ada_Check and | |
12969 | Language_Independent_Check. | |
f8e0aa73 | 12970 | |
b30668b7 VC |
12971 | * prj-nmsc.ads: |
12972 | Replaced Check_Naming_Scheme by 2 procedures: | |
12973 | Ada_Check and Language_Independent_Check. | |
f8e0aa73 | 12974 | |
b30668b7 VC |
12975 | * prj-proc.adb: |
12976 | (Process_Declarative_Items): For case-insensitive associative | |
12977 | arrays, set the index string to lower case. | |
12978 | (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of | |
12979 | Prj.Nmsc.Check_Naming_Scheme. | |
f8e0aa73 | 12980 | |
b30668b7 VC |
12981 | * prj-tree.adb: |
12982 | (Case_Insensitive): New function | |
12983 | (Set_Case_Insensitive): New procedure | |
f8e0aa73 | 12984 | |
b30668b7 VC |
12985 | * prj-tree.ads: |
12986 | (Case_Insensitive): New function | |
12987 | (Set_Case_Insensitive): New procedure | |
12988 | (Project_Node_Record): New flag Case_Insensitive. | |
f8e0aa73 | 12989 | |
b30668b7 VC |
12990 | * prj-util.adb: |
12991 | (Value_Of): new function to get the string value of a single | |
12992 | string variable or attribute. | |
f8e0aa73 | 12993 | |
b30668b7 VC |
12994 | * prj-util.ads: |
12995 | (Value_Of): new function to get the string value of a single | |
12996 | string variable or attribute. | |
f8e0aa73 | 12997 | |
b30668b7 VC |
12998 | * prj.adb: |
12999 | (Ada_Default_Spec_Suffix): New function | |
13000 | (Ada_Default_Impl_Suffix): New function | |
13001 | Change definitions of several constants to reflect | |
13002 | new components of record types. | |
f8e0aa73 | 13003 | |
b30668b7 VC |
13004 | * prj.ads: |
13005 | (Naming_Data): Change several components to reflect new | |
13006 | elements of naming schemes. | |
13007 | (Project_Data): New flags Sources_Present and | |
13008 | Language_Independent_Checked. | |
13009 | (Ada_Default_Spec_Suffix): New function. | |
13010 | (Ada_Default_Impl_Suffix): New function. | |
f8e0aa73 | 13011 | |
b30668b7 VC |
13012 | * snames.ads: |
13013 | Modification of predefined names for project manager: added | |
13014 | Implementation, Specification_Exceptions, Implementation_Exceptions, | |
13015 | Specification_Suffix, Implementation_Suffix, Separate_Suffix, | |
13016 | Default_Switches, _Languages, Builder, Cross_Reference, | |
13017 | Finder. Removed Body_Part, Specification_Append, Body_Append, | |
13018 | Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind, | |
13019 | Gnatlink. | |
f8e0aa73 | 13020 | |
b30668b7 VC |
13021 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
13022 | Add comments. | |
f8e0aa73 | 13023 | |
b30668b7 VC |
13024 | * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted, |
13025 | not that it is Nil_Variable_Value. | |
f8e0aa73 | 13026 | |
b30668b7 VC |
13027 | * prj.ads: Add ??? for uncommented declarations |
13028 | ||
662e57b4 ES |
13029 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
13030 | ||
f8e0aa73 AJ |
13031 | * sem_prag.adb: (Analyze_Pragma, case External): If entity is a |
13032 | constant, do not indicate possible modification, so that gigi can | |
662e57b4 ES |
13033 | treat it as a bona fide constant. |
13034 | ||
72e4357f RD |
13035 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
13036 | ||
13037 | * sem_prag.adb: Add processing for pragma External. | |
f8e0aa73 | 13038 | |
72e4357f | 13039 | * snames.ads: Add entry for pragma External. |
f8e0aa73 | 13040 | |
72e4357f | 13041 | * par-prag.adb: Add pragma External. |
f8e0aa73 | 13042 | |
72e4357f RD |
13043 | * snames.adb: Updated to match snames.ads. |
13044 | ||
7bc1c7df ES |
13045 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
13046 | ||
13047 | * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for | |
13048 | a dynamic task if the allocator appears in an indexed assignment | |
13049 | or selected component assignment. | |
f8e0aa73 AJ |
13050 | |
13051 | * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image): | |
13052 | For a dynamic task in an assignment statement, use target of | |
7bc1c7df ES |
13053 | assignment to generate meaningful name. |
13054 | ||
c84700e7 ES |
13055 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
13056 | ||
f8e0aa73 | 13057 | * einfo.adb (Write_Field19_Name): Body_Entity is also defined for |
c84700e7 ES |
13058 | a generic package. |
13059 | ||
13060 | * einfo.ads: Body_Entity is also defined for generic package. | |
13061 | Documentation change only | |
f8e0aa73 AJ |
13062 | |
13063 | * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an | |
13064 | others_choice for a discriminated component initialization, | |
13065 | convert discriminant references into the corresponding discriminals. | |
13066 | ||
13067 | * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate | |
13068 | only if original type is private and expression has to be wrapped | |
c84700e7 | 13069 | in a conversion. |
f8e0aa73 AJ |
13070 | |
13071 | * checks.adb: | |
13072 | (Apply_Constraint_Check): Do not perform length check | |
c84700e7 | 13073 | if expression is an aggregate with only an others_choice. |
f8e0aa73 | 13074 | (Length_N_Cond): two references to the same in_parameter |
c84700e7 ES |
13075 | (typically the discriminal in an init_proc) denote the same value. |
13076 | Two useful optimization uncovered by bugfixes above. | |
13077 | ||
d8d80dcd RD |
13078 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
13079 | ||
f8e0aa73 | 13080 | * xeinfo.adb: Change int to char in translation of enumeration types. |
d8d80dcd RD |
13081 | This fixes a problem in the C representation of component alignment. |
13082 | Add 2001 to copyright notice | |
13083 | ||
a8fee948 RK |
13084 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
13085 | ||
f8e0aa73 | 13086 | * decl.c: (validate_size): Do check size of object of integral type |
a8fee948 RK |
13087 | if it is a packed array type. |
13088 | ||
c2d7fe59 RK |
13089 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
13090 | ||
f8e0aa73 | 13091 | * decl.c: (gnat_to_gnu_entity, case object): Also materialize |
c2d7fe59 RK |
13092 | VAR_DECL for constant if not Is_Public but -O0. |
13093 | ||
fb75e100 RK |
13094 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
13095 | ||
13096 | * misc.c (struct lang_hooks): Add new initializer to match GCC change. | |
13097 | ||
1724557a GB |
13098 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
13099 | ||
f8e0aa73 | 13100 | * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer |
1724557a GB |
13101 | use '/' as switch character, allowing for absolute file names. |
13102 | ||
9f2f9eb6 JM |
13103 | 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk> |
13104 | ||
13105 | * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update | |
13106 | FSF address. | |
13107 | ||
8fecf41d GB |
13108 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
13109 | ||
13110 | * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): | |
13111 | Automatically build utilities when files need to be regenerated. | |
13112 | ||
589f1edf GB |
13113 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
13114 | ||
13115 | * xsnames.adb: New utility for updating snames.ads and snames.adb | |
13116 | ||
67f28219 ZW |
13117 | 2001-10-08 Zack Weinberg <zack@codesourcery.com> |
13118 | ||
13119 | * Make-lang.in (ADAFLAGS): Add -W -Wall. | |
13120 | (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also. | |
13121 | (gnat1): Also depend on attribs.o. | |
13122 | (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make. | |
13123 | * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New. | |
13124 | (ADAC): Set to @ADAC@ in stage1, $(CC) later. | |
13125 | (ADAFLAGS): Add -W -Wall. | |
13126 | (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS; | |
13127 | take out CFLAGS. | |
13128 | ||
13129 | (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o, | |
13130 | s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o, | |
13131 | s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o): | |
13132 | Use $(ADAC), not $(CC), as compilation command. | |
13133 | ||
13134 | (gnattools): Depend directly on tools to build, don't use | |
13135 | recursive make. | |
13136 | (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make. | |
13137 | ||
13138 | * einfo.h, sinfo.h: New files (autogenerated). | |
13139 | ||
295ef2bb RH |
13140 | 2001-10-08 Richard Henderson <rth@redhat.com> |
13141 | ||
13142 | * comperr.adb (Abort_In_Progress): New. | |
13143 | (Compiler_Abort): Use it to prevent recursion. | |
13144 | ||
5c736541 RD |
13145 | 2001-10-08 Robert Dewar <dewar@gnat.com> |
13146 | ||
13147 | * atree.adb: Set Error_Posted in Error node, helps error recovery. | |
67f28219 ZW |
13148 | |
13149 | * par-endh.adb (Output_End_Expected): We should also not test | |
5c736541 | 13150 | Error_Posted on the Error node, since now it is always set. |
67f28219 ZW |
13151 | |
13152 | * cstand.adb (Create_Standard): Set Etype of Error to Any_Type | |
5c736541 | 13153 | to help error recovery. Part of general work on 9407-004. |
67f28219 | 13154 | |
5c736541 | 13155 | * par.adb: Add ??? for misuse of error |
67f28219 | 13156 | |
5c736541 RD |
13157 | * sem_res.adb: |
13158 | (Resolve): Defend against Error, fixes 9407-003. | |
13159 | (Resolve_Discrete_Subtype_Indication): Defend against Error. | |
67f28219 ZW |
13160 | |
13161 | * sinfo.ads (N_Error): Now has Etype field (which will be set | |
5c736541 RD |
13162 | to Any_Type to help error recovery). |
13163 | ||
a153ae15 RK |
13164 | 2001-10-08 Richard Kenner (kenner@gnat.com) |
13165 | ||
13166 | * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR): | |
13167 | Consistently set MEM attributes from expression; fixes | |
13168 | bootstrap failure on x86. | |
13169 | ||
743f3c7b GB |
13170 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
13171 | ||
13172 | * 5oosinte.adb: Add 2001 to copyright notice. | |
13173 | ||
210c4ef4 GB |
13174 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
13175 | ||
13176 | * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs]. | |
13177 | ||
13178 | * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs]. | |
13179 | ||
cc712abf JM |
13180 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
13181 | ||
13182 | * 5oosinte.adb: Fix spelling error of "separate" as "seperate". | |
13183 | ||
4c4abc0f GB |
13184 | 2001-10-05 Geert Bosch (bosch@gnat.com) |
13185 | ||
13186 | * adaint.h: Small formatting fix. | |
13187 | ||
7f50e2e3 GB |
13188 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
13189 | ||
13190 | * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode): | |
13191 | Arg is int, not FILE *, in dummy version of functions. | |
67f28219 | 13192 | |
7f50e2e3 GB |
13193 | * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode): |
13194 | Arg is int, not FILE *. | |
13195 | ||
5d1a9698 GB |
13196 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
13197 | ||
13198 | * 3lsoccon.ads: Added file, missed with initial check ins. | |
67f28219 | 13199 | |
5d1a9698 GB |
13200 | * 4lintnam.ads: Fix header format. |
13201 | Change Linux to GNU/Linux. | |
67f28219 | 13202 | |
5d1a9698 GB |
13203 | * 5iosinte.adb: Change Linux to GNU/Linux. |
13204 | ||
13205 | * 5iosinte.ads: Change Linux to GNU/Linux. | |
67f28219 | 13206 | |
5d1a9698 | 13207 | * 5itaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 13208 | |
5d1a9698 GB |
13209 | * 5itaspri.ads: Change Linux to GNU/Linux. |
13210 | Update copyright notice. | |
67f28219 | 13211 | |
5d1a9698 | 13212 | * 5lintman.adb: Change Linux to GNU/Linux. |
67f28219 | 13213 | |
5d1a9698 | 13214 | * 5lml-tgt.adb: Change Linux to GNU/Linux. |
67f28219 | 13215 | |
5d1a9698 | 13216 | * 5losinte.ads: Change Linux to GNU/Linux. |
67f28219 | 13217 | |
5d1a9698 | 13218 | * 5lsystem.ads: Change Linux to GNU/Linux. |
67f28219 | 13219 | |
5d1a9698 | 13220 | * 5qosinte.adb: Change Linux to GNU/Linux. |
67f28219 | 13221 | |
5d1a9698 | 13222 | * 5qosinte.ads: Change Linux to GNU/Linux. |
67f28219 | 13223 | |
5d1a9698 | 13224 | * 5qparame.ads: Change Linux to GNU/Linux. |
67f28219 | 13225 | |
5d1a9698 | 13226 | * 5qtaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 13227 | |
5d1a9698 GB |
13228 | * 5qtaspri.ads: Change Linux to GNU/Linux. |
13229 | Add 2001 to copyright notice. | |
67f28219 | 13230 | |
5d1a9698 GB |
13231 | * 5vintman.ads: Change Linux to GNU/Linux. |
13232 | Fix header format. Add 2001 to copyright notice. | |
67f28219 | 13233 | |
5d1a9698 | 13234 | * g-soccon.ads: Change Linux to GNU/Linux. |
67f28219 | 13235 | |
5d1a9698 GB |
13236 | * g-trasym.ads: Change Linux to GNU/Linux. |
13237 | Add 2001 to copyright notice. | |
67f28219 | 13238 | |
5d1a9698 | 13239 | * memtrack.adb: Change Linux to GNU/Linux. |
67f28219 | 13240 | |
5d1a9698 GB |
13241 | * s-intman.ads: Change Linux to GNU/Linux. |
13242 | Add 2001 to copyright notice. Fix header format. | |
67f28219 | 13243 | |
5d1a9698 | 13244 | * s-stache.adb: Change Linux to GNU/Linux. |
67f28219 | 13245 | |
5d1a9698 | 13246 | * adaint.c: Change Linux to GNU/Linux. |
67f28219 | 13247 | |
5d1a9698 | 13248 | * cio.c: Change Linux to GNU/Linux. |
67f28219 | 13249 | |
5d1a9698 | 13250 | * cstreams.c: Change Linux to GNU/Linux. |
67f28219 | 13251 | |
5d1a9698 | 13252 | * init.c: Change Linux to GNU/Linux. |
67f28219 | 13253 | |
5d1a9698 | 13254 | * gmem.c: Change Linux to GNU/Linux. |
67f28219 | 13255 | |
5d1a9698 GB |
13256 | * tracebak.c: Change Linux to GNU/Linux. |
13257 | ||
13258 | ||
c25ca2d7 GB |
13259 | 2001-10-02 Geert Bosch <bosch@gnat.com> |
13260 | ||
13261 | * misc.c (insert_default_attributes): Add dummy version. |