]>
Commit | Line | Data |
---|---|---|
efc81a89 AC |
1 | 2009-06-23 Vincent Celier <celier@adacore.com> |
2 | ||
3 | * prj-attr.adb: Attribute names Initial_Required_Switches and | |
4 | Final_Required_Switches changed to Leading_Required_Switches and | |
5 | Trailing_Required_Switches. | |
6 | ||
7 | * prj-nmsc.adb (Process_Compiler): Attribute names | |
8 | Initial_Required_Switches and Final_Required_Switches changed to | |
9 | Leading_Required_Switches and Trailing_Required_Switches. | |
10 | ||
11 | * prj.ads (Language_Config): Component Initial_Required_Switches and | |
12 | Final_Required_Switches changed to Leading_Required_Switches and | |
13 | Trailing_Required_Switches. | |
14 | ||
15 | * snames.ads-tmpl: Remove standard names Initial_Required_Switches and | |
16 | Final_Required_Switches; add standard names Leading_Required_Switches | |
17 | and Trailing_Required_Switches. | |
18 | ||
19 | 2009-06-23 Thomas Quinot <quinot@adacore.com> | |
20 | ||
21 | * prj-conf.adb: Minor reformatting | |
22 | ||
23 | * xref_lib.adb: Minor cleanup | |
24 | ||
1290ef14 AC |
25 | 2009-06-23 Emmanuel Briot <briot@adacore.com> |
26 | ||
27 | * prj-proc.adb, prj-proc.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb, | |
28 | prj-conf.ads (Check_Configuration): New parameter | |
29 | Compiler_Driver_Mandatory. | |
30 | ||
31 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> | |
32 | ||
33 | * sem_ch10.adb (Analyze_With_Clause): If a subprogram instance in the | |
34 | context of the current unit has an inline pragma, the instance is not | |
35 | rewritten as the declaration of the package wrapper. Handle both | |
36 | possibilities when retrieving the visible subprogram that renames the | |
37 | instantiation itself. | |
38 | ||
d6a24cdb AC |
39 | 2009-06-23 Javier Miranda <miranda@adacore.com> |
40 | ||
41 | * exp_ch4.adb (Displace_Allocator_Pointer, Expand_N_Allocator): Handle | |
42 | designated types referencing entities from the limited view. | |
43 | ||
f91c36dc AC |
44 | 2009-06-23 Robert Dewar <dewar@adacore.com> |
45 | ||
46 | * s-strhas.adb, s-strhas.ads: Restrict to 32-bit modular types | |
47 | ||
48 | * s-imgdec.adb (Set_Decimal_Digits): Fix error of too many digits for | |
49 | small values | |
50 | ||
51 | * prj-conf.ads: Minor reformatting | |
52 | ||
53 | * prj-conf.adb: Minor reformatting | |
54 | ||
55 | 2009-06-23 Vasiliy Fofanov <fofanov@adacore.com> | |
56 | ||
57 | * g-debpoo.adb (Dump_Gnatmem): Output dummy timestamps for allocations | |
58 | to correspond to the log format that gnatmem now expects. | |
59 | ||
60 | 2009-06-23 Vincent Celier <celier@adacore.com> | |
61 | ||
62 | * prj-attr.adb: New attributes Initial_Required_Switches, | |
63 | Final_Required_Switches and Object_File_Switches | |
64 | ||
65 | * prj-nmsc.adb (Process_Compiler): Process new attributes | |
66 | Name_Final_Required_Switches, Name_Initial_Required_Switches and | |
67 | Name_Object_File_Switches. | |
68 | ||
69 | * prj.ads (Language_Config): New component | |
70 | Compiler_Initial_Required_Switches (replace Compiler_Required_Switches), | |
71 | Compiler_Final_Required_Switches and Object_File_Switches. | |
72 | ||
73 | * snames.ads-tmpl: New standard names Initial_Required_Switches, | |
74 | Final_Required_Switches and Object_File_Switches | |
75 | ||
35262047 AC |
76 | 2009-06-23 Pascal Obry <obry@adacore.com> |
77 | ||
78 | * s-strhas.adb, s-strhas.ads: Minor reformatting. | |
79 | ||
80 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> | |
81 | ||
82 | * sem_ch10.adb (Install_Limited_Withed_Unit): a null procedure does | |
83 | not indicate that the enclosing unit needs a body. | |
84 | ||
abe19d88 EB |
85 | 2009-06-23 Emmanuel Briot <briot@adacore.com> |
86 | ||
87 | * prj-conf.ads, prj-conf.adb: New files part of the project manager. | |
88 | ||
af268547 ES |
89 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
90 | ||
91 | * sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a | |
92 | primitive equality include it with its source name even if the | |
93 | operation is currently invisible, to make sure that the corresponding | |
94 | slot in the dispatch table is reserved for the internal equality | |
95 | subsequently generated during expansion. | |
96 | ||
a3e3b8da MG |
97 | 2009-06-23 Matthew Gingell <gingell@adacore.com> |
98 | ||
99 | * Makefile.rtl, a-stwiha.adb: Add a-stwiha.adb back. | |
100 | ||
f61580d4 AC |
101 | 2009-06-22 Jose Ruiz <ruiz@adacore.com> |
102 | ||
103 | * sysdep.c (__gnat_localtime_tzoff for RTX): | |
104 | SystemTimeToTzSpecificLocalTime is not supported by RTX. Use | |
105 | GetTimeZoneInformation instead. | |
106 | ||
107 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
108 | ||
109 | * sem_res.adb (Check_No_Direct_Boolean_Operators): New procedure | |
110 | ||
111 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
112 | ||
113 | * sem_ch12.adb (Collect_Previous_Instances): Do not collect | |
114 | instantiations declared in a previous generic package body. | |
115 | ||
116 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
117 | ||
118 | * gnat_rm.texi: Add doc that X=True and X=False is allowed for the | |
119 | restriction No_Direct_Boolean_Operators. | |
120 | ||
121 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
122 | ||
123 | * bindusg.adb: Minor fixes to gnatbind usage message | |
124 | ||
125 | * sem_eval.adb: Minor reformatting | |
126 | ||
6823270c AC |
127 | 2009-06-22 Javier Miranda <miranda@adacore.com> |
128 | ||
129 | * sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the | |
130 | freezing point the check on the use of abstract types in object | |
131 | declarations. Done to allow the declaration of C++ imported variables | |
132 | or constants whose type corresponds with an imported C++ classes for | |
133 | which the constructor is not imported. | |
134 | ||
135 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
136 | ||
137 | * sem_ch6.adb: Minor reformatting | |
138 | ||
139 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
140 | ||
141 | * exp_ch3.adb (Build_Initialization_Call): If a discriminated record | |
142 | component is constrained with an expression rather than with a | |
143 | discriminant of the enclosing type, use that expression when building | |
144 | the call to default-initialize the component, when the call is part of | |
145 | an aggregate with box initialization. | |
146 | ||
c9e7bd8e AC |
147 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> |
148 | ||
149 | * sem_ch6.adb (Check_Overriding_Indicator): Clean up code, make warning | |
150 | unconditional rather than a style check, because a formal name out of | |
151 | order is suspicious. | |
152 | ||
153 | 2009-06-22 Vincent Celier <celier@adacore.com> | |
154 | ||
155 | * prj-nmsc.adb (Locate_Directory): Indicate the project name when | |
156 | creating a directory automatically. | |
157 | ||
158 | 2009-06-22 Eric Botcazou <ebotcazou@adacore.com> | |
159 | ||
160 | * sem_ch3.adb (Create_Constrained_Components): For a subtype of an | |
161 | untagged derived type, add a hidden component for every constrained | |
162 | discriminant of the parent type to keep record layout consistent. | |
163 | ||
d88a51b1 AC |
164 | 2009-06-22 Thomas Quinot <quinot@adacore.com> |
165 | ||
166 | * exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree | |
167 | copy). | |
168 | ||
169 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
170 | ||
171 | * a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb, | |
172 | s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb, | |
173 | g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl, | |
174 | a-swuwha.adb: New unit System.String_Hash. | |
175 | Refactor redundant cut and pasted hash functions with instances of a | |
176 | new generic hash function. | |
177 | Implement a new string hashing algorithm which appears in testing to | |
178 | be move effective than to previous approach. | |
179 | ||
180 | 2009-06-22 Ed Falis <falis@adacore.com> | |
181 | ||
182 | * sysdep.c: remove include for nfsLib.h and an NFS specific error | |
183 | message for VxWorks 653 vThreads: not supported by the OS. | |
184 | ||
185 | * gsocket.h: disable sockets for VxWorks 653 vThreads. | |
186 | ||
187 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
188 | ||
189 | * sem_ch6.adb: Add ??? comment for bad use of Style_Check | |
190 | ||
e7d72fb9 AC |
191 | 2009-06-22 Robert Dewar <dewar@adacore.com> |
192 | ||
193 | * sinput.adb, sinput.ads (Expr_First_Char, Expr_Last_Char): Replaced | |
194 | by Sloc_Range. | |
195 | ||
196 | * freeze.adb: Minor comment updates | |
197 | ||
198 | * s-valrea.adb (Bad_Based_Value): New procedure | |
199 | (Scan_Real): Raise exceptions with messages | |
200 | ||
201 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
202 | ||
203 | * adaint.h: Complete previous change. | |
204 | ||
205 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
206 | ||
207 | * exp_ch7.ads, exp_ch3.adb: Minor reformatting | |
208 | ||
209 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
210 | ||
211 | * sem_ch6.adb (Check_Overriding_Indicator): When style checks are | |
212 | enabled, emit warning when a non-controlling argument of the overriding | |
213 | operation appears out of place vis-a-vis of the formal of the | |
214 | overridden operation. | |
215 | ||
03456e44 AC |
216 | 2009-06-22 Vincent Celier <celier@adacore.com> |
217 | ||
218 | * gnatcmd.adb (Check_Files): Close temporary files after all file names | |
219 | have been written into it. | |
220 | ||
221 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
222 | ||
223 | * adaint.c, adaint.h, cstreams.c: Call stat64 on platforms where it is | |
224 | available. | |
225 | ||
226 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
227 | ||
228 | * sem_disp.adb (Check_Direct_Call): Handle the case where the full | |
229 | view of the root type is visible at the point of the call. | |
230 | ||
231 | 2009-06-22 Pat Rogers <rogers@adacore.com> | |
232 | ||
233 | * gnat_ugn.texi: Revised a sentence to correct a minor grammar error. | |
234 | ||
59366db6 JL |
235 | 2009-06-22 Jerome Lambourg <lambourg@adacore.com> |
236 | ||
237 | * freeze.adb: Add comments. | |
238 | ||
f3b57ab0 AC |
239 | 2009-06-21 Thomas Quinot <quinot@adacore.com> |
240 | ||
241 | * exp_ch3.adb, exp_prag.adb, exp_util.adb, exp_util.ads, freeze.adb, | |
242 | sem_ch13.adb, sem_elab.adb (Exp_Prag.Expand_Pragma_Import_Or_Interface): | |
243 | Factor out code to new subprogram... | |
244 | (Exp_Util.Find_Init_Call): New shared routine to find the init proc call | |
245 | for a default initialized variable. | |
246 | (Freeze.Check_Address_Clause): Do not reset Has_Delayed_Freeze on an | |
247 | entity that has an associated freeze node. | |
248 | (Sem_Ch13.Analyze_Attribute_Definition_Clause, case Address): | |
249 | If there is an init call for the object, defer it to the object freeze | |
250 | point. | |
251 | (Check_Elab_Call.Find_Init_Call): Rename to Check_Init_Call, to avoid | |
252 | name clash with new subprogram introduced in Exp_Util. | |
253 | ||
254 | 2009-06-21 Robert Dewar <dewar@adacore.com> | |
255 | ||
256 | * einfo.ads: Minor reformatting | |
257 | ||
4f91a255 AC |
258 | 2009-06-21 Ed Falis <falis@adacore.com> |
259 | ||
260 | * env.c (__gnat_environ): return NULL for vThreads - unimplemented | |
261 | ||
262 | 2009-06-21 Eric Botcazou <ebotcazou@adacore.com> | |
263 | ||
264 | * einfo.ads: Update comments. | |
265 | ||
266 | 2009-06-21 Hristian Kirtchev <kirtchev@adacore.com> | |
267 | ||
268 | * sem_disp.adb (Check_Direct_Call): New routine. Dispatching calls | |
269 | where the controlling formal is of private class-wide type whose | |
270 | completion is a synchronized type can be converted into direct calls. | |
271 | ||
272 | 2009-06-21 Vincent Celier <celier@adacore.com> | |
273 | ||
274 | * gnatcmd.adb (Check_Files): When all sources of the project are to be | |
275 | indicated to gnatcheck, gnatpp or gnatmetric, always specify the list | |
276 | of sources using -files=, so that the distinction can be made by the | |
277 | tool of a call with no source (to display the usage) from a call with | |
278 | a project file that contains no source. | |
279 | ||
280 | 2009-06-21 Jerome Lambourg <lambourg@adacore.com> | |
281 | ||
282 | * exp_ch3.adb (Build_Array_Init_Proc): Do not build the init proc in | |
283 | case of VM convention arrays. | |
284 | ||
8a45323c RD |
285 | 2009-06-20 Robert Dewar <dewar@adacore.com> |
286 | ||
287 | * a-nudira.adb: Minor reformatting | |
288 | ||
5afaf827 AC |
289 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
290 | ||
291 | * exp_ch3.adb (Build_Record_Init_Proc): When copying initial | |
292 | expressions (possibly from a parent type) indicate that the scope of | |
293 | the new itypes is the initialization procedure being built. | |
294 | ||
295 | 2009-06-20 Robert Dewar <dewar@adacore.com> | |
296 | ||
297 | * a-nudira.adb (Fits_In_32_Bits): New name (inverted sense) for | |
298 | Needs_64, and now computed without anomolies for some dynamic types. | |
299 | ||
300 | 2009-06-20 Thomas Quinot <quinot@adacore.com> | |
301 | ||
302 | * sem_prag.adb: Minor reformatting | |
303 | ||
304 | * exp_disp.ads: Minor reformatting | |
305 | ||
e80d72ea ES |
306 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
307 | ||
308 | * sem_ch3.adb (Is_OK_For_Limited_Init): An unchecked conversion of a | |
309 | function call is a legal expression to initialize a limited object. | |
310 | ||
311 | * exp_ch3.adb: Rename various freeze operations that perform expansion | |
312 | actions, to prevent confusion with subprograms in the freeze package. | |
313 | ||
6ca063eb AC |
314 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
315 | ||
316 | * sem.adb (Walk_Library_Units): Check instantiations first. | |
317 | ||
318 | * sem_ch6.adb (Analyze_Subprogram_Declaration): Mark a subprogram as a | |
319 | private primitive if it is a function with a controlling result that is | |
320 | a type extension with progenitors. | |
321 | ||
322 | * exp_ch9.adb (Build_Wrapper_Spec, Build_Wrapper_Body): Handle properly | |
323 | a primitive operation of a synchronized tagged type that has a | |
324 | controlling result. | |
325 | ||
326 | 2009-06-20 Thomas Quinot <quinot@adacore.com> | |
327 | ||
328 | * einfo.ads: Fix typo. | |
329 | ||
330 | 2009-06-20 Ed Falis <falis@adacore.com> | |
331 | ||
332 | * s-vxwext.ads, s-vxwext-kernel.adb: Complete previous change. | |
333 | ||
502c4bb9 EB |
334 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> |
335 | ||
336 | * gcc-interface/trans.c (emit_check): Do not wrap up the result | |
337 | in a SAVE_EXPR. | |
338 | (protect_multiple_eval): Always protect complex expressions. | |
339 | ||
659819b9 AC |
340 | 2009-06-19 Emmanuel Briot <briot@adacore.com> |
341 | ||
342 | * prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now | |
343 | make sure we always return a name ending with a path separator. | |
344 | ||
345 | 2009-06-19 Javier Miranda <miranda@adacore.com> | |
346 | ||
347 | * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body): | |
348 | Save and restore the visibility of the parent when installed. | |
349 | ||
350 | 2009-06-19 Jose Ruiz <ruiz@adacore.com> | |
351 | ||
352 | * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner | |
353 | by Common which contains all these fields. | |
354 | ||
355 | * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry, | |
356 | Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry): | |
357 | Remove code duplication in this package by means of calling the | |
358 | equivalent code in s-taprob. | |
359 | ||
360 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
361 | ||
362 | * a-einuoc.ads: Minor reformatting | |
363 | ||
0eed21bd EF |
364 | 2009-06-19 Ed Falis <falis@adacore.com> |
365 | ||
366 | * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, | |
367 | s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up. | |
368 | ||
93c3fca7 AC |
369 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> |
370 | ||
371 | * einfo.ads (Handling of Type'Size Values): Fix Object_Size values. | |
372 | ||
373 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
374 | ||
375 | * a-nudira.adb (Need_64): Handle negative ranges and also dynamic | |
376 | ranges | |
377 | ||
378 | * checks.adb (Determine_Range): Move the test for generic types later. | |
379 | ||
380 | * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more | |
381 | cases. | |
382 | (Eval_Relational_Op): Fold more cases including string compares | |
383 | ||
384 | * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New | |
385 | function. | |
386 | ||
e29e2483 AC |
387 | 2009-06-19 Robert Dewar <dewar@adacore.com> |
388 | ||
389 | * sem_type.ads, sem_ch12.adb: Minor reformatting | |
390 | ||
391 | * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly | |
392 | ||
393 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
394 | ||
395 | * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden | |
396 | primitive operation of a rivate extension whose controlling argument | |
397 | is an out parameter. | |
398 | ||
399 | * sem.adb (Walk_Library_Units): exclude generic package declarations | |
400 | from check. | |
401 | ||
f26d5cd3 AC |
402 | 2009-06-19 Thomas Quinot <quinot@adacore.com> |
403 | ||
404 | * i-vxwoio.ads: Add comments | |
405 | ||
406 | 2009-06-19 Thomas Quinot <quinot@adacore.com> | |
407 | ||
408 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
409 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
410 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads | |
411 | (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl. | |
412 | (GNAT.Sockets.Thin.Socket_Ioctl): Use new function | |
413 | Thin_Common.Socket_Ioctl. | |
414 | (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper | |
415 | __gnat_socket_ioctl. | |
416 | (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int* | |
417 | argument after the file descriptor and request code. | |
418 | ||
419 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
420 | ||
421 | * checks.adb: Minor reformatting | |
422 | ||
1abad480 AC |
423 | 2009-06-19 Jose Ruiz <ruiz@adacore.com> |
424 | ||
425 | * env.c (__gnat_environ): RTX does not support this functionality. | |
426 | ||
427 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
428 | ||
429 | * sem.adb (Walk_Library_Items): Include bodies in the list of units to | |
430 | traverse, to account for front-end inlining and instantiations in a | |
431 | spec or in the main unit. | |
432 | ||
433 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
434 | ||
435 | * checks.adb (Determine_Range): Do not attempt to get range of generic | |
436 | type. | |
437 | ||
c38e990f SR |
438 | 2009-06-19 Sergey Rybin <rybin@adacore.com> |
439 | ||
440 | * gnat_ugn.texi, vms_data.ads: Add the documentation for the new | |
441 | gnatmetric option for generating the schema file for gnatmetric XML | |
442 | output. Add corresponding VMS qualifier. | |
443 | ||
1175f0b6 AC |
444 | 2009-06-19 Robert Dewar <dewar@adacore.com> |
445 | ||
446 | * g-cgi.adb: Minor reformatting | |
447 | ||
448 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> | |
449 | ||
450 | * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the | |
451 | signal code for SIGFPE and raise Program_Error for SIGILL. | |
452 | ||
453 | * s-osinte-solaris.ads: Remove signal code constants for SIGFPE. | |
454 | ||
455 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
456 | ||
457 | * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a | |
458 | generic package if there is a visibility candidate that is declared in | |
459 | a regular package. | |
460 | ||
4c1a9016 OH |
461 | 2009-06-18 Olivier Hainque <hainque@adacore.com> |
462 | ||
463 | * system-aix64.ads: New file. | |
464 | * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the | |
465 | 64bit system.ads for ppc64 multilib variants. | |
466 | ||
d81b4c61 RD |
467 | 2009-06-16 Robert Dewar <dewar@adacore.com> |
468 | Olivier Hainque <hainque@adacore.com> | |
469 | ||
470 | Relax constraints on Machine_Attribute argument types: | |
471 | * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for | |
472 | missing type. | |
473 | (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3. | |
474 | * gcc-interface/decl.c (prepend_attributes): Accept static | |
475 | expressions of any type as attribute arguments, not only string | |
476 | literals. | |
477 | * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect | |
478 | the relaxation of the restriction on the Info argument type. | |
479 | ||
c172df28 AH |
480 | 2009-06-13 Aldy Hernandez <aldyh@redhat.com> |
481 | ||
482 | * gcc-interface/utils.c (record_builtin_type): Pass location | |
483 | argument to build_decl. | |
484 | (create_type_stub_decl): Same. | |
485 | (create_type_decl): Same. | |
486 | (create_var_decl_1): Same. | |
487 | (create_field_decl): Same. | |
488 | (create_param_decl): Same. | |
489 | (create_label_decl): Same. | |
c172df28 AH |
490 | (create_subprog_decl): Same. |
491 | * gcc-interface/decl.c (gnat_to_gnu_entity): Same. | |
492 | * gcc-interface/trans.c (Case_Statement_to_gnu): Pass location | |
493 | argument to create_artificial_label. | |
c172df28 AH |
494 | (Loop_Statement_to_gnu): Same. |
495 | (Subprogram_Body_to_gnu): Same. | |
496 | (gnat_gimplify_stmt): Same. | |
497 | ||
53b2323e RH |
498 | 2009-06-11 Richard Henderson <rth@redhat.com> |
499 | ||
cd19075f EB |
500 | * gcc-interface/misc.c (gnat_handle_option): Rename OPT_gdwarf_ to |
501 | OPT_gdwarfplus. | |
53b2323e | 502 | |
2995ebee AC |
503 | 2009-06-11 Ed Schonberg <schonberg@adacore.com> |
504 | ||
505 | * sem_attr.adb (Resolve_Attribute, case 'access): Add missing | |
506 | accessibiliy check on access_to_subprogram in the context of an | |
507 | anonymous access that is not an access parameter. | |
508 | ||
509 | 2009-06-11 Eric Botcazou <ebotcazou@adacore.com> | |
510 | ||
511 | * tracebak.c (i386 section): Define IS_BAD_PTR on Solaris. | |
512 | ||
513 | 2009-06-11 Quentin Ochem <ochem@adacore.com> | |
514 | ||
515 | * sem_warn.adb, scng.adb, sfn_scan.adb, freeze.adb: Add CODEFIX | |
516 | comments for message handled by GPS. | |
517 | ||
518 | 2009-06-11 Matthew Gingell <gingell@adacore.com> | |
519 | ||
520 | * adaint.c: Use fopen64 instead of fopen on platforms where we know | |
521 | it's supported. | |
522 | ||
523 | 2009-06-11 Pascal Obry <obry@adacore.com> | |
524 | ||
525 | * g-cgi.ads: Fix comment typo. | |
526 | ||
527 | * g-cgi.adb: Properly decode "+" in CGI parameters as spaces. | |
528 | ||
c244bf8f EB |
529 | 2009-06-10 Eric Botcazou <ebotcazou@adacore.com> |
530 | ||
531 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use | |
532 | a reference to the original type for the type of the field of the | |
533 | XVS type. | |
534 | (maybe_pad_type): Likewise. | |
535 | ||
536 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor | |
537 | common predicate and remove redundant setting of TYPE_BY_REFERENCE_P. | |
538 | Pass correctly typed arguments to create_field_decl. | |
539 | <E_Record_Subtype>: Set BLKmode for tagged and limited types in the | |
540 | case of contrained discriminants as well. Use the padded base type | |
541 | in the other case as well. Rename temporary variable. Tweak test. | |
542 | Factor common access pattern. Set GNU_SIZE only once. | |
543 | ||
ff346f70 OH |
544 | 2009-06-09 Olivier Hainque <hainque@adacore.com> |
545 | ||
546 | * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New | |
547 | helper for build_call_alloc_dealloc with arguments to be interpreted | |
548 | identically. Process the case where a GNAT_PROC to call is provided. | |
549 | (maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build | |
550 | and return an allocator for DATA_SIZE bytes aimed at containing a | |
551 | DATA_TYPE object, using the default __gnat_malloc allocator. Honor | |
552 | DATA_TYPE alignments greater than what the latter offers. | |
553 | (maybe_wrap_free): New helper for build_call_alloc_dealloc, to | |
554 | release a DATA_TYPE object designated by DATA_PTR using the | |
555 | __gnat_free entry point. | |
556 | (build_call_alloc_dealloc): Expect object data type instead of naked | |
557 | alignment constraint. Use the new helpers. | |
558 | (build_allocator): Remove special processing for the super-aligned | |
559 | case, now handled by build_call_alloc_dealloc. Pass data | |
560 | type instead of the former alignment argument, as expected by the new | |
561 | interface. | |
562 | * gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype | |
563 | and comment. | |
564 | * gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>: | |
565 | Remove special processing for the super-aligned case, now handled | |
566 | by build_call_alloc_dealloc. Pass data type instead of the former | |
567 | alignment argument, as expected by the new interface. | |
568 | ||
2153915d AO |
569 | 2009-06-08 Alexandre Oliva <aoliva@redhat.com> |
570 | ||
571 | * lib-writ.adb (flag_compare_debug): Import. | |
572 | (Write_ALI): Skip during -fcompare-debug-second. | |
573 | ||
cdaa0e0b EB |
574 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
575 | ||
576 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When | |
577 | adjusting the discriminant nodes in an extension, use the full view | |
578 | of the parent subtype if it is of a private kind. | |
579 | ||
a6a29d0c EB |
580 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
581 | ||
582 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the | |
583 | _Parent field, if any, to the record before adding the other fields. | |
584 | <E_Record_Subtype>: Put the _Controller field before the other fields | |
585 | except for the _Tag or _Parent fields. | |
586 | (components_to_record): Likewise. Retrieve the _Parent field from the | |
587 | record type. | |
588 | ||
8cd28148 EB |
589 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
590 | ||
591 | * gcc-interface/decl.c (substitution_list): Rename to build_subst_list, | |
592 | remove unused parameter and simplify. | |
593 | (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor | |
594 | common predicate. Rewrite loop for clarity. Use GNU_TYPE directly | |
595 | as context for all discriminants. Fix formatting nits. | |
596 | <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants | |
597 | before Discriminant_Constraint. Adjust for above renaming. Do not | |
598 | set GNU_TYPE more than once. | |
599 | (elaborate_entity): Test Has_Discriminants on the entity and use | |
600 | Implementation_Base_Type. | |
601 | (components_to_record): Rename component_list to gnat_component_list. | |
602 | Retrieve the _Parent field from the list. Fix nits in comments. | |
603 | Clarify logic in loop. Pass correct arguments to create_field_decl. | |
604 | ||
beb7e030 EB |
605 | 2009-06-02 Eric Botcazou <ebotcazou@adacore.com> |
606 | ||
607 | * gcc-interface/Make-lang.in: Fix formatting. | |
608 | ||
db868e1e | 609 | 2009-06-01 Olivier Hainque <hainque@adacore.com> |
53b2323e | 610 | Eric Botcazou <ebotcazou@adacore.com> |
db868e1e OH |
611 | |
612 | * gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting | |
613 | to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT | |
614 | on the result if at least one of the input fields couldn't be output | |
615 | as a static constant any more. | |
616 | ||
324c9b02 | 617 | 2009-06-01 Olivier Hainque <hainque@adacore.com> |
53b2323e | 618 | Eric Botcazou <ebotcazou@adacore.com> |
324c9b02 OH |
619 | |
620 | * gcc-interface/utils2.c (gnat_build_constructor): Factor | |
18d6353c | 621 | out code. Use initializer_constant_valid_for_bitfield_p and |
324c9b02 OH |
622 | CONSTRUCTOR_BITFIELD_P for bit-fields. |
623 | ||
7980bfb8 ILT |
624 | 2009-05-26 Ian Lance Taylor <iant@google.com> |
625 | ||
626 | * gcc-interface/Makefile.in (COMPILER): Define. | |
627 | (COMPILER_FLAGS, ALL_COMPILERFLAGS): Define. | |
628 | (.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER). | |
629 | (seh_init.o, tracebak.o): Likewise. | |
630 | * gcc-interface/Make-lang.in (ada/targext.o): Likewise. | |
631 | (ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise. | |
632 | (ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise. | |
633 | (ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise. | |
634 | (ada/utils2.o): Likewise. | |
635 | ||
6e00e546 OH |
636 | 2009-05-24 Olivier Hainque <hainque@adacore.com> |
637 | ||
638 | * switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ... | |
639 | * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions. | |
640 | Add -auxbase variants to the list of recognized internal switches. | |
641 | * back_end.adb (Scan_Back_End_Switches): Use the new functions and | |
642 | adjust comments. | |
643 | * lib.ads: Make comment on internal GCC switches more general. | |
644 | * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants | |
645 | as for C. | |
646 | ||
22702f93 EB |
647 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
648 | ||
649 | * gcc-interface/misc.c (gnat_get_subrange_bounds): Fix thinko. | |
650 | ||
03049a4e EB |
651 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
652 | ||
653 | * gcc-interface/decl.c (set_rm_size): Bypass the check for packed array | |
654 | types. | |
655 | ||
aae8570a EB |
656 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
657 | ||
658 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not modify the | |
659 | original type because of the alignment when there is an address clause. | |
660 | ||
3f6f0eb2 EB |
661 | 2009-05-20 Eric Botcazou <ebotcazou@adacore.com> |
662 | ||
663 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When | |
664 | discriminants affect the shape of the subtype, retrieve the GCC type | |
665 | directly from the original field if the GNAT types for the field and | |
666 | the original field are the same. | |
667 | ||
84fb43a1 EB |
668 | 2009-05-15 Eric Botcazou <ebotcazou@adacore.com> |
669 | ||
670 | * gcc-interface/ada-tree.h (TYPE_GCC_MIN_VALUE, TYPE_GCC_MAX_VALUE): | |
671 | New macros. | |
672 | (TYPE_RM_VALUES): Likewise. | |
673 | (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUES. | |
674 | (SET_TYPE_RM_SIZE): New macro. | |
675 | (TYPE_RM_MIN_VALUE, TYPE_RM_MAX_VALUE): Likewise. | |
676 | (SET_TYPE_RM_SIZE, SET_TYPE_RM_MAX_VALUE): Likewise. | |
677 | (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Redefine. | |
678 | * gcc-interface/gigi.h (create_range_type): Declare. | |
679 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type> | |
680 | Use SET_TYPE_RM_MAX_VALUE to set the upper bound on the UMT type. | |
681 | <E_Signed_Integer_Subtype>: Build a regular integer type first and | |
682 | then set the RM bounds. Use SET_TYPE_RM_SIZE to set the RM size. | |
683 | <E_Floating_Point_Subtype>: Build a regular floating-point type first | |
684 | and then set the RM bounds. | |
685 | <E_Array_Type>: Use create_range_type instead of build_range_type. | |
686 | <E_Array_Subtype>: Build a regular integer type first and then set | |
687 | the RM bounds for the extra subtype. | |
688 | <E_String_Literal_Subtype>: Use create_range_type instead of | |
689 | build_range_type. | |
690 | <all>: Set the RM bounds for enumeration types and the GCC bounds for | |
691 | floating-point types. | |
692 | (set_rm_size): Use SET_TYPE_RM_SIZE to set the RM size. | |
693 | (make_type_from_size) <INTEGER_TYPE>: Use SET_TYPE_RM_{MIN,MAX}_VALUE | |
694 | to set the bounds. Use SET_TYPE_RM_SIZE to set the RM size. | |
695 | (substitute_in_type) <INTEGER_TYPE>: Deal with GCC bounds for domain | |
696 | types and with RM bounds for subtypes. | |
697 | * gcc-interface/misc.c (LANG_HOOKS_GET_SUBRANGE_BOUNDS): Define. | |
698 | (gnat_print_type) <REAL_TYPE>: New case. | |
699 | <ENUMERAL_TYPE>: Fall through to above case. | |
700 | (gnat_get_subrange_bounds): New function. | |
701 | * gcc-interface/trans.c (add_decl_expr): Mark the trees rooted as | |
702 | TYPE_RM_MIN_VALUE and TYPE_RM_MAX_VALUE, if any. | |
703 | * gcc-interface/utils.c (gnat_init_decl_processing): Use precision 8 | |
704 | for booleans. Adjust and use SET_TYPE_RM_SIZE to set the RM size. | |
705 | (create_range_type): New function. | |
706 | (create_param_decl): Build a regular integer type first and then set | |
707 | the RM bounds for the extra subtype. | |
708 | (unchecked_convert): Remove kludge for 'Valid. | |
709 | * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Convert | |
710 | the index to sizetype instead of TYPE_DOMAIN. | |
711 | ||
a531043b EB |
712 | 2009-05-14 Eric Botcazou <ebotcazou@adacore.com> |
713 | ||
714 | * gcc-interface/decl.c (elaborate_expression_1): Remove GNAT_EXPR | |
715 | parameter and move check for static expression to... | |
716 | (elaborate_expression): ...here. Adjust call to above function. | |
717 | (gnat_to_gnu_entity): Likewise for all calls. Use correct arguments | |
718 | in calls to elaborate_expression. | |
719 | (elaborate_entity): Likewise. | |
720 | (substitution_list): Likewise. | |
721 | (maybe_variable): Fix formatting. | |
722 | (substitute_in_type) <REAL_TYPE>: Merge with INTEGER_TYPE case and add | |
723 | missing guard. | |
724 | * gcc-interface/trans.c (protect_multiple_eval): Minor cleanup. | |
725 | ||
59141a28 AC |
726 | 2009-05-07 Arnaud Charlet <charlet@adacore.com> |
727 | ||
c608b4d2 | 728 | * gcc-interface/Make-lang.in: Update dependencies. |
59141a28 | 729 | |
c608b4d2 EB |
730 | 2009-05-06 Laurent GUERBY <laurent@guerby.net> |
731 | ||
732 | * s-linux.ads, s-linux-alpha.ads, s-linux-hppa.ads, osinte-linux.ads: | |
733 | Define sa_handler_pos. | |
734 | * s-osinte-linux.ads: Use it. | |
735 | * s-linux-mipsel.ads: New. | |
736 | * system-linux-mips64el.ads: New. | |
737 | * gcc-interface/Makefile.in: Multilib handling for mipsel-linux and | |
738 | mips64el-linux. | |
e84efdce | 739 | |
1f110335 AC |
740 | 2009-05-06 Arnaud Charlet <charlet@adacore.com> |
741 | ||
742 | * exp_ch5.adb, exp_util.adb, exp_attr.adb, sem_util.adb, sem_res.adb, | |
743 | targparm.adb, targparm.ads, exp_ch4.adb, exp_ch6.adb, exp_disp.adb, | |
744 | opt.ads, exp_aggr.adb, exp_intr.adb, sem_disp.adb, exp_ch3.adb | |
745 | (Tagged_Type_Expansion): New flag. | |
746 | Replace use of VM_Target related to tagged types expansion by | |
747 | Tagged_Type_Expansion, since tagged type expansion is not necessarily | |
748 | linked to VM targets. | |
749 | ||
e0bf7d65 RD |
750 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
751 | ||
1f110335 AC |
752 | * sem_attr.adb: Add processing for Standard'Compiler_Version |
753 | ||
e0bf7d65 RD |
754 | * sinput.adb (Expr_Last_Char): Fix some copy-paste errors for paren |
755 | skipping. | |
756 | (Expr_First_Char): Add ??? comment that paren skipping needs work | |
757 | (Expr_Last_Char): Add ??? comment that paren skipping needs work | |
758 | ||
759 | * exp_attr.adb: Add processing for Compiler_Version | |
760 | ||
761 | * sem_attr.adb: New attribute Compiler_Version | |
762 | ||
763 | * snames.ads-tmpl: Add entries for Compiler_Version attribute | |
764 | ||
765 | * gnat_rm.texi: Document Compiler_Version attribute | |
766 | ||
483c78cb RD |
767 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
768 | ||
769 | * errout.adb: Minor reformatting | |
770 | ||
771 | * scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb, | |
772 | sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb, | |
773 | styleg.adb: Add stylized comments to error messages that are included | |
774 | in the codefix circuitry of IDE's such as GPS. | |
775 | ||
4e7a4f6e AC |
776 | 2009-05-06 Sergey Rybin <rybin@adacore.com> |
777 | ||
778 | * gnat_ugn.texi: For Misnamed_Identifiers rule all description of the | |
779 | new form of the rule parameter that allows to specify the suffix for | |
780 | access-to-access type names. | |
781 | ||
782 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
783 | ||
784 | * sem_warn.adb (Warn_On_Useless_Assignment): Avoid false negative for | |
785 | out parameter assigned when exception handlers are present. | |
786 | ||
787 | * sem_ch5.adb (Analyze_Exit_Statement): Kill current value last | |
788 | assignments on exit. | |
789 | ||
790 | * par-ch9.adb, sem_aggr.adb, par-endh.adb, sem_res.adb, par-ch6.adb, | |
791 | sinput-l.adb, par-load.adb, errout.ads, sem_ch4.adb, lib-load.adb, | |
792 | prj-dect.adb, par-ch12.adb, sem_ch8.adb, par-util.adb, par-ch3.adb, | |
793 | par-tchk.adb, par-ch5.adb: This patch adds stylized comments to error | |
794 | messages that are included in the codefix circuitry of IDE's such as | |
795 | GPS. | |
796 | ||
797 | * sinput.ads, sinput.adb (Expr_First_Char): New function | |
53b2323e | 798 | (Expr_Last_Char): New function |
4e7a4f6e | 799 | |
35117aa8 AC |
800 | 2009-05-06 Sergey Rybin <rybin@adacore.com> |
801 | ||
802 | * gnat_ugn.texi: Add subsection for Exits_From_Conditional_Loops rule | |
803 | Add formal definition for extra exit point metric | |
804 | ||
805 | 2009-05-06 Pascal Obry <obry@adacore.com> | |
806 | ||
807 | * adaint.c: Support for setting attributes on unicode filename on | |
808 | Windows. | |
809 | ||
0c020dde AC |
810 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
811 | ||
812 | * sem_warn.adb: Minor reformatting | |
813 | ||
814 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
815 | ||
816 | * sem_prag.adb (Process_Import_Or_Interface): Imported CPP types must | |
817 | not have discriminants or components with default expressions. | |
818 | (Analyze_Pragma): For pragma CPP_Class check that imported types | |
819 | have no discriminants and components have no default expression. | |
820 | ||
821 | * sem_aggr.adb (Resolve_Aggr_Expr): Add missing check on wrong use of | |
822 | class-wide types in the expression of a record component association. | |
823 | ||
824 | 2009-05-06 Sergey Rybin <rybin@adacore.com> | |
825 | ||
826 | * vms_data.ads: Add qualifier for gnatmetric extra exit points metric | |
827 | ||
828 | * gnat_ugn.texi: Add description for the new extra exit points metric | |
829 | (gnatmetric section). | |
830 | ||
deef4289 AC |
831 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
832 | ||
833 | * s-fileio.adb: Minor comment update | |
834 | ||
835 | * sem_ch8.adb: Minor reformatting | |
836 | ||
837 | * exp_ch3.adb: Update comments. | |
838 | ||
839 | 2009-05-06 Tristan Gingold <gingold@adacore.com> | |
840 | ||
841 | * init.c, s-osinte-darwin.ads: Reduce alternate stack size | |
842 | ||
89522556 AC |
843 | 2009-05-06 Arnaud Charlet <charlet@adacore.com> |
844 | ||
845 | * gcc-interface/Makefile.in: Update LIBGNAT_TARGET_PAIRS for Xenomai. | |
846 | Fix missing unit for rtp-smp runtime on both ppc and x86 vxworks | |
847 | ||
848 | * gcc-interface/Make-lang.in: Update dependencies | |
849 | ||
a693f55e AC |
850 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
851 | ||
852 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Revert previous | |
853 | change. The context clause of a generic instance declaration must be | |
854 | preserved until the end of the compilation, because it may have to be | |
855 | installed/removed repeatedly. | |
856 | The latest change to sem.adb ensures that the context of both spec and | |
857 | body of an instance is traversed before the instance itself, making | |
858 | this patch redundant. | |
859 | ||
e264efcc AC |
860 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
861 | ||
862 | * sem_aggr.adb: Fix typo. | |
863 | ||
864 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
865 | ||
866 | * exp_ch3.adb (Expand_N_Object_Declaration): For a controlled object | |
867 | declaration, do not adjust if the declaration is to be rewritten into | |
868 | a renaming. | |
869 | ||
870 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
871 | ||
872 | * sem_ch8.adb (Find_Type): Reject the use of a task type in its own | |
873 | discriminant part. | |
874 | ||
875 | 2009-05-06 Bob Duff <duff@adacore.com> | |
876 | ||
877 | * s-fileio.adb (File_IO_Clean_Up_Type): Make this type limited, since | |
878 | otherwise the compiler would be allowed to optimize away the cleanup | |
879 | code. | |
880 | ||
69a0c174 AC |
881 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
882 | ||
883 | * gnat_ugn.texi: Fix typo. | |
884 | ||
885 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
886 | ||
887 | * g-debuti.adb: Minor reformatting | |
888 | ||
889 | * exp_attr.adb: Minor reformatting | |
890 | ||
891 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
892 | ||
893 | * sem_aggr.adb: Minor reformatting. | |
894 | ||
895 | * g-socthi-vms.adb: Minor reformatting | |
896 | ||
897 | 2009-05-06 Bob Duff <duff@adacore.com> | |
898 | ||
899 | * g-table.ads, g-table.adb, g-dyntab.ads, g-dyntab.adb: | |
900 | (Append_All): Add Append_All to g-table and g-dyntab, similar to table. | |
901 | ||
4e0d20ca BD |
902 | 2009-05-06 Bob Duff <duff@adacore.com> |
903 | ||
904 | * gnat_ugn.texi, gnat_rm.texi: Add missing documentation for warnings | |
905 | flags. | |
906 | ||
11795185 JM |
907 | 2009-05-06 Javier Miranda <miranda@adacore.com> |
908 | ||
909 | * sem_aggr.adb (Valid_Ancestor_Type): Add support for C++ constructors. | |
910 | (Resolve_Extension_Aggregate): Do not reject C++ constructors in | |
911 | extension aggregates. | |
912 | (Resolve_Record_Aggregate): Add support for C++ constructors in | |
913 | extension aggregates. | |
914 | ||
915 | * exp_aggr.adb (Build_Record_Aggr_Code): Add support for C++ | |
916 | constructors in extension aggregates. | |
917 | ||
426d2717 AC |
918 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
919 | ||
920 | * freeze.adb (Freeze_Record_Type): Improve error msg for bad size | |
921 | clause. | |
922 | ||
923 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
924 | ||
925 | * g-socthi-vms.adb (C_Recvmsg, C_Sendmsg): Convert Msg to appropriate | |
926 | packed type, since on OpenVMS, struct msghdr is packed. | |
927 | ||
928 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
929 | ||
930 | * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function | |
931 | call returning an unconstrained composite value, create the proper | |
932 | subtype for it, as is done for object dclarations with unconstrained | |
933 | nominal subtypes. Perform this transformation regarless of whether | |
934 | call comes from source. | |
935 | ||
8dc10d38 AC |
936 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
937 | ||
938 | * freeze.adb (Freeze_Record_Type): Implement Implicit_Packing for | |
939 | records | |
940 | ||
941 | * gnat_rm.texi: | |
942 | Add documentation for pragma Implicit_Packing applied to record | |
943 | types. | |
944 | ||
945 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
946 | ||
947 | * sem.adb (Walk_Library_Items): Place all with_clauses of an | |
948 | instantiation on the spec, because late instance bodies may generate | |
949 | with_clauses for the instance body but are inserted in the instance | |
950 | spec. | |
951 | ||
3249690d AC |
952 | 2009-05-06 Emmanuel Briot <briot@adacore.com> |
953 | ||
954 | * prj-nmsc.adb (Locate_Directory): Remove unused parameters, and add | |
955 | support for returning the directory even if it doesn't exist. This is | |
956 | used for the object directory, since we are always setting it to a | |
957 | non-null value, and we should set it to an absolute name rather than a | |
958 | relative name for the sake of external tools that might depend on it. | |
959 | (Check_Library_Attributes): When Project.Library_Dir is known, check | |
960 | that the directory exists. | |
961 | ||
962 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
963 | ||
964 | * sem_attr.adb (Check_Dereference): If the prefix of an attribute | |
965 | reference is an implicit dereference, do not freeze the designated type | |
966 | if within a default expression or when preanalyzing a pre/postcondtion. | |
967 | ||
fd366a46 AC |
968 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
969 | ||
970 | * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function | |
971 | call returning an unconstrained composite value, create the proper | |
972 | subtype for it, as is done for object dclarations with unconstrained | |
973 | nominal subtypes | |
974 | ||
975 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
976 | ||
977 | * sem_ch13.adb (Check_Constant_Address_Clause): Minor error message | |
978 | improvements | |
979 | ||
980 | * freeze.adb: Minor reformatting | |
981 | ||
7dd1ab84 AC |
982 | 2009-05-06 Thomas Quinot <quinot@adacore.com> |
983 | ||
984 | * sem_ch3.adb (Access_Type_Declaration): An access type whose | |
985 | designated type is a limited view from a limited with clause (flagged | |
986 | From_With_Type) is not itself such a limited view. | |
987 | ||
988 | 2009-05-06 Emmanuel Briot <briot@adacore.com> | |
989 | ||
990 | * prj-nmsc.adb: Remove unused variable. | |
991 | ||
992 | * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads, | |
993 | prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to | |
994 | makeutl.ads, since not all users of prj.ads need this. | |
995 | ||
28541488 JM |
996 | 2009-05-06 Javier Miranda <miranda@adacore.com> |
997 | ||
998 | * exp_aggr.adb (Build_Record_Aggr_Code): Add implicit call to the C++ | |
999 | constructor in case of aggregates whose type is a CPP_Class type. | |
1000 | ||
55c078ac AC |
1001 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
1002 | ||
1003 | * sem_ch13.adb: Minor comment additions | |
1004 | ||
1005 | * osint.adb: Minor reformatting | |
1006 | ||
1007 | 2009-05-06 Pascal Obry <obry@adacore.com> | |
1008 | ||
1009 | * initialize.c: On Windows, keep full pathname to expanded command | |
1010 | line patterns. | |
1011 | ||
6bde3eb5 AC |
1012 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
1013 | ||
1014 | * sem_aggr.adb (Resolve_Record_Aggregate): If a defaulted component of | |
1015 | an aggregate with box default is of a discriminated private type, do | |
1016 | not build a subaggregate for it. | |
1017 | A proper call to the initialization procedure is generated for it. | |
1018 | ||
1019 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
1020 | ||
1021 | * rtsfind.adb, rtsfind.ads, exp_dist.adb, exp_dist.ads | |
1022 | (Exp_Dist.Build_TC_Call, Build_From_Any_Call, Build_To_Any_Call): | |
1023 | Use PolyORB strings to represent Ada.Strings.Unbounded_String value; | |
1024 | use standard array code for Standard.String. | |
1025 | (Exp_Dist): Bump PolyORB s-parint API version to 3. | |
1026 | (Rtsfind): New entities TA_Std_String, Unbounded_String. | |
1027 | ||
1028 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
1029 | ||
1030 | * g-comlin.ads: Minor reformatting | |
1031 | ||
1032 | * xoscons.adb: Minor reformatting | |
1033 | ||
3743d5bd AC |
1034 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
1035 | ||
1036 | * sem_aggr.adb (Resolve_Record_Aggregate): In step 5, get the | |
1037 | Underlying_Type before retrieving the type definition for gathering | |
1038 | components, to account for the case where the type is private. | |
1039 | ||
1040 | 2009-05-06 Tristan Gingold <gingold@adacore.com> | |
1041 | ||
1042 | * g-comlin.ads: Fix minor typos (Getopt instead of Get_Opt). | |
1043 | ||
1044 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
1045 | ||
1046 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
1047 | g-socthi-vxworks.ads, g-socthi-mingw.adb g-socthi-mingw.ads, | |
1048 | g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb | |
1049 | (GNAT.Sockets.Thin.C_Sendmsg, GNAT.Sockets.Thin.C_Recvmsg, | |
1050 | Windows versions): Fix incorrect base | |
1051 | address of Iovec (it's Msg_Iov, not Msg_Iov'Address). | |
1052 | (GNAT.Sockets.Thin.C_Sendto, GNAT.Sockets.Thin.C_Recvfrom): Use a | |
1053 | System.Address for the To parameter instead of a Sockaddr_In_Access, to | |
1054 | achieve independance from AF_INET family, and also to allow this | |
1055 | parameter to be retrieved from a Msghdr for the Windows case where | |
1056 | these routines are used to implement C_Sendmsg and C_Recvmsg. | |
1057 | ||
1058 | 2009-05-06 Bob Duff <duff@adacore.com> | |
1059 | ||
1060 | * g-expect.adb, g-expect.ads: Minor reformatting | |
1061 | ||
1062 | * sdefault.ads: Minor comment fix | |
1063 | ||
1064 | * g-expect-vms.adb: Minor reformatting | |
1065 | ||
1066 | * table.ads, table.adb (Append_All): New convenience procedure for | |
1067 | appending a whole array. | |
1068 | ||
1069 | * comperr.adb (Compiler_Abort): Mention the -gnatd.n switch in the bug | |
1070 | box message. Call Osint.Dump_Source_File_Names to print out the file | |
1071 | list, instead of rummaging around in various data structures. | |
1072 | ||
1073 | * debug.adb: New switch -gnatd.n, to print source file names as they | |
1074 | are read. | |
1075 | ||
1076 | * alloc.ads: Add parameters for Osint.File_Name_Chars. | |
1077 | ||
1078 | * osint.ads, osint.adb (Dump_Source_File_Names): New procedure to print | |
1079 | out source file names during a "bug box". | |
1080 | (Include_Dir_Default_Prefix): Use memo-izing to avoid repeated new/free. | |
1081 | (Read_Source_File): Print out the file name, if requested via -gnatd.n. | |
1082 | If it's not part of the runtimes, store it for later printing by | |
1083 | Dump_Source_File_Names. | |
1084 | ||
1085 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
1086 | ||
1087 | * gnat_rm.texi (CPP_Constructor): Avoid duplication of the | |
1088 | documentation and add reference to the GNAT user guide for further | |
1089 | details. | |
1090 | ||
1091 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
1092 | ||
1093 | * gnat_ugn.texi: Complete documentation for CPP_Constructor and remove | |
1094 | also wrong examples that use extension aggregates. | |
1095 | ||
1096 | 2009-05-06 Albert Lee <lee@adacore.com> | |
1097 | ||
1098 | * s-oscons-tmplt.c (System.OS_Constants): Do not use special definition | |
1099 | of Msg_Iovlen_T for VMS. | |
1100 | ||
ffef1219 LG |
1101 | 2009-05-04 Laurent GUERBY <laurent@guerby.net> |
1102 | ||
1103 | PR ada/38874 | |
1104 | * make.adb (Scan_Make_Arg): Pass --param= to compiler and linker. | |
1105 | ||
70b70ce8 AC |
1106 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
1107 | ||
1108 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Improve error message on | |
1109 | box-defaulted operator in an instantiation, when the type of the | |
1110 | operands is not directly visible. | |
1111 | ||
1112 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> | |
1113 | ||
1114 | * sem_aggr.adb (Valid_Limited_Ancestor): Undo previous change. | |
1115 | (Resolve_Extension_Aggregate): Call Check_Parameterless_Call after the | |
1116 | analysis of the ancestor part. Remove prohibition against limited | |
1117 | interpretations of the ancestor expression in the case of Ada 2005. | |
1118 | Revise error message in overloaded case, adding a message to cover | |
1119 | the Ada 2005 case. | |
1120 | ||
1121 | 2009-04-29 Thomas Quinot <quinot@adacore.com> | |
1122 | ||
1123 | * xoscons.adb: Minor reformatting | |
1124 | ||
1125 | 2009-04-29 Bob Duff <duff@adacore.com> | |
1126 | ||
1127 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Do not ignore | |
1128 | attribute_definition_clauses for the following attributes when the | |
1129 | -gnatI switch is used: External_Tag, Input, Output, Read, Storage_Pool, | |
1130 | Storage_Size, Write. Otherwise, we get spurious errors (for example, | |
1131 | missing Read attribute on remote types). | |
1132 | ||
1133 | * gnat_ugn.texi: Document the change, and add a stern warning. | |
1134 | ||
1135 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
1136 | ||
1137 | * sem_attr.adb (Check_Local_Access): Indicate that value tracing is | |
1138 | disabled not just for the current scope, but for the innermost dynamic | |
1139 | scope as well. | |
1140 | ||
4cc51f5e AC |
1141 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
1142 | ||
1143 | * gcc-interface/Make-lang.in: Update dependencies | |
1144 | ||
107b023c AC |
1145 | 2009-04-29 Vincent Celier <celier@adacore.com> |
1146 | ||
1147 | * prj-part.adb: Minor comment update | |
1148 | ||
1149 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
1150 | ||
1151 | * sem_aggr.adb (Resolve_Record_Aggregate): handle properly | |
1152 | box-initialized records with discriminated subcomponents that are | |
1153 | constrained by discriminants of enclosing components. New subsidiary | |
1154 | procedures Add_Discriminant_Values, Propagate_Discriminants. | |
1155 | ||
1156 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> | |
1157 | ||
1158 | * g-socket.adb: Code clean up. | |
1159 | ||
1933c497 AC |
1160 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> |
1161 | ||
1162 | * sem_aggr.adb (Valid_Limited_Ancestor): Add test for the name of a | |
1163 | function entity, to cover the case of a parameterless function call | |
1164 | that has not been resolved. | |
1165 | ||
1166 | 2009-04-29 Robert Dewar <dewar@adacore.com> | |
1167 | ||
1168 | * err_vars.ads, prj-part.adb, scans.ads, exp_tss.adb: Minor | |
1169 | reformatting and comment updates. | |
1170 | ||
51ec70b8 AC |
1171 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
1172 | ||
1173 | * gnat_ugn.texi: Update some documentation about interfacing with C++ | |
1174 | Mention -fkeep-inline-functions. | |
1175 | ||
1176 | * gnat_ugn.texi: Minor edits | |
1177 | ||
1178 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
1179 | ||
1180 | * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate | |
1181 | for a defaulted component of an enclosing aggregate, inherit the type | |
1182 | from the component declaration of the enclosing type. | |
1183 | ||
1184 | 2009-04-29 Albert Lee <lee@adacore.com> | |
1185 | ||
1186 | * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c, | |
1187 | g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads | |
1188 | (System.OS_Constants): New type Msg_Iovlen_T which follows whether the | |
1189 | msg_iovlen field in struct msghdr is 32 or 64 bits wide. | |
1190 | Relocate the Msghdr record type from GNAT.Sockets.Thin to | |
1191 | GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the | |
1192 | type for the Msg_Iovlen field. | |
1193 | ||
9e895ab5 AC |
1194 | 2009-04-29 Vincent Celier <celier@adacore.com> |
1195 | ||
1196 | * sinput-l.adb (Load_File): When preprocessing, set temporarily the | |
1197 | Source_File_Index_Table entries for the source, to avoid crash when | |
1198 | reporting an error. | |
1199 | ||
1200 | * gnatcmd.adb (Test_If_Relative_Path): Use | |
1201 | Makeutl.Test_If_Relative_Path. | |
1202 | ||
1203 | * makeutl.adb:(Test_If_Relative_Path): Process switches --RTS= only if | |
1204 | Including_RTS is True. | |
1205 | ||
1206 | * makeutl.ads (Test_If_Relative_Path): New Boolean parameter | |
1207 | Including_RTS defaulted to False. | |
1208 | ||
1209 | * sinput.ads, scans.ads, err_vars.ads: Initialize some variables with | |
1210 | a default value. | |
1211 | ||
1212 | 2009-04-29 Javier Miranda <miranda@adacore.com> | |
1213 | ||
1214 | * gnat_ugn.texi: Adding documentation for non-default C++ constructors. | |
1215 | ||
236fecbf JM |
1216 | 2009-04-29 Javier Miranda <miranda@adacore.com> |
1217 | ||
1218 | * sem_ch3.adb (Analyze_Object_Declaration): Disable error message | |
1219 | associated with dyamically tagged expressions if the expression | |
1220 | initializing a tagged type corresponds with a non default CPP | |
1221 | constructor. | |
1222 | (OK_For_Limited_Init): CPP constructor calls are OK for initialization | |
1223 | of limited type objects. | |
1224 | ||
1225 | * sem_ch5.adb (Analyze_Assignment): Improve the error message reported | |
1226 | when a CPP constructor is called in an assignment. Disable also the | |
1227 | error message associated with dyamically tagged expressions if the | |
1228 | exporession initializing a tagged type corresponds with a non default | |
1229 | CPP constructor. | |
1230 | ||
1231 | * sem_prag.adb (Analyze_Pragma): Remove code disabling the use of | |
1232 | non-default C++ constructors. | |
1233 | ||
1234 | * sem_util.ads, sem_util.adb (Is_CPP_Constructor_Call): New subprogram. | |
1235 | ||
1236 | * exp_tss.ads, exp_tss.adb (Base_Init_Proc): Add support for | |
1237 | non-default constructors. | |
1238 | (Init_Proc): Add support for non-default constructors. | |
1239 | ||
1240 | * exp_disp.adb (Set_Default_Constructor): Removed. | |
1241 | (Set_CPP_Constructors): Code based in removed Set_Default_Constructor | |
1242 | but extending its functionality to handle non-default constructors. | |
1243 | ||
1244 | * exp_aggr.adb (Build_Record_Aggr_Code): Add support for non-default | |
1245 | constructors. Minor code cleanup removing unrequired label and goto | |
1246 | statement. | |
1247 | ||
1248 | * exp_ch3.adb (Build_Initialization_Call): Add support for non-default | |
1249 | constructors. | |
1250 | (Build_Init_Statements): Add support for non-default constructors. | |
1251 | (Expand_N_Object_Declaration): Add support for non-default constructors. | |
1252 | (Freeze_Record_Type): Replace call to Set_Default_Constructor by call | |
1253 | to Set_CPP_Constructors. | |
1254 | ||
1255 | * exp_ch5.adb (Expand_N_Assignment_Statement): Add support for | |
1256 | non-default constructors. | |
1257 | Required to handle its use in build-in-place statements. | |
1258 | ||
1259 | * gnat_rm.texi (CPP_Constructor): Document new extended use of this | |
1260 | pragma for non-default C++ constructors and the new compiler support | |
1261 | that allows the use of these constructors in record components, limited | |
1262 | aggregates, and extended return statements. | |
1263 | ||
0ec21a5b AC |
1264 | 2009-04-29 Vincent Celier <celier@adacore.com> |
1265 | ||
1266 | * prj-part.adb (Parse_Single_Project): Do not attempt to find a | |
1267 | project extending an abstract project. | |
1268 | ||
1269 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> | |
1270 | ||
1271 | * targparm.ads: Fix oversight. | |
1272 | ||
96b20738 ES |
1273 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
1274 | ||
1275 | * lib-xref.adb (Output_Overridden_Op): Follow several levels of | |
1276 | derivation when necessary, to find the user-subprogram that is actally | |
1277 | being overridden. | |
1278 | ||
3b4ebfc3 RD |
1279 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
1280 | ||
1281 | * sem_util.adb (May_Be_Lvalue): Fix cases involving indexed/selected | |
1282 | components | |
1283 | ||
eb9cb0fc ES |
1284 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
1285 | ||
1286 | * exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of | |
1287 | primitive operation, rather than source line of synchronized type, when | |
1288 | building the wrapper for a primitive operation that overrides an | |
1289 | operation inherited from a progenitor, to improve the error message on | |
1290 | duplicate declarations. | |
1291 | ||
1292 | * sem_ch3.adb (Process_Full_View): Use new signature of | |
1293 | Build_Wrapper_Spec. | |
1294 | ||
7f7d37cb AC |
1295 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
1296 | ||
1297 | * prj-nmsc.ads: Minor reformatting | |
1298 | ||
1299 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> | |
1300 | ||
1301 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of the | |
1302 | expression on the existing parent If statement. | |
1303 | ||
3c638456 RD |
1304 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
1305 | ||
1306 | * prj-proc.adb, prj.ads: Minor reformatting | |
1307 | ||
fb1949a0 EB |
1308 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> |
1309 | ||
1310 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of an | |
1311 | existing parent If statement on the newly created one. | |
1312 | ||
bd0a4cab EB |
1313 | 2009-04-29 Emmanuel Briot <briot@adacore.com> |
1314 | ||
1315 | * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, | |
1316 | prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads, | |
1317 | prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb | |
1318 | (Set_In_Configuration, In_Configuration): Removed. | |
1319 | Replaced by an extra parameter Is_Config_File in several parameter to | |
1320 | avoid global variables to store the state of the parser. | |
1321 | ||
9af094a1 ES |
1322 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
1323 | ||
1324 | * sinfo.ads, sinfo.adb: New attribute Next_Implicit_With, to chain | |
1325 | with_clauses generated for the same unit through rtsfind, and that | |
1326 | appear in the context of different units. | |
1327 | ||
1328 | * rtsfind.adb: New attribute First_Implicit_With, component of the | |
1329 | Unit_Record that stores information about a unit loaded through rtsfind. | |
1330 | ||
ac72c9c5 AC |
1331 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> |
1332 | ||
1333 | * exp_ch3.adb (Stream_Operation_OK): Return True for limited interfaces | |
1334 | (other conditions permitting), so that abstract stream subprograms will | |
1335 | be declared for them. | |
1336 | ||
1337 | 2009-04-29 Bob Duff <duff@adacore.com> | |
1338 | ||
1339 | * g-expect.adb (Expect_Internal): Fix check for overfull buffer. | |
1340 | ||
1341 | * g-expect.ads: Minor comment fixes. | |
1342 | ||
1343 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
1344 | ||
1345 | * freeze.adb, lib-xref.adb (Check_Dispatching_Operation): if the | |
1346 | dispatching operation is a body without previous spec, update the list | |
1347 | of primitive operations to ensure that cross-reference information is | |
1348 | up-to-date. | |
1349 | ||
1350 | 2009-04-29 Albert Lee <lee@adacore.com> | |
1351 | ||
1352 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
1353 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
1354 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads | |
1355 | (GNAT.Sockets.Thin.C_Readv, | |
1356 | GNAT.Sockets.Thin.C_Writev): Remove unused subprograms. | |
1357 | (GNAT.Sockets.Thin.C_Recvmsg, | |
1358 | GNAT.Sockets.Thin.C_Sendmsg): New bindings to call recvmsg(2) and | |
1359 | sendmsg(2). | |
1360 | (GNAT.Sockets.Receive_Vector, GNAT.Sockets.Send_Vector): Use | |
1361 | C_Recvmsg/C_Sendmsg rather than Readv/C_Writev. | |
1362 | ||
4fc26524 AC |
1363 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
1364 | ||
1365 | * sem_disp.adb (Check_Dispatching_Operation): if the dispatching | |
1366 | operation is a body without previous spec, update the list of | |
1367 | primitive operations to ensure that cross-reference information is | |
1368 | up-to-date. | |
1369 | ||
1370 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a | |
1371 | new compilation unit node for the instance declaration, keep the | |
1372 | context items of the original unit on it, so that the context of the | |
1373 | instance body only holds the context inherited from the generic body. | |
1374 | ||
1375 | 2009-04-29 Bob Duff <duff@adacore.com> | |
1376 | ||
1377 | * sem_res.adb: Minor comment fix. | |
1378 | ||
7f4c1903 AC |
1379 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
1380 | ||
1381 | * sem_elim.adb: Minor reformatting | |
1382 | ||
1383 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
1384 | ||
1385 | * exp_aggr.adb (Convert_To_Positional): if the current unit is a | |
1386 | predefined unit, allow arbitrary number of components in static | |
1387 | aggregate, to ensure that the same level of constant folding applies | |
1388 | for Ada 95 and Ada 05 versions of the file. | |
1389 | ||
33374829 AC |
1390 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
1391 | ||
1392 | * sem_elim.adb (Check_Eliminated): Handle new improved eliminate | |
1393 | information: no need for full scope check. | |
1394 | (Eliminate_Error): Do not emit error in a generic context. | |
1395 | ||
1396 | 2009-04-29 Ed Falis <falis@adacore.com> | |
1397 | ||
1398 | * adaint.c (__gnat_rmdir): return error code if VTHREADS is defined. | |
1399 | VxWorks 653 POS does not support rmdir. | |
1400 | ||
1401 | 2009-04-29 Matteo Bordin <bordin@adacore.com> | |
1402 | ||
1403 | * s-stausa.adb, s-stausa.ads: Get_Usage_Range: changing the way | |
1404 | results are printed. | |
1405 | ||
91c2cbdb AC |
1406 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
1407 | ||
1408 | * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove | |
1409 | unused assignment. | |
1410 | ||
1411 | 2009-04-29 Thomas Quinot <quinot@adacore.com> | |
1412 | ||
1413 | * make.adb: Minor reformatting. | |
1414 | Minor code reorganization throughout. | |
1415 | ||
1416 | 2009-04-29 Matteo Bordin <bordin@adacore.com> | |
1417 | ||
1418 | * s-stausa.ads: Changed visibility of type Task_Result: moved to | |
1419 | public part to give application visibility over it. | |
1420 | This is for future improvement and to build a public API on top of it. | |
1421 | Changed record components name of type Task_Result to reflect the new | |
1422 | way of reporting. | |
1423 | ||
1424 | * s-stausa.adb: Actual_Size_Str changed to reflect the new way of | |
1425 | reporting Stack usage. | |
1426 | ||
1427 | * gnat_ugn.texi: Update doc of stack usage report. | |
1428 | ||
1429 | * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files. | |
1430 | ||
1431 | * Makefile.rtl: Add new run-time files. | |
1432 | ||
6d47b1e3 PO |
1433 | 2009-04-29 Pascal Obry <obry@adacore.com> |
1434 | ||
1435 | * initialize.c: Do not expand quoted arguments. | |
1436 | ||
d45871da EB |
1437 | 2009-04-29 Emmanuel Briot <briot@adacore.com> |
1438 | ||
1439 | * prj-ext.adb, prj.adb, prj.ads: Fix memory leaks. | |
1440 | ||
1441 | * clean.adb (Ultimate_Extension_Of): removed, since duplicate of | |
1442 | Prj.Ultimate_Extending_Project_Of | |
1443 | ||
4f87ded3 ES |
1444 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
1445 | ||
1446 | * exp_ch7.adb (Build_Final_List): If the designated type is a Taft | |
1447 | Amendment type, add the with_clause for Finalization.List_Controller | |
1448 | only if the current context is a package body. | |
1449 | ||
349ff68f AC |
1450 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
1451 | ||
1452 | * sem_ch12.adb: Minor reformatting | |
1453 | ||
1454 | * sem_aggr.adb: Minor reformatting | |
1455 | ||
1456 | * sem_ch6.adb, sem_cat.ads: Minor reformatting | |
1457 | ||
1458 | * sem_ch10.adb, gnat1drv.adb, prj-nmsc.adb: Minor reformatting | |
1459 | ||
1460 | 2009-04-29 Quentin Ochem <ochem@adacore.com> | |
1461 | ||
1462 | * prj.ads (Source_Id): Now general pointer type. | |
1463 | ||
d81b4bfe TQ |
1464 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
1465 | ||
1466 | * exp_ch7.adb, rtsfind.adb: Minor reformatting | |
1467 | ||
1468 | * sem_res.adb: Minor reformatting | |
1469 | ||
4342eda9 TQ |
1470 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
1471 | ||
1472 | * sem_res.adb (Static_Concatenation): An N_Op_Concat with static | |
1473 | operands is static only if it is a predefined concatenation operator. | |
1474 | ||
1475 | * sem_util.adb: Minor reformatting | |
1476 | ||
1477 | * sem_ch12.adb (Save_References): When propagating semantic information | |
1478 | from generic copy back to generic template, for the case of an | |
1479 | identifier that has been rewritten to an explicit dereference whose | |
1480 | prefix is either an object name or a parameterless funcion call | |
1481 | denoting a global object or function, properly capture the denoted | |
1482 | global entity: perform the corresponding rewriting in the template, | |
1483 | and point the rewritten identifier to the correct global entity (not | |
1484 | to the associated identifier in the generic copy). | |
1485 | ||
0b8074ed AC |
1486 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
1487 | ||
1488 | * rtsfind.adb, prj-env.adb: Minor reformatting | |
1489 | Minor code reorganization | |
1490 | ||
1491 | 2009-04-29 Emmanuel Briot <briot@adacore.com> | |
1492 | ||
1493 | * make.adb: Fix comment | |
1494 | ||
1495 | * prj.adb (Ultimate_Extending_Project_Of): Fix handling when no project | |
1496 | is given as argument, as might happen in gnatmake. | |
1497 | ||
8f983e64 ES |
1498 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
1499 | ||
1500 | * sem_ch3.adb (Check_Abstract_Overriding): Improve error message when | |
1501 | an abstract operation of a progenitor is not properly overridden by an | |
1502 | operation of a derived synchronized type. | |
1503 | ||
132410cb RD |
1504 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
1505 | ||
1506 | * mlib-prj.adb, mlib-tgt.adb, mlib-tgt.ads, prj-nmsc.adb, | |
1507 | prj-proc.adb: Minor reformatting | |
1508 | Minor code reorganization | |
1509 | ||
66713d62 AC |
1510 | 2009-04-29 Bob Duff <duff@adacore.com> |
1511 | ||
1512 | * exp_ch7.adb (Build_Final_List): For an access type that designates a | |
1513 | Taft Amendment type, if the access type needs finalization, make sure | |
1514 | the implicit with clause for List_Controller occurs on the package spec. | |
1515 | ||
1516 | * rtsfind.adb (Text_IO_Kludge): Fine tune the creation of implicit | |
1517 | with's created for the pseudo-children of Text_IO and friends. In | |
1518 | particular, avoid cycles, such as Ada.Wide_Text_IO.Integer_IO and | |
1519 | Ada.Text_IO.Integer_IO both with-ing each other. | |
1520 | ||
1521 | * sem.adb (Walk_Library_Items): Suppress assertion failure in certain | |
1522 | oddball cases when pragma Extend_System is used. | |
1523 | ||
1524 | * sem_ch12.adb (Get_Associated_Node): Prevent direct 'with' cycles in | |
1525 | the case where a package spec instantiates a generic whose body with's | |
1526 | this package, so Walk_Library_Items won't complain about cyclic with's. | |
1527 | ||
1528 | 2009-04-29 Emmanuel Briot <briot@adacore.com> | |
1529 | ||
1530 | * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, | |
1531 | prj-pp.adb, prj-pp.ads, makeutl.adb, clean.adb, prj-nmsc.adb, | |
1532 | mlib-tgt.adb, mlib-tgt.ads, prj-util.adb, prj-env.adb, prj-env.ads | |
1533 | (Project_Id): now a real pointer to Project_Data, instead of an index | |
1534 | into the Projects_Table. This simplifies the API significantly, avoiding | |
1535 | extra lookups in this table and the need to pass the Project_Tree_Ref | |
1536 | parameter in several cases | |
1537 | ||
059caa3e NS |
1538 | 2009-04-29 Nicolas Setton <setton@adacore.com> |
1539 | ||
1540 | * gcc-interface/Makefile.in: Produce .dSYM files for shared libs on | |
1541 | darwin. | |
1542 | ||
19440588 EB |
1543 | 2009-04-25 Eric Botcazou <ebotcazou@adacore.com> |
1544 | ||
1545 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Put | |
1546 | back kludge. | |
1547 | ||
b178461a RD |
1548 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
1549 | ||
1550 | * mlib-prj.adb, prj-env.adb, prj-nmsc.adb, prj-proc.adb, make.adb, | |
1551 | clean.adb: Minor reformatting. | |
1552 | Minor code reorganization and message improvement. | |
1553 | ||
e1c9f239 EB |
1554 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1555 | ||
1556 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-nmsc.ads | |
1557 | (Alternate_Languages): now implemented as a malloc-ed list rather | |
1558 | than through a table. | |
1559 | ||
c72a85f2 TQ |
1560 | 2009-04-24 Thomas Quinot <quinot@adacore.com> |
1561 | ||
1562 | * sem_res.adb (Static_Concatenation): Simplify predicate to make it | |
1563 | accurately handle cases such as "lit" & "lit" and | |
1564 | "lit" & static_string_constant | |
1565 | ||
3563739b AC |
1566 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1567 | ||
1568 | * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, | |
1569 | prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element): | |
1570 | removed. Lists of projects are now implemented via standard malloc | |
1571 | rather than through the table. | |
1572 | ||
1573 | 2009-04-24 Thomas Quinot <quinot@adacore.com> | |
1574 | ||
1575 | * sem_ch12.adb: Minor reformatting | |
1576 | ||
1577 | * g-trasym.adb: Minor reformatting | |
1578 | ||
1579 | * exp_ch6.adb: Minor reformatting | |
1580 | ||
1581 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
1582 | ||
1583 | * layout.adb (Layout_Type): For packed array type, copy unset | |
1584 | size/alignment fields from the referenced Packed_Array_Type. | |
1585 | ||
1586 | 2009-04-24 Bob Duff <duff@adacore.com> | |
1587 | ||
1588 | * lib-load.adb (Make_Instance_Unit): Revert previous change, no | |
1589 | longer needed after sem_ch12 changes. | |
1590 | ||
1591 | * sem.adb (Walk_Library_Items): Include with's in some debugging | |
1592 | printouts. | |
1593 | ||
757240b3 AC |
1594 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1595 | ||
1596 | * prj.ads, prj-nmsc.adb (Unit_Project): removed, since in fact we were | |
1597 | only ever using the Project field. | |
1598 | ||
1599 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> | |
1600 | ||
1601 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Do not set | |
1602 | Body_Required on the generated compilation node. The new node is linked | |
1603 | to its body, but both share the same file, so we do not set this flag | |
1604 | on the new unit so as not to create a spurious dependency on a | |
1605 | non-existent body in the ali file for the instance. | |
1606 | ||
1607 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
1608 | ||
1609 | * make.adb: Minor reformatting | |
1610 | ||
aca53298 AC |
1611 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1612 | ||
1613 | * prj.adb, prj.ads, prj-nmsc.adb (Check_File, Record_Ada_Source, | |
1614 | Add_Source): merge some code between those. In particular change where | |
1615 | file normalization is done to avoid a few extra calls to | |
1616 | Canonicalize_File_Name. This also removes the need for passing | |
1617 | Current_Dir in a number of subprograms. | |
1618 | ||
1619 | 2009-04-24 Bob Duff <duff@adacore.com> | |
1620 | ||
1621 | * lib-load.adb (Make_Instance_Unit): In the case where In_Main is | |
1622 | False, assign the correct unit to the Cunit field of the new table | |
1623 | entry. We want the spec unit, not the body unit. | |
1624 | ||
1625 | * rtsfind.adb (Make_Unit_Name, Maybe_Add_With): Simplify calling | |
1626 | interface for these. | |
1627 | (Maybe_Add_With): Check whether we're trying to a with on the current | |
1628 | unit, and avoid creating such directly self-referential with clauses. | |
1629 | (Text_IO_Kludge): Add implicit with's for the generic pseudo-children of | |
1630 | [[Wide_]Wide_]Text_IO. These are needed for Walk_Library_Items, | |
1631 | and matches existing comments in the spec. | |
1632 | ||
1633 | * sem.adb (Walk_Library_Items): Add various special cases to make the | |
1634 | assertions pass. | |
1635 | ||
1636 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Use Body_Cunit | |
1637 | instead of Parent (N), for uniformity. | |
1638 | ||
6db828c3 AC |
1639 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
1640 | ||
1641 | * errout.ads: Minor reformatting | |
1642 | ||
1643 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
1644 | ||
1645 | * gnat_ugn.texi (Library Projects): add documentation on gnatmake's | |
1646 | behavior when the project includes sources from multiple languages | |
1647 | ||
1648 | 2009-04-24 Vincent Celier <celier@adacore.com> | |
1649 | ||
1650 | * prj.adb (Has_Foreign_Sources): Returns True in Ada_Only mode if there | |
1651 | is a language other than Ada declared. | |
1652 | ||
1653 | * makeutl.adb (Linker_Options_Switches): Call For_All_Projects with | |
1654 | Imported_First set to True. | |
1655 | ||
a7a3cf5c AC |
1656 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
1657 | ||
1658 | * sem_res.adb: additional optimization to inhibit creation of | |
1659 | redundant transient scopes. | |
1660 | ||
1661 | 2009-04-24 Bob Duff <duff@adacore.com> | |
1662 | ||
1663 | * rtsfind.ads: Minor comment fix | |
1664 | ||
1665 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
1666 | ||
1667 | * prj-proc.adb, prj-nmsc.adb (Find_Ada_Sources, | |
1668 | Get_Path_Name_And_Record_Ada_Sources): merged, since these were | |
1669 | basically doing the same work (for explicit or implicit sources). | |
1670 | (Find_Explicit_Sources): renamed to Find_Sources to better reflect its | |
1671 | role. Rewritten to share some code (testing that all explicit sources | |
1672 | have been found) between ada_only and multi_language modes. | |
1673 | ||
1674 | 2009-04-24 Jerome Lambourg <lambourg@adacore.com> | |
1675 | ||
1676 | * sem_prag.adb (Check_Form_Of_Interface_Name): Allow space in Ext_Name | |
1677 | for CLI imported types. | |
1678 | (Analyze_Pragma): Allow CIL or Java imported functions returning | |
1679 | access-to-subprogram types. | |
1680 | ||
2324b3fd EB |
1681 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1682 | ||
1683 | * make.adb, prj.adb, prj.ads, makeutl.adb, makeutl.ads: | |
1684 | (Project_Data.Dir_Path): field removed, since it can be computed | |
1685 | directly from .Directory, and is needed only once when processing the | |
1686 | project is buildgpr.adb or make.adb | |
1687 | ||
8eaf1723 RD |
1688 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
1689 | ||
1690 | * prj-env.adb, prj-proc.adb, prj.adb, prj.ads, | |
1691 | rtsfind.adb: Minor reformatting. | |
1692 | Minor code reorganization | |
1693 | ||
04f33e7b AC |
1694 | 2009-04-24 Arnaud Charlet <charlet@adacore.com> |
1695 | ||
1696 | * mlib-prj.adb: Use friendlier english identifier. | |
1697 | ||
1698 | * gnatcmd.adb, make.adb: Use better english identifiers. | |
1699 | ||
1700 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
1701 | ||
1702 | * clean.adb: Minor reformatting | |
1703 | ||
d1f453b7 RD |
1704 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
1705 | ||
1706 | * einfo.adb (OK_To_Rename): New flag | |
1707 | ||
1708 | * einfo.ads (OK_To_Rename): New flag | |
1709 | ||
1710 | * exp_ch3.adb (Expand_N_Object_Declaration): Rewrite as renames if | |
1711 | OK_To_Rename set. | |
1712 | ||
1713 | * exp_ch4.adb (Expand_Concatenate): Mark temp variable OK_To_Rename | |
1714 | ||
1715 | * sem_ch7.adb (Uninstall_Declarations): Allow for renames from | |
1716 | OK_To_Rename. | |
1717 | ||
8b9890fa EB |
1718 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1719 | ||
1720 | * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb, | |
1721 | clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen): | |
1722 | field removed. This is not a property of the | |
1723 | project, just a boolean used to traverse the project tree, and storing | |
1724 | it in the structure prevents doing multiple traversal in parallel. | |
1725 | (Project_Data.Checked): also removed, since it was playing the same role | |
1726 | as Seen when we had two nested loops, and this is no longer necessary | |
1727 | (For_All_Imported_Projects): removed, since in fact there was already | |
1728 | the equivalent in For_Every_Project_Imported. The latter was rewritten | |
1729 | to use a local hash table instead of Project_Data.Seen | |
1730 | Various loops were rewritten to use For_Every_Project_Imported, thus | |
1731 | removing the need for Project_Data.Seen. This avoids a lot of code | |
1732 | duplication | |
1733 | ||
76e776e5 AC |
1734 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
1735 | ||
1736 | * sem_res.adb (Resolve_Actuals): Do not create blocks around code | |
1737 | statements, even though the actual of the call is a concatenation, | |
1738 | because the argument is static, and we want to preserve warning | |
1739 | messages about sequences of code statements that are not marked | |
1740 | volatile. | |
1741 | ||
1742 | * sem_warn.adb: remove obsolete comment about warning being obsolete | |
1743 | ||
1744 | * s-tasren.adb (Task_Do_Or_Queue): If a timed entry call is being | |
1745 | requeued and the delay has expired while within the accept statement | |
1746 | that executes the requeue, do not perform the requeue and indicate that | |
1747 | the timed call has been aborted. | |
1748 | ||
1749 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
1750 | ||
1751 | * mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
1752 | (Has_Ada_Sources, Has_Foreign_Sources): new subprograms | |
1753 | (Project_Data.Ada_Sources_Present, Foreign_Sources_Present): removed, | |
1754 | since they can be computed from the above. | |
1755 | ||
481f29eb VC |
1756 | 2009-04-24 Vincent Celier <celier@adacore.com> |
1757 | ||
1758 | * gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree | |
1759 | ||
1760 | * prj-env.adb: Move all global variables to the private part of the | |
1761 | project tree data. | |
1762 | Access these new components instead of the global variables no longer | |
1763 | in existence. | |
1764 | (Add_To_Path): New Project_Tree_Ref parameter, to access the new | |
1765 | components that were previously global variables. | |
1766 | ||
1767 | * prj-env.ads (Initialize): New Project_Tree_Ref parameter | |
1768 | (Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref | |
1769 | parameter. | |
1770 | ||
1771 | * prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to | |
1772 | be able to call Set_Mapping_File_Initial_State_To_Empty with it. | |
1773 | ||
1774 | * prj.adb (Initialize): Do not call Prj.Env.Initialize | |
1775 | (Reset): Do not call Prj.Env.Initialize. Instead, initialize the new | |
1776 | components in the private part of the project tree data. | |
1777 | ||
1778 | * prj.ads (Private_Project_Tree_Data): new components moved from | |
1779 | Prj.Env: Current_Source_Path_File, Current_Object_Path_File, | |
1780 | Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set, | |
1781 | Ada_Prj_Objects_File_Set, Fill_Mapping_File. | |
1782 | ||
c54ab0b5 AC |
1783 | 2009-04-24 Vincent Celier <celier@adacore.com> |
1784 | ||
1785 | * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag. | |
1786 | ||
1787 | * prj-nmsc.adb (Check_Library): No error for imports by shared library | |
1788 | projects, when --unchecked-shared-lib-imports is used. | |
1789 | ||
1790 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
1791 | ||
1792 | * sem_ch7.adb: Minor reformatting | |
1793 | ||
b3520ca0 AC |
1794 | 2009-04-24 Tristan Gingold <gingold@adacore.com> |
1795 | ||
1796 | * s-osinte-darwin.adb, s-osinte-darwin.ads: lwp_self now returns the | |
1797 | mach thread id. | |
1798 | ||
1799 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
1800 | ||
1801 | * prj-env.adb, prj-env.ads (Body_Path_Name_Of, Spec_Path_Name_Of, | |
1802 | Path_Name_Of_Library_Unit_Body): rEmove unused subprograms. | |
1803 | (For_All_Imported_Projects): new procedure | |
1804 | (For_All_Source_Dirs, For_All_Object_Dirs): Rewritten based on the | |
1805 | above rather than duplicating code. | |
1806 | ||
5d07d0cf EB |
1807 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1808 | ||
1809 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
1810 | (Source_Id, Source_Data): use a real list to store sources rather than | |
1811 | using an external table to store the elements. This makes code more | |
1812 | efficient and more readable. | |
1813 | ||
5eed512d EB |
1814 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1815 | ||
1816 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
1817 | (Source_Iterator): new type. | |
53b2323e RH |
1818 | This removes the need for having the sources on three different |
1819 | lists at the project tree, project and language level. They are now | |
1820 | on a single list. | |
5eed512d | 1821 | |
5876578b EB |
1822 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1823 | ||
1824 | * gnatcmd.adb, prj.adb, prj.ads: Remove unused entities | |
1825 | ||
a9d17e32 ES |
1826 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
1827 | ||
1828 | * sem_warn.adb: Add comment on obsolete warning | |
1829 | ||
144c034d AC |
1830 | 2009-04-24 Arnaud Charlet <charlet@adacore.com> |
1831 | ||
1832 | * s-tassta.adb (Create_Task): Fix violation of locking rule. | |
1833 | ||
e0697153 EB |
1834 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
1835 | ||
1836 | * prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb (Language_Index): renamed | |
1837 | to Language_Ptr to better reflect its new implementation. | |
1838 | (Project_Data.First_Languages_Processing): renamed to Languages now | |
1839 | that the field with that name is no longer used | |
1840 | (Project_Data.Languages): removed, no longer used, and duplicates | |
1841 | information already available through First_Language_Processing. | |
1842 | (Prj.Language_Index): now an actual pointer, instead of an index into | |
1843 | a table. This makes the list somewhat more obvious, but more importantly | |
1844 | removes the need to pass a pointer to the project_tree_data in a few | |
1845 | places, and makes accessing the attributes of a languages more | |
1846 | efficient. | |
1847 | ||
18e6d56a | 1848 | 2009-04-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
53b2323e | 1849 | Thomas Quinot <quinot@adacore.com> |
18e6d56a RK |
1850 | |
1851 | * fe.h (Set_Identifier_Casing): Add const to second parameter. | |
c91f9cd4 | 1852 | * gcc-interface/misc.c (internal_error_function): Make copy of return |
18e6d56a RK |
1853 | from pp_formatted_text before assigning BUFFER to it. |
1854 | (gnat_init): Likewise for main_input_filename and gnat_argv. | |
1855 | (gnat_printable_name): Remove cast from call to Set_Identifier_Casing. | |
1856 | ||
caa9d12a EB |
1857 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
1858 | ||
1859 | * ttypes.ads (Target_Double_Float_Alignment): New variable. | |
1860 | (Target_Double_Scalar_Alignment): Likewise. | |
1861 | * get_targ.ads (Get_Strict_Alignment): Adjust external name. | |
1862 | (Get_Double_Float_Alignment): New imported function. | |
1863 | (Get_Double_Scalar_Alignment): Likewise. | |
1864 | * layout.adb (Set_Elem_Alignment): Take into account specific caps for | |
1865 | the alignment of "double" floating-point types and "double" or larger | |
1866 | scalar types, as parameterized by Target_Double_Float_Alignment and | |
1867 | Target_Double_Scalar_Alignment respectively. | |
1868 | * gcc-interface/gigi.h (double_float_alignment): Declare. | |
1869 | (double_scalar_alignment): Likewise. | |
1870 | (is_double_float_or_array): Likewise. | |
1871 | (is_double_scalar_or_array): Likewise. | |
1872 | (get_target_double_float_alignment): Likewise. | |
1873 | (get_target_double_scalar_alignment): Likewise. | |
1874 | * gcc-interface/targtyps.c (get_strict_alignment): Rename into... | |
1875 | (get_target_strict_alignment): ...this. | |
1876 | (get_target_double_float_alignment): New function. | |
1877 | (get_target_double_scalar_alignment): Likewise. | |
1878 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
1879 | Test the presence of an alignment clause for under-aligned integer | |
1880 | types. Take into account specific caps for the alignment of "double" | |
1881 | floating-point types and "double" or larger scalar types, as | |
1882 | parameterized by Target_Double_Float_Alignment and | |
1883 | Target_Double_Scalar_Alignment respectively. | |
1884 | (validate_alignment): Likewise. | |
1885 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Alignment>: Likewise. | |
1886 | (gigi): Initialize double_float_alignment and double_scalar_alignment. | |
1887 | * gcc-interface/utils.c (double_float_alignment): New global variable. | |
1888 | (double_scalar_alignment): Likewise. | |
1889 | (is_double_float_or_array): New predicate. | |
1890 | (is_double_scalar_or_array): Likewise. | |
1891 | ||
1275de7d EB |
1892 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
1893 | ||
1894 | * gcc-interface/utils2.c (build_cond_expr): Move SAVE_EXPR ahead of | |
1895 | the conditional expression only if it is common to both arms. | |
1896 | ||
6f61bd41 EB |
1897 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
1898 | ||
1899 | * gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment. | |
1900 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct | |
1901 | arguments to build_allocator. | |
1902 | * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment. | |
1903 | Remove code handling special allocator and assert its uselessness. | |
1904 | ||
0d858698 EB |
1905 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
1906 | ||
1907 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If an | |
1908 | alignment is specified, do not promote that of the component type | |
1909 | beyond it. | |
1910 | <E_Array_Subtype>: Likewise. | |
1911 | ||
bbaba73f EB |
1912 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
1913 | ||
1914 | * einfo.ads (Is_True_Constant): Lift restriction on atomic objects. | |
1915 | * sinfo.ads (Object Declaration): Likewise. | |
1916 | (Assignment Statement): Likewise. | |
1917 | * freeze.adb (Expand_Atomic_Aggregate): Remove useless test. | |
1918 | Do not force Is_True_Constant to false on the temporary. | |
1919 | (Freeze_Entity): Do not force Is_True_Constant to false on names on | |
1920 | the RHS of object declarations. | |
1921 | * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>: | |
1922 | New case. Return 1 if the object is atomic. | |
1923 | <N_Assignment_Statement>: Likewise. | |
1924 | ||
4fd78fe6 EB |
1925 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
1926 | ||
1927 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype> | |
1928 | For packed array types, make the original array type a parallel type | |
1929 | for the modular type and its JM wrapper if the type is bit-packed. | |
1930 | <E_Array_Subtype>: Likewise. Do not generate the special XA parallel | |
1931 | record type for packed array types. Remove kludge. | |
1932 | ||
c1abd261 EB |
1933 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
1934 | ||
1935 | * gcc-interface/gigi.h (create_index_type): Adjust head comment. | |
1936 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
1937 | Use front-end predicates to compute signedness and precision. | |
1938 | <E_String_Literal_Subtype>: Fold range type. | |
1939 | Make sure to set longest_float_type_node to a scalar type. | |
1940 | (elaborate_entity): Use consistent Constraint_Error spelling. | |
1941 | (substitute_in_type) <INTEGER_TYPE>: Always copy the type. | |
1942 | * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief | |
1943 | output for the modulus, if any. | |
1944 | <ENUMERAL_TYPE>: Likewise for the RM size. | |
1945 | * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error | |
1946 | spelling. | |
1947 | * gcc-interface/utils.c (finish_record_type): Really test the alignment | |
1948 | of BLKmode bit-fields to compute their addressability. | |
1949 | (create_index_type): Adjust comments. | |
1950 | (create_param_decl): Create the biased subtype manually. | |
1951 | * gcc-interface/utils2.c (build_component_ref): Use consistent | |
1952 | Constraint_Error spelling. | |
1953 | ||
8713b7e4 EB |
1954 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
1955 | ||
1956 | * gcc-interface/cuintp.c: Clean up include directives. | |
1957 | * gcc-interface/targtyps.c: Likewise. | |
1958 | * gcc-interface/decl.c: Likewise. | |
1959 | * gcc-interface/misc.c: Likewise. | |
1960 | * gcc-interface/trans.c: Likewise. | |
1961 | * gcc-interface/utils.c: Likewise. | |
1962 | * gcc-interface/utils2.c: Likewise. | |
1963 | * gcc-interface/Make-lang.in: Adjust dependencies accordingly. | |
1964 | ||
26383c64 EB |
1965 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
1966 | ||
1967 | * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom. | |
1968 | (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting. | |
1969 | (SET_DECL_LANG_SPECIFIC): Likewise. | |
1970 | Reorder macros. | |
1971 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
1972 | Update comment about use of build_range_type. | |
1973 | <E_Array_Type, E_Array_Subtype>: Use consistent naming convention. | |
1974 | <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add | |
1975 | check for other cases of overloading. | |
1976 | * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst. | |
1977 | * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error. | |
1978 | Use size_int in lieu of build_int_cst. | |
1979 | (build_call_alloc_dealloc): Use build_index_2_type in lieu of | |
1980 | build_range_type. | |
1981 | ||
b7babd5d EB |
1982 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
1983 | ||
1984 | * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's | |
1985 | type is an enumeral or a boolean type, change it to an integer type | |
1986 | with the same mode and signedness. | |
1987 | ||
5225a138 EB |
1988 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
1989 | ||
1990 | * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info | |
1991 | for an external constant whose initializer is not absolute. | |
1992 | ||
1993 | 2009-04-22 Taras Glek <tglek@mozilla.com> | |
d1b38208 TG |
1994 | |
1995 | * gcc-interface/ada-tree.h: Update GTY annotations to new syntax. | |
1996 | * gcc-interface/trans.c: Likewise. | |
1997 | * gcc-interface/utils.c: Likewise. | |
1998 | ||
a52fefe6 AC |
1999 | 2009-04-22 Ed Schonberg <schonberg@adacore.com> |
2000 | ||
2001 | * sem_res.adb: Create block around procedure call when actual is a | |
2002 | concatenation. | |
2003 | ||
2004 | 2009-04-22 Thomas Quinot <quinot@adacore.com> | |
2005 | ||
2006 | * s-soflin.ads: Fix typos | |
2007 | ||
2008 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
2009 | ||
2010 | * prj-env.adb: Minor comment change | |
2011 | ||
2012 | * prj-nmsc.adb (Check_Common): Add guard to avoid calling | |
2013 | Get_Name_String with No_File. | |
2014 | ||
2015 | * tempdir.adb (Create_Temp_File): Output diagnostic when temp file | |
2016 | cannot be created even when not in verbose mode. | |
2017 | ||
2f1e0b61 EB |
2018 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
2019 | ||
2020 | * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb, | |
2021 | prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and | |
2022 | Multi_Language modes, to avoid code duplication. | |
2023 | (Project_Data.Include_Language): Removed. | |
2024 | ||
35afb012 AC |
2025 | 2009-04-22 Vincent Celier <celier@adacore.com> |
2026 | ||
2027 | * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when | |
2028 | the temporary file cannot be created, indicating the directory when the | |
2029 | creation was attempted. | |
2030 | ||
2031 | 2009-04-22 Emmanuel Briot <briot@adacore.com> | |
2032 | ||
2033 | * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare | |
2034 | the language names, not their indices. | |
2035 | ||
10d2a6f7 EB |
2036 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
2037 | ||
2038 | * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads | |
2039 | (Source_Data.Language_Name): Field removed. | |
2040 | ||
39d4e04a EB |
2041 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
2042 | ||
2043 | * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*): | |
2044 | Two fields removed. | |
2045 | ||
f1eea135 EB |
2046 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
2047 | ||
2048 | * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the | |
2049 | separate_suffix to the same value as the body_suffix. | |
2050 | ||
d9c0e057 AC |
2051 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
2052 | ||
2053 | * prj.adb: Minor code reorganization | |
2054 | Code clean up. | |
2055 | ||
2056 | * prj-proc.adb: Minor code reorganization, clean up. | |
2057 | ||
2058 | * prj-nmsc.adb: Minor reformatting | |
2059 | Minor code reorganization | |
2060 | ||
2061 | * gnat_ugn.texi: Add to doc on strict aliasing | |
2062 | ||
2063 | 2009-04-22 Pascal Obry <obry@adacore.com> | |
2064 | ||
2065 | * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to | |
2066 | SpinCount. | |
2067 | ||
2068 | * s-tasini.adb: Minor reformatting. | |
2069 | ||
2070 | * s-tassta.adb: Minor reformatting. | |
2071 | ||
ce30eccb EB |
2072 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
2073 | ||
2074 | * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several | |
2075 | smaller subprograms. | |
2076 | Renamed to Check_File_Naming_Schemes to avoid confusion with the | |
2077 | other Check_Naming_Schemes functions that plays a totally different | |
2078 | role. | |
2079 | (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms, | |
2080 | extracted from the above. These were partially rewritten to avoid | |
2081 | unnecessary code and temporary variables. | |
2082 | (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang | |
2083 | and Get_Unit (which for now still exist since they contain mode-specific | |
2084 | code) | |
2085 | ||
347ab254 EB |
2086 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
2087 | ||
2088 | * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process): | |
2089 | Remove duplicated code. | |
2090 | (Canonical_Case_File_Name): new subprogram | |
2091 | (Check_And_Normalize_Unit_Names): new subprogram | |
2092 | (Write_Attr): new subprogram | |
2093 | Better sharing of code | |
2094 | (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to | |
2095 | split Check_Naming and help find duplicated code | |
2096 | (Check_Common): new subprogram, sharing code between ada_only and | |
2097 | multi_language mode. | |
2098 | (Naming_Data.Dot_Repl_Loc): field removed | |
2099 | ||
aa903780 EB |
2100 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
2101 | ||
2102 | * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram. | |
2103 | Minor refactoring to reduce the size of | |
2104 | Process_Sources_In_Multi_Language_Mode. | |
2105 | Avoid extra copied of Source_Data, which we found in the past could be | |
2106 | quite slow. | |
2107 | (Mark_Excluded_Sources): new subprogram. | |
2108 | (Remove_Locally_Removed_Files_From_Units): merged into the above | |
2109 | Refactors Process_Sources_In_Multi_Language_Mode to reduce its size, | |
2110 | and allow better sharing of code between multi_lang and ada_only modes | |
2111 | (Project_Extends): removed, since exact duplicate of Prj.Is_Extending | |
2112 | ||
95c05c62 EB |
2113 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
2114 | ||
2115 | * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By): | |
2116 | Removed, since unused. | |
2117 | ||
c9a1acdc AC |
2118 | 2009-04-22 Vincent Celier <celier@adacore.com> |
2119 | ||
2120 | * prj-attr.adb: New single project level attribute | |
2121 | Separate_Run_Path_Options. | |
2122 | ||
2123 | * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process | |
2124 | attribute Seperate_Run_Path_Options. | |
2125 | ||
2126 | * prj.ads: (Project_Configuration): New Boolean component | |
2127 | Separate_Run_Path_Options, defaulted to False. | |
2128 | ||
2129 | * snames.ads-tmpl: New standard name Seperate_Run_Path_Options | |
2130 | ||
6d2a1120 RD |
2131 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
2132 | ||
c9a1acdc AC |
2133 | * sem_type.adb: Minor reformatting |
2134 | ||
6d2a1120 RD |
2135 | * mlib.adb: Minor reformatting |
2136 | ||
2137 | * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from | |
2138 | syntax error. | |
2139 | ||
3b81743f NS |
2140 | 2009-04-22 Nicolas Setton <setton@adacore.com> |
2141 | ||
2142 | * link.c: Add flag __gnat_separate_run_path_options. | |
2143 | ||
2144 | * mlib.adb (Separate_Run_Path_Options): New subprogram. | |
2145 | ||
2146 | * mlib.ads (Separate_Run_Path_Options): Declare. | |
2147 | ||
2148 | * gnatcmd.adb (Process_Link): Add support for emitting one "rpath" | |
2149 | switch per directory, rather than one "rpath" switch listing all | |
2150 | directories. | |
2151 | ||
2152 | * gnatlink.adb (Process_Binder_File): Likewise. | |
2153 | ||
2154 | * make.adb (Gnatmake): Likewise. | |
2155 | ||
3a69b5ff AC |
2156 | 2009-04-22 Hristian Kirtchev <kirtchev@adacore.com> |
2157 | ||
2158 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup. | |
2159 | Add a call to Move_Final_List when the target of the assignment is a | |
2160 | return object that needs finalization and the expression is a | |
2161 | controlled build-in-place function. | |
2162 | ||
2163 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
2164 | ||
2165 | * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with | |
2166 | Including_Libraries set to True. | |
2167 | ||
f3a67cfc ES |
2168 | 2009-04-22 Ed Schonberg <schonberg@adacore.com> |
2169 | ||
2170 | * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to | |
2171 | create a unit table entry for the subprogram declaration created for a | |
2172 | child suprogram body that has no separate specification. | |
2173 | ||
2174 | * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a | |
2175 | subprogram body, call Make_Child_Decl_Unit. | |
2176 | ||
2177 | * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the | |
2178 | table can only be the created specification of a child subprogram body | |
2179 | that is the main unit, which has not been entered in the table yet. | |
2180 | ||
2181 | * errout.adb (Output_Messages): Ignore created specification of a | |
2182 | child subprogram body to prevent repeated listing of error messages. | |
2183 | ||
2184 | * gnat1drv.adb (gnat1drv): The generated specification for a child | |
2185 | subprogram body does not generate code. | |
2186 | ||
1ef4d0a8 AC |
2187 | 2009-04-22 Arnaud Charlet <charlet@adacore.com> |
2188 | ||
2189 | * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax, | |
2190 | since this unit is now part of bootstrap units, so must use Ada 95 | |
2191 | syntax only. | |
2192 | ||
2193 | 2009-04-22 Thomas Quinot <quinot@adacore.com> | |
2194 | ||
2195 | * a-tasatt.adb: Minor reformatting | |
2196 | ||
2197 | 2009-04-22 Bob Duff <duff@adacore.com> | |
2198 | ||
2199 | * s-stalib.ads: Remove "with System;" since we're inside System, so | |
2200 | it's unnecessary. | |
2201 | ||
2202 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
2203 | ||
2204 | * prj-nmsc.adb (Add_Source): Always put the dependency file name in | |
2205 | the source record, as there may be a dependency file even if no object | |
2206 | file is created. | |
2207 | ||
1cb46af0 RD |
2208 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
2209 | ||
1ef4d0a8 | 2210 | * lib-load.adb: Minor reformatting |
1cb46af0 RD |
2211 | |
2212 | * lib-load.ads: Minor reformatting | |
2213 | ||
2214 | * sinfo.ads: Minor reformatting | |
2215 | ||
218e53ff BD |
2216 | 2009-04-22 Bob Duff <duff@adacore.com> |
2217 | ||
2218 | * exp_pakd.adb: Minor comment fixes. | |
2219 | ||
2220 | * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb | |
2221 | sem_ch12.adb: Change the meaning of the Library_Unit attribute to | |
2222 | include units containing instantiations, as well as units that are | |
2223 | generic instantiations. | |
2224 | ||
2225 | * sem.adb: Include dependents and corresponding specs/bodies in the | |
2226 | unit walk. | |
2227 | ||
2228 | * gcc-interface/Make-lang.in: | |
2229 | sem now depends on s-bitops, because of the packed array of Booleans. | |
2230 | ||
feec4372 EB |
2231 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
2232 | ||
2233 | * gcc-interface/ada-tree.def: Fix formatting nits. | |
2234 | (REGION_STMT): Delete. | |
2235 | (HANDLER_STMT): Likewise. | |
2236 | * gcc-interface/ada-tree.h: Fix formatting nits. | |
2237 | (IS_STMT): Delete. | |
2238 | (REGION_STMT_BODY): Likewise. | |
2239 | (REGION_STMT_HANDLE): Likewise. | |
2240 | (REGION_STMT_BLOCK): Likewise. | |
2241 | (HANDLER_STMT_ARG): Likewise. | |
2242 | (HANDLER_STMT_LIST): Likewise. | |
2243 | (HANDLER_STMT_BLOCK): Likewise. | |
2244 | * gcc-interface/gigi.h (fp_prec_to_size): Update comment. | |
2245 | (fp_size_to_prec): Likewise. | |
2246 | (largest_move_alignment): Delete. | |
2247 | (gnat_compute_largest_alignment): Likewise. | |
2248 | Fix minor nits. | |
2249 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
2250 | Remove redundant code. | |
2251 | <E_Array_Type>: Remove redundant assert. | |
2252 | <E_Array_Subtype>: Exit early from index computation in pathological | |
2253 | cases. | |
2254 | Rewrite conditional assignment. | |
2255 | (make_type_from_size): Likewise. | |
2256 | * gcc-interface/misc.c (largest_move_alignment): Delete. | |
2257 | (gnat_finish_incomplete_decl): Likewise. | |
2258 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise. | |
2259 | (asm_out_file): Likewise | |
2260 | (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case. | |
2261 | (gnat_dwarf_name): Move around. | |
2262 | * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits. | |
2263 | (gigi): Remove call to gnat_compute_largest_alignment. | |
2264 | * utils.c (create_field_decl): Rewrite conditional assignment. | |
2265 | Fix minor nits. | |
2266 | ||
a8e05f92 EB |
2267 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
2268 | ||
2269 | * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate | |
2270 | on entry. Defer common processing for types. Reorder and clean up. | |
2271 | Compute the equivalent GNAT node and the default size for types only. | |
2272 | <E_Modular_Integer_Type>: Directly use Esize for the type's precision. | |
2273 | <E_Access_Type>: For an unconstrained designated type, do not pretend | |
2274 | that a dummy type is always made. | |
2275 | <all> Fix nits in comments. | |
2276 | (validate_size): Fix formatting nits and comments. | |
2277 | (set_rm_size): Likewise. | |
2278 | * gcc-interface/utils.c (create_param_decl): Replace bogus argument | |
2279 | passed to TARGET_PROMOTE_PROTOTYPES hook. | |
2280 | ||
0fb2335d EB |
2281 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
2282 | ||
2283 | * fe.h (Get_External_Name): Declare. | |
2284 | * gcc-interface/gigi.h (concat_id_with_name): Rename to... | |
2285 | (concat_name): ...this. | |
2286 | * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to | |
2287 | gnu_entity_name and adjust for above renaming. | |
2288 | <E_Access_Type>: Use create_concat_name to get the name of the various | |
2289 | types associated with unconstrained array types. | |
2290 | (make_aligning_type): Adjust for above renaming. | |
2291 | (maybe_pad_type): Likewise. | |
a8e05f92 | 2292 | (components_to_record): Likewise. Use get_identifier_with_length for |
0fb2335d EB |
2293 | the encoding of the variant. |
2294 | (get_entity_name): Use get_identifier_with_length. | |
a8e05f92 | 2295 | (create_concat_name): Likewise. Use Get_External_Name if no suffix. |
0fb2335d EB |
2296 | Do not fiddle with Name_Buffer. |
2297 | (concat_id_with_name): Rename to... | |
a8e05f92 | 2298 | (concat_name): ...this. Use get_identifier_with_length. Do not fiddle |
0fb2335d EB |
2299 | with Name_Buffer. |
2300 | * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for | |
2301 | above renaming. | |
2302 | ||
ad41bd84 JM |
2303 | 2009-04-21 Joseph Myers <joseph@codesourcery.com> |
2304 | ||
2305 | * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and | |
2306 | license notices. | |
2307 | ||
ca80e52b EB |
2308 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
2309 | ||
2310 | * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info. | |
2311 | ||
b4680ca1 EB |
2312 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
2313 | ||
71b495a2 | 2314 | * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete. |
b4680ca1 | 2315 | (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types. |
71b495a2 EB |
2316 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>: |
2317 | Remove useless support code for packed array types and assert its | |
2318 | uselessness. | |
b4680ca1 EB |
2319 | <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and |
2320 | adjust for TYPE_RM_SIZE change. | |
2321 | <all> Fix nits in comments. Use Original_Array_Type accessor instead | |
2322 | of Associated_Node_For_Itype accessor for packed array types. | |
2323 | (make_packable_type): Likewise. | |
2324 | (maybe_pad_type): Likewise. | |
2325 | (set_rm_size): Likewise. Rework conditional statement. Adjust for | |
2326 | TYPE_RM_SIZE change. | |
2327 | (make_type_from_size): Adjust for TYPE_RM_SIZE change. | |
2328 | (rm_size): Fix nits in comments. Rework conditional statements. | |
71b495a2 EB |
2329 | * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE |
2330 | change. | |
2331 | * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments. | |
2332 | * gcc-interface/utils.c (gnat_init_decl_processing): Use more | |
2333 | appropriate function to initialize the size_type_node. Adjust for | |
2334 | TYPE_RM_SIZE change. | |
b4680ca1 | 2335 | |
a962b0a1 EB |
2336 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
2337 | ||
2338 | * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global | |
2339 | for imported subprograms. | |
2340 | ||
2f283818 EB |
2341 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
2342 | ||
2343 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make | |
2344 | constant objects covered by 13.3(19) volatile. | |
2345 | ||
ac53d5f2 EB |
2346 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
2347 | ||
2348 | * gcc-interface/utils.c (create_type_decl): Do not pass declarations | |
2349 | of dummy fat pointer types to the debug back-end. | |
2350 | ||
6e0f0975 EB |
2351 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
2352 | ||
2353 | * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation. | |
2354 | <E_Signed_Integer_Subtype>: Set the RM size on the integer type | |
2355 | before wrapping it up in the record type. Do not overwrite the | |
2356 | Ada size of the record type with the Esize. | |
2357 | ||
c2efda0d EB |
2358 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
2359 | ||
2360 | * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate. | |
2361 | (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression | |
2362 | if the conversion is on the LHS of an assignment and a no-op. | |
2363 | <all> Do not convert the result to the result type if the Parent | |
2364 | node is such a conversion. | |
2365 | ||
77022fa8 EB |
2366 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
2367 | ||
2368 | * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete. | |
2369 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension | |
2370 | of types with unknown discriminants. | |
2371 | (substitute_in_type): Rewrite and restrict to formal substitutions. | |
2372 | * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P. | |
2373 | (update_pointer_to): Update comment. | |
2374 | ||
e69614ad AC |
2375 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
2376 | ||
2377 | * sem_ch8.adb (Use_One_Package): In an instance, if two | |
2378 | potentially_use_visible and non-overloadable homonyms are available | |
2379 | from the actuals of distinct formal packages, retain the current one, | |
2380 | which was visible in the generic, to prevent spurious visibility | |
2381 | errors. | |
2382 | (End_Use_Package): Restore use_visibility when needed. | |
2383 | ||
2384 | 2009-04-20 Sergey Rybin <rybin@adacore.com> | |
2385 | ||
2386 | * gnat_ugn.texi, vms_data.ads: Update doc. | |
2387 | ||
32838704 AC |
2388 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
2389 | ||
2390 | * gcc-interface/Make-lang.in: Update dependencies | |
2391 | ||
2392 | * gcc-interface/Makefile.in: Link run-time against winsock2 lib under | |
2393 | Windows. | |
2394 | ||
37951d8e AC |
2395 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
2396 | ||
2397 | * checks.ads: Fix documentation of range check handling | |
2398 | ||
2399 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
2400 | ||
2401 | * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for | |
2402 | a redundant use_type clause. | |
2403 | ||
5d5832bc AC |
2404 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
2405 | ||
2406 | * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where | |
2407 | this attribute can be evaluated at compile time. | |
2408 | (Eval_Attribute, case Range_Length): Same improvement | |
2409 | ||
2410 | * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure | |
2411 | ||
2412 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
2413 | ||
2414 | * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization, | |
2415 | for better handling of null procedures. | |
2416 | (Check_Overriding_Indicator): Do not emit a warning on a missing | |
2417 | overriding indicator on an operator when the type of which the operator | |
2418 | is a primitive is private. | |
2419 | ||
97a8fb16 AC |
2420 | 2009-04-20 Bob Duff <duff@adacore.com> |
2421 | ||
2422 | * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control | |
2423 | debugging output. | |
2424 | ||
2425 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
2426 | ||
2427 | * sem_attr.adb: Minor reformatting | |
2428 | ||
2429 | * gnatcmd.adb: Minor reformatting | |
2430 | ||
7340e432 AC |
2431 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
2432 | ||
2433 | * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is | |
2434 | overloaded and one interpretation matches the context, label the | |
2435 | operand with the type of first formal. | |
2436 | ||
2437 | 2009-04-20 Bob Duff <duff@adacore.com> | |
2438 | ||
2439 | * debug.ads: Minor comment fix. | |
2440 | ||
2441 | * debug.adb: Minor comment fixes. | |
2442 | ||
2443 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
2444 | ||
2445 | * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions | |
2446 | ||
2447 | * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch. | |
2448 | ||
2449 | * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt | |
2450 | is expanded into a call to Raise_Exception, avoid passing the | |
2451 | exception-name'identity in runtimes in which this argument | |
2452 | is not used. | |
2453 | ||
bf06d37f AC |
2454 | 2009-04-20 Jerome Lambourg <lambourg@adacore.com> |
2455 | ||
2456 | * impunit.adb: Add i-cil and i-cilobj packages, now needed by the | |
2457 | generated bindings for cil. | |
2458 | ||
2459 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
2460 | ||
2461 | * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown | |
2462 | discriminants, collect components from the Underlying_Record_View, | |
2463 | which will be used in the expansion of the aggregate into assignments. | |
2464 | ||
2465 | * sem_ch3.adb: Do not label derived type with unknown discriminants as | |
2466 | having a private declaration. | |
2467 | ||
58a9d876 AC |
2468 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
2469 | ||
2470 | * exp_util.adb (Expand_Subtype_From_Expr): use the | |
2471 | underlying_record_view when available, to create the proper constrained | |
2472 | subtype for an object of a derived type with unknown discriminants. | |
2473 | ||
2474 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
2475 | ||
2476 | * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for | |
2477 | formals that have pragma unreferenced. | |
2478 | ||
e34ca162 AC |
2479 | 2009-04-20 Pascal Obry <obry@adacore.com> |
2480 | ||
2481 | * a-direct.adb (To_Lower_If_Case_Insensitive): Removed. | |
2482 | Remove all calls to To_Lower_If_Case_Insensitive to preserve | |
2483 | the pathname original casing. | |
2484 | ||
2485 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
2486 | ||
2487 | * g-trasym.adb: Minor reformatting | |
2488 | ||
2489 | * s-os_lib.adb: Minor reformatting | |
2490 | ||
2491 | * sem.adb: Minor reformatting | |
2492 | Minor code reorganization | |
2493 | ||
2494 | * sem_ch3.adb: Minor reformatting | |
2495 | ||
2496 | * sem_ch4.adb: Minor reformatting | |
2497 | ||
2498 | * sem_ch8.adb: Minor reformatting | |
2499 | ||
2500 | * sem_type.adb: Minor reformatting | |
2501 | ||
ee9aa7b6 AC |
2502 | 2009-04-20 Javier Miranda <miranda@adacore.com> |
2503 | ||
2504 | * sem_disp.adb (Find_Dispatching_Type): For subprograms internally | |
2505 | generated by derivations of tagged types use the aliased subprogram a | |
2506 | reference to locate their controlling type. | |
2507 | ||
2508 | 2009-04-20 Tristan Gingold <gingold@adacore.com> | |
2509 | ||
2510 | * g-trasym.adb: Set size of result buffer before calling | |
2511 | convert_address. | |
2512 | ||
2513 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
2514 | ||
2515 | * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call | |
2516 | to a function returning an array can be interpreted as a call with | |
2517 | defaulted parameters whose result is indexed, take into account the | |
2518 | types of all the indices of the array result type. | |
2519 | ||
2520 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
2521 | ||
2522 | * a-direct.adb, s-os_lib.adb: Minor reformatting. | |
2523 | ||
bddd6058 AC |
2524 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
2525 | ||
2526 | * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect | |
2527 | null exclusion qualifiers for object renaming declarations. | |
2528 | ||
2529 | 2009-04-20 Nicolas Roche <roche@adacore.com> | |
2530 | ||
2531 | * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are | |
2532 | unsigned long long. So compare local_time and utc_time before computing | |
2533 | the difference. | |
2534 | ||
2535 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
2536 | ||
2537 | * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration | |
2538 | of the Underlying_Record_View before that of the derived type. | |
2539 | ||
2540 | * exp_ch3.adb (Expand_Record_Extension): Do not special-case types | |
2541 | with unknown discriminants with regard to the parent subtype. | |
2542 | ||
4f18d860 BD |
2543 | 2009-04-20 Bob Duff <duff@adacore.com> |
2544 | ||
2545 | * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies | |
2546 | that are not included. This is necessary if the main unit is a generic | |
2547 | instantiation. | |
2548 | ||
2549 | * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items, | |
2550 | because it doesn't work if -gnatn is used. | |
2551 | ||
5987e59c AC |
2552 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
2553 | ||
2554 | * rtsfind.adb (RTE, RTE_Record_Component): In | |
2555 | Configurable_Run_Time_Mode, do not enable front-end inlining. | |
2556 | ||
2557 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
2558 | ||
2559 | * g-socthi-vms.adb: Remove now unnecessary WITH clause on | |
2560 | System.Address_To_Access_Conversions. | |
2561 | ||
2562 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
2563 | ||
2564 | * sem.adb: Guard against ill-formed subunits. | |
2565 | ||
2566 | 2009-04-20 Bob Duff <duff@adacore.com> | |
2567 | ||
2568 | * output.adb (Flush_Buffer): Do not indent blank lines. | |
2569 | (Ignore_Output): New procedure for output suppression. | |
2570 | ||
2571 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
2572 | ||
2573 | * a-calfor.adb (Image): Subtract 0.5 from the sub second component only | |
2574 | when it is positive. This avoids a potential constraint error raised | |
2575 | by the conversion to Natural. | |
2576 | ||
2577 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> | |
2578 | ||
2579 | * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment | |
2580 | involves a target that has a specified address, don't set Forward_OK | |
2581 | and Backward_OK to False if the rhs is an aggregate, since overlap | |
2582 | can't occur. | |
2583 | ||
2584 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
2585 | ||
451800a0 | 2586 | * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions |
5987e59c AC |
2587 | in an object renaming declaration when the expected type is an |
2588 | anonymous access type. | |
2589 | ||
2590 | * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential | |
2591 | ambiguity when one interpretation is an anonymous access type and the | |
2592 | other is a named access type, and the context itself is anonymous | |
2593 | ||
2594 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
2595 | ||
2596 | * einfo.ads: Minor comment rewording | |
2597 | ||
2598 | * sem_aggr.adb: Minor comment rewording | |
2599 | ||
2600 | * sem_ch3.adb, sem_ch6.adb: Minor reformatting | |
2601 | ||
2602 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
2603 | ||
2604 | * adaint.c (__gnat_is_readable_file): Check for file existence | |
2605 | when not using ACL (always the case on remote drives). | |
2606 | ||
8737a29a AC |
2607 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
2608 | ||
2609 | * sinfo.ads: Minor comment fixes | |
2610 | ||
2611 | * exp_disp.adb: Minor reformatting | |
2612 | ||
2613 | * gnat1drv.adb: Minor reformatting | |
2614 | ||
2615 | * output.adb: Minor reformatting | |
2616 | ||
2617 | * s-vxwext-kernel.ads: Minor reformatting | |
2618 | ||
2619 | * sem.ads: Minor reformatting | |
2620 | ||
2621 | * sem.adb: Minor reformatting | |
2622 | ||
2623 | * sem_elim.adb: Minor reformatting | |
2624 | ||
2625 | * uname.ads: Minor reformatting | |
2626 | ||
2627 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
2628 | ||
2629 | * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add | |
2630 | a small dope of 4 words to the adjustment to the stack pointer. | |
2631 | ||
2632 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
2633 | ||
2634 | * xoscons.adb: generate C header s-oscons.h in | |
2635 | addition to s-oscons.ads. | |
2636 | ||
2637 | * socket.c: On VMS, use s-oscons.h. | |
2638 | ||
2639 | * sem_ch3.adb: Minor reformatting | |
2640 | ||
2641 | * exp_ch9.adb: Minor reformatting | |
2642 | ||
85087bcb EB |
2643 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
2644 | ||
2645 | * gcc-interface/trans.c (check_for_eliminated_entity): Remove. | |
2646 | (Attribute_to_gnu): Do not call check_for_eliminated_entity. | |
2647 | (call_to_gnu): Likewise. | |
2648 | ||
ecc3905a EB |
2649 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
2650 | ||
2651 | * gcc-interface/trans.c (gigi): Declare the name of the compilation | |
2652 | unit as the first global name at the very beginning. | |
2653 | ||
2907036d TQ |
2654 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
2655 | ||
2656 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, | |
2657 | s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads, | |
2658 | g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well, | |
2659 | since HP-UX supports neither inet_aton nor inet_pton (altough the | |
2660 | latter is part of the Single UNIX Specification!). | |
2661 | So reorganize code, and share C implementation based on inet_addr(3) | |
2662 | with VMS (instead of having a VMS specific Ada implementation in | |
2663 | g-socthi-vms.adb). | |
2664 | ||
d5063351 AC |
2665 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> |
2666 | ||
2667 | * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function | |
2668 | to return the object file name saved by Set_Object_Output_File_Name. | |
2669 | ||
2670 | 2009-04-20 Emmanuel Briot <briot@adacore.com> | |
2671 | ||
2672 | * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers | |
2673 | for the standard command line, when argc has been modified since the | |
2674 | start of the application. | |
2675 | ||
2676 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
2677 | ||
2678 | * socket.c (__gnat_inet_pton, Windows case): Adjust return value. | |
2679 | WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure. | |
2680 | ||
3edf2f76 AC |
2681 | 2009-04-20 Bob Duff <duff@adacore.com> |
2682 | ||
2683 | * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside | |
2684 | pragma Debug. | |
2685 | ||
2686 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
2687 | ||
2688 | * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated | |
2689 | subprogram as Eliminated when source operation is. | |
2690 | (Expand_N_Protected_Type_Declaration): Generate protected and | |
2691 | unprotected specs for the internal operations, even if the source | |
2692 | operation is eliminated. | |
2693 | ||
2694 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
2695 | ||
2696 | * exp_ch3.adb (Make_Predefined_Primitive_Specs, | |
2697 | Predefined_Primitive_Bodies): Do not create the declarations and bodies | |
2698 | of the primitive subprograms associated with dispatching select | |
2699 | statements when the runtime is in configurable mode. | |
2700 | ||
2701 | 2009-04-20 Ed Falis <falis@adacore.com> | |
2702 | ||
2703 | * s-vxwext-kernel.ads (tickGet): Use tick64Get. | |
2704 | ||
4fd1e8b0 AC |
2705 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
2706 | ||
2707 | * s-oscons-tmplt.c: Add support for generating a dummy version of | |
2708 | s-oscons.ads providing all possible constants. | |
2709 | ||
2710 | * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton. | |
2711 | ||
2712 | * socket.c (__gnat_inet_pton): On Windows make sure we always use the | |
2713 | ANSI version (not the UNICODE version) of WSAStringToAddress. | |
2714 | ||
2715 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
2716 | ||
2717 | * adaint.c (__gnat_set_OWNER_ACL): properly free memory | |
2718 | allocated for the security descriptor and make sure all | |
2719 | handles are closed before leaving this procedure. | |
2720 | ||
9013065b AC |
2721 | 2009-04-20 Javier Miranda <miranda@adacore.com> |
2722 | ||
2723 | * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram | |
2724 | (Set_Is_Underlying_Record_View): New subprogram | |
2725 | ||
2726 | * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of | |
2727 | private types with unknown discriminants use the underlying record view | |
2728 | if available. | |
2729 | ||
2730 | * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the | |
2731 | underlying record view in the full view of private types whose parent | |
2732 | has unknown discriminants. | |
2733 | (Build_Derived_Record_Type): Avoid generating the class-wide entity | |
2734 | associated with an underlying record view. | |
2735 | (Derived_Type_Declaration): Avoid deriving parent primitives in | |
2736 | underlying record views. | |
2737 | ||
2738 | * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for | |
2739 | records with unknown discriminants. | |
2740 | ||
2741 | * sem_type.adb (Covers): Handle underlying record views. | |
2742 | (Is_Ancestor): Add support for underlying record views. | |
2743 | ||
2744 | * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a | |
2745 | dispatching call if the type of the target object is tagged and has | |
2746 | unknown discriminants. | |
2747 | ||
2748 | * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with | |
2749 | unknown discriminants. | |
2750 | ||
2751 | * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch | |
2752 | tables for internally built underlying record views. | |
2753 | ||
2754 | * sprint.adb (sprint_node_actual): Improve output of aggregates with an | |
2755 | empty list of component associations. | |
2756 | ||
2757 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
2758 | ||
2759 | * sem_ch10.adb: Minor reformatting | |
2760 | ||
2761 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, | |
2762 | g-socthi-mingw.ads, g-socthi.ads, g-socket.adb | |
2763 | (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use | |
2764 | standard inet_pton API (and emulate it on platforms that do not | |
2765 | support it). | |
2766 | (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of | |
2767 | DECC$INET_ADDR, imported in Ada. | |
2768 | (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C | |
2769 | implementation provided by GNAT runtime. | |
2770 | (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and | |
2771 | Windows. | |
2772 | ||
7289b80c AC |
2773 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
2774 | ||
2775 | * gnat_ugn.texi: Add documentation for -fno-ivopts. | |
2776 | ||
2777 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
2778 | ||
2779 | * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a | |
2780 | with_clause if it is the main unit. | |
2781 | ||
c09a557e AC |
2782 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
2783 | ||
2784 | * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization | |
2785 | (no behaviour change): Use Append instead of Increment_Last followed | |
2786 | by assignment. | |
2787 | ||
2788 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
2789 | ||
2790 | * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the | |
2791 | declarations of all primitives associated with dispatching asynchronous, | |
2792 | conditional and timed selects when dispaching calls are forbidden and | |
2793 | select statements are not allowed (such as in Ravenscar). | |
2794 | (Predefined_Primitive_Bodies): Ditto for bodies. | |
2795 | ||
2796 | * exp_disp.ad (Make_DT): Do not create and populate the | |
2797 | Select_Specific_Data of the dispatch table when dispatching calls are | |
2798 | forbidden and select statements are not allowed (such as in Ravenscar). | |
2799 | ||
2800 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
2801 | ||
2802 | * a-tifiio.adb: Minor reformatting | |
2803 | ||
2804 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
2805 | ||
2806 | * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike | |
2807 | other C library functions, report *failure* with a zero status, and | |
2808 | success with a non-zero status. | |
2809 | ||
2810 | 2009-04-20 Bob Duff <duff@adacore.com> | |
2811 | ||
2812 | * sem.ads, sem.adb (Walk_Library_Items): New generic procedure. | |
2813 | (Semantics): After analyzing each unit, Append it to the | |
2814 | Comp_Unit_List, if appropriate. | |
2815 | ||
2816 | * gnat1drv.adb (Check_Library_Items): New procedure for debugging | |
2817 | purposes. | |
2818 | (Gnat1drv): Correct comment regarding Back_End_Mode. | |
2819 | ||
2820 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
2821 | ||
2822 | * gnat_ugn.texi: Add documentation for -fno-inline-small-functions. | |
2823 | ||
7e728b0f TQ |
2824 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
2825 | ||
2826 | * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
2827 | output.adb, output.ads, s-taprop-hpux-dce.adb, | |
2828 | s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor | |
2829 | reformatting. | |
2830 | ||
5e39baa6 TQ |
2831 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
2832 | ||
2833 | * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb, | |
2834 | g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads | |
2835 | (GNAT.Sockets.Thin.C_Inet_Addr): Remove. | |
2836 | (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library | |
2837 | except for VMS where it is reimplemented in Ada using DECC$INET_ADDR. | |
2838 | (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3). | |
2839 | ||
2840 | * debug.adb: Fix typo | |
2841 | ||
2842 | * gnat_rm.texi: Minor doc fix. | |
2843 | ||
2844 | * sem_ch7.adb, freeze.adb: Minor reformatting | |
2845 | ||
3568b271 AC |
2846 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
2847 | ||
2848 | * g-socket.ads: Add new constants: | |
2849 | Loopback_Inet_Addr | |
2850 | Unspecified_Group_Inet_Addr | |
2851 | All_Hosts_Group_Inet_Addr | |
2852 | All_Routers_Group_Inet_Addr | |
2853 | ||
2854 | * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add | |
2855 | ERANGE (Result too large). | |
2856 | (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing | |
2857 | propagation of errno to caller. | |
2858 | ||
2859 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
2860 | ||
2861 | * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds | |
2862 | to 24. Increment Leap_Seconds_Count and add an entry to aggregate | |
2863 | Leap_Second_Times. | |
2864 | ||
2865 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> | |
2866 | ||
2867 | * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for | |
2868 | checking for references to eliminated subprograms that should be | |
2869 | flagged. | |
2870 | (Eliminate_Error_Message): Update comment to say "references" rather | |
2871 | than "calls" (since attribute cases are handled here as well). | |
2872 | ||
2873 | * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for | |
2874 | checking for references to eliminated subprograms that should be | |
2875 | flagged. Add with and use of Sem and Sem_Util. | |
2876 | ||
2877 | * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms. | |
2878 | Add with and use of Sem_Elim. | |
2879 | ||
2880 | * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes | |
2881 | applied to eliminated subprograms. | |
2882 | (Analyze_Attribute): Reject 'Address and 'Code_Address applied to | |
2883 | eliminated subprograms. | |
2884 | Add with and use of Sem_Elim. | |
2885 | ||
2886 | * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls | |
2887 | to eliminated subprograms, now handled during Resolve_Call. | |
2888 | Remove with and use of Sem_Elim. | |
2889 | ||
2890 | * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before | |
2891 | testing Is_Eliminated, for proper handling of primitive derived from | |
2892 | eliminated subprograms. | |
2893 | ||
2894 | 2009-04-20 Vincent Celier <celier@adacore.com> | |
2895 | ||
2896 | * mlib-prj.adb (Build_Library): Use the shared library linker, if one | |
2897 | has been declared (Library_GCC or Linker'Driver), for the driver name. | |
2898 | ||
2899 | * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and | |
2900 | Linker'Driver is, use Linker'Driver as the shared library linker. | |
2901 | (Process_Project_Level_Simple_Attributes): Issue a warning if attribute | |
2902 | Library_GCC is declared. | |
2903 | (Check_Library_Attributes): Set up the shared linker driver: either | |
2904 | Library_GCC or Linker'Driver. Issue a warning if Library_GCC is | |
2905 | declared. | |
2906 | ||
6e55ac7a TQ |
2907 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
2908 | ||
2909 | * g-socket.ads (Send_Socket): Fix misleading comment. | |
2910 | ||
68218f7c AC |
2911 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
2912 | ||
2913 | * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in | |
2914 | ASIS mode. | |
2915 | ||
2916 | 2009-04-20 Geert Bosch <bosch@adacore.com> | |
2917 | ||
2918 | * a-tifiio.adb (Put): Avoid generating too many digits for certain | |
2919 | fixed types with smalls that are neither integer or the reciprocal | |
2920 | of an integer. | |
2921 | ||
2922 | 2009-04-20 Bob Duff <duff@adacore.com> | |
2923 | ||
2924 | * uname.ads: Minor comment fix. | |
2925 | ||
2926 | * types.ads: Minor comment fix. | |
2927 | ||
262991d8 PO |
2928 | 2009-04-20 Pascal Obry <obry@adacore.com> |
2929 | ||
2930 | * adaint.c (__gnat_get_libraries_from_registry): Fix code to | |
2931 | avoid warning. At the same time fix a memory leak. | |
2932 | ||
2933 | * osint.adb (Get_Libraries_From_Registry): Properly free memory | |
2934 | returned by the above routine. | |
2935 | ||
d0f8d157 AC |
2936 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
2937 | ||
2938 | * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb, | |
2939 | s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb, | |
2940 | s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads, | |
2941 | s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions. | |
2942 | ||
2943 | * exp_ch4.adb (Expand_Concatenate): Minor code reorganization | |
2944 | ||
2945 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
2946 | ||
2947 | * initialize.c (__gnat_initialize): Add braces to kill warning. | |
2948 | ||
262991d8 | 2949 | * adaint.c: Minor reformatting, remove trailing spaces. |
d0f8d157 | 2950 | |
34c25b32 AC |
2951 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> |
2952 | ||
2953 | * gcc-interface/Make-lang.in: Update dependencies. | |
2954 | ||
9549767b AC |
2955 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
2956 | ||
2957 | * adaint.h (__gnat_lwp_self): Declare on Linux. | |
2958 | ||
2959 | * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'. | |
2960 | ||
2961 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
2962 | ||
2963 | * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement | |
2964 | front-end part of -fpreserve-control-flow switch. | |
2965 | ||
d7f94401 AC |
2966 | 2009-04-20 Bob Duff <duff@adacore.com> |
2967 | ||
2968 | * rtsfind.adb: Minor comment fix | |
2969 | ||
2970 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
2971 | ||
2972 | * exp_aggr.adb: Minor reformatting | |
2973 | Minor code reorganization (use Nkind_In) | |
2974 | ||
2975 | * g-socket.adb: Minor reformatting | |
2976 | ||
2977 | * g-socket.ads: Minor comment fix | |
2978 | ||
2979 | * s-auxdec.ads: Minor comment and organization update. | |
2980 | ||
2981 | * s-auxdec-vms_64.ads: Minor comment and organization update. | |
2982 | ||
2983 | * sem_ch10.adb: Minor addition of ??? comment | |
2984 | ||
2985 | * sem_disp.adb: Minor reformatting | |
2986 | ||
f8b86c2d AC |
2987 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
2988 | ||
2989 | * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end | |
2990 | list a caller of an inlined subprogram, if the caller itself is not | |
2991 | called. | |
2992 | ||
2993 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
2994 | ||
2995 | * adaint.c: Disable use of ACL on network drives. | |
2996 | ||
2997 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> | |
2998 | ||
2999 | * gnat_ugn.texi: Add examples. | |
3000 | ||
efec4f2a TQ |
3001 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
3002 | ||
3003 | * g-socket.ads (Abort_Selector): Clarify documentation. | |
3004 | ||
ff2e7c1e AC |
3005 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
3006 | ||
3007 | * opt.ads (Inspector_Mode): Update documentation of this flag. | |
3008 | ||
3009 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
3010 | ||
3011 | * g-socket.ads: Minor reformatting | |
3012 | ||
3013 | * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to | |
3014 | consider S_resolvLib error codes since we only use the hostLib wrappers. | |
3015 | ||
3016 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
3017 | ||
3018 | * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration | |
3019 | of the Underlying_Record_View after that of the derived type. | |
3020 | ||
26a43556 AC |
3021 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
3022 | ||
3023 | * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining | |
3024 | in inspector mode. | |
3025 | ||
3026 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
3027 | ||
3028 | * sem_ch6.adb (New_Overloaded_Entity): Minor reformating. | |
3029 | ||
3030 | * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing | |
3031 | documentation. | |
3032 | ||
3033 | * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup. | |
3034 | ||
3035 | * sem_disp.adb | |
3036 | (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation | |
3037 | in internally built overriding subprograms. | |
3038 | ||
3039 | 2009-04-20 Doug Rupp <rupp@adacore.com> | |
3040 | ||
3041 | * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types. | |
3042 | ||
3043 | * s-auxdec.ads: Likewise | |
3044 | ||
3045 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
3046 | ||
3047 | * sem_ch3.adb (Find_Type_Name): Reject the completion of a private | |
3048 | type by an interface. | |
3049 | ||
3050 | * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to | |
3051 | minimze difference in expanded tree when compiled as spec of the main | |
3052 | unit, or as a spec in the context of another unit. | |
3053 | ||
3f25c54d AC |
3054 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> |
3055 | ||
3056 | * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer. | |
3057 | (localtime_tzoff): This routine no longer accepts an actual of type | |
3058 | tm_Pointer. | |
3059 | (UTC_Time_Offset): Remove local variable Secs_TM. | |
3060 | ||
3061 | * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an | |
3062 | actual of type struct tm*. Add local variable of type struct tm for all | |
3063 | targets that provide localtime_r and need to invoke it. | |
3064 | ||
3065 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
3066 | ||
3067 | * s-oscons-tmplt.c, g-socket.adb, g-socket.ads | |
3068 | (GNAT.Sockets.Resolve_Error): Add case of EPIPE | |
3069 | Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK | |
3070 | ||
8dbf3473 AC |
3071 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
3072 | ||
3073 | * sem_ch3.adb: Minor reformatting | |
3074 | ||
3075 | * lib-load.adb: Minor reformatting | |
3076 | ||
3077 | * sem_ch4.adb: Minor reformatting | |
3078 | ||
3079 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
3080 | ||
3081 | * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec | |
3082 | (equal values => False). | |
3083 | ||
3084 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
3085 | ||
3086 | * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls | |
3087 | to null procedures can be inlined unconditionally. | |
3088 | ||
56fe7b05 EB |
3089 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
3090 | ||
3091 | * gcc-interface/trans.c (call_to_gnu): When creating the copy for a | |
3092 | non-addressable parameter passed by reference, do not convert the | |
3093 | actual if its type is already the nominal type, unless it is of | |
3094 | self-referential size. | |
3095 | ||
9fcf2a0b AC |
3096 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
3097 | ||
3098 | * gnat_ugn.texi: Fix typos. | |
3099 | ||
3100 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
3101 | ||
3102 | * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to | |
3103 | Validate_Unchecked_Warnings to suppress warnings about size or | |
3104 | alignment or extra bits if either type involved has pragma Warnings | |
3105 | (Off) set for the type entity. | |
3106 | ||
f7ebc6a8 EB |
3107 | 2009-04-19 Eric Botcazou <ebotcazou@adacore.com> |
3108 | ||
3109 | * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type | |
3110 | a builtin type and give it a name. | |
3111 | ||
105ab5db DN |
3112 | 2009-04-17 Diego Novillo <dnovillo@google.com> |
3113 | ||
3114 | * gcc-interface/misc.c (gnat_expand_expr): Remove. | |
3115 | (LANG_HOOKS_EXPAND_EXPR): Remove. | |
3116 | ||
03b64787 AC |
3117 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
3118 | ||
3119 | * sem_ch3.adb: Minor reformatting | |
3120 | ||
3121 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
3122 | ||
3123 | * adaint.c: Add __gnat_use_acl global variable to control use of ACL. | |
3124 | ||
054275e4 ES |
3125 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
3126 | ||
3127 | * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly | |
3128 | illegal constraints on type derived from formal discrete types. | |
3129 | ||
aed6fda8 TQ |
3130 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
3131 | ||
3132 | PR ada/35953 | |
3133 | ||
3134 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
3135 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
3136 | g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb, | |
3137 | g-socket.ads (GNAT.Sockets.Thin.C_Send, | |
3138 | GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms. | |
3139 | Replace calls to send(2) with equivalent sendto(2) calls. | |
3140 | (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram. | |
3141 | (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not | |
3142 | report an error in that case. Factor code common to the two versions | |
3143 | (datagram and stream) in common routine Stream_Write. | |
3144 | ||
c5d91669 AC |
3145 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
3146 | ||
3147 | * exp_disp.adb: Minor reformatting | |
3148 | Minor code reorganization (use Nkind_In) | |
3149 | ||
3150 | * prepcomp.adb: Minor reformatting | |
3151 | ||
3152 | * sem_ch3.adb: Minor reformatting | |
3153 | ||
3154 | * sem_res.adb: Minor comment addition | |
3155 | ||
3156 | * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test | |
3157 | for address clause | |
3158 | ||
3159 | * lib-xref.adb (Generate_Reference): Exclude recursive calls from | |
3160 | setting Is_Referenced | |
3161 | ||
3162 | * types.ads: Minor reformatting | |
3163 | ||
3164 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> | |
3165 | ||
3166 | * gnat_ugn.texi: Initial documentation on binding generator. | |
3167 | ||
39f346aa ES |
3168 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
3169 | ||
3170 | * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle | |
3171 | type extensions whose parent is a type with unknown discriminants. | |
3172 | ||
3173 | * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension | |
3174 | aggregate has unknown discriminants, use the Underlying_Record_View to | |
3175 | obtain the discriminants of the ancestor part. | |
3176 | ||
3177 | * exp_disp.adb (Build_Dispatch_Tables): Types that are | |
3178 | Underlying_Record_Views share the dispatching information of the | |
3179 | original record extension. | |
3180 | ||
3181 | * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown | |
3182 | discriminants, propagate dispach table information to the | |
3183 | Underlying_Record_View. | |
3184 | ||
3185 | * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown | |
3186 | discriminants and declaration is not a completion, generate | |
3187 | Underlying_Record_View to provide proper discriminant information to | |
3188 | the front-end and to gigi. | |
3189 | ||
8c64de1e RD |
3190 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
3191 | ||
3192 | * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb, | |
3193 | s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads, | |
3194 | s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads, | |
3195 | g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads, | |
3196 | s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads, | |
3197 | s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads, | |
3198 | g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb, | |
3199 | s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads, | |
3200 | g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb, | |
3201 | s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb, | |
3202 | s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb, | |
3203 | s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb, | |
3204 | s-conca3.ads: Remove unneeded pragma Warnings | |
3205 | ||
74e63df1 RD |
3206 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
3207 | ||
3208 | * g-moreex.adb: Add comments. | |
3209 | ||
3210 | * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off) | |
3211 | ||
3212 | * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma | |
3213 | Warnings (Off) | |
3214 | ||
3215 | * prepcomp.adb: Add ??? comment | |
3216 | ||
3217 | * a-tasatt.adb: Minor reformatting | |
3218 | ||
3219 | * g-trasym-vms-alpha.adb: Add ??? comment | |
3220 | ||
3221 | * g-trasym-vms-ia64.adb: Add ??? comment | |
3222 | ||
3223 | * xoscons.adb: Minor reformatting | |
3224 | ||
3225 | * s-tassta.adb: Minor reformatting | |
3226 | ||
3227 | * s-scaval.adb: Add ??? comment | |
3228 | ||
3229 | * stand.ads: Minor code clean up (remove junk with of Namet) | |
3230 | ||
3231 | * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb, | |
3232 | s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads, | |
3233 | s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb, | |
3234 | s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads, | |
3235 | s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb, | |
3236 | s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads, | |
3237 | s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb, | |
3238 | s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed | |
3239 | Warnings off pragmas. | |
3240 | ||
df416fb0 AC |
3241 | 2009-04-17 Pascal Obry <obry@adacore.com> |
3242 | ||
3243 | * initialize.c: Fix test for reallocating the arguments array. | |
3244 | ||
3245 | 2009-04-17 Geert Bosch <bosch@adacore.com> | |
3246 | ||
3247 | * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed | |
3248 | conversion truncate only for decimal fixed point types. | |
3249 | ||
3250 | 2009-04-17 Jerome Lambourg <lambourg@adacore.com> | |
3251 | ||
3252 | * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are | |
3253 | reinitialized. | |
3254 | ||
01cd0938 AC |
3255 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
3256 | ||
3257 | * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and | |
3258 | Backwards_OK if either operand has an address clause. | |
3259 | ||
3260 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
3261 | ||
3262 | * initialize.c: Code clean up, use realloc. | |
3263 | ||
46e26fe3 PO |
3264 | 2009-04-17 Pascal Obry <obry@adacore.com> |
3265 | ||
3266 | * initialize.c: Do not get Unicode command line if Unicode support not | |
3267 | activated. | |
3268 | Add support for wildcard expansion for Unicode parameters on Win32. | |
3269 | ||
3270 | * mingw32.h: Add missing macros when Unicode support not activated. | |
3271 | ||
b20de9b9 AC |
3272 | 2009-04-17 Javier Miranda <miranda@adacore.com> |
3273 | ||
3274 | * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to | |
3275 | avoid generating code that references the Current_Master | |
3276 | when compiling without tasks. | |
3277 | ||
3278 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
3279 | ||
3280 | * prj-attr.adb: New project level attribute Target | |
3281 | ||
3282 | * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process | |
3283 | attribute Target | |
3284 | ||
3285 | * prj.ads (Project_Configuration): New component Target | |
3286 | ||
a8f59a33 AC |
3287 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
3288 | ||
3289 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special | |
3290 | case for the case of an aggregate component, the attach call for the | |
3291 | result is actually needed. | |
3292 | ||
3293 | * exp_aggr.adb (Backend_Processing_Possible): Backend processing for | |
3294 | an array aggregate must be disabled if the component type requires | |
3295 | controlled actions. | |
3296 | ||
3297 | * exp_ch3.adb: Minor reformatting | |
3298 | ||
3299 | 2009-04-17 Bob Duff <duff@adacore.com> | |
3300 | ||
3301 | * output.ads (Indent,Outdent): New procedures for indenting the output. | |
3302 | (Write_Char): Correct comment -- LF _is_ allowed. | |
3303 | ||
3304 | * output.adb (Indent,Outdent): New procedures for indenting the output. | |
3305 | Keep track of the indentation level, and make sure it doesn't get too | |
3306 | high. | |
3307 | (Flush_Buffer): Insert spaces at the beginning of each line, if | |
3308 | indentation level is nonzero. | |
3309 | (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current | |
3310 | indentation level. | |
3311 | (Set_Standard_Error,Set_Standard_Output): Remove superfluous | |
3312 | "Next_Col := 1;". Flush_Buffer does that. | |
3313 | ||
3314 | * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output | |
3315 | controlled by the -gnatdc switch. It now occurs on entry/exit to the | |
3316 | relevant analysis routines, and calls Indent/Outdent to make the | |
3317 | indentation reflect the nesting level. Add "helper" routines, since | |
3318 | otherwise lots of "return;" statements would skip the debugging output. | |
3319 | ||
3320 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> | |
3321 | ||
3322 | * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb, | |
3323 | s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb, | |
3324 | s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup. | |
3325 | ||
32beb1f3 AC |
3326 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
3327 | ||
3328 | * exp_aggr.adb: Minor code reorganization, no behaviour change. | |
3329 | ||
3330 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
3331 | ||
3332 | * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type | |
3333 | clause in a unit that is a package body or a subunit, when the previous | |
3334 | clause appears in a spec or a parent. | |
3335 | ||
36c73552 AC |
3336 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
3337 | ||
3338 | * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting | |
3339 | ||
3340 | * exp_ch7.adb: Minor reformatting | |
3341 | ||
3342 | 2009-04-17 Bob Duff <duff@adacore.com> | |
3343 | ||
3344 | * exp_ch4.adb (Expand_Allocator_Expression): In an initialized | |
3345 | allocator, check that the expression of the qualified expression obeys | |
3346 | the constraints of the subtype of the qualified expression. | |
3347 | ||
3348 | 2009-04-17 Thomas Quinot <quinot@adacore.com> | |
3349 | ||
3350 | * sprint.adb (Write_Itype): Add handling of enumeration subtypes. | |
3351 | ||
cac5a801 AC |
3352 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
3353 | ||
3354 | * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to | |
3355 | aggregate, using context imposed by subtype mark in allocator. | |
3356 | ||
3357 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
3358 | ||
3359 | * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable | |
3360 | ||
03f050b6 AC |
3361 | 2009-04-17 Nicolas Roche <roche@adacore.com> |
3362 | ||
3363 | * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each | |
3364 | argument length. | |
3365 | ||
3366 | 2009-04-17 Gary Dismukes <dismukes@adacore.com> | |
3367 | ||
3368 | * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to | |
3369 | cover both calls and attribute references ("call" => "reference"). | |
3370 | ||
3371 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
3372 | ||
3373 | * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access | |
3374 | type for which Storage_Size is set to 0 is legal in a pure unit. | |
3375 | ||
bf327c92 AC |
3376 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
3377 | ||
3378 | * exp_ch7.adb: Minor reformatting | |
3379 | ||
3380 | 2009-04-17 Robert Dewar <dewar@adacore.com> | |
3381 | ||
3382 | * restrict.adb (Check_Restriction_No_Dependence): Don't check | |
3383 | restriction if outside main extended source unit. | |
3384 | ||
3385 | * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction | |
3386 | for parents of child units as well as the child unit itself. | |
3387 | ||
3388 | 2009-04-17 Bob Duff <duff@adacore.com> | |
3389 | ||
3390 | * checks.ads: Minor comment fix | |
3391 | ||
3392 | * exp_aggr.ads: Minor comment fix | |
3393 | ||
3394 | 2009-04-17 Nicolas Roche <roche@adacore.com> | |
3395 | ||
3396 | * adaint.c: Improve cross compiler detection and handling. | |
3397 | ||
ffec8e81 AC |
3398 | 2009-04-17 Eric Botcazou <ebotcazou@adacore.com> |
3399 | ||
3400 | * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os. | |
3401 | ||
3402 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
3403 | ||
3404 | * mingw32.h: Add S2WSC and WS2SC macros to convert to/from | |
3405 | CurrentCodePage. | |
3406 | ||
3407 | * adaint.h: Encoding_Unspecified is now defined. Corresponds to the | |
3408 | value when no encoding form paramter is set on Text_IO services. | |
3409 | ||
3410 | * adaint.c: CurrentCodePage new variable on Windows. | |
3411 | Use new macros S2WSC and WS2SC instead of the UTF-8 oriented | |
3412 | ones. | |
3413 | ||
3414 | * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented | |
3415 | ones. | |
3416 | ||
3417 | * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE | |
3418 | environment variable value. Default is UTF-8. | |
3419 | ||
3420 | * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type. | |
3421 | fopen and freopen encoding parameter is now set to Unspecified. | |
3422 | The default value is in this case UTF-8 (as it was before) but | |
3423 | use the new macros that convert to/from the code page set | |
3424 | at runtime (CurrentCodePage). | |
3425 | ||
3426 | * s-fileio.adb: When no encoding specified use Unspecified value. | |
3427 | ||
3428 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
3429 | ||
3430 | * atree.adb, atree.ads: Remove dead code. | |
3431 | ||
432e3422 AC |
3432 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> |
3433 | ||
3434 | * gcc-interface/Make-lang.in: Update dependencies. | |
3435 | ||
f3b01cd9 AC |
3436 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
3437 | ||
3438 | * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on | |
3439 | illegal uses of incomplete types in formal parts and return types. | |
3440 | ||
3441 | * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in | |
3442 | access to subprograms. | |
3443 | ||
3444 | * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use | |
3445 | Taft-amendment types as the return type of an access_to_function type. | |
3446 | ||
3447 | * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete | |
3448 | type for access_to_subprograms. The check is performed on package exit. | |
3449 | ||
3450 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
3451 | ||
3452 | * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util. | |
3453 | ||
3454 | * nlists.ads, nlists.adb: Move New_Copy_List to sem_util. | |
3455 | ||
3456 | * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree | |
3457 | ||
3458 | * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in | |
3459 | semantic units, because the handling of itypes in the copied tree | |
3460 | requires semantic information that does not belong in atree. | |
3461 | ||
3462 | 2009-04-17 Robert Dewar <dewar@adacore.com> | |
3463 | ||
3464 | * par-ch6.adb: Minor reformatting | |
3465 | ||
3466 | * prj.adb: Minor reformatting | |
3467 | ||
618fb570 AC |
3468 | 2009-04-17 Gary Dismukes <dismukes@adacore.com> |
3469 | ||
3470 | * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed | |
3471 | on protected subprogram bodies, so exclude the case where Pf_Flags is | |
3472 | Pf_Decl_Pbod from the error check. | |
3473 | ||
3474 | * par-ch9.adb (P_Protected_Operation_Items): Permit overriding | |
3475 | indicators on subprograms in protected bodies, and proceed with parsing | |
3476 | the subprogram. | |
3477 | ||
3478 | * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected | |
3479 | subprograms from the check for primitiveness on subprograms with | |
3480 | overriding indicators. | |
3481 | (Check_Overriding_Indicator): Include protected subprograms in the | |
3482 | style check for missing overriding indicators. | |
3483 | ||
3484 | 2009-04-17 Tristan Gingold <gingold@adacore.com> | |
3485 | ||
3486 | * init.c: Fix stack checking for x86 Darwin. | |
3487 | ||
3488 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
3489 | ||
3490 | * prj-attr.adb: New project level attribute Object_File_Suffix | |
3491 | (<language>). | |
3492 | ||
3493 | * prj-nmsc.adb (Add_Source): Use the object file suffix to get the | |
3494 | object file name | |
3495 | (Process_Compiler): Process attribute Object_File_Suffix | |
3496 | ||
3497 | * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of | |
3498 | platform suffix, when specified. | |
3499 | ||
3500 | * prj.ads (Language_Config): New component Object_File_Suffix, | |
3501 | defaulted to No_Name. | |
3502 | (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name | |
3503 | ||
3504 | * snames.ads-tmpl: New standard name Object_File_Suffix | |
3505 | ||
93bcda23 AC |
3506 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
3507 | ||
3508 | * gnat_rm.texi: Add documentation about No_Streams restriction | |
3509 | ||
3510 | * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream | |
3511 | attributes when checking No_Streams restriction. | |
3512 | ||
3513 | 2009-04-17 Thomas Quinot <quinot@adacore.com> | |
3514 | ||
3515 | * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity. | |
3516 | ||
3517 | * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add | |
3518 | missing calls to RE_Request_Destroy to deallocate request objects after | |
3519 | use. | |
3520 | ||
3521 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
3522 | ||
3523 | * link.c: Fix support for passing a response file under Darwin. | |
3524 | ||
3525 | 2009-04-17 Emmanuel Briot <briot@adacore.com> | |
3526 | ||
3527 | * prj.adb (Free): new subprogram. | |
3528 | ||
3529 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
3530 | ||
3531 | * sem_ch3.adb: additional initialization on incomplete subtypes. | |
3532 | ||
3533 | * sem_ch6.adb (Process_Formals): if the subprogram is in the private | |
3534 | part and one of the formals is an incomplete tagged type, attach to | |
3535 | list of private dependends of the type for later validation. | |
3536 | ||
3537 | * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare | |
3538 | primitive operations of a Taft-amendmment type. | |
3539 | ||
3540 | * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete | |
3541 | type. The check is performed on package exit, possibly after the | |
3542 | subprogram is frozen. | |
3543 | ||
3544 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
3545 | ||
3546 | * prj-nmsc.adb (Get_Directories): Get the object and exec directory | |
3547 | before looking for source directories, but make sure that there are nil | |
3548 | if they are not explicitely declared and there is explicitely no | |
3549 | sources in the project. | |
3550 | ||
ba4a2f78 | 3551 | 2009-04-17 Pascal Obry <obry@adacore.com> |
78246a6e | 3552 | |
ba4a2f78 | 3553 | * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows. |
78246a6e | 3554 | |
ba4a2f78 | 3555 | * init.c: Fix minor typo and style fix. |
ee00428a | 3556 | |
ba4a2f78 | 3557 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
ee00428a | 3558 | |
ba4a2f78 | 3559 | * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic |
ee00428a | 3560 | |
ba4a2f78 AC |
3561 | * sem_attr.adb (Analyze_Attribute, case Address): Use |
3562 | PE_Address_Of_Intrinsic. | |
3563 | ||
3564 | * types.ads: Add PE_Address_Of_Intrinsic | |
3565 | ||
3566 | * types.h: Add PE_Address_Of_Intrinsic | |
3567 | ||
3568 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
3569 | ||
3570 | * gcc-interface/Makefile.in: Under darwin, build shared libraries | |
3571 | with install_name starting with "@rpath/". | |
ee00428a AC |
3572 | |
3573 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
3574 | ||
3575 | * link.c: Add darwin section | |
3576 | ||
9fbb3ae6 AC |
3577 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
3578 | ||
3579 | * g-pehage.adb: Minor reformatting | |
3580 | ||
3581 | * sem_ch12.adb: Minor reformatting | |
3582 | ||
3583 | * exp_dist.adb: Minor reformatting | |
3584 | ||
3585 | * bindgen.adb: Minor style fixes. | |
3586 | ||
3587 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
3588 | ||
3589 | * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of | |
3590 | indexed components to the case where the prefix is a static string | |
3591 | literal. | |
3592 | ||
3593 | 2009-04-16 Javier Miranda <miranda@adacore.com> | |
3594 | ||
3595 | * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place | |
3596 | objects avoid any further expansion of the expression initializing the | |
3597 | object. | |
3598 | ||
c1c5e0fa AC |
3599 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
3600 | ||
3601 | * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit | |
3602 | that hides an outer homograph, make that homograph invisible when | |
3603 | analyzing the actuals, to to prevent illegal direct visibility on it. | |
3604 | ||
3605 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> | |
3606 | ||
3607 | * g-pehage.adb (Initialize): Fix off-by-one error. | |
3608 | ||
d15d61c6 AC |
3609 | 2009-04-16 Tristan Gingold <gingold@adacore.com> |
3610 | ||
3611 | * init.c: Detect real stack overflow on Darwin. | |
3612 | ||
3613 | * system-darwin-x86.ads: Use stack probing on darwin x86. | |
3614 | ||
3615 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
3616 | ||
3617 | * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to | |
3618 | take the address of an intrinsic subprogram. | |
3619 | ||
0a0a18c3 AC |
3620 | 2009-04-16 Arnaud Charlet <charlet@adacore.com> |
3621 | ||
3622 | * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented | |
3623 | for the targets where GNAT.Traceback.Symbolic is not supported. | |
3624 | ||
d15d61c6 AC |
3625 | 2009-04-16 Vincent Celier <celier@adacore.com> |
3626 | ||
3627 | * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file. | |
3628 | ||
3629 | * g-trasym.ads: Update comments. | |
3630 | ||
3631 | 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> | |
3632 | ||
3633 | * tracebak.c (STOP_FRAME): Verify validity of the current address | |
3634 | before dereferencing. | |
3635 | ||
b61ebe4f AC |
3636 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
3637 | ||
3638 | * sprint.adb (Write_Itype): If the itype is an array subtype, preserve | |
3639 | the original location of the index expressions and the index subtypes, | |
3640 | to prevent spurious out-of-scope references in gigi. | |
3641 | ||
3642 | 2009-04-16 Tristan Gingold <gingold@adacore.com> | |
3643 | ||
3644 | * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads: | |
3645 | Add support for stack checking on darwin. | |
3646 | ||
3647 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
3648 | ||
3649 | * prj-attr.adb: New attribute Runtime_Source_Dir | |
3650 | ||
3651 | * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process | |
3652 | attribute Runtime_Source_Dir. | |
3653 | (Check_Naming_Schemes): Give default values to out parameters to avoid | |
3654 | invalid data. | |
3655 | ||
3656 | * prj.ads (Language_Config): New component Runtime_Source_Dir | |
3657 | ||
3658 | * snames.ads-tmpl: New standard name Runtime_Source_Dir | |
3659 | ||
468ee337 PO |
3660 | 2009-04-16 Pascal Obry <obry@adacore.com> |
3661 | ||
3662 | * adaint.h, adaint.c (__gnat_rmdir): New routine. | |
3663 | Simple wrapper routines used to convert to proper encoding on | |
3664 | Windows. | |
3665 | ||
3666 | * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library. | |
3667 | ||
3668 | * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed | |
3669 | twice. | |
3670 | ||
bca17d51 PO |
3671 | 2009-04-16 Pascal Obry <obry@adacore.com> |
3672 | ||
3673 | * s-crtl.ads, s-os_lib.adb: Minor code clean-up. | |
3674 | ||
4e0079cc AC |
3675 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
3676 | ||
3677 | * snames.ads-tmpl (Name_Defined): New predefined name for use by the | |
3678 | integrated preprocessor. | |
3679 | ||
3680 | * prep.ads, prep.adb (Setup_Hooks): New subprogram. | |
3681 | (Initialize): Split into two subprograms, Initialize (to be called | |
3682 | prior to compiler command line processing) and Setup_Hooks (to be called | |
3683 | later on when the first source file is loaded). | |
3684 | ||
3685 | * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks. | |
3686 | Add call to Prep.Initialize. | |
3687 | ||
3688 | * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call | |
3689 | to Prep.Setup_Hooks. | |
3690 | ||
3691 | 2009-04-16 Pascal Obry <obry@adacore.com> | |
3692 | ||
3693 | * adaint.h, adaint.c (__gnat_chdir): New routine. | |
3694 | Simple wrapper routines used to convert to proper encoding on | |
3695 | Windows. | |
3696 | ||
3697 | * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library. | |
3698 | ||
3699 | * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL. | |
3700 | ||
cbbdee52 AC |
3701 | 2009-04-16 Quentin Ochem <ochem@adacore.com> |
3702 | ||
3703 | * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead | |
3704 | of Source.Init. | |
3705 | ||
3706 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> | |
3707 | ||
3708 | * a-convec.ads (Is_Empty): Mark inline. | |
3709 | ||
3710 | 2009-04-16 Nicolas Roche <roche@adacore.com> | |
3711 | ||
3712 | * init.c (__gnat_init_float): Initialize FPU on x86_64 windows | |
3713 | ||
3714 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
3715 | ||
3716 | * prepcomp.adb: Minor reformatting | |
3717 | ||
7e8ed0a6 AC |
3718 | 2009-04-16 Jerome Lambourg <lambourg@adacore.com> |
3719 | ||
3720 | * sem_prag.adb (Process_Import_Or_Interface): With .NET, | |
3721 | Access_Subprogram types can also be imported. | |
3722 | (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL | |
3723 | names. | |
3724 | ||
3725 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
3726 | ||
3727 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): | |
3728 | preserve homonym chain when the declaration is rewritten into a | |
3729 | renaming declaration, in order to preserve visibility structure. | |
3730 | ||
540b5d9c AC |
3731 | 2009-04-16 Jerome Lambourg <lambourg@adacore.com> |
3732 | ||
3733 | * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not | |
3734 | taken into account for VM targets. | |
3735 | ||
3736 | 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> | |
3737 | ||
3738 | * g-calend.ads, g-calend.adb (Week_In_Year): Now calls | |
3739 | Year_Week_In_Year. | |
3740 | (Year_Week_In_Year): New routine which contains the original code from | |
3741 | Week_In_Year. Add the missing special case for January 1st falling on | |
3742 | a Monday. | |
3743 | ||
dae4faf2 TQ |
3744 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
3745 | ||
3746 | * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic | |
3747 | actual type, use the base type to build the To_Any function. | |
3748 | (Build_From_Any_Function): Remove junk, useless subtype conversion. | |
3749 | ||
3750 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
3751 | ||
3752 | * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb, | |
3753 | restrict.adb: Minor code reorganization (use | |
3754 | Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand). | |
3755 | ||
2794f022 AC |
3756 | 2009-04-16 Bob Duff <duff@adacore.com> |
3757 | ||
3758 | * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove, | |
3759 | unused. | |
3760 | ||
3761 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
3762 | ||
3763 | * sem_ch4.adb: Minor reformatting | |
3764 | ||
3765 | * adaint.c: Remove junk duplicated code. | |
3766 | ||
3767 | * sem_ch3.adb: Minor reformatting | |
3768 | ||
3769 | * exp_dist.adb: Minor comment rewording | |
3770 | ||
a8e65aa5 AC |
3771 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
3772 | ||
3773 | * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa | |
3774 | used together. | |
3775 | ||
3776 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
3777 | ||
3778 | * sem_ch4.adb (Find_Equality_Types): Filter out types that are not | |
3779 | usable before calling Add_One_Interp, to resolve spurious ambiguities. | |
3780 | ||
bded454f RD |
3781 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
3782 | ||
b0fbf3c0 RD |
3783 | * Make-lang.in: Add entries for s-conca?.o |
3784 | ||
bded454f RD |
3785 | * Makefile.rtl: Add entries for s-conca? |
3786 | ||
3787 | * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior | |
3788 | of concatenation expansion | |
3789 | ||
3790 | * exp_ch4.adb (Expand_Concatenation): Generate calls for certain | |
3791 | string cases instead of expanding assignments inline. | |
3792 | ||
3793 | * opt.ads (Optimize_Size): New flag | |
3794 | ||
3795 | * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads, | |
3796 | s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb, | |
3797 | s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads, | |
3798 | s-conca9.adb, s-conca9.ads: New file. | |
3799 | ||
4a3b249c RD |
3800 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
3801 | ||
3802 | * exp_ch6.adb: Add comments | |
3803 | ||
3804 | * rtsfind.ads: Add entries for s-conca? routines | |
3805 | ||
e8e028cb | 3806 | 2009-04-16 Arnaud Charlet <charlet@adacore.com> |
14814170 AC |
3807 | |
3808 | * gcc-interface/Make-lang.in: Update dependencies. | |
3809 | ||
3810 | * gcc-interface/Makefile.in: Update translation for vms. | |
3811 | ||
3204b9cd AC |
3812 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
3813 | ||
3814 | * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities | |
3815 | and made global, to be used when installing parents of a child | |
3816 | instance, to provide mappings for entities declared in formal packages | |
3817 | of ancestor units. Now called from Install_Formal_Packages. | |
3818 | ||
3819 | 2009-04-16 Doug Rupp <rupp@adacore.com> | |
3820 | ||
3821 | * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others | |
3822 | notation for clarity. | |
3823 | ||
3824 | * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
3825 | s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb, | |
3826 | s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb | |
3827 | (Initialize): Initialize Known_Tasks with Environment task. | |
3828 | ||
3829 | * s-taskin.ads (Task_States): Move new states to end for the sake of | |
3830 | GDB compatibility. | |
3831 | ||
3832 | * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task. | |
3833 | ||
f17f3601 ES |
3834 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
3835 | ||
3836 | * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected | |
3837 | operation has an inline pragma, propagate the flag to the internal | |
3838 | unprotected subprogram. | |
3839 | ||
5e44c5ea DR |
3840 | 2009-04-16 Doug Rupp <rupp@adacore.com> |
3841 | ||
3842 | * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb, | |
3843 | s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb, | |
3844 | s-taprop-hpux-dce.adb, s-taprop-posix.adb | |
3845 | (Enter_Task): Move Known_Tasks initialization to s-tassta.adb | |
3846 | ||
3847 | * s-taprop-vms.adb (Enter_Task): Likewise. | |
3848 | (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback. | |
3849 | ||
3850 | * s-tassta.adb (Activate_Tasks): After task creation set state to | |
3851 | Activating, vice Runnable. Initialize Known_Tasks, moved here from | |
3852 | s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger. | |
3853 | Set state to Runnable after above. | |
3854 | (Task_Wrapper): Set Debug_Event_Run. In exception block set | |
3855 | Debug_Event_Terminated. | |
3856 | ||
3857 | * s-taskin.ads (Task_States): Add new states Activiting and | |
3858 | Activator_Delay_Sleep. | |
3859 | (Bit_Array, Debug_Event_Array): New types. | |
3860 | (Global_Task_Debug_Event_Set: New flag. | |
3861 | (Common_ATCB): New field Debug_Events. | |
3862 | ||
3863 | * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events. | |
3864 | ||
3865 | * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice | |
3866 | Activator_Sleep. | |
3867 | ||
3868 | * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when | |
3869 | Activating and when Acceptor_Delay_Sleep. | |
3870 | ||
3871 | * s-tasdeb.ads: Add constants for Debug_Events. | |
3872 | (Debug_Event_Kind_Type): New subtype. | |
3873 | (Signal_Debug_Event): New subprogram. | |
3874 | ||
3875 | * s-tasdeb.adb (Signal_Debug_Event): New null subprogram. | |
3876 | ||
205c14b0 TQ |
3877 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
3878 | ||
3879 | * sem_elim.adb: Minor reformatting | |
3880 | ||
3881 | * freeze.adb: Minor reformatting | |
3882 | ||
3883 | * exp_ch4.adb: Minor reformatting | |
3884 | ||
b4763f5c AC |
3885 | 2009-04-16 Emmanuel Briot <briot@adacore.com> |
3886 | ||
3887 | * prj-nmsc.adb (Path_Name_Of): fix memory leak | |
3888 | ||
3889 | 2009-04-16 Robert Dewar <dewar@adacore.com> | |
3890 | ||
3891 | * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation | |
3892 | ||
3893 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
3894 | ||
3895 | * fmap.adb (Initialize): Show the current line when the mapping file | |
3896 | is detected as "incorrectly formatted". | |
3897 | ||
3898 | 2009-04-16 Robert Dewar <dewar@adacore.com> | |
3899 | ||
3900 | * sem_ch12.adb: Minor reformatting | |
3901 | ||
3902 | * sem_ch5.adb: Minor comment addition | |
3903 | ||
3904 | * sem_util.adb: Minor reformatting | |
3905 | ||
3906 | * sinput-p.adb: Minor reformatting | |
3907 | Add missing pragma Warnings (On) | |
3908 | ||
0c72247e AC |
3909 | 2009-04-16 Ed Falis <falis@adacore.com> |
3910 | ||
3911 | * s-vxwext-kernel.adb: (ERROR): deleted unused constant | |
3912 | ||
3913 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
3914 | ||
3915 | * ali-util.adb: Minor comment spelling error fix | |
3916 | ||
014caddb EB |
3917 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> |
3918 | ||
3919 | * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not | |
3920 | generate an assignment loop in case of overlap. | |
3921 | ||
b2ed7a03 AC |
3922 | 2009-04-16 Olivier Hainque <hainque@adacore.com> |
3923 | ||
3924 | * gnat_ugn.texi (gnatmem description): Make it explicit that | |
3925 | gnatmem is designed to work in association with static runtime | |
3926 | library only. | |
3927 | ||
3928 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
3929 | ||
3930 | * sem_type.adb: Minor reformatting | |
3931 | ||
3932 | 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> | |
3933 | ||
3934 | * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment | |
3935 | concerning return codes of gettimeofday and return value check. | |
3936 | ||
3937 | 2009-04-16 Ed Falis <falis@adacore.com> | |
3938 | ||
3939 | * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so | |
3940 | body can be renaming of imported routines. | |
3941 | ||
3942 | 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> | |
3943 | ||
3944 | * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more | |
3945 | targeted fashion. | |
3946 | ||
8a912a6e AC |
3947 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
3948 | ||
3949 | * exp_ch9.adb: Comment improvements. | |
3950 | (Build_Entry_Family_Name): Add parentheses around the index of a entry | |
3951 | family member. | |
3952 | ||
3953 | 2009-04-15 Bob Duff <duff@adacore.com> | |
3954 | ||
3955 | * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like | |
3956 | "while X /= null loop" where X is unchanged inside the loop. We were | |
3957 | not warning in this case, because of the pointers -- we feared that the | |
3958 | loop variable could be updated via a pointer, if there are any pointers | |
3959 | around the place. But that is impossible in this case. | |
3960 | ||
3961 | * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in | |
3962 | the case of dereferences. In X.all, X cannot be an l-value. We now | |
3963 | catch that case (and implicit dereferences, too). | |
3964 | ||
3965 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
3966 | ||
3967 | * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure | |
3968 | ||
3969 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
3970 | ||
3971 | * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive. | |
3972 | From code reading. | |
3973 | (Analyze_Package_Instantiation): If generic unit in child instance is | |
3974 | the same as generic unit in parent instance, look for an outer homonym | |
3975 | to locate the desired generic. | |
3976 | ||
4a13695c AC |
3977 | 2009-04-15 Bob Duff <duff@adacore.com> |
3978 | ||
3979 | * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop | |
3980 | warnings unless the loop comes from source, because checking generated | |
3981 | loops is a waste of time, and makes it harder to debug | |
3982 | Check_Infinite_Loop_Warning. | |
3983 | ||
3984 | * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable | |
3985 | tested in the while loop is a renaming, do not warn. Otherwise, we get | |
3986 | false alarms, because it's usually renaming something that we can't | |
3987 | deal with (an indexed component, a global variable, ...). | |
3988 | ||
3989 | * gnat_rm.texi: Fix typo | |
3990 | ||
3991 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
3992 | ||
3993 | * sem_ch6.adb: Minor reformatting | |
3994 | ||
c3b36d48 AC |
3995 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
3996 | ||
3997 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the | |
3998 | immediate parent of the controlled function call is a component | |
3999 | association. | |
4000 | ||
4001 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4002 | ||
4003 | * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the | |
4004 | corresponding class-wide type is also in use. | |
4005 | ||
4006 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
4007 | ||
4008 | * frontend.adb: Minor comment fix | |
4009 | ||
1f07382d AC |
4010 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
4011 | ||
4012 | * gnatchop.adb (BOM_Length): New global variable | |
4013 | (Write_Unit): Add new parameter Write_BOM | |
4014 | (Write_Chopped_Files): Check for BOM and set Write_BOM for call | |
4015 | to Write_Unit | |
4016 | ||
4017 | * gnat_ugn.texi: Add note on propagation of BOM by gnatchop | |
4018 | ||
4019 | 2009-04-15 Geert Bosch <bosch@adacore.com> | |
4020 | ||
4021 | * system-mingw-x86_64.ads, system-darwin-x86_64.ads | |
4022 | (Backend_Overflow_Checks): Set to True. | |
4023 | ||
4024 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> | |
4025 | ||
4026 | * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized | |
4027 | keyword is given in a record extension. | |
4028 | ||
4029 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
4030 | ||
4031 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion | |
4032 | of a controlled function call in the context of a record aggregate. | |
4033 | This does not apply to array aggregates since the call will be expanded | |
4034 | into assignments. | |
4035 | ||
4036 | 2009-04-15 Ed Falis <falis@adacore.com> | |
4037 | ||
4038 | * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb, | |
4039 | s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb, | |
3405870d EF |
4040 | s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize |
4041 | s-osinte-vxworks* and s-vxwext*. | |
1f07382d | 4042 | |
6cc60200 AC |
4043 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
4044 | ||
4045 | * gcc-interface/Make-lang.in: Update dependencies. | |
4046 | ||
4047 | * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks* | |
4048 | and s-vxwext*. | |
4049 | ||
f66d46ec AC |
4050 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
4051 | ||
4052 | * sem_ch13.adb (Unchecked_Conversions): Store source location instead | |
4053 | of node for location for warning messages. | |
4054 | ||
4055 | * gnatchop.adb: Minor reformatting | |
4056 | ||
4057 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4058 | ||
4059 | * exp_ch6.adb: additional guard for renaming declarations for in | |
4060 | parameters of an array type. | |
4061 | ||
bafc9e1d AC |
4062 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
4063 | ||
4064 | * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds | |
4065 | in case they were rewritten by expander (Force_Evaluation). | |
4066 | ||
4067 | * targparm.adb (Get_Target_Parameters): Correct check for | |
4068 | Suppress_Exception_Locations. | |
4069 | ||
4070 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4071 | ||
4072 | * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be | |
4073 | inlined is of an array type that is not bit-packed, use a renaming | |
4074 | declaration to capture its value, rather than a constant declaration. | |
4075 | ||
443614e3 AC |
4076 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
4077 | ||
4078 | * rtsfind.adb: Minor reformatting. | |
4079 | ||
4080 | 2009-04-15 Emmanuel Briot <briot@adacore.com> | |
4081 | ||
4082 | * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames | |
4083 | Restore, and free the saved context. | |
4084 | ||
4085 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> | |
4086 | ||
4087 | * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check | |
4088 | for illegal private extension from a synchronized interface parent in | |
4089 | front of check for illegal limited extension so that limited extension | |
4090 | from a synchronized interface will be rejected. | |
4091 | (Check_Ifaces): Check that a private extension that has a synchronized | |
4092 | interface as a progenitor must be explicitly declared synchronized. | |
4093 | Also check that a record extension cannot derive from a synchronized | |
4094 | interface. | |
4095 | ||
991395ab AC |
4096 | 2009-04-15 Pascal Obry <obry@adacore.com> |
4097 | ||
4098 | * adaint.h (__gnat_unlink): Add spec. | |
4099 | (__gnat_rename): Likewise. | |
4100 | ||
4101 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
4102 | ||
4103 | * prj-nmsc.adb: Minor spelling error corrections in error messages | |
4104 | ||
4105 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
4106 | ||
4107 | * sinfo.ads: Minor comment update | |
4108 | ||
4109 | * opt.ads: Minor comment updates | |
4110 | ||
4111 | * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for | |
4112 | modular type. | |
4113 | ||
4114 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4115 | ||
4116 | * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function | |
4117 | that generates the code needed to update a dispatch table when a | |
4118 | primitive operation is declared with a subprogram body without previous | |
4119 | spec. Insertion of the generated code is responsibility of the caller. | |
4120 | (Make_DT): When building static tables, append the code created by | |
4121 | Register_Primitive to update a secondary table after it has been | |
4122 | constructed. | |
4123 | ||
4124 | * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive. | |
4125 | ||
4126 | * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive | |
4127 | on an overriding operation that implements an interface operation only | |
4128 | if not building static dispatch tables. | |
4129 | ||
4130 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
4131 | ||
4132 | * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which | |
4133 | does not cause overflow when converted to Duration. Use the safe value | |
4134 | as the maximum allowable time delay.. | |
4135 | ||
4136 | 2009-04-15 Jerome Lambourg <lambourg@adacore.com> | |
4137 | ||
4138 | * g-comlin.adb (Set_Command_Line): When adding a switch with attached | |
4139 | parameter, specify that the delimiter is NUL, otherwise "-j2" will be | |
4140 | translated to "-j 2". | |
4141 | ||
4142 | 2009-04-15 Bob Duff <duff@adacore.com> | |
4143 | ||
4144 | * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit | |
4145 | with_clauses, to avoid code duplication. Change this processing so we | |
4146 | always add a with_clause on the main unit if needed. | |
4147 | ||
55cc1a05 AC |
4148 | 2009-04-15 Pascal Obry <obry@adacore.com> |
4149 | ||
4150 | Add support for Win32 native encoding for delete/rename routines. | |
4151 | ||
4152 | * adaint.c (__gnat_unlink): New routine. | |
4153 | (__gnat_rename): New routine. | |
4154 | Simple wrapper routines used to convert to proper encoding on | |
4155 | Windows. | |
4156 | ||
4157 | * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct | |
4158 | call to the C library. | |
4159 | ||
4160 | * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding. | |
4161 | ||
4162 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
4163 | ||
4164 | * s-tassta.adb: Minor reformatting | |
4165 | ||
1f6821b4 AC |
4166 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
4167 | ||
4168 | * frontend.adb (Frontend): Set proper default for | |
4169 | Warn_On_Non_Local_Exception. | |
4170 | ||
4171 | * opt.ads (Exception_Handler_Encountered): New flag | |
4172 | (No_Warn_On_Non_Local_Exception): New flag | |
4173 | ||
4174 | * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered | |
4175 | ||
4176 | * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception | |
4177 | (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception | |
4178 | ||
4179 | 2009-04-15 Cyrille Comar <comar@adacore.com> | |
4180 | ||
4181 | * s-tassta.adb, a-exextr.adb, a-elchha.adb | |
4182 | (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception | |
4183 | message when exception traces are active since it would generate | |
4184 | redundant information. | |
4185 | (Exception_Traces.Notify_Exception): put message output by a critical | |
4186 | section to avoid unsynchronized output. | |
4187 | (Trace_Unhandled_Exception_In_Task): put message output by a critical | |
4188 | section to avoid unsynchronized output. | |
4189 | ||
4190 | 2009-04-15 Emmanuel Briot <briot@adacore.com> | |
4191 | ||
4192 | * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads | |
4193 | (Free): New subprogram. | |
4194 | ||
8aec446b AC |
4195 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
4196 | ||
4197 | * a-calend.adb: Add new constant Nanos_In_Four_Years. | |
4198 | (Formatting_Operations.Time_Of): Change the way four year chunks of | |
4199 | nanoseconds are added to the intermediate result. | |
4200 | ||
4201 | 2009-04-15 Nicolas Setton <setton@adacore.com> | |
4202 | ||
4203 | * sysdep.c: Add __APPLE__ in the list of systems where get_immediate | |
4204 | does not need to wait for a carriage return. | |
4205 | ||
4206 | 2009-04-15 Tristan Gingold <gingold@adacore.com> | |
4207 | ||
4208 | * bindgen.adb: Do not generate adafinal if No_Finalization restriction | |
4209 | is set. | |
4210 | ||
4211 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4212 | ||
4213 | * freeze.adb (Freeze_Entity): improve error message for improper use of | |
4214 | incomplete types. | |
4215 | Diagnose additional illegal uses of incomplete types in formal parts. | |
4216 | appearing in formal parts. | |
4217 | ||
4218 | * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto. | |
4219 | ||
4220 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
4221 | ||
4222 | * exp_ch4.adb (Expand_N_Allocator): Install test for object too large. | |
4223 | ||
442dd5fb NR |
4224 | 2009-04-15 Nicolas Roche <roche@adacore.com> |
4225 | ||
4226 | * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the | |
4227 | current thread. | |
4228 | ||
4229 | * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self | |
4230 | ||
4231 | * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB | |
4232 | ||
61bee0e3 AC |
4233 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
4234 | ||
4235 | * sem_ch4.adb: improve error message on exponentiation. | |
4236 | ||
4237 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
4238 | ||
4239 | * a-calend.adb: Move constant Epoch_Offset from package | |
4240 | Conversion_Operations to top level. | |
4241 | (Delay_Operations.To_Duration): Define a constant which represents | |
4242 | "end of time" and use it as a guard against very distant delay dates. | |
4243 | Protect the code against overflow when performing the origin shift to | |
4244 | Unix time. | |
4245 | ||
361effb1 AC |
4246 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
4247 | ||
4248 | * sem_prag.adb: Minor reformatting. | |
4249 | ||
4250 | * sem_type.adb: Minor reformatting | |
4251 | ||
4252 | 2009-04-15 Javier Miranda <miranda@adacore.com> | |
4253 | ||
4254 | * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing | |
4255 | support to check eliminated subprograms. | |
4256 | ||
4257 | * sem_elim.ads (Eliminate_Error_Msg): Update documentation. | |
4258 | ||
4259 | * sem_elim.adb (Set_Eliminated): Add support for elimination of | |
4260 | dispatching subprograms. | |
4261 | ||
4262 | * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive | |
4263 | operations. Initialize with "null" the slots of eliminated dispaching | |
4264 | primitives. | |
4265 | (Write_DT): Add output for eliminated primitives. | |
4266 | ||
4267 | * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives. | |
4268 | ||
f7ca1d04 AC |
4269 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
4270 | ||
4271 | * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit, | |
4272 | the second is redundant, regardless of scopes. | |
4273 | ||
4274 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
4275 | ||
4276 | * prj-nmsc.adb (Get_Directories): Check for sources before checking | |
4277 | the object directory as when there are no sources, they may not be any | |
4278 | object directory. | |
4279 | ||
4280 | * make.adb (Gnatmake): Do not attempt to get the path name of the exec | |
4281 | directory, when there are no exec directory. | |
4282 | ||
4283 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4284 | ||
4285 | * sem_type.adb (Remove_Conversions): In order to resolve spurious | |
4286 | ambiguities, refine removal of universal interpretations from complex | |
4287 | expressions with literal arguments, when some numeric operators have | |
4288 | been declared abstract. | |
4289 | ||
4290 | 2009-04-15 Ed Falis <falis@adacore.com> | |
4291 | ||
4292 | * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity | |
4293 | and backward compatibility for targets using probing for stack overflow | |
4294 | ||
4295 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4296 | ||
4297 | * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal | |
4298 | after any declaration, including renaming declarations. | |
4299 | ||
4bffd4e0 AC |
4300 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
4301 | ||
4302 | * gcc-interface/Make-lang.in: Update dependencies. | |
4303 | ||
4304 | * gcc-interface/Makefile.in: Fix VxWorks target pairs. | |
cbd8be94 | 4305 | Update xenomai target pairs. |
4bffd4e0 | 4306 | |
a523b302 JM |
4307 | 2009-04-15 Javier Miranda <miranda@adacore.com> |
4308 | ||
4309 | * exp_ch4.adb (Expand_N_Allocator): Code cleanup. | |
4310 | ||
4311 | * sem_ch6.adb (Check_Anonymous_Return): Add missing support for | |
4312 | functions returning anonymous access to class-wide limited types. Mark | |
4313 | also the containing scope as a task master. | |
4314 | ||
4315 | * sem_ch8.adb (Restore_Scope_Stack): Add missing management for | |
4316 | limited-withed packages. Required to restore their visibility after | |
4317 | processing packages associated with implicit with-clauses. | |
4318 | ||
4319 | * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters | |
4320 | associated with return statements because this work is now done by | |
4321 | Check_Anonymous_Return. | |
4322 | (Build_Master): Code cleanup. | |
4323 | ||
e358346d AC |
4324 | 2009-04-15 Thomas Quinot <quinot@adacore.com> |
4325 | ||
4326 | * sem_warn.ads: Minor reformatting | |
4327 | ||
4328 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4329 | ||
4330 | * sem_ch3.adb: better error message for illegal interfaces | |
4331 | ||
4332 | * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a | |
4333 | formal is an incomplete type from a limited_with clause. | |
4334 | ||
a9872a59 VC |
4335 | 2009-04-15 Vincent Celier <celier@adacore.com> |
4336 | ||
4337 | * prj-nmsc.adb (Locate_Directory): New Boolean parameter | |
4338 | Externally_Built indicating if the project is externally built. If it | |
4339 | is, and --subdirs is specified, but the subdir does not exist, look | |
4340 | for the specified directory, without the subdir. | |
4341 | ||
b8aadf01 AC |
4342 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> |
4343 | ||
4344 | * a-tasatt.adb: Fix typo, plus minor reformatting | |
4345 | ||
4346 | * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide"). | |
4347 | ||
4348 | * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible"). | |
4349 | ||
4350 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
4351 | ||
4352 | * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a | |
4353 | private extension whose parent is a synchronized interface carries an | |
4354 | explicit synchronized keyword. | |
4355 | ||
a808ba1b TQ |
4356 | 2009-04-15 Thomas Quinot <quinot@adacore.com> |
4357 | ||
4358 | * exp_smem.adb (Make_Shared_Var_Procs): For a protected type, | |
4359 | instantiate generic shared object package with the corresponding | |
4360 | record type. | |
4361 | ||
e0568eec AC |
4362 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
4363 | ||
4364 | * system-linux-sparc.ads: Remove obsolete entries. | |
4365 | ||
4366 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
4367 | ||
4368 | * s-tasuti.ads: Add ??? comment | |
4369 | ||
28450a75 ES |
4370 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
4371 | ||
4372 | * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access | |
4373 | type even if the designated type comes from a limited_with clause, to | |
4374 | ensure that the symbol for the finalization list of the access type is | |
4375 | created. | |
4376 | ||
b0d3b11d AC |
4377 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4378 | ||
4379 | * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases | |
4380 | for warning suppression. | |
4381 | ||
4382 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
4383 | ||
4384 | * sem_ch8.adb (Use_One_Type): If the two use_type clauses are | |
4385 | identical, there is no redudancy to check. | |
4386 | ||
4387 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
4388 | ||
4389 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant | |
4390 | calls initializing SS_Allocator (which is initialized in following | |
4391 | code). | |
4392 | (Expand_Simple_Function_Return): Add comment about False value for | |
4393 | Comes_From_Source on secondary-stack allocator. | |
4394 | ||
4395 | * exp_ch9.adb (Build_Entry_Family_Name): Add comment. | |
4396 | (Build_Entry_Name): Add comment. | |
4397 | ||
fad0600d AC |
4398 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4399 | ||
4400 | * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known | |
4401 | ||
4402 | * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower | |
4403 | bound tested, since this is now done more generally in Sem_Res. | |
4404 | ||
4405 | * sem_res.adb (Resolve_Comparison_Op): Add call to | |
4406 | Check_Lower_Bound_Tested. | |
4407 | (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested | |
4408 | ||
4409 | * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure | |
4410 | (Low_Bound_Tested): New name for Low_Bound_Known flag | |
4411 | ||
4412 | * exp_ch5.adb: Minor reformatting | |
4413 | ||
4414 | * exp_ch4.adb: | |
4415 | Add comments on copying the Comes_From_Source flag for allocators | |
4416 | ||
4417 | * sinfo.ads: | |
4418 | Add comments on copying the Comes_From_Source flag for allocators | |
4419 | ||
4420 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy | |
4421 | Comes_From_Source flag from old allocator to new one. | |
4422 | ||
4423 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
4424 | ||
4425 | * sem_ch6.ads: Address missing documentation query | |
4426 | ||
4427 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
4428 | ||
4429 | * prj-attr.adb: | |
4430 | Add new Linker attributes Max_Command_Line_Length, Response_File_Format | |
4431 | and Response_File_Switches. | |
4432 | ||
4433 | * prj-nmsc.adb (Process_Linker): Process new attributes | |
4434 | Max_Command_Line_Length, Response_File_Format and | |
4435 | Response_File_Switches. | |
4436 | ||
4437 | * prj.ads (Response_File_Format): New enumeration type | |
4438 | (Project_Configuration): New componants Max_Command_Line_Length, | |
4439 | Resp_File_Format and Resp_File_Options. | |
4440 | ||
4441 | * snames.ads-tmpl: Add new standard names for linking response files | |
4442 | for gprbuild: GNU, None, Object_List, Option_List, | |
4443 | Max_Command_Line_Length, Response_File_Format and | |
4444 | Response_File_Switches. | |
4445 | ||
4446 | 2009-04-10 Geert Bosch <bosch@adacore.com> | |
4447 | ||
4448 | * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads, | |
4449 | system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads, | |
4450 | system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads, | |
4451 | system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads, | |
4452 | system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads, | |
4453 | system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads, | |
4454 | system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads, | |
4455 | system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads, | |
4456 | system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads, | |
4457 | system-vxworks-arm.ads, system-vxworks-m68k.ads, | |
4458 | system-vxworks-mips.ads, system-vxworks-ppc.ads, | |
4459 | system-vxworks-sparcv9.ads, system-vxworks-x86.ads | |
4460 | (Backend_Overflow_Checks): Set to True. | |
4461 | ||
934a3a25 AC |
4462 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
4463 | ||
4464 | * exp_attr.adb: Minor reformatting | |
4465 | ||
4466 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
4467 | ||
4468 | * sem_prag.adb (Check_Precondition_Postcondition): Within a generic, | |
4469 | analyze the expression for a postcondition, even if the compiler mode | |
4470 | is Generate_Code. | |
4471 | ||
ab8e1b35 RD |
4472 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4473 | ||
4474 | * sem_aux.adb: Minor reformatting | |
4475 | ||
2c880bdf EF |
4476 | 2009-04-10 Ed Falis <falis@adacore.com> |
4477 | ||
4478 | * init.c: Change VxWorks 6 stack overflow checking for kernel apps. | |
4479 | ||
4480 | * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header. | |
4481 | ||
d8221f45 TQ |
4482 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
4483 | ||
4484 | * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for | |
4485 | undocumented formal. | |
4486 | Minor reformatting | |
4487 | ||
4488 | * a-direio.ads: Fix typo in comment | |
4489 | ||
4490 | * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb, | |
4491 | errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb: | |
4492 | Use uniform phrasing for comment at start of subprogram body. | |
4493 | ||
4494 | * xsnamest.adb: Add note to explain why we use specific names for the | |
4495 | newly generated files instead of generating snames.{ads,adb,h} directly | |
4496 | ||
f559e62f AC |
4497 | 2009-04-10 Sergey Rybin <rybin@adacore.com> |
4498 | ||
4499 | * vms_data.ads: | |
4500 | Add qualifier for new gnatstub option '--no-exception' | |
4501 | ||
4502 | * gnat_ugn.texi: | |
4503 | Add the description of the new gnatstub option '--no-exception' | |
4504 | ||
4505 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
4506 | ||
4507 | * rtsfind.adb: Minor reformatting | |
4508 | ||
4509 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
4510 | ||
4511 | * sem_disp.adb: Minor reformatting. | |
4512 | Add comment pointing to RM clause for the case of warning against a | |
4513 | (failed) attempt at declaring a primitive operation elsewhere than in a | |
4514 | package spec. | |
4515 | ||
4516 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
4517 | ||
4518 | * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is | |
4519 | an actual for a previous formal package of the current instance. | |
4520 | ||
e50e1c5e AC |
4521 | 2009-04-10 Bob Duff <duff@adacore.com> |
4522 | ||
4523 | * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs | |
4524 | them first, rather than on the extended main unit. | |
4525 | ||
4526 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
4527 | ||
4528 | * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant | |
4529 | specification of full view carries a null exclusion indicator, create | |
4530 | an itype for it, to check for conformance with partial view. | |
4531 | ||
cb736868 AC |
4532 | 2009-04-10 Bob Duff <duff@adacore.com> |
4533 | ||
4534 | * rtsfind.ads: Minor code change: make RE_Unit_Table constant. | |
4535 | ||
4536 | * rtsfind.adb: Minor comment changes, and remove useless code. | |
4537 | ||
4538 | * sinfo.ads: Add ??? comment. | |
4539 | ||
4540 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
4541 | ||
4542 | * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U | |
4543 | ||
8a78c50d AC |
4544 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> |
4545 | ||
4546 | * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged | |
4547 | type is a synchronized type, retrieve tag information from the | |
4548 | corresponding record, which has the dispatch table link. | |
4549 | ||
4550 | 2009-04-10 Jerome Lambourg <lambourg@adacore.com> | |
4551 | ||
4552 | * g-comlin.adb (Group_Analysis): Take care of switches that might be | |
4553 | decomposed afterwards, but are present as-is in the command line | |
4554 | configuration, and thus should be kept as-is. | |
4555 | ||
b66c3ff4 AC |
4556 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4557 | ||
4558 | * gnat_rm.texi: Document that postconditions are tested on implicit | |
4559 | returns. | |
4560 | ||
4561 | * sem_aux.adb: Minor reformatting | |
4562 | ||
4563 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
4564 | ||
4565 | * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when | |
4566 | setting Etype. | |
4567 | ||
4568 | * par-ch3.adb (P_Access_Type_Definition): Set new attribute | |
4569 | Null_Exclusion_In_Return_Present when an access-to-function type has a | |
4570 | result type with an explicit not null. | |
4571 | ||
4572 | * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is | |
4573 | given on the result type, then create a null-excluding itype for the | |
4574 | function. | |
4575 | ||
4576 | * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in | |
4577 | the case where a null exclusion is imposed on a named access type. | |
4578 | (Analyze_Subprogram_Specification): Push and pop the scope of the | |
4579 | function around the call to Analyze_Return_Type in the case of no | |
4580 | formals, for consistency with handling when formals are present | |
4581 | (Process_Formals does this). Ensures that any itype created for the | |
4582 | return type will be associated with the proper scope. | |
4583 | ||
4584 | * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null | |
4585 | exclusion is given on a generic function's result type, then create a | |
4586 | null-excluding itype for the generic function. | |
4587 | (Instantiate_Object): Set Null_Exclusion_Present of a constant created | |
4588 | for an actual for a formal in object according to the setting on the | |
4589 | formal. Ensures null exclusion checks are done when the association is | |
4590 | elaborated. | |
4591 | ||
4592 | * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on | |
4593 | N_Access_Function_Definition. | |
4594 | ||
4595 | * sinfo.adb: Add Get_ and Set_ operations for | |
4596 | Null_Exclusion_In_Return_Present. | |
4597 | ||
5334d18f BD |
4598 | 2009-04-10 Bob Duff <duff@adacore.com> |
4599 | ||
4600 | * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a | |
4601 | call to the _Postconditions procedure in the case of implicit returns | |
4602 | from analysis to expansion. This eliminates some duplicated code. Use | |
4603 | the Postcondition_Proc to find the identity of this procedure during | |
4604 | expansion. | |
4605 | ||
701b7fbb RD |
4606 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4607 | ||
4608 | * sem_ch6.adb: Minor code clean up. | |
4609 | ||
4610 | * einfo.ads, sem_attr.adb: Minor comment fixes. | |
4611 | ||
4612 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
4613 | ||
4614 | * sem_ch8.adb: Minor reformatting | |
4615 | ||
7ca78bba RD |
4616 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4617 | ||
4618 | * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for | |
4619 | procedures. | |
4620 | ||
4621 | * sem_ch6.adb: Minor code clean up. | |
4622 | ||
043ce308 AC |
4623 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4624 | ||
4625 | * mlib-tgt-specific-xi.adb: Minor reformatting | |
4626 | ||
4627 | 2009-04-10 Bob Duff <duff@adacore.com> | |
4628 | ||
4629 | * einfo.ads: Minor comment fixes | |
4630 | ||
4631 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
4632 | ||
4633 | * snames.ads-tmpl: Remove names that are no longer used in the | |
4634 | Project Manager. | |
4635 | Mark specifically those that are used only in gprbuild | |
4636 | ||
4637 | 2009-04-10 Eric Botcazou <ebotcazou@adacore.com> | |
4638 | ||
4639 | * init.c: Adjust EH support code on Alpha/Tru64. | |
4640 | ||
4641 | 2009-04-10 Bob Duff <duff@adacore.com> | |
4642 | ||
4643 | * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions | |
4644 | procedure on every path that could return implicitly (not via a return | |
4645 | statement) from a procedure. | |
4646 | ||
4647 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
4648 | ||
4649 | * exp_ch9.adb (Build_Master_Entity): An extended return statement is a | |
4650 | valid scope for a task declarations and therefore for a master id. | |
4651 | ||
4652 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
4653 | ||
4654 | * sem_aux.adb: Minor reformatting | |
4655 | ||
4656 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
4657 | ||
4658 | * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to | |
4659 | True. | |
4660 | (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False | |
4661 | (Set_Obsolescent_Check): New procedure to change the value of | |
4662 | Obsolescent_Check_Flag. | |
4663 | ||
4664 | * scn.ads (Set_Obsolescent_Check): New procedure to control | |
4665 | Obsolescent_Check. | |
4666 | ||
4667 | * sinput-l.adb (Load_File): Do not check for pragma Restrictions on | |
4668 | obsolescent features while preprocessing. | |
4669 | ||
550f4135 AC |
4670 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
4671 | ||
4672 | * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in | |
4673 | generated files on all platforms. | |
4674 | ||
4675 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
4676 | ||
4677 | * sem_aux.adb: Minor reformatting | |
4678 | ||
4679 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
4680 | ||
4681 | * sem_ch3.adb (Access_Definition): Handle properly the case of a | |
4682 | protected function with formals that returns an anonymous access type. | |
4683 | ||
4684 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
4685 | ||
4686 | * sem_disp.adb: Minor reformatting | |
4687 | ||
4688 | 2009-04-10 Vasiliy Fofanov <fofanov@adacore.com> | |
4689 | ||
4690 | * seh_init.c: Do not use the 32-bit specific implementation of | |
4691 | __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific | |
4692 | version TBD). | |
4693 | ||
4694 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
4695 | ||
4696 | * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain | |
4697 | a '/' at the end so we better use the complete target name to determine | |
4698 | whether it is a PowerPC 55xx target. | |
4699 | ||
3996951a TQ |
4700 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
4701 | ||
4702 | * sem_eval.adb: Minor reformatting | |
4703 | ||
b62a90f2 AC |
4704 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
4705 | ||
4706 | * snames.h, snames.ads, snames.adb: Remove files, now generated from | |
4707 | templates. | |
4708 | ||
4709 | * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the | |
4710 | above. | |
4711 | ||
4712 | * xsnamest.adb: New file. | |
4713 | ||
4714 | * gcc-interface/Make-lang.in: New target for automated generation of | |
4715 | snames.ads, snames.adb and snames.h | |
4716 | ||
62298c61 TG |
4717 | 2009-04-10 Tristan Gingold <gingold@adacore.com> |
4718 | ||
4719 | * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to | |
4720 | avoid compile time warnings. | |
4721 | Do not add gcc/config in include search list while compiling the RTS. | |
4722 | Pragma Thread_Local_Storage is available on any target. | |
4723 | ||
3764bb00 BD |
4724 | 2009-04-10 Bob Duff <duff@adacore.com> |
4725 | ||
4726 | * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes. | |
4727 | ||
b3b9865d AC |
4728 | 2009-04-10 Tristan Gingold <gingold@adacore.com> |
4729 | ||
4730 | * init.c: Install signal handler on Darwin. | |
4731 | ||
4732 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
4733 | ||
4734 | * sem_prag.adb: Minor reformatting | |
4735 | ||
4736 | * exp_util.adb (Make_Non_Empty_Check): New function | |
4737 | (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check | |
4738 | (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check | |
4739 | ||
4740 | 2009-04-10 Arnaud Charlet <charlet@adacore.com> | |
4741 | ||
4742 | * make.adb, gnatlink.adb: Rename JGNAT toolchain. | |
4743 | ||
4744 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
4745 | ||
4746 | * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate | |
4747 | tool prefix for AVR and PowerPC 55xx targets. | |
4748 | ||
4749 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
4750 | ||
4751 | * sem_warn.adb (Within_Postcondition): New function | |
4752 | (Check_Unset_Reference): Use Within_Postcondition to stop bad warning | |
4753 | ||
c5288c90 AC |
4754 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4755 | ||
4756 | * sem_warn.adb: Minor reformatting | |
4757 | ||
4758 | * make.adb: Minor reformatting. | |
4759 | ||
4760 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
4761 | ||
4762 | * exp_ch7.adb (Find_Final_List): When creating a finalization-chain | |
4763 | entity and the scope is a subprogram, retrieve the Sloc of the | |
4764 | subprogram's body rather than using the sloc of the spec, for better | |
4765 | line-stepping behavior in gdb. | |
4766 | (Wrap_Transient_Declaration): For the Sloc of nodes created with a list | |
4767 | controller, use the Sloc of the first declaration of the containing list | |
4768 | rather than that of the node that triggered creation of the list | |
4769 | controller. | |
4770 | ||
2844b330 AC |
4771 | 2009-04-10 Vincent Celier <celier@adacore.com> |
4772 | ||
4773 | * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing | |
4774 | to avoid gcc warning. | |
4775 | ||
4776 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
4777 | ||
4778 | * g-comlin.adb: Add ??? comment | |
4779 | ||
4780 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
4781 | ||
4782 | * sem_warn.adb (Check_Unused_Withs): Do not emit message about | |
4783 | unreferenced entities for a package with no visible declarations. | |
4784 | ||
4785 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
4786 | ||
4787 | * exp_ch9.adb: Minor reformatting | |
4788 | ||
be21e9d8 AC |
4789 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
4790 | ||
4791 | * sem_prag.adb: Minor reformatting | |
4792 | ||
4793 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
4794 | ||
4795 | * prj-nmsc.adb: | |
4796 | (Check_Library_Attributes): For a project qualified as a library project | |
4797 | that is not a library project, indicate in the error message which | |
4798 | attributes are missing (Library_Dir and/or Library_Name). | |
4799 | ||
4a7dedcb BD |
4800 | 2009-04-10 Bob Duff <duff@adacore.com> |
4801 | ||
4802 | * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of | |
4803 | generated nodes, because it might confuse various circuits in the FE. | |
4804 | ||
4017021b AC |
4805 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> |
4806 | ||
4807 | * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument | |
4808 | of pragma. It will be recopied and analyzed when used in call to | |
4809 | Create_Task. | |
4810 | ||
4811 | * sem_res.adb (Resolve_Call): Clarify use of secondary stack within | |
4812 | initialization operations and recognize use of it in procedure calls | |
4813 | within init_procs. | |
4814 | ||
4815 | * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name | |
4816 | argument, because it may have side-effects. | |
4817 | ||
4818 | * exp_ch2.adb: Remove obsolete comments on default functions | |
4819 | ||
4820 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
4821 | ||
4822 | * adaint.c (RTX section): Do for RTX the same thing as we do for | |
4823 | Windows (include ctype.h and define a fallback ISALPHA if IN_RTS). | |
4824 | ||
24357840 RD |
4825 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4826 | ||
4827 | * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function. | |
4828 | ||
4829 | * sem_res.adb (Resolve_Call): Fix test for | |
4830 | Suppress_Value_Tracking_On_Call (was wrong for the case of a call from | |
4831 | a non-dynamic scope). | |
4832 | ||
4f64abad AC |
4833 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
4834 | ||
4835 | * make.adb: Add comment. | |
4836 | Minor reformatting | |
4837 | ||
4838 | 2009-04-10 Nicolas Setton <setton@adacore.com> | |
4839 | ||
4840 | * s-osprim-darwin.adb: New file. | |
4841 | ||
4842 | * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec. | |
4843 | ||
4844 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
4845 | ||
4846 | * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set | |
4847 | ||
748086b7 JJ |
4848 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
4849 | ||
4850 | * adadecode.h: Change copyright header to refer to version | |
4851 | 3 of the GNU General Public License with version 3.1 of the | |
4852 | GCC Runtime Library Exception and to point readers at the | |
4853 | COPYING3 and COPYING3.RUNTIME files and the FSF's license web | |
4854 | page. | |
4855 | * 9drpc.adb: Likewise. | |
4856 | * a-assert.adb: Likewise. | |
4857 | * a-astaco.adb: Likewise. | |
4858 | * a-calari.adb: Likewise. | |
4859 | * a-calcon.adb: Likewise. | |
4860 | * a-calcon.ads: Likewise. | |
4861 | * a-caldel.ads: Likewise. | |
4862 | * a-calend-vms.adb: Likewise. | |
4863 | * a-calend-vms.ads: Likewise. | |
4864 | * a-calend.adb: Likewise. | |
4865 | * a-calend.ads: Likewise. | |
4866 | * a-calfor.adb: Likewise. | |
4867 | * a-catizo.adb: Likewise. | |
4868 | * a-cdlili.adb: Likewise. | |
4869 | * a-cdlili.ads: Likewise. | |
4870 | * a-cgaaso.adb: Likewise. | |
4871 | * a-cgaaso.ads: Likewise. | |
4872 | * a-cgarso.adb: Likewise. | |
4873 | * a-cgcaso.adb: Likewise. | |
4874 | * a-chacon.adb: Likewise. | |
4875 | * a-chacon.ads: Likewise. | |
4876 | * a-chahan.adb: Likewise. | |
4877 | * a-chahan.ads: Likewise. | |
4878 | * a-chlat9.ads: Likewise. | |
4879 | * a-chtgke.adb: Likewise. | |
4880 | * a-chtgke.ads: Likewise. | |
4881 | * a-chtgop.adb: Likewise. | |
4882 | * a-chtgop.ads: Likewise. | |
4883 | * a-chzla1.ads: Likewise. | |
4884 | * a-chzla9.ads: Likewise. | |
4885 | * a-cidlli.adb: Likewise. | |
4886 | * a-cidlli.ads: Likewise. | |
4887 | * a-cihama.adb: Likewise. | |
4888 | * a-cihama.ads: Likewise. | |
4889 | * a-cihase.adb: Likewise. | |
4890 | * a-cihase.ads: Likewise. | |
4891 | * a-ciorma.adb: Likewise. | |
4892 | * a-ciorma.ads: Likewise. | |
4893 | * a-ciormu.adb: Likewise. | |
4894 | * a-ciormu.ads: Likewise. | |
4895 | * a-ciorse.adb: Likewise. | |
4896 | * a-ciorse.ads: Likewise. | |
4897 | * a-clrefi.adb: Likewise. | |
4898 | * a-clrefi.ads: Likewise. | |
4899 | * a-cohama.adb: Likewise. | |
4900 | * a-cohama.ads: Likewise. | |
4901 | * a-cohase.adb: Likewise. | |
4902 | * a-cohase.ads: Likewise. | |
4903 | * a-cohata.ads: Likewise. | |
4904 | * a-coinve.adb: Likewise. | |
4905 | * a-coinve.ads: Likewise. | |
4906 | * a-colien.adb: Likewise. | |
4907 | * a-colien.ads: Likewise. | |
4908 | * a-colire.adb: Likewise. | |
4909 | * a-colire.ads: Likewise. | |
4910 | * a-comlin.adb: Likewise. | |
4911 | * a-comlin.ads: Likewise. | |
4912 | * a-convec.adb: Likewise. | |
4913 | * a-convec.ads: Likewise. | |
4914 | * a-coorma.adb: Likewise. | |
4915 | * a-coorma.ads: Likewise. | |
4916 | * a-coormu.adb: Likewise. | |
4917 | * a-coormu.ads: Likewise. | |
4918 | * a-coorse.adb: Likewise. | |
4919 | * a-coorse.ads: Likewise. | |
4920 | * a-coprnu.adb: Likewise. | |
4921 | * a-coprnu.ads: Likewise. | |
4922 | * a-crbltr.ads: Likewise. | |
4923 | * a-crbtgk.adb: Likewise. | |
4924 | * a-crbtgk.ads: Likewise. | |
4925 | * a-crbtgo.adb: Likewise. | |
4926 | * a-crbtgo.ads: Likewise. | |
4927 | * a-crdlli.adb: Likewise. | |
4928 | * a-crdlli.ads: Likewise. | |
4929 | * a-cwila1.ads: Likewise. | |
4930 | * a-cwila9.ads: Likewise. | |
4931 | * a-decima.adb: Likewise. | |
4932 | * a-decima.ads: Likewise. | |
4933 | * a-diocst.adb: Likewise. | |
4934 | * a-diocst.ads: Likewise. | |
4935 | * a-direct.adb: Likewise. | |
4936 | * a-direct.ads: Likewise. | |
4937 | * a-direio.adb: Likewise. | |
4938 | * a-direio.ads: Likewise. | |
4939 | * a-dirval-mingw.adb: Likewise. | |
4940 | * a-dirval-vms.adb: Likewise. | |
4941 | * a-dirval.adb: Likewise. | |
4942 | * a-dirval.ads: Likewise. | |
4943 | * a-dynpri.adb: Likewise. | |
4944 | * a-einuoc.adb: Likewise. | |
4945 | * a-einuoc.ads: Likewise. | |
4946 | * a-elchha.adb: Likewise. | |
4947 | * a-elchha.ads: Likewise. | |
4948 | * a-envvar.adb: Likewise. | |
4949 | * a-excach.adb: Likewise. | |
4950 | * a-except-2005.adb: Likewise. | |
4951 | * a-except-2005.ads: Likewise. | |
4952 | * a-except.adb: Likewise. | |
4953 | * a-except.ads: Likewise. | |
4954 | * a-excpol-abort.adb: Likewise. | |
4955 | * a-excpol.adb: Likewise. | |
4956 | * a-exctra.adb: Likewise. | |
4957 | * a-exctra.ads: Likewise. | |
4958 | * a-exetim-mingw.adb: Likewise. | |
4959 | * a-exetim-mingw.ads: Likewise. | |
4960 | * a-exexda.adb: Likewise. | |
4961 | * a-exexpr-gcc.adb: Likewise. | |
4962 | * a-exexpr.adb: Likewise. | |
4963 | * a-exextr.adb: Likewise. | |
4964 | * a-exstat.adb: Likewise. | |
4965 | * a-filico.adb: Likewise. | |
4966 | * a-filico.ads: Likewise. | |
4967 | * a-finali.adb: Likewise. | |
4968 | * a-finali.ads: Likewise. | |
4969 | * a-interr.ads: Likewise. | |
4970 | * a-intnam-aix.ads: Likewise. | |
4971 | * a-intnam-darwin.ads: Likewise. | |
4972 | * a-intnam-dummy.ads: Likewise. | |
4973 | * a-intnam-freebsd.ads: Likewise. | |
4974 | * a-intnam-hpux.ads: Likewise. | |
4975 | * a-intnam-irix.ads: Likewise. | |
4976 | * a-intnam-linux.ads: Likewise. | |
4977 | * a-intnam-lynxos.ads: Likewise. | |
4978 | * a-intnam-mingw.ads: Likewise. | |
4979 | * a-intnam-rtems.ads: Likewise. | |
4980 | * a-intnam-solaris.ads: Likewise. | |
4981 | * a-intnam-tru64.ads: Likewise. | |
4982 | * a-intnam-vms.ads: Likewise. | |
4983 | * a-intnam-vxworks.ads: Likewise. | |
4984 | * a-intsig.adb: Likewise. | |
4985 | * a-intsig.ads: Likewise. | |
4986 | * a-ngcefu.adb: Likewise. | |
4987 | * a-ngcoar.adb: Likewise. | |
4988 | * a-ngcoty.adb: Likewise. | |
4989 | * a-ngcoty.ads: Likewise. | |
4990 | * a-ngelfu.adb: Likewise. | |
4991 | * a-ngrear.adb: Likewise. | |
4992 | * a-ngrear.ads: Likewise. | |
4993 | * a-nudira.adb: Likewise. | |
4994 | * a-nudira.ads: Likewise. | |
4995 | * a-nuflra.adb: Likewise. | |
4996 | * a-nuflra.ads: Likewise. | |
4997 | * a-numaux-darwin.adb: Likewise. | |
4998 | * a-numaux-darwin.ads: Likewise. | |
4999 | * a-numaux-libc-x86.ads: Likewise. | |
5000 | * a-numaux-vxworks.ads: Likewise. | |
5001 | * a-numaux-x86.adb: Likewise. | |
5002 | * a-numaux-x86.ads: Likewise. | |
5003 | * a-numaux.ads: Likewise. | |
5004 | * a-rbtgso.adb: Likewise. | |
5005 | * a-rbtgso.ads: Likewise. | |
5006 | * a-reatim.ads: Likewise. | |
5007 | * a-retide.adb: Likewise. | |
5008 | * a-retide.ads: Likewise. | |
5009 | * a-rttiev.adb: Likewise. | |
5010 | * a-rttiev.ads: Likewise. | |
5011 | * a-secain.adb: Likewise. | |
5012 | * a-secain.ads: Likewise. | |
5013 | * a-sequio.adb: Likewise. | |
5014 | * a-sequio.ads: Likewise. | |
5015 | * a-shcain.adb: Likewise. | |
5016 | * a-shcain.ads: Likewise. | |
5017 | * a-siocst.adb: Likewise. | |
5018 | * a-siocst.ads: Likewise. | |
5019 | * a-slcain.adb: Likewise. | |
5020 | * a-slcain.ads: Likewise. | |
5021 | * a-ssicst.adb: Likewise. | |
5022 | * a-ssicst.ads: Likewise. | |
5023 | * a-stboha.adb: Likewise. | |
5024 | * a-stmaco.ads: Likewise. | |
5025 | * a-storio.adb: Likewise. | |
5026 | * a-strbou.adb: Likewise. | |
5027 | * a-strbou.ads: Likewise. | |
5028 | * a-stream.ads: Likewise. | |
5029 | * a-strfix.adb: Likewise. | |
5030 | * a-strhas.adb: Likewise. | |
5031 | * a-strmap.adb: Likewise. | |
5032 | * a-strmap.ads: Likewise. | |
5033 | * a-strsea.adb: Likewise. | |
5034 | * a-strsea.ads: Likewise. | |
5035 | * a-strsup.adb: Likewise. | |
5036 | * a-strsup.ads: Likewise. | |
5037 | * a-strunb.adb: Likewise. | |
5038 | * a-strunb.ads: Likewise. | |
5039 | * a-ststio.adb: Likewise. | |
5040 | * a-ststio.ads: Likewise. | |
5041 | * a-stunau.adb: Likewise. | |
5042 | * a-stunau.ads: Likewise. | |
5043 | * a-stunha.adb: Likewise. | |
5044 | * a-stwibo.adb: Likewise. | |
5045 | * a-stwibo.ads: Likewise. | |
5046 | * a-stwifi.adb: Likewise. | |
5047 | * a-stwiha.adb: Likewise. | |
5048 | * a-stwima.adb: Likewise. | |
5049 | * a-stwima.ads: Likewise. | |
5050 | * a-stwise.adb: Likewise. | |
5051 | * a-stwise.ads: Likewise. | |
5052 | * a-stwisu.adb: Likewise. | |
5053 | * a-stwisu.ads: Likewise. | |
5054 | * a-stwiun.adb: Likewise. | |
5055 | * a-stwiun.ads: Likewise. | |
5056 | * a-stzbou.adb: Likewise. | |
5057 | * a-stzbou.ads: Likewise. | |
5058 | * a-stzfix.adb: Likewise. | |
5059 | * a-stzhas.adb: Likewise. | |
5060 | * a-stzmap.adb: Likewise. | |
5061 | * a-stzmap.ads: Likewise. | |
5062 | * a-stzsea.adb: Likewise. | |
5063 | * a-stzsea.ads: Likewise. | |
5064 | * a-stzsup.adb: Likewise. | |
5065 | * a-stzsup.ads: Likewise. | |
5066 | * a-stzunb.adb: Likewise. | |
5067 | * a-stzunb.ads: Likewise. | |
5068 | * a-suteio.adb: Likewise. | |
5069 | * a-suteio.ads: Likewise. | |
5070 | * a-swbwha.adb: Likewise. | |
5071 | * a-swmwco.ads: Likewise. | |
5072 | * a-swunau.adb: Likewise. | |
5073 | * a-swunau.ads: Likewise. | |
5074 | * a-swuwha.adb: Likewise. | |
5075 | * a-swuwti.adb: Likewise. | |
5076 | * a-swuwti.ads: Likewise. | |
5077 | * a-sytaco.adb: Likewise. | |
5078 | * a-sytaco.ads: Likewise. | |
5079 | * a-szbzha.adb: Likewise. | |
5080 | * a-szmzco.ads: Likewise. | |
5081 | * a-szunau.adb: Likewise. | |
5082 | * a-szunau.ads: Likewise. | |
5083 | * a-szuzha.adb: Likewise. | |
5084 | * a-szuzti.adb: Likewise. | |
5085 | * a-szuzti.ads: Likewise. | |
5086 | * a-tags.adb: Likewise. | |
5087 | * a-tags.ads: Likewise. | |
5088 | * a-tasatt.ads: Likewise. | |
5089 | * a-taside.adb: Likewise. | |
5090 | * a-taside.ads: Likewise. | |
5091 | * a-taster.adb: Likewise. | |
5092 | * a-teioed.adb: Likewise. | |
5093 | * a-teioed.ads: Likewise. | |
5094 | * a-textio.adb: Likewise. | |
5095 | * a-textio.ads: Likewise. | |
5096 | * a-tiboio.adb: Likewise. | |
5097 | * a-ticoau.adb: Likewise. | |
5098 | * a-ticoau.ads: Likewise. | |
5099 | * a-ticoio.adb: Likewise. | |
5100 | * a-ticoio.ads: Likewise. | |
5101 | * a-tideau.adb: Likewise. | |
5102 | * a-tideau.ads: Likewise. | |
5103 | * a-tideio.adb: Likewise. | |
5104 | * a-tideio.ads: Likewise. | |
5105 | * a-tienau.adb: Likewise. | |
5106 | * a-tienau.ads: Likewise. | |
5107 | * a-tienio.adb: Likewise. | |
5108 | * a-tienio.ads: Likewise. | |
5109 | * a-tifiio.adb: Likewise. | |
5110 | * a-tifiio.ads: Likewise. | |
5111 | * a-tiflau.adb: Likewise. | |
5112 | * a-tiflau.ads: Likewise. | |
5113 | * a-tiflio.adb: Likewise. | |
5114 | * a-tiflio.ads: Likewise. | |
5115 | * a-tigeau.adb: Likewise. | |
5116 | * a-tigeau.ads: Likewise. | |
5117 | * a-tiinau.adb: Likewise. | |
5118 | * a-tiinau.ads: Likewise. | |
5119 | * a-tiinio.adb: Likewise. | |
5120 | * a-tiinio.ads: Likewise. | |
5121 | * a-timoau.adb: Likewise. | |
5122 | * a-timoau.ads: Likewise. | |
5123 | * a-timoio.adb: Likewise. | |
5124 | * a-timoio.ads: Likewise. | |
5125 | * a-tiocst.adb: Likewise. | |
5126 | * a-tiocst.ads: Likewise. | |
5127 | * a-titest.adb: Likewise. | |
5128 | * a-wichun.adb: Likewise. | |
5129 | * a-wichun.ads: Likewise. | |
5130 | * a-witeio.adb: Likewise. | |
5131 | * a-witeio.ads: Likewise. | |
5132 | * a-wtcoau.adb: Likewise. | |
5133 | * a-wtcoau.ads: Likewise. | |
5134 | * a-wtcoio.adb: Likewise. | |
5135 | * a-wtcstr.adb: Likewise. | |
5136 | * a-wtcstr.ads: Likewise. | |
5137 | * a-wtdeau.adb: Likewise. | |
5138 | * a-wtdeau.ads: Likewise. | |
5139 | * a-wtdeio.adb: Likewise. | |
5140 | * a-wtdeio.ads: Likewise. | |
5141 | * a-wtedit.adb: Likewise. | |
5142 | * a-wtedit.ads: Likewise. | |
5143 | * a-wtenau.adb: Likewise. | |
5144 | * a-wtenau.ads: Likewise. | |
5145 | * a-wtenio.adb: Likewise. | |
5146 | * a-wtenio.ads: Likewise. | |
5147 | * a-wtfiio.adb: Likewise. | |
5148 | * a-wtfiio.ads: Likewise. | |
5149 | * a-wtflau.adb: Likewise. | |
5150 | * a-wtflau.ads: Likewise. | |
5151 | * a-wtflio.adb: Likewise. | |
5152 | * a-wtflio.ads: Likewise. | |
5153 | * a-wtgeau.adb: Likewise. | |
5154 | * a-wtgeau.ads: Likewise. | |
5155 | * a-wtinau.adb: Likewise. | |
5156 | * a-wtinau.ads: Likewise. | |
5157 | * a-wtinio.adb: Likewise. | |
5158 | * a-wtmoau.adb: Likewise. | |
5159 | * a-wtmoau.ads: Likewise. | |
5160 | * a-wtmoio.adb: Likewise. | |
5161 | * a-wtmoio.ads: Likewise. | |
5162 | * a-wttest.adb: Likewise. | |
5163 | * a-wwboio.adb: Likewise. | |
5164 | * a-zchuni.adb: Likewise. | |
5165 | * a-zchuni.ads: Likewise. | |
5166 | * a-ztcoau.adb: Likewise. | |
5167 | * a-ztcoau.ads: Likewise. | |
5168 | * a-ztcoio.adb: Likewise. | |
5169 | * a-ztcstr.adb: Likewise. | |
5170 | * a-ztcstr.ads: Likewise. | |
5171 | * a-ztdeau.adb: Likewise. | |
5172 | * a-ztdeau.ads: Likewise. | |
5173 | * a-ztdeio.adb: Likewise. | |
5174 | * a-ztdeio.ads: Likewise. | |
5175 | * a-ztedit.adb: Likewise. | |
5176 | * a-ztedit.ads: Likewise. | |
5177 | * a-ztenau.adb: Likewise. | |
5178 | * a-ztenau.ads: Likewise. | |
5179 | * a-ztenio.adb: Likewise. | |
5180 | * a-ztenio.ads: Likewise. | |
5181 | * a-ztexio.adb: Likewise. | |
5182 | * a-ztexio.ads: Likewise. | |
5183 | * a-ztfiio.adb: Likewise. | |
5184 | * a-ztfiio.ads: Likewise. | |
5185 | * a-ztflau.adb: Likewise. | |
5186 | * a-ztflau.ads: Likewise. | |
5187 | * a-ztflio.adb: Likewise. | |
5188 | * a-ztflio.ads: Likewise. | |
5189 | * a-ztgeau.adb: Likewise. | |
5190 | * a-ztgeau.ads: Likewise. | |
5191 | * a-ztinau.adb: Likewise. | |
5192 | * a-ztinau.ads: Likewise. | |
5193 | * a-ztinio.adb: Likewise. | |
5194 | * a-ztmoau.adb: Likewise. | |
5195 | * a-ztmoau.ads: Likewise. | |
5196 | * a-ztmoio.adb: Likewise. | |
5197 | * a-ztmoio.ads: Likewise. | |
5198 | * a-zttest.adb: Likewise. | |
5199 | * a-zzboio.adb: Likewise. | |
5200 | * adadecode.c: Likewise. | |
5201 | * adaint.c: Likewise. | |
5202 | * adaint.h: Likewise. | |
5203 | * alloc.ads: Likewise. | |
5204 | * argv.c: Likewise. | |
5205 | * arit64.c: Likewise. | |
5206 | * atree.adb: Likewise. | |
5207 | * atree.ads: Likewise. | |
5208 | * aux-io.c: Likewise. | |
5209 | * cal.c: Likewise. | |
5210 | * casing.adb: Likewise. | |
5211 | * casing.ads: Likewise. | |
5212 | * cio.c: Likewise. | |
5213 | * csets.adb: Likewise. | |
5214 | * csets.ads: Likewise. | |
5215 | * cstreams.c: Likewise. | |
5216 | * ctrl_c.c: Likewise. | |
5217 | * debug.adb: Likewise. | |
5218 | * debug.ads: Likewise. | |
5219 | * dec.ads: Likewise. | |
5220 | * einfo.adb: Likewise. | |
5221 | * einfo.ads: Likewise. | |
5222 | * elists.adb: Likewise. | |
5223 | * elists.ads: Likewise. | |
5224 | * env.c: Likewise. | |
5225 | * env.h: Likewise. | |
5226 | * errno.c: Likewise. | |
5227 | * exit.c: Likewise. | |
5228 | * fe.h: Likewise. | |
5229 | * final.c: Likewise. | |
5230 | * fname.adb: Likewise. | |
5231 | * fname.ads: Likewise. | |
5232 | * g-allein.ads: Likewise. | |
5233 | * g-alleve.adb: Likewise. | |
5234 | * g-alleve.ads: Likewise. | |
5235 | * g-altcon.adb: Likewise. | |
5236 | * g-altcon.ads: Likewise. | |
5237 | * g-altive.ads: Likewise. | |
5238 | * g-alveop.adb: Likewise. | |
5239 | * g-alveop.ads: Likewise. | |
5240 | * g-alvety.ads: Likewise. | |
5241 | * g-alvevi.ads: Likewise. | |
5242 | * g-arrspl.adb: Likewise. | |
5243 | * g-arrspl.ads: Likewise. | |
5244 | * g-calend.ads: Likewise. | |
5245 | * g-comlin.adb: Likewise. | |
5246 | * g-debpoo.adb: Likewise. | |
5247 | * g-debpoo.ads: Likewise. | |
5248 | * g-eacodu-vms.adb: Likewise. | |
5249 | * g-eacodu.adb: Likewise. | |
5250 | * g-excact.adb: Likewise. | |
5251 | * g-excact.ads: Likewise. | |
5252 | * g-locfil.adb: Likewise. | |
5253 | * g-os_lib.ads: Likewise. | |
5254 | * g-rannum.adb: Likewise. | |
5255 | * g-rannum.ads: Likewise. | |
5256 | * g-regist.adb: Likewise. | |
5257 | * g-regist.ads: Likewise. | |
5258 | * g-signal.adb: Likewise. | |
5259 | * g-signal.ads: Likewise. | |
5260 | * g-soccon.ads: Likewise. | |
5261 | * g-string.adb: Likewise. | |
5262 | * g-string.ads: Likewise. | |
5263 | * g-strspl.ads: Likewise. | |
5264 | * g-timsta.adb: Likewise. | |
5265 | * g-timsta.ads: Likewise. | |
5266 | * g-trasym-vms-alpha.adb: Likewise. | |
5267 | * g-trasym-vms-ia64.adb: Likewise. | |
5268 | * g-utf_32.adb: Likewise. | |
5269 | * g-utf_32.ads: Likewise. | |
5270 | * g-wistsp.ads: Likewise. | |
5271 | * g-zstspl.ads: Likewise. | |
5272 | * gmem.c: Likewise. | |
5273 | * gnatvsn.adb: Likewise. | |
5274 | * gnatvsn.ads: Likewise. | |
5275 | * gsocket.h: Likewise. | |
5276 | * hostparm.ads: Likewise. | |
5277 | * i-c.adb: Likewise. | |
5278 | * i-cexten.ads: Likewise. | |
5279 | * i-cobol.adb: Likewise. | |
5280 | * i-cobol.ads: Likewise. | |
5281 | * i-cpoint.adb: Likewise. | |
5282 | * i-cpoint.ads: Likewise. | |
5283 | * i-cpp.adb: Likewise. | |
5284 | * i-cpp.ads: Likewise. | |
5285 | * i-cstrea-vms.adb: Likewise. | |
5286 | * i-cstrea.adb: Likewise. | |
5287 | * i-cstrea.ads: Likewise. | |
5288 | * i-cstrin.adb: Likewise. | |
5289 | * i-cstrin.ads: Likewise. | |
5290 | * i-forbla-darwin.adb: Likewise. | |
5291 | * i-forbla-unimplemented.ads: Likewise. | |
5292 | * i-forbla.adb: Likewise. | |
5293 | * i-forbla.ads: Likewise. | |
5294 | * i-forlap.ads: Likewise. | |
5295 | * i-fortra.adb: Likewise. | |
5296 | * i-pacdec.adb: Likewise. | |
5297 | * i-pacdec.ads: Likewise. | |
5298 | * i-vxwoio.adb: Likewise. | |
5299 | * i-vxwoio.ads: Likewise. | |
5300 | * indepsw-aix.adb: Likewise. | |
5301 | * indepsw-gnu.adb: Likewise. | |
5302 | * indepsw-mingw.adb: Likewise. | |
5303 | * indepsw.adb: Likewise. | |
5304 | * indepsw.ads: Likewise. | |
5305 | * init.c: Likewise. | |
5306 | * initialize.c: Likewise. | |
5307 | * interfac.ads: Likewise. | |
5308 | * krunch.adb: Likewise. | |
5309 | * krunch.ads: Likewise. | |
5310 | * lib-list.adb: Likewise. | |
5311 | * lib-sort.adb: Likewise. | |
5312 | * lib.adb: Likewise. | |
5313 | * lib.ads: Likewise. | |
5314 | * link.c: Likewise. | |
5315 | * math_lib.adb: Likewise. | |
5316 | * memtrack.adb: Likewise. | |
5317 | * mingw32.h: Likewise. | |
5318 | * mkdir.c: Likewise. | |
5319 | * namet-sp.adb: Likewise. | |
5320 | * namet-sp.ads: Likewise. | |
5321 | * namet.adb: Likewise. | |
5322 | * namet.ads: Likewise. | |
5323 | * nlists.adb: Likewise. | |
5324 | * nlists.ads: Likewise. | |
5325 | * opt.adb: Likewise. | |
5326 | * opt.ads: Likewise. | |
5327 | * output.adb: Likewise. | |
5328 | * output.ads: Likewise. | |
5329 | * raise-gcc.c: Likewise. | |
5330 | * raise.c: Likewise. | |
5331 | * raise.h: Likewise. | |
5332 | * repinfo.adb: Likewise. | |
5333 | * repinfo.ads: Likewise. | |
5334 | * repinfo.h: Likewise. | |
5335 | * rident.ads: Likewise. | |
5336 | * s-addima.adb: Likewise. | |
5337 | * s-addima.ads: Likewise. | |
5338 | * s-addope.adb: Likewise. | |
5339 | * s-addope.ads: Likewise. | |
5340 | * s-arit64.adb: Likewise. | |
5341 | * s-arit64.ads: Likewise. | |
5342 | * s-assert.adb: Likewise. | |
5343 | * s-assert.ads: Likewise. | |
5344 | * s-asthan-vms-alpha.adb: Likewise. | |
5345 | * s-asthan.adb: Likewise. | |
5346 | * s-asthan.ads: Likewise. | |
5347 | * s-atacco.adb: Likewise. | |
5348 | * s-atacco.ads: Likewise. | |
5349 | * s-auxdec-empty.adb: Likewise. | |
5350 | * s-auxdec-empty.ads: Likewise. | |
5351 | * s-auxdec-vms_64.ads: Likewise. | |
5352 | * s-auxdec.adb: Likewise. | |
5353 | * s-auxdec.ads: Likewise. | |
5354 | * s-bitops.adb: Likewise. | |
5355 | * s-bitops.ads: Likewise. | |
5356 | * s-boarop.ads: Likewise. | |
5357 | * s-carsi8.adb: Likewise. | |
5358 | * s-carsi8.ads: Likewise. | |
5359 | * s-carun8.adb: Likewise. | |
5360 | * s-carun8.ads: Likewise. | |
5361 | * s-casi16.adb: Likewise. | |
5362 | * s-casi16.ads: Likewise. | |
5363 | * s-casi32.adb: Likewise. | |
5364 | * s-casi32.ads: Likewise. | |
5365 | * s-casi64.adb: Likewise. | |
5366 | * s-casi64.ads: Likewise. | |
5367 | * s-casuti.ads: Likewise. | |
5368 | * s-caun16.adb: Likewise. | |
5369 | * s-caun16.ads: Likewise. | |
5370 | * s-caun32.adb: Likewise. | |
5371 | * s-caun32.ads: Likewise. | |
5372 | * s-caun64.adb: Likewise. | |
5373 | * s-caun64.ads: Likewise. | |
5374 | * s-chepoo.ads: Likewise. | |
5375 | * s-crc32.adb: Likewise. | |
5376 | * s-crc32.ads: Likewise. | |
5377 | * s-crtl.ads: Likewise. | |
5378 | * s-direio.adb: Likewise. | |
5379 | * s-direio.ads: Likewise. | |
5380 | * s-dsaser.ads: Likewise. | |
5381 | * s-except.adb: Likewise. | |
5382 | * s-except.ads: Likewise. | |
5383 | * s-exctab.adb: Likewise. | |
5384 | * s-exctab.ads: Likewise. | |
5385 | * s-exnint.adb: Likewise. | |
5386 | * s-exnint.ads: Likewise. | |
5387 | * s-exnllf.adb: Likewise. | |
5388 | * s-exnllf.ads: Likewise. | |
5389 | * s-exnlli.adb: Likewise. | |
5390 | * s-exnlli.ads: Likewise. | |
5391 | * s-expint.adb: Likewise. | |
5392 | * s-expint.ads: Likewise. | |
5393 | * s-explli.adb: Likewise. | |
5394 | * s-explli.ads: Likewise. | |
5395 | * s-expllu.adb: Likewise. | |
5396 | * s-expllu.ads: Likewise. | |
5397 | * s-expmod.adb: Likewise. | |
5398 | * s-expmod.ads: Likewise. | |
5399 | * s-expuns.adb: Likewise. | |
5400 | * s-expuns.ads: Likewise. | |
5401 | * s-fatflt.ads: Likewise. | |
5402 | * s-fatgen.adb: Likewise. | |
5403 | * s-fatgen.ads: Likewise. | |
5404 | * s-fatlfl.ads: Likewise. | |
5405 | * s-fatllf.ads: Likewise. | |
5406 | * s-fatsfl.ads: Likewise. | |
5407 | * s-ficobl.ads: Likewise. | |
5408 | * s-fileio.adb: Likewise. | |
5409 | * s-fileio.ads: Likewise. | |
5410 | * s-filofl.ads: Likewise. | |
5411 | * s-finimp.adb: Likewise. | |
5412 | * s-finimp.ads: Likewise. | |
5413 | * s-finroo.adb: Likewise. | |
5414 | * s-finroo.ads: Likewise. | |
5415 | * s-fishfl.ads: Likewise. | |
5416 | * s-fore.adb: Likewise. | |
5417 | * s-fore.ads: Likewise. | |
5418 | * s-fvadfl.ads: Likewise. | |
5419 | * s-fvaffl.ads: Likewise. | |
5420 | * s-fvagfl.ads: Likewise. | |
5421 | * s-gearop.adb: Likewise. | |
5422 | * s-gearop.ads: Likewise. | |
5423 | * s-gecobl.adb: Likewise. | |
5424 | * s-gecobl.ads: Likewise. | |
5425 | * s-gecola.adb: Likewise. | |
5426 | * s-gecola.ads: Likewise. | |
5427 | * s-gerebl.adb: Likewise. | |
5428 | * s-gerebl.ads: Likewise. | |
5429 | * s-gerela.adb: Likewise. | |
5430 | * s-gerela.ads: Likewise. | |
5431 | * s-geveop.adb: Likewise. | |
5432 | * s-geveop.ads: Likewise. | |
5433 | * s-gloloc.adb: Likewise. | |
5434 | * s-gloloc.ads: Likewise. | |
5435 | * s-hibaen.ads: Likewise. | |
5436 | * s-imenne.adb: Likewise. | |
5437 | * s-imenne.ads: Likewise. | |
5438 | * s-imgbiu.adb: Likewise. | |
5439 | * s-imgbiu.ads: Likewise. | |
5440 | * s-imgboo.adb: Likewise. | |
5441 | * s-imgboo.ads: Likewise. | |
5442 | * s-imgcha.adb: Likewise. | |
5443 | * s-imgcha.ads: Likewise. | |
5444 | * s-imgdec.adb: Likewise. | |
5445 | * s-imgdec.ads: Likewise. | |
5446 | * s-imgenu.adb: Likewise. | |
5447 | * s-imgenu.ads: Likewise. | |
5448 | * s-imgint.adb: Likewise. | |
5449 | * s-imgint.ads: Likewise. | |
5450 | * s-imgllb.adb: Likewise. | |
5451 | * s-imgllb.ads: Likewise. | |
5452 | * s-imglld.adb: Likewise. | |
5453 | * s-imglld.ads: Likewise. | |
5454 | * s-imglli.adb: Likewise. | |
5455 | * s-imglli.ads: Likewise. | |
5456 | * s-imgllu.adb: Likewise. | |
5457 | * s-imgllu.ads: Likewise. | |
5458 | * s-imgllw.adb: Likewise. | |
5459 | * s-imgllw.ads: Likewise. | |
5460 | * s-imgrea.adb: Likewise. | |
5461 | * s-imgrea.ads: Likewise. | |
5462 | * s-imguns.adb: Likewise. | |
5463 | * s-imguns.ads: Likewise. | |
5464 | * s-imgwch.adb: Likewise. | |
5465 | * s-imgwch.ads: Likewise. | |
5466 | * s-imgwiu.adb: Likewise. | |
5467 | * s-imgwiu.ads: Likewise. | |
5468 | * s-inmaop-dummy.adb: Likewise. | |
5469 | * s-inmaop-vms.adb: Likewise. | |
5470 | * s-inmaop.ads: Likewise. | |
5471 | * s-interr-hwint.adb: Likewise. | |
5472 | * s-interr-sigaction.adb: Likewise. | |
5473 | * s-interr-vms.adb: Likewise. | |
5474 | * s-interr.adb: Likewise. | |
5475 | * s-interr.ads: Likewise. | |
5476 | * s-intman-dummy.adb: Likewise. | |
5477 | * s-intman-mingw.adb: Likewise. | |
5478 | * s-intman-posix.adb: Likewise. | |
5479 | * s-intman-solaris.adb: Likewise. | |
5480 | * s-intman-vms.adb: Likewise. | |
5481 | * s-intman-vms.ads: Likewise. | |
5482 | * s-intman-vxworks.adb: Likewise. | |
5483 | * s-intman-vxworks.ads: Likewise. | |
5484 | * s-intman.ads: Likewise. | |
5485 | * s-io.adb: Likewise. | |
5486 | * s-io.ads: Likewise. | |
5487 | * s-linux-alpha.ads: Likewise. | |
5488 | * s-linux-hppa.ads: Likewise. | |
5489 | * s-linux.ads: Likewise. | |
5490 | * s-maccod.ads: Likewise. | |
5491 | * s-mantis.adb: Likewise. | |
5492 | * s-mantis.ads: Likewise. | |
5493 | * s-mastop-irix.adb: Likewise. | |
5494 | * s-mastop.adb: Likewise. | |
5495 | * s-mastop.ads: Likewise. | |
5496 | * s-memcop.ads: Likewise. | |
5497 | * s-memory-mingw.adb: Likewise. | |
5498 | * s-memory.adb: Likewise. | |
5499 | * s-memory.ads: Likewise. | |
5500 | * s-os_lib.ads: Likewise. | |
5501 | * s-oscons-tmplt.c: Likewise. | |
5502 | * s-osinte-aix.adb: Likewise. | |
5503 | * s-osinte-darwin.adb: Likewise. | |
5504 | * s-osinte-freebsd.adb: Likewise. | |
5505 | * s-osinte-irix.adb: Likewise. | |
5506 | * s-osinte-lynxos-3.adb: Likewise. | |
5507 | * s-osinte-rtems.ads: Likewise. | |
5508 | * s-osinte-tru64.adb: Likewise. | |
5509 | * s-osinte-vxworks-kernel.adb: Likewise. | |
5510 | * s-osinte-vxworks.adb: Likewise. | |
5511 | * s-osprim-mingw.adb: Likewise. | |
5512 | * s-osprim-posix.adb: Likewise. | |
5513 | * s-osprim-solaris.adb: Likewise. | |
5514 | * s-osprim-unix.adb: Likewise. | |
5515 | * s-osprim-vms.adb: Likewise. | |
5516 | * s-osprim-vms.ads: Likewise. | |
5517 | * s-osprim-vxworks.adb: Likewise. | |
5518 | * s-osprim.ads: Likewise. | |
5519 | * s-pack03.adb: Likewise. | |
5520 | * s-pack03.ads: Likewise. | |
5521 | * s-pack05.adb: Likewise. | |
5522 | * s-pack05.ads: Likewise. | |
5523 | * s-pack06.adb: Likewise. | |
5524 | * s-pack06.ads: Likewise. | |
5525 | * s-pack07.adb: Likewise. | |
5526 | * s-pack07.ads: Likewise. | |
5527 | * s-pack09.adb: Likewise. | |
5528 | * s-pack09.ads: Likewise. | |
5529 | * s-pack10.adb: Likewise. | |
5530 | * s-pack10.ads: Likewise. | |
5531 | * s-pack11.adb: Likewise. | |
5532 | * s-pack11.ads: Likewise. | |
5533 | * s-pack12.adb: Likewise. | |
5534 | * s-pack12.ads: Likewise. | |
5535 | * s-pack13.adb: Likewise. | |
5536 | * s-pack13.ads: Likewise. | |
5537 | * s-pack14.adb: Likewise. | |
5538 | * s-pack14.ads: Likewise. | |
5539 | * s-pack15.adb: Likewise. | |
5540 | * s-pack15.ads: Likewise. | |
5541 | * s-pack17.adb: Likewise. | |
5542 | * s-pack17.ads: Likewise. | |
5543 | * s-pack18.adb: Likewise. | |
5544 | * s-pack18.ads: Likewise. | |
5545 | * s-pack19.adb: Likewise. | |
5546 | * s-pack19.ads: Likewise. | |
5547 | * s-pack20.adb: Likewise. | |
5548 | * s-pack20.ads: Likewise. | |
5549 | * s-pack21.adb: Likewise. | |
5550 | * s-pack21.ads: Likewise. | |
5551 | * s-pack22.adb: Likewise. | |
5552 | * s-pack22.ads: Likewise. | |
5553 | * s-pack23.adb: Likewise. | |
5554 | * s-pack23.ads: Likewise. | |
5555 | * s-pack24.adb: Likewise. | |
5556 | * s-pack24.ads: Likewise. | |
5557 | * s-pack25.adb: Likewise. | |
5558 | * s-pack25.ads: Likewise. | |
5559 | * s-pack26.adb: Likewise. | |
5560 | * s-pack26.ads: Likewise. | |
5561 | * s-pack27.adb: Likewise. | |
5562 | * s-pack27.ads: Likewise. | |
5563 | * s-pack28.adb: Likewise. | |
5564 | * s-pack28.ads: Likewise. | |
5565 | * s-pack29.adb: Likewise. | |
5566 | * s-pack29.ads: Likewise. | |
5567 | * s-pack30.adb: Likewise. | |
5568 | * s-pack30.ads: Likewise. | |
5569 | * s-pack31.adb: Likewise. | |
5570 | * s-pack31.ads: Likewise. | |
5571 | * s-pack33.adb: Likewise. | |
5572 | * s-pack33.ads: Likewise. | |
5573 | * s-pack34.adb: Likewise. | |
5574 | * s-pack34.ads: Likewise. | |
5575 | * s-pack35.adb: Likewise. | |
5576 | * s-pack35.ads: Likewise. | |
5577 | * s-pack36.adb: Likewise. | |
5578 | * s-pack36.ads: Likewise. | |
5579 | * s-pack37.adb: Likewise. | |
5580 | * s-pack37.ads: Likewise. | |
5581 | * s-pack38.adb: Likewise. | |
5582 | * s-pack38.ads: Likewise. | |
5583 | * s-pack39.adb: Likewise. | |
5584 | * s-pack39.ads: Likewise. | |
5585 | * s-pack40.adb: Likewise. | |
5586 | * s-pack40.ads: Likewise. | |
5587 | * s-pack41.adb: Likewise. | |
5588 | * s-pack41.ads: Likewise. | |
5589 | * s-pack42.adb: Likewise. | |
5590 | * s-pack42.ads: Likewise. | |
5591 | * s-pack43.adb: Likewise. | |
5592 | * s-pack43.ads: Likewise. | |
5593 | * s-pack44.adb: Likewise. | |
5594 | * s-pack44.ads: Likewise. | |
5595 | * s-pack45.adb: Likewise. | |
5596 | * s-pack45.ads: Likewise. | |
5597 | * s-pack46.adb: Likewise. | |
5598 | * s-pack46.ads: Likewise. | |
5599 | * s-pack47.adb: Likewise. | |
5600 | * s-pack47.ads: Likewise. | |
5601 | * s-pack48.adb: Likewise. | |
5602 | * s-pack48.ads: Likewise. | |
5603 | * s-pack49.adb: Likewise. | |
5604 | * s-pack49.ads: Likewise. | |
5605 | * s-pack50.adb: Likewise. | |
5606 | * s-pack50.ads: Likewise. | |
5607 | * s-pack51.adb: Likewise. | |
5608 | * s-pack51.ads: Likewise. | |
5609 | * s-pack52.adb: Likewise. | |
5610 | * s-pack52.ads: Likewise. | |
5611 | * s-pack53.adb: Likewise. | |
5612 | * s-pack53.ads: Likewise. | |
5613 | * s-pack54.adb: Likewise. | |
5614 | * s-pack54.ads: Likewise. | |
5615 | * s-pack55.adb: Likewise. | |
5616 | * s-pack55.ads: Likewise. | |
5617 | * s-pack56.adb: Likewise. | |
5618 | * s-pack56.ads: Likewise. | |
5619 | * s-pack57.adb: Likewise. | |
5620 | * s-pack57.ads: Likewise. | |
5621 | * s-pack58.adb: Likewise. | |
5622 | * s-pack58.ads: Likewise. | |
5623 | * s-pack59.adb: Likewise. | |
5624 | * s-pack59.ads: Likewise. | |
5625 | * s-pack60.adb: Likewise. | |
5626 | * s-pack60.ads: Likewise. | |
5627 | * s-pack61.adb: Likewise. | |
5628 | * s-pack61.ads: Likewise. | |
5629 | * s-pack62.adb: Likewise. | |
5630 | * s-pack62.ads: Likewise. | |
5631 | * s-pack63.adb: Likewise. | |
5632 | * s-pack63.ads: Likewise. | |
5633 | * s-parame-ae653.ads: Likewise. | |
5634 | * s-parame-hpux.ads: Likewise. | |
5635 | * s-parame-rtems.adb: Likewise. | |
5636 | * s-parame-vms-alpha.ads: Likewise. | |
5637 | * s-parame-vms-ia64.ads: Likewise. | |
5638 | * s-parame-vms-restrict.ads: Likewise. | |
5639 | * s-parame-vxworks.adb: Likewise. | |
5640 | * s-parame-vxworks.ads: Likewise. | |
5641 | * s-parame.adb: Likewise. | |
5642 | * s-parame.ads: Likewise. | |
5643 | * s-parint.adb: Likewise. | |
5644 | * s-parint.ads: Likewise. | |
5645 | * s-pooglo.adb: Likewise. | |
5646 | * s-pooglo.ads: Likewise. | |
5647 | * s-pooloc.adb: Likewise. | |
5648 | * s-pooloc.ads: Likewise. | |
5649 | * s-poosiz.adb: Likewise. | |
5650 | * s-poosiz.ads: Likewise. | |
5651 | * s-powtab.ads: Likewise. | |
5652 | * s-proinf-irix-athread.adb: Likewise. | |
5653 | * s-proinf-irix-athread.ads: Likewise. | |
5654 | * s-proinf.adb: Likewise. | |
5655 | * s-proinf.ads: Likewise. | |
5656 | * s-purexc.ads: Likewise. | |
5657 | * s-rannum.adb: Likewise. | |
5658 | * s-rannum.ads: Likewise. | |
5659 | * s-restri.adb: Likewise. | |
5660 | * s-restri.ads: Likewise. | |
5661 | * s-rident.ads: Likewise. | |
5662 | * s-rpc.adb: Likewise. | |
5663 | * s-rpc.ads: Likewise. | |
5664 | * s-scaval.adb: Likewise. | |
5665 | * s-scaval.ads: Likewise. | |
5666 | * s-secsta.adb: Likewise. | |
5667 | * s-secsta.ads: Likewise. | |
5668 | * s-sequio.adb: Likewise. | |
5669 | * s-sequio.ads: Likewise. | |
5670 | * s-shasto.adb: Likewise. | |
5671 | * s-shasto.ads: Likewise. | |
5672 | * s-soflin.adb: Likewise. | |
5673 | * s-soflin.ads: Likewise. | |
5674 | * s-solita.adb: Likewise. | |
5675 | * s-solita.ads: Likewise. | |
5676 | * s-sopco3.adb: Likewise. | |
5677 | * s-sopco3.ads: Likewise. | |
5678 | * s-sopco4.adb: Likewise. | |
5679 | * s-sopco4.ads: Likewise. | |
5680 | * s-sopco5.adb: Likewise. | |
5681 | * s-sopco5.ads: Likewise. | |
5682 | * s-stache.adb: Likewise. | |
5683 | * s-stache.ads: Likewise. | |
5684 | * s-stalib.adb: Likewise. | |
5685 | * s-stalib.ads: Likewise. | |
5686 | * s-stausa.adb: Likewise. | |
5687 | * s-stausa.ads: Likewise. | |
5688 | * s-stchop-limit.ads: Likewise. | |
5689 | * s-stchop-rtems.adb: Likewise. | |
5690 | * s-stchop-vxworks.adb: Likewise. | |
5691 | * s-stchop.adb: Likewise. | |
5692 | * s-stchop.ads: Likewise. | |
5693 | * s-stoele.adb: Likewise. | |
5694 | * s-stoele.ads: Likewise. | |
5695 | * s-stopoo.adb: Likewise. | |
5696 | * s-stopoo.ads: Likewise. | |
5697 | * s-stratt.adb: Likewise. | |
5698 | * s-stratt.ads: Likewise. | |
5699 | * s-strcom.adb: Likewise. | |
5700 | * s-strcom.ads: Likewise. | |
5701 | * s-string.adb: Likewise. | |
5702 | * s-string.ads: Likewise. | |
5703 | * s-strops.adb: Likewise. | |
5704 | * s-strops.ads: Likewise. | |
5705 | * s-strxdr.adb: Likewise. | |
5706 | * s-ststop.adb: Likewise. | |
5707 | * s-ststop.ads: Likewise. | |
5708 | * s-taasde.adb: Likewise. | |
5709 | * s-taasde.ads: Likewise. | |
5710 | * s-tadeca.adb: Likewise. | |
5711 | * s-tadeca.ads: Likewise. | |
5712 | * s-tadert.adb: Likewise. | |
5713 | * s-tadert.ads: Likewise. | |
5714 | * s-taenca.adb: Likewise. | |
5715 | * s-taenca.ads: Likewise. | |
5716 | * s-taprob.ads: Likewise. | |
5717 | * s-taprop-dummy.adb: Likewise. | |
5718 | * s-taprop-hpux-dce.adb: Likewise. | |
5719 | * s-taprop-irix.adb: Likewise. | |
5720 | * s-taprop-linux.adb: Likewise. | |
5721 | * s-taprop-lynxos.adb: Likewise. | |
5722 | * s-taprop-mingw.adb: Likewise. | |
5723 | * s-taprop-posix.adb: Likewise. | |
5724 | * s-taprop-solaris.adb: Likewise. | |
5725 | * s-taprop-tru64.adb: Likewise. | |
5726 | * s-taprop-vms.adb: Likewise. | |
5727 | * s-taprop-vxworks.adb: Likewise. | |
5728 | * s-taprop.ads: Likewise. | |
5729 | * s-tarest.adb: Likewise. | |
5730 | * s-tarest.ads: Likewise. | |
5731 | * s-tasdeb.adb: Likewise. | |
5732 | * s-tasdeb.ads: Likewise. | |
5733 | * s-tasinf-irix.ads: Likewise. | |
5734 | * s-tasinf-linux.adb: Likewise. | |
5735 | * s-tasinf-linux.ads: Likewise. | |
5736 | * s-tasinf-mingw.adb: Likewise. | |
5737 | * s-tasinf-mingw.ads: Likewise. | |
5738 | * s-tasinf-solaris.adb: Likewise. | |
5739 | * s-tasinf-solaris.ads: Likewise. | |
5740 | * s-tasinf-tru64.ads: Likewise. | |
5741 | * s-tasinf.adb: Likewise. | |
5742 | * s-tasinf.ads: Likewise. | |
5743 | * s-tasini.adb: Likewise. | |
5744 | * s-tasini.ads: Likewise. | |
5745 | * s-taskin.adb: Likewise. | |
5746 | * s-taskin.ads: Likewise. | |
5747 | * s-taspri-dummy.ads: Likewise. | |
5748 | * s-taspri-hpux-dce.ads: Likewise. | |
5749 | * s-taspri-mingw.ads: Likewise. | |
5750 | * s-taspri-solaris.ads: Likewise. | |
5751 | * s-taspri-tru64.ads: Likewise. | |
5752 | * s-taspri-vms.ads: Likewise. | |
5753 | * s-taspri-vxworks.ads: Likewise. | |
5754 | * s-tasque.adb: Likewise. | |
5755 | * s-tasque.ads: Likewise. | |
5756 | * s-tasren.adb: Likewise. | |
5757 | * s-tasren.ads: Likewise. | |
5758 | * s-tasres.ads: Likewise. | |
5759 | * s-tassta.adb: Likewise. | |
5760 | * s-tassta.ads: Likewise. | |
5761 | * s-tasuti.adb: Likewise. | |
5762 | * s-tasuti.ads: Likewise. | |
5763 | * s-tfsetr-default.adb: Likewise. | |
5764 | * s-tfsetr-vxworks.adb: Likewise. | |
5765 | * s-tpinop.adb: Likewise. | |
5766 | * s-tpinop.ads: Likewise. | |
5767 | * s-tpoben.adb: Likewise. | |
5768 | * s-tpoben.ads: Likewise. | |
5769 | * s-tpobop.adb: Likewise. | |
5770 | * s-tpobop.ads: Likewise. | |
5771 | * s-tpopde-vms.adb: Likewise. | |
5772 | * s-tpopde-vms.ads: Likewise. | |
5773 | * s-tpopsp-lynxos.adb: Likewise. | |
5774 | * s-tpopsp-posix-foreign.adb: Likewise. | |
5775 | * s-tpopsp-posix.adb: Likewise. | |
5776 | * s-tpopsp-solaris.adb: Likewise. | |
5777 | * s-tpopsp-vxworks.adb: Likewise. | |
5778 | * s-tporft.adb: Likewise. | |
5779 | * s-tposen.adb: Likewise. | |
5780 | * s-tposen.ads: Likewise. | |
5781 | * s-traceb.adb: Likewise. | |
5782 | * s-traceb.ads: Likewise. | |
5783 | * s-traces-default.adb: Likewise. | |
5784 | * s-traces.adb: Likewise. | |
5785 | * s-traces.ads: Likewise. | |
5786 | * s-traent-vms.adb: Likewise. | |
5787 | * s-traent-vms.ads: Likewise. | |
5788 | * s-traent.adb: Likewise. | |
5789 | * s-traent.ads: Likewise. | |
5790 | * s-trafor-default.adb: Likewise. | |
5791 | * s-trafor-default.ads: Likewise. | |
5792 | * s-tratas-default.adb: Likewise. | |
5793 | * s-tratas.adb: Likewise. | |
5794 | * s-tratas.ads: Likewise. | |
5795 | * s-unstyp.ads: Likewise. | |
5796 | * s-utf_32.adb: Likewise. | |
5797 | * s-utf_32.ads: Likewise. | |
5798 | * s-vaflop-vms-alpha.adb: Likewise. | |
5799 | * s-vaflop.adb: Likewise. | |
5800 | * s-vaflop.ads: Likewise. | |
5801 | * s-valboo.adb: Likewise. | |
5802 | * s-valboo.ads: Likewise. | |
5803 | * s-valcha.adb: Likewise. | |
5804 | * s-valcha.ads: Likewise. | |
5805 | * s-valdec.adb: Likewise. | |
5806 | * s-valdec.ads: Likewise. | |
5807 | * s-valenu.adb: Likewise. | |
5808 | * s-valenu.ads: Likewise. | |
5809 | * s-valint.adb: Likewise. | |
5810 | * s-valint.ads: Likewise. | |
5811 | * s-vallld.adb: Likewise. | |
5812 | * s-vallld.ads: Likewise. | |
5813 | * s-vallli.adb: Likewise. | |
5814 | * s-vallli.ads: Likewise. | |
5815 | * s-valllu.adb: Likewise. | |
5816 | * s-valllu.ads: Likewise. | |
5817 | * s-valrea.adb: Likewise. | |
5818 | * s-valrea.ads: Likewise. | |
5819 | * s-valuns.adb: Likewise. | |
5820 | * s-valuns.ads: Likewise. | |
5821 | * s-valuti.adb: Likewise. | |
5822 | * s-valuti.ads: Likewise. | |
5823 | * s-valwch.adb: Likewise. | |
5824 | * s-valwch.ads: Likewise. | |
5825 | * s-veboop.adb: Likewise. | |
5826 | * s-veboop.ads: Likewise. | |
5827 | * s-vector.ads: Likewise. | |
5828 | * s-vercon.adb: Likewise. | |
5829 | * s-vercon.ads: Likewise. | |
5830 | * s-vmexta.adb: Likewise. | |
5831 | * s-vmexta.ads: Likewise. | |
5832 | * s-vxwext-kernel.ads: Likewise. | |
5833 | * s-vxwext-rtp.adb: Likewise. | |
5834 | * s-vxwext-rtp.ads: Likewise. | |
5835 | * s-vxwext.ads: Likewise. | |
5836 | * s-vxwork-arm.ads: Likewise. | |
5837 | * s-vxwork-m68k.ads: Likewise. | |
5838 | * s-vxwork-mips.ads: Likewise. | |
5839 | * s-vxwork-ppc.ads: Likewise. | |
5840 | * s-vxwork-sparcv9.ads: Likewise. | |
5841 | * s-vxwork-x86.ads: Likewise. | |
5842 | * s-wchcnv.adb: Likewise. | |
5843 | * s-wchcnv.ads: Likewise. | |
5844 | * s-wchcon.adb: Likewise. | |
5845 | * s-wchcon.ads: Likewise. | |
5846 | * s-wchjis.adb: Likewise. | |
5847 | * s-wchjis.ads: Likewise. | |
5848 | * s-wchstw.adb: Likewise. | |
5849 | * s-wchstw.ads: Likewise. | |
5850 | * s-wchwts.adb: Likewise. | |
5851 | * s-wchwts.ads: Likewise. | |
5852 | * s-widboo.adb: Likewise. | |
5853 | * s-widboo.ads: Likewise. | |
5854 | * s-widcha.adb: Likewise. | |
5855 | * s-widcha.ads: Likewise. | |
5856 | * s-widenu.adb: Likewise. | |
5857 | * s-widenu.ads: Likewise. | |
5858 | * s-widlli.adb: Likewise. | |
5859 | * s-widlli.ads: Likewise. | |
5860 | * s-widllu.adb: Likewise. | |
5861 | * s-widllu.ads: Likewise. | |
5862 | * s-widwch.adb: Likewise. | |
5863 | * s-widwch.ads: Likewise. | |
5864 | * s-win32.ads: Likewise. | |
5865 | * s-winext.ads: Likewise. | |
5866 | * s-wwdcha.adb: Likewise. | |
5867 | * s-wwdcha.ads: Likewise. | |
5868 | * s-wwdenu.adb: Likewise. | |
5869 | * s-wwdenu.ads: Likewise. | |
5870 | * s-wwdwch.adb: Likewise. | |
5871 | * s-wwdwch.ads: Likewise. | |
5872 | * scans.adb: Likewise. | |
5873 | * scans.ads: Likewise. | |
5874 | * seh_init.c: Likewise. | |
5875 | * sfn_scan.adb: Likewise. | |
5876 | * sinfo.adb: Likewise. | |
5877 | * sinfo.ads: Likewise. | |
5878 | * sinput.adb: Likewise. | |
5879 | * sinput.ads: Likewise. | |
5880 | * snames.adb: Likewise. | |
5881 | * snames.ads: Likewise. | |
5882 | * socket.c: Likewise. | |
5883 | * stand.adb: Likewise. | |
5884 | * stand.ads: Likewise. | |
5885 | * stringt.adb: Likewise. | |
5886 | * stringt.ads: Likewise. | |
5887 | * sysdep.c: Likewise. | |
5888 | * system-aix.ads: Likewise. | |
5889 | * system-darwin-ppc.ads: Likewise. | |
5890 | * system-darwin-x86.ads: Likewise. | |
5891 | * system-darwin-x86_64.ads: Likewise. | |
5892 | * system-freebsd-x86.ads: Likewise. | |
5893 | * system-hpux-ia64.ads: Likewise. | |
5894 | * system-hpux.ads: Likewise. | |
5895 | * system-irix-n32.ads: Likewise. | |
5896 | * system-irix-n64.ads: Likewise. | |
5897 | * system-irix-o32.ads: Likewise. | |
5898 | * system-linux-alpha.ads: Likewise. | |
5899 | * system-linux-hppa.ads: Likewise. | |
5900 | * system-linux-ia64.ads: Likewise. | |
5901 | * system-linux-mips.ads: Likewise. | |
5902 | * system-linux-mipsel.ads: Likewise. | |
5903 | * system-linux-ppc.ads: Likewise. | |
5904 | * system-linux-ppc64.ads: Likewise. | |
5905 | * system-linux-s390.ads: Likewise. | |
5906 | * system-linux-s390x.ads: Likewise. | |
5907 | * system-linux-sh4.ads: Likewise. | |
5908 | * system-linux-sparc.ads: Likewise. | |
5909 | * system-linux-sparcv9.ads: Likewise. | |
5910 | * system-linux-x86.ads: Likewise. | |
5911 | * system-linux-x86_64.ads: Likewise. | |
5912 | * system-lynxos-ppc.ads: Likewise. | |
5913 | * system-lynxos-x86.ads: Likewise. | |
5914 | * system-mingw-x86_64.ads: Likewise. | |
5915 | * system-mingw.ads: Likewise. | |
5916 | * system-rtems.ads: Likewise. | |
5917 | * system-solaris-sparc.ads: Likewise. | |
5918 | * system-solaris-sparcv9.ads: Likewise. | |
5919 | * system-solaris-x86.ads: Likewise. | |
5920 | * system-solaris-x86_64.ads: Likewise. | |
5921 | * system-tru64.ads: Likewise. | |
5922 | * system-vms-ia64.ads: Likewise. | |
5923 | * system-vms-zcx.ads: Likewise. | |
5924 | * system-vms.ads: Likewise. | |
5925 | * system-vms_64.ads: Likewise. | |
5926 | * system-vxworks-arm.ads: Likewise. | |
5927 | * system-vxworks-m68k.ads: Likewise. | |
5928 | * system-vxworks-mips.ads: Likewise. | |
5929 | * system-vxworks-ppc.ads: Likewise. | |
5930 | * system-vxworks-sparcv9.ads: Likewise. | |
5931 | * system-vxworks-x86.ads: Likewise. | |
5932 | * system.ads: Likewise. | |
5933 | * table.adb: Likewise. | |
5934 | * table.ads: Likewise. | |
5935 | * targext.c: Likewise. | |
5936 | * targparm.ads: Likewise. | |
5937 | * tree_in.adb: Likewise. | |
5938 | * tree_in.ads: Likewise. | |
5939 | * tree_io.adb: Likewise. | |
5940 | * tree_io.ads: Likewise. | |
5941 | * types.adb: Likewise. | |
5942 | * types.ads: Likewise. | |
5943 | * uintp.adb: Likewise. | |
5944 | * uintp.ads: Likewise. | |
5945 | * uname.adb: Likewise. | |
5946 | * uname.ads: Likewise. | |
5947 | * urealp.adb: Likewise. | |
5948 | * urealp.ads: Likewise. | |
5949 | * vx_stack_info.c: Likewise. | |
5950 | * widechar.adb: Likewise. | |
5951 | * widechar.ads: Likewise. | |
5952 | * exp_attr.adb: Change copyright header to refer to version | |
5953 | 3 of the GNU General Public License and to point readers at the | |
5954 | COPYING3 file and the FSF's license web page. | |
5955 | * sem.adb: Likewise. | |
5956 | * sem_attr.ads: Likewise. | |
5957 | * freeze.adb: Likewise. | |
5958 | * freeze.ads: Likewise. | |
5959 | * errout.ads: Likewise. | |
5960 | * erroutc.adb: Likewise. | |
5961 | * exp_ch11.ads: Likewise. | |
5962 | ||
5963 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> | |
5964 | ||
5965 | * config-lang.in: Change copyright header to refer to version | |
5966 | 3 of the GNU General Public License and to point readers at the | |
5967 | COPYING3 file and the FSF's license web page. | |
5968 | * gcc-interface/trans.c: Likewise. | |
5969 | * gnathtml.pl: Likewise. | |
5970 | * gcc-interface/ada.h: Likewise. Remove runtime exception. | |
5971 | * gcc-interface/gigi.h: Likewise. | |
5972 | * gcc-interface/misc.c: Likewise. | |
5973 | * gcc-interface/targtyps.c: Likewise. | |
5974 | ||
dd8cfe3a AC |
5975 | 2009-04-09 Nicolas Setton <setton@adacore.com> |
5976 | ||
5977 | * s-osinte-darwin.ads: Fix wrong binding to struc timeval. | |
5978 | ||
5979 | * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of | |
5980 | struct_timeval. | |
5981 | ||
5982 | 2009-04-09 Bob Duff <duff@adacore.com> | |
5983 | ||
5984 | * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in | |
5985 | internally-generated nodes related to select statements to avoid | |
5986 | confusing the debugger. | |
5987 | ||
5988 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
5989 | ||
5990 | * make.adb: Ensure that all linker arguments are duplicated. | |
5991 | ||
59f3dd0a AC |
5992 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
5993 | ||
5994 | * sem_ch5.adb: Minor reformatting | |
5995 | ||
5996 | 2009-04-09 Vincent Celier <celier@adacore.com> | |
5997 | ||
5998 | * vms_data.ads: | |
5999 | Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT | |
6000 | New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn | |
6001 | New qualifier /LXDEBUG=nnn for -gnatDnnn | |
6002 | For H820-010 | |
6003 | ||
6004 | * gnat_ugn.texi: | |
6005 | Update documentation for VMS qualifiers equivalent to -gnatGnn and | |
6006 | -gnatDnn | |
6007 | ||
6008 | 2009-04-09 Nicolas Setton <setton@adacore.com> | |
6009 | ||
6010 | * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long, | |
6011 | to match layout of siginfo_t in sys/signal.h. | |
6012 | ||
6013 | * gcc-interface/Makefile.in: Add section for x86_64 darwin. | |
6014 | ||
6015 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
6016 | ||
6017 | * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment. | |
6018 | ||
6019 | 2009-04-09 Nicolas Setton <setton@adacore.com> | |
6020 | ||
6021 | * s-oscons-tmplt.c: Allow long lines in the generated spec. | |
6022 | Add generation of Darwin-specific constants needed when binding to the | |
6023 | pthread library. | |
6024 | ||
6025 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
6026 | ||
53b2323e RH |
6027 | * checks.adb: |
6028 | (Insert_Valid_Check): Avoid unnecessary generation of junk declaration | |
6029 | when no invalid values exist, Avoid duplicate read of atomic variable. | |
59f3dd0a | 6030 | |
53b2323e RH |
6031 | * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid |
6032 | (Standard_Unsigned): Set Is_Known_Valid | |
59f3dd0a | 6033 | |
53b2323e | 6034 | * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on |
59f3dd0a | 6035 | subtype declaration if no constraint. |
53b2323e RH |
6036 | (Set_Modular_Size): Set Is_Known_Valid if appropriate |
6037 | (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint | |
59f3dd0a | 6038 | |
f7d7bb51 AC |
6039 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6040 | ||
6041 | * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb, | |
6042 | switch.ads: for numeric switches, an optional equal sign is always | |
6043 | allowed. | |
6044 | ||
6045 | 2009-04-09 Vincent Celier <celier@adacore.com> | |
6046 | ||
6047 | * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where | |
6048 | the case of file names is not significant. | |
6049 | ||
c75c4293 AC |
6050 | 2009-04-09 Vincent Celier <celier@adacore.com> |
6051 | ||
6052 | * errout.adb: Remove dependency on package Style | |
6053 | ||
6054 | * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function, | |
6055 | moved to Stylesw. | |
6056 | ||
6057 | * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from | |
6058 | Styleg. | |
6059 | ||
6060 | * errutil.adb, par.adb: Import Stylesw | |
6061 | ||
6062 | 2009-04-09 Arnaud Charlet <charlet@adacore.com> | |
6063 | ||
6064 | * opt.ads: Fix typos. | |
6065 | ||
6066 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
6067 | ||
6068 | * einfo.adb: Minor reformatting | |
6069 | ||
e7aea0fa RD |
6070 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6071 | ||
6072 | * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style | |
6073 | units. | |
6074 | ||
6075 | * styleg-c.ads, styleg-c.adb: Removed, no longer used. | |
6076 | ||
1c383b4c AC |
6077 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6078 | ||
6079 | * g-comver.adb: Minor reformatting. | |
6080 | ||
6081 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
6082 | ||
6083 | * lib-load.ads (Load_Unit): Update documentation. | |
6084 | ||
6085 | 2009-04-09 Ed Schonberg <schonberg@adacore.com> | |
6086 | ||
6087 | * lib-load.adb (Load_Unit): When loading the parent of a child unit | |
6088 | named in a with_clause, retain the with_clause to preserve a | |
6089 | limited_with indication. | |
6090 | ||
d7ba4df4 RD |
6091 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6092 | ||
6093 | * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb, | |
6094 | exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb, | |
6095 | sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where | |
6096 | possible to replace an OR of two separate tests. | |
6097 | ||
923e6ff3 RD |
6098 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6099 | ||
6100 | * binderr.adb, errout.adb, errutil.adb: New circuitry for handling | |
6101 | Maximum_Messages. | |
6102 | ||
6103 | * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global | |
6104 | warning status as well. | |
6105 | ||
6106 | * opt.ads (Maximum_Messages): New name for Maximum_Errors. | |
6107 | ||
6108 | * switch-b.adb, switch-c.adb: Change name Maximum_Errors to | |
6109 | Maximum_Messages. | |
6110 | ||
6111 | * bindusg.adb, usage.adb: Update line for -gnatm switch | |
6112 | ||
6113 | * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and | |
6114 | -mnn binder switch. | |
6115 | ||
6116 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
6117 | ||
6118 | * sem_ch10.adb: Minor reformatting. | |
6119 | ||
beb50807 AC |
6120 | 2009-04-09 Bob Duff <duff@adacore.com> |
6121 | ||
6122 | * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler): | |
6123 | Set Sloc of generated nodes for calls to Undefer_Aborts and | |
6124 | Save_Occurrence to No_Location, so the debugger ignores them and | |
6125 | therefore does not jump back and forth when single stepping. | |
6126 | ||
6127 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
6128 | ||
6129 | * switch-b.adb: Minor reformatting. | |
6130 | ||
a4100e55 RD |
6131 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6132 | ||
6133 | * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb, | |
6134 | sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb, | |
6135 | exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb, | |
6136 | sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb, | |
6137 | einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb, | |
6138 | tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb, | |
6139 | exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb, | |
6140 | sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb, | |
6141 | sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb, | |
6142 | sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb: | |
6143 | Reorganize einfo/sem_aux, moving routines from einfo to sem_aux | |
6144 | ||
f17889b3 RD |
6145 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6146 | ||
6147 | * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code. | |
6148 | ||
6149 | * atree.h: Add Elist26 | |
6150 | ||
6151 | * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc | |
6152 | backends. | |
6153 | ||
b16d9747 JM |
6154 | 2009-04-09 Javier Miranda <miranda@adacore.com> |
6155 | ||
6156 | * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to | |
6157 | retrieve from the Dispatch_Table_Wrappers list the external name. | |
6158 | Addition of documentation. | |
6159 | (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is | |
6160 | used to export secondary dispatch tables (in the previous version of | |
6161 | the frontend only primary dispatch tables were exported). Addition of | |
6162 | documentation. | |
6163 | (Import_DT): New subprogram (internal of Make_Tags). Used to import a | |
6164 | dispatch table of a given tagged type. | |
6165 | (Make_Tags): Modified to import secondary dispatch tables. | |
6166 | ||
6167 | * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup. | |
6168 | (Constant_Redeclaration): Code cleanup. | |
6169 | ||
6170 | * einfo.ads (Dispatch_Table_Wrapper): Renamed to | |
6171 | Dispatch_Table_Wrappers. Update documentation. | |
6172 | ||
6173 | * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper): | |
6174 | Renamed to Dispatch_Table_Wrappers. | |
6175 | ||
6176 | * sem_util.adb (Collect_Interface_Components): Improve handling of | |
6177 | private types. | |
6178 | ||
6179 | * atree.ads (Elist26, Set_Elist26): New subprograms | |
6180 | ||
6181 | * atree.adb (Elist26, Set_Elist26): New subprograms | |
6182 | ||
59262ebb AC |
6183 | 2009-04-09 Javier Miranda <miranda@adacore.com> |
6184 | ||
6185 | * sem_ch3.adb (Build_Derived_Record_Type): Fix typo. | |
6186 | (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of | |
6187 | tagged types. | |
6188 | ||
6189 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
6190 | ||
6191 | * s-direio.adb: Minor reformatting | |
6192 | ||
6193 | * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String | |
6194 | ||
fa969310 AC |
6195 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6196 | ||
6197 | * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases | |
6198 | ||
6199 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
6200 | ||
6201 | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads, | |
6202 | s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads, | |
6203 | a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads, | |
6204 | a-filico.ads: Add some missing overriding keywords. | |
6205 | ||
3c25856a AC |
6206 | 2009-04-09 Pascal Obry <obry@adacore.com> |
6207 | ||
6208 | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb, | |
6209 | a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads, | |
6210 | a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor | |
6211 | reformatting. | |
6212 | ||
6213 | 2009-04-09 Ed Schonberg <schonberg@adacore.com> | |
6214 | ||
6215 | * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on | |
6216 | missing overriding indicator if the new declaration is not seen as | |
6217 | primitive. | |
6218 | ||
76c597a1 AC |
6219 | 2009-04-09 Thomas Quinot <quinot@adacore.com> |
6220 | ||
6221 | * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle | |
6222 | overflows in computation of bounds. | |
6223 | ||
6224 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
6225 | ||
6226 | * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some | |
6227 | typos in comment. | |
6228 | ||
95b89f1b AC |
6229 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
6230 | ||
6231 | * sem_attr.adb (Check_Stream_Attribute): Check violation of | |
6232 | restriction No_Streams | |
6233 | ||
6234 | * gnat_rm.texi: Clarify No_Streams restriction | |
6235 | ||
6236 | * g-socket.adb: Minor reformatting. | |
6237 | ||
6238 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
6239 | ||
6240 | * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces. | |
6241 | ||
6242 | 2009-04-09 Geert Bosch <bosch@adacore.com> | |
6243 | ||
6244 | * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument. | |
6245 | (Set_Result): Likewise. | |
6246 | (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the | |
6247 | conversion, as required by RM 4.6(31). | |
6248 | ||
3d5952be AC |
6249 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
6250 | ||
6251 | * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks | |
6252 | suppressed. | |
6253 | ||
6254 | * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all | |
6255 | resolution steps. | |
6256 | ||
6257 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6258 | ||
6259 | * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for | |
6260 | No_Local_Allocators restriction preventing local instantiation. | |
6261 | ||
6262 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
6263 | ||
6264 | * sem_eval.adb: Minor comment fix | |
6265 | ||
6266 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
6267 | ||
6268 | * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller): | |
6269 | New limited controlled type used to automate the initialization and | |
6270 | finalization of the sockets implementation. | |
6271 | (GNAT.Sockets.Initialize, Finalize): Make these no-ops | |
6272 | ||
6273 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
6274 | ||
6275 | * prj-attr.adb: New read-only project-level attribute Project_Dir | |
6276 | ||
6277 | * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of | |
6278 | read-only attribute of the same name. | |
6279 | (Process_Declarative_Items): Call Add_Attributes with Project_Dir | |
6280 | (Recursive_Process): Ditto | |
6281 | ||
6282 | * snames.adb: Add new standard name Project_Dir | |
6283 | ||
6284 | * snames.ads: Add new standard name Project_Dir | |
6285 | ||
b568955d AC |
6286 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
6287 | ||
6288 | * checks.adb: Minor reformatting | |
6289 | ||
6290 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
6291 | ||
6292 | * vms_data.ads: Add documentation for new style keyword | |
6293 | OVERRIDING_INDICATORS | |
6294 | ||
6295 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6296 | ||
6297 | * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the | |
6298 | spec is in the current unit. | |
6299 | ||
ed57136d AC |
6300 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> |
6301 | ||
6302 | * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for | |
6303 | presence of entity. | |
6304 | ||
6305 | * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators | |
6306 | ||
6307 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
6308 | ||
6309 | * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS) | |
6310 | ||
6311 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
6312 | ||
6313 | * checks.ads: Minor reformatting | |
6314 | ||
6315 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6316 | ||
6317 | * gnat_rm.texi: Update documentation of pragma Obsolescent | |
6318 | ||
6319 | * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to | |
6320 | be omitted, and allow Entity parameter to be omitted. | |
6321 | ||
ef7c5692 AC |
6322 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
6323 | ||
6324 | * exp_util.adb: Minor comment fix | |
6325 | ||
6326 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6327 | ||
6328 | * g-socket.ads: Fix bad syntax in pragma Obsolescent | |
6329 | ||
6330 | * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of | |
6331 | argument with no identifier following one that has an identifier. Was | |
6332 | missed in some cases. | |
6333 | ||
6334 | * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy | |
6335 | identifier. | |
6336 | (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers | |
6337 | ||
6338 | * snames.adb: Add Name_Policy | |
6339 | ||
6340 | * snames.ads: Add Name_Policy | |
6341 | ||
0c7f5241 RD |
6342 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
6343 | ||
6344 | * gnat_rm.texi: Minor reformatting | |
6345 | ||
6346 | * par-ch2.adb: Minor reformatting | |
6347 | ||
ae8c7d87 RD |
6348 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
6349 | ||
6350 | * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up. | |
6351 | ||
ff69f95a RD |
6352 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
6353 | ||
6354 | * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate | |
6355 | properly in the presence of Remote_Types or Remote_Call_Interface. | |
6356 | ||
6357 | * sem_util.adb: Add comment. | |
6358 | ||
2db15b1d AC |
6359 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
6360 | ||
6361 | * ug_words: Add /ASSUME_VALID for -gnatB | |
6362 | ||
6363 | * vms_data.ads: Add /ASSUME_VALID for -gnatB | |
6364 | ||
6365 | * sem_cat.adb: Add clarifying commment | |
6366 | ||
6367 | * a-direio.ads (Bytes): Make sure value is non-zero | |
6368 | ||
6369 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
6370 | ||
6371 | * sem_util.adb (Is_Variable): If the prefix is an explicit dereference | |
6372 | that does not come from source, check for a rewritten function call in | |
6373 | prefixed notation before other forms of rewriting. | |
6374 | ||
6375 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6376 | ||
6377 | * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since | |
6378 | these are now obsolescent units used only for bootrapping with an | |
6379 | older compiler. | |
6380 | ||
94fd3dc6 AC |
6381 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
6382 | ||
6383 | * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage | |
6384 | ||
6385 | * sem_ch3.adb: Minor comment updates | |
6386 | ||
6387 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
6388 | ||
6389 | * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms | |
6390 | that come from source. | |
6391 | ||
40a14772 TG |
6392 | 2009-04-08 Tristan Gingold <gingold@adacore.com> |
6393 | ||
cac9d8d6 EB |
6394 | * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE. |
6395 | * gcc-interface/decl.c (prepend_attributes): New case | |
6396 | Pragma_Thread_Local_Storage. | |
6397 | * gcc-interface/utils.c (process_attributes): New case | |
6398 | ATTR_THREAD_LOCAL_STORAGE. | |
6399 | ||
46ff89f3 AC |
6400 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> |
6401 | ||
6402 | * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable | |
6403 | by the back-end if it contains a call to a subprogram without a | |
6404 | previous spec that is declared in the same unit. | |
6405 | ||
6406 | * errout.ads: Update comments on uses of dirs | |
6407 | ||
6408 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6409 | ||
6410 | * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed | |
6411 | ||
812f574f AC |
6412 | 2009-04-08 Tristan Gingold <gingold@adacore.com> |
6413 | ||
6414 | * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level | |
6415 | variables. | |
6416 | Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work). | |
6417 | ||
6418 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
6419 | ||
6420 | * prj-nmsc.adb: | |
6421 | (Add_Source): Add the mapping of the unit name to source file name in | |
6422 | the Unit_Sources_HT hash table, if the unit name is not null. | |
6423 | ||
6424 | * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT | |
6425 | ||
6426 | * prj.ads (Unit_Sources_Htable): New hash table instantiation | |
6427 | (Project_Tree_Data): New component Unit_Sources_HT | |
6428 | ||
4c8a5bb8 AC |
6429 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
6430 | ||
6431 | * sem_ch8.adb: Minor reformatting. | |
6432 | Minor code reorganization. | |
6433 | ||
6434 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6435 | ||
6436 | * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb, | |
6437 | snames.ads, freeze.adb, par-prag.adb: Add implementation of | |
6438 | pragma Thread_Local_Storage, setting new flag | |
6439 | Has_Pragma_Thread_Local_Storage in corresponding entities. | |
6440 | ||
ecc4ddde AC |
6441 | 2009-04-08 Emmanuel Briot <briot@adacore.com> |
6442 | ||
6443 | * prj.ads: Update comment on switches file | |
6444 | ||
6445 | * prj-nmsc.adb: Code clean up. Use renaming clauses. | |
6446 | ||
6447 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6448 | ||
6449 | * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling | |
6450 | ||
6451 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
6452 | ||
6453 | * ali-util.adb: Minor comment fix | |
6454 | ||
6455 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
6456 | ||
6457 | * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause | |
6458 | appears in a context clause, and the enclosing package is mentioned in | |
6459 | a limited_with_clause. | |
6460 | (Use_One_Type): Reject clause if type is still incomplete. | |
6461 | ||
a29262fd AC |
6462 | 2009-04-08 Emmanuel Briot <briot@adacore.com> |
6463 | ||
6464 | * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode): | |
6465 | avoid copies of Source_Data variables when possible, since these | |
6466 | involve calls to memcpy() which are done too many times. | |
6467 | ||
6468 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
6469 | ||
6470 | * exp_ch4.adb (Expand_Concatenate): Clean up code | |
6471 | ||
a2dc5812 AC |
6472 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
6473 | ||
6474 | * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index | |
6475 | type for the case of concatenating a constrained array indexed by an | |
6476 | enumeration type. | |
6477 | ||
6478 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6479 | ||
6480 | * sem_ch6.adb (Check_Conformance): when checking conformance of an | |
6481 | operation that overrides an abstract operation inherited from an | |
6482 | interface, return False if only one of the controlling formals is an | |
6483 | access parameter. | |
6484 | ||
6485 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6486 | ||
6487 | * sem_ch8.adb (Analyze_Object_Renaming): additional error messages | |
6488 | mandated by AI05-105. | |
6489 | ||
6490 | 2009-04-07 Vincent Celier <celier@adacore.com> | |
6491 | ||
6492 | * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string | |
6493 | ||
6494 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
6495 | ||
6496 | * usage.adb: Minor fix in usage message. | |
6497 | ||
6498 | * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to | |
6499 | match declaration; the correct subtype is Node_Id, not Entity_Id, | |
6500 | because the expected node kind is an identifier, not a defining | |
6501 | identifier. | |
6502 | ||
6503 | * switch-c.adb: Minor reformatting. | |
6504 | ||
6505 | * uintp.adb: Minor reformatting. | |
6506 | ||
6507 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6508 | ||
6509 | * exp_ch13.adb: Minor reformatting | |
6510 | ||
0ac73189 AC |
6511 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
6512 | ||
6513 | * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence | |
6514 | against missing parent. | |
6515 | ||
6516 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
6517 | ||
6518 | * xoscons.adb: Minor reformatting | |
6519 | ||
6520 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6521 | ||
6522 | * rtsfind.ads: Remove obsolete string concatenation entries | |
6523 | ||
6524 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6525 | ||
6526 | * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds | |
6527 | ||
6528 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6529 | ||
6530 | * sem_ch10.adb (Check_Body_Required): Handle properly imported | |
6531 | subprograms. | |
6532 | ||
6533 | 2009-04-07 Gary Dismukes <dismukes@adacore.com> | |
6534 | ||
6535 | * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case | |
6536 | Attribute_Address): When Init_Or_Norm_Scalars is True and the object | |
6537 | is of a scalar or string type then suppress the setting of the | |
6538 | expression to Empty. | |
6539 | ||
6540 | * freeze.adb (Warn_Overlay): Also emit the warnings about default | |
6541 | initialization for the cases of scalar and string objects when | |
6542 | Init_Or_Norm_Scalars is True. | |
6543 | ||
1732c156 AC |
6544 | 2009-04-07 Bob Duff <duff@adacore.com> |
6545 | ||
6546 | * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes | |
6547 | ||
6548 | 2009-04-07 Bob Duff <duff@adacore.com> | |
6549 | ||
6550 | * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A | |
6551 | Form parameter of Text_Translation=No allows binary mode for Text_IO | |
6552 | files. | |
6553 | ||
6554 | * gnat_rm.texi: Document Form parameter Text_Translation=xxx. | |
6555 | ||
6556 | 2009-04-07 Javier Miranda <miranda@adacore.com> | |
6557 | ||
6558 | * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when | |
6559 | processing the bounds for bit packed arrays or VM target machines. | |
6560 | ||
f16d05d9 AC |
6561 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
6562 | ||
6563 | * g-sothco.ads (Int_Access): Remove extraneous access type (use | |
6564 | anonymous access instead). | |
6565 | (Get_Socket_From_Set): Fix incorrectly reverted formals | |
6566 | Last and Socket to match the underlying C routine. | |
6567 | ||
ad1536a1 | 6568 | * g-socket.adb, g-socket.ads |
f16d05d9 AC |
6569 | (Get): Use named parameter associations instead of positional ones in |
6570 | call go Get_Socket_From_Set, since this routine has two formals of the | |
6571 | same type. | |
ad1536a1 | 6572 | (Image): New procedure. |
f16d05d9 AC |
6573 | |
6574 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
6575 | g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads: | |
6576 | (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access" | |
6577 | for type of Arg formal. | |
6578 | ||
6579 | * sem_warn.adb: Minor reformatting | |
6580 | ||
6581 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6582 | ||
6583 | * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates | |
6584 | over record components. | |
6585 | ||
6586 | 2009-04-07 Nicolas Roche <roche@adacore.com> | |
6587 | ||
6588 | * gsocket.h: | |
6589 | Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library | |
6590 | has disappeared between VxWorks 6.4 and VxWorks 6.5 | |
6591 | In RTP mode use time.h instead of times.h | |
6592 | ||
6593 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6594 | ||
6595 | * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling | |
6596 | ||
6597 | 2009-04-07 Kevin Pouget <pouget@adacore.com> | |
6598 | ||
6599 | * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct | |
6600 | expanded code for constrained types. | |
6601 | ||
6602 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6603 | ||
6604 | * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement | |
6605 | AI05-105: in an object renaming declaration, anonymousness is a name | |
6606 | resolution rule. | |
6607 | ||
6608 | * sem_ch8.adb (Analyze_Object_Renaming): Ditto. | |
6609 | ||
6610 | 2009-04-07 Arnaud Charlet <charlet@adacore.com> | |
6611 | ||
6612 | * g-comlin.adb (Expansion): Fix old regression: also return directory | |
6613 | names when matching. | |
6614 | ||
2fc05e3d AC |
6615 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
6616 | ||
6617 | * exp_ch4.adb: | |
6618 | (Expand_N_Op_Concat): Call Expand_Concatenate for all cases | |
6619 | (Expand_Concatenate): New name for Expand_Concatenate_String which has | |
6620 | been rewritten to handle all types. | |
6621 | (Expand_Concatenate_Other): Remove | |
6622 | ||
6623 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6624 | ||
6625 | * lib-xref.adb (Generate_Reference): A default subprogram in an | |
6626 | instance appears within the tree for the instance, but generates an | |
6627 | implicit reference in the ALI. | |
6628 | ||
fdac1f80 AC |
6629 | 2009-04-07 Javier Miranda <miranda@adacore.com> |
6630 | ||
6631 | * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged | |
6632 | derived type that has discriminants, propagate the list of interfaces | |
6633 | to the corresponding new base type. In addition, propagate also | |
6634 | attribute Limited_Present (found working in this patch). | |
6635 | ||
6636 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6637 | ||
6638 | * exp_ch4.adb: Rewrite concatenation expansion. | |
6639 | ||
8dbd1460 AC |
6640 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> |
6641 | ||
6642 | * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only | |
6643 | relevant to packages. | |
6644 | ||
6645 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6646 | ||
6647 | * sem_attr.adb: Minor reformatting | |
6648 | ||
6649 | * sem_ch6.adb: Minor reformatting | |
6650 | ||
2ddc2000 AC |
6651 | 2009-04-07 Tristan Gingold <gingold@adacore.com> |
6652 | ||
6653 | * socket.c: Add more protections against S_resolvLib_ macros. | |
6654 | ||
6655 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
6656 | ||
6657 | * sem_attr.adb: Minor reformatting | |
6658 | ||
6659 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6660 | ||
6661 | * sem_ch6.adb (New_Overloaded_Entity): New predicate | |
6662 | Is_Overriding_Alias to handle properly types that inherit two homonym | |
6663 | operations that have distinct dispatch table entries. | |
6664 | ||
06a16f58 AC |
6665 | 2009-04-07 Emmanuel Briot <briot@adacore.com> |
6666 | ||
6667 | * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when | |
6668 | looking for the end of a parenthesis group | |
6669 | ||
6670 | 2009-04-07 Tristan Gingold <gingold@adacore.com> | |
6671 | ||
6672 | * gsocket.h Don't #include resolvLib.h if __RTP__ is defined. | |
6673 | ||
6674 | * socket.c Don't use resolvLib_ macros if not defined. | |
6675 | ||
df46b832 AC |
6676 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
6677 | ||
6678 | * g-socket.adb: Minor reformatting. | |
6679 | ||
6680 | * g-socthi-mingw.adb: Minor reformatting | |
6681 | ||
6682 | * g-sothco.ads: Minor reformatting | |
6683 | ||
6684 | * exp_ch4.adb: | |
6685 | (Expand_Concatenate_String): Complete rewrite to generate efficient code | |
6686 | inline instead of relying on external library routines. | |
6687 | ||
6688 | * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb, | |
6689 | s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now | |
6690 | obsolescent | |
6691 | ||
6692 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6693 | ||
6694 | * sem_attr.adb: | |
6695 | (Eval_Attribute): for attributes of array objects that are not strings, | |
6696 | attributes are not static if nominal subtype of object is unconstrained. | |
6697 | ||
6698 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
6699 | ||
6700 | * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym | |
6701 | operations for a type T in an instance do not override each other, | |
6702 | when T is derived from a formal private type, the corresponding | |
6703 | operations inherited by a type derived from T outside | |
6704 | of the instance do not override each other either. | |
6705 | ||
3dd9959c AC |
6706 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
6707 | ||
6708 | (Osint.Fail): Change calling sequence to have one string arg | |
6709 | (Make.Make_Failed): Same change | |
6710 | All callers are adjusted to use concatenation | |
6711 | ||
6712 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6713 | ||
6714 | * exp_ch4.adb: Fix documentation typo | |
6715 | ||
6716 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6717 | ||
6718 | * tbuild.ads: Minor reformatting | |
6719 | ||
6720 | 2009-04-07 Javier Miranda <miranda@adacore.com> | |
6721 | ||
6722 | * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table | |
6723 | when compiling under ZFP runtime. | |
6724 | ||
6725 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6726 | ||
6727 | * g-comlin.adb: Minor reformatting | |
6728 | ||
6729 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
6730 | ||
6731 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
6732 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
6733 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads: | |
6734 | Remove dynamic allocation of Fd_Set in Socket_Set_Type objects. | |
6735 | ||
dcd8728b RD |
6736 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
6737 | ||
6738 | * gnat_ugn.texi: Document -gnatDnn/-gnatGnn | |
6739 | ||
6740 | * opt.ads (Sprint_Line_Limit): New parameter | |
6741 | ||
6742 | * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout | |
6743 | ||
6744 | * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches | |
6745 | ||
6746 | * usage.adb: Output information for -gnatGnn -gnatDnn | |
6747 | ||
6748 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6749 | ||
6750 | * make.adb: Minor reformatting | |
6751 | ||
6752 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6753 | ||
6754 | * mlib-tgt-specific-vms-alpha.adb: Minor reformatting | |
6755 | ||
6756 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6757 | ||
6758 | * mlib-tgt-specific-vms-ia64.adb: Minor reformatting | |
6759 | ||
c27f2f15 RD |
6760 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
6761 | ||
6762 | * checks.adb: | |
6763 | Remove Assume_Valid parameter from In_Subrange_Of calls | |
6764 | ||
6765 | * sem_eval.adb: | |
6766 | (Is_Subrange_Of): Remove Assume_Valid parameter, not needed | |
6767 | (Is_In_Range): Remove incorrect use of Assume_Valid | |
6768 | (Is_Out_Of_Range): Remove incorrect use of Assume_Valid | |
6769 | ||
6770 | * sem_eval.ads: | |
6771 | (Is_Subrange_Of): Remove Assume_Valid parameter, not needed | |
6772 | (Is_In_Range): Documentation cleanup | |
6773 | (Is_Out_Of_Range): Documentation cleanup | |
6774 | ||
6775 | * gnat_rm.texi: | |
6776 | Add documentation for Assume_No_Invalid_Values pragma | |
6777 | ||
6778 | * sem_ch12.adb: Minor reformatting | |
6779 | ||
6780 | * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors | |
6781 | ||
6782 | * sem_prag.adb: Improve error message. | |
6783 | ||
6784 | * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb: | |
6785 | LF/CR no longer recognized as line terminator | |
6786 | ||
6787 | * switch.ads: Minor documentation improvement | |
6788 | ||
6789 | * vms_data.ads: Minor reformatting | |
6790 | ||
c800f862 RD |
6791 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
6792 | ||
6793 | * checks.adb (Determine_Range): Add Assume_Valid parameter | |
6794 | ||
6795 | * checks.ads (Determine_Range): Add Assume_Valid parameter | |
6796 | ||
6797 | * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than | |
6798 | Is_Null_Loop to suppress warnings in a loop body. | |
6799 | ||
6800 | * exp_ch4.adb: | |
6801 | (Rewrite_Comparison): Major rewrite to accomodate invalid values | |
6802 | ||
6803 | * exp_ch5.adb: | |
6804 | (Expand_N_Loop_Statement): Delete loop known not to execute | |
6805 | ||
6806 | * opt.ads: | |
6807 | (Assume_No_Invalid_Values): Now set to False, and as documented, this | |
6808 | fully enables the proper handling of invalid values. | |
6809 | ||
6810 | * sem_attr.adb: | |
6811 | New calling sequence for Is_In_Range | |
6812 | ||
6813 | * sem_ch5.adb: | |
6814 | (Analyze_Iteration_Scheme): Accomodate possible invalid values | |
6815 | in determining if a loop range is null. | |
6816 | ||
6817 | * sem_eval.adb: | |
6818 | (Is_In_Range): Add Assume_Valid parameter | |
6819 | (Is_Out_Of_Range): Add Assume_Valid_Parameter | |
6820 | (Compile_Time_Compare): Major rewrite to accomodate invalid values and | |
6821 | also to do more accurate and complete range analysis, catching more | |
6822 | cases. | |
6823 | ||
6824 | * sem_eval.ads: | |
6825 | (Is_In_Range): Add Assume_Valid parameter | |
6826 | (Is_Out_Of_Range): Add Assume_Valid_Parameter | |
6827 | ||
6828 | * sem_util.adb: | |
6829 | New calling sequence for Is_In_Range | |
6830 | ||
6831 | * sinfo.adb: | |
6832 | (Suppress_Loop_Warnings): New flag | |
6833 | ||
6834 | * sinfo.ads: | |
6835 | (Is_Null_Loop): Update documentation | |
6836 | (Suppress_Loop_Warnings): New flag | |
6837 | ||
6838 | * gnat_ugn.texi: Document -gnatB switch | |
6839 | ||
9d00840d AC |
6840 | 2009-04-07 Arnaud Charlet <charlet@adacore.com> |
6841 | ||
6842 | * gnatvsn.ads: Bump version number. | |
6843 | ||
5f143024 AC |
6844 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
6845 | ||
6846 | * exp_ch3.adb: Minor rewording (comments) | |
6847 | ||
6848 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
6849 | ||
6850 | * exp_disp.adb: Minor reformatting | |
6851 | ||
d5859bf4 EB |
6852 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
6853 | ||
6854 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the | |
6855 | underlying type. | |
6856 | * gcc-interface/trans.c (lvalue_required_p): Likewise. | |
6857 | ||
c86f07f6 EB |
6858 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
6859 | ||
6860 | * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>: | |
6861 | Do not convert the result. Remove obsolete comment. | |
6862 | ||
2d5be6c1 EB |
6863 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
6864 | ||
6865 | * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear | |
6866 | DECL_CONTEXT. | |
6867 | (Subprogram_Body_to_gnu): Fix pasto. | |
6868 | ||
10069d53 EB |
6869 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
6870 | ||
6871 | * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl. | |
6872 | (void_type_decl_node): Remove. | |
6873 | (init_gigi_decls): Likewise. | |
6874 | (gnat_install_builtins): Declare. | |
6875 | (record_builtin_type): Likewise. | |
6876 | (create_type_stub_decl): Likewise. | |
6877 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type. | |
6878 | (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types | |
6879 | artificial. | |
6880 | <E_Array_Subtype>: Use the index types, not only their name, in the | |
6881 | record giving the names of the bounds, if any. | |
6882 | For a packed array type, make it artificial only if the base type | |
6883 | was artificial as well. Remove redundant statement. | |
6884 | (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for | |
6885 | dummy types. | |
6886 | Use create_type_stub_decl to build the TYPE_STUB_DECL of types. | |
6887 | (rest_of_type_decl_compilation_no_defer): Likewise. | |
6888 | * gcc-interface/misc.c (gnat_printable_name): Add missing guard. | |
6889 | * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL | |
6890 | and use create_type_stub_decl to build it. | |
6891 | (gnat_pushdecl): Rewrite condition. | |
6892 | (gnat_install_builtins): Remove bogus declaration. | |
6893 | (record_builtin_type): New function. | |
6894 | (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL | |
6895 | of types. | |
6896 | (create_type_stub_decl): New function. | |
6897 | (create_type_decl): Assert that the type is not dummy. If the type | |
6898 | hasn't been named yet, equate the TYPE_STUB_DECL to the created node. | |
6899 | (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor. | |
6900 | (build_vms_descriptor): Likewise. | |
6901 | (init_gigi_decls): Delete and move bulk of code to... | |
6902 | * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type. | |
6903 | (emit_range_check): Add gnat_node parameter. | |
6904 | (emit_index_check): Likewise. | |
6905 | (emit_check): Likewise. | |
6906 | (build_unary_op_trapv): Likewise. | |
6907 | (build_binary_op_trapv): Likewise. | |
6908 | (convert_with_check): Likewise. | |
6909 | (Attribute_to_gnu): Adjust calls for above changes. | |
6910 | (call_to_gnu): Likewise. | |
6911 | (gnat_to_gnu): Likewise. | |
6912 | (assoc_to_constructor): Likewise. | |
6913 | (pos_to_constructor): Likewise. | |
6914 | (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes. | |
6915 | (process_type): Do not create TYPE_DECL for dummy types. | |
6916 | ||
229077b0 EB |
6917 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
6918 | ||
1e17ef87 EB |
6919 | * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables. |
6920 | * gcc-interface/trans.c: Fix formatting throughout. Fix comments. | |
6921 | * gcc-interface/utils.c: Fix comments. | |
6922 | ||
6923 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> | |
6924 | ||
6925 | * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and | |
6926 | move around. | |
229077b0 EB |
6927 | (gnat_to_gnu_type): Move around. |
6928 | (get_unpadded_type): Likewise. | |
1e17ef87 EB |
6929 | * gcc-interface/utils.c (update_pointer_to): Use synthetic macro. |
6930 | Tidy comments. | |
229077b0 | 6931 | |
aa1aa786 EB |
6932 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
6933 | ||
6934 | * gcc-interface/trans.c (check_for_eliminated_entity): New function. | |
6935 | (Attribute_to_gnu): Invoke it for Access- and Address-like attributes. | |
6936 | (call_to_gnu): Invoke it instead of manually checking. | |
6937 | ||
63787194 EB |
6938 | 2009-04-04 Eric Botcazou <ebotcazou@adacore.com> |
6939 | ||
6940 | * gcc-interface/utils.c (finish_record_type): Force structural equality | |
6941 | checks if the record type is discriminated. | |
6942 | ||
d236ace7 EB |
6943 | 2009-03-31 Eric Botcazou <ebotcazou@adacore.com> |
6944 | ||
6945 | * system-linux-alpha.ads (Functions_Return_By_DSP): Remove. | |
6946 | * system-linux-mips.ads (Functions_Return_By_DSP): Likewise. | |
6947 | * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise. | |
6948 | * system-linux-s390.ads (Functions_Return_By_DSP): Likewise. | |
6949 | * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise. | |
6950 | * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise. | |
6951 | * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise. | |
6952 | ||
bd9f68e0 PB |
6953 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
6954 | ||
d7be99f1 EB |
6955 | * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead |
6956 | of TREE_CONSTANT_OVERFLOW. | |
bd9f68e0 | 6957 | |
8ce94e44 JM |
6958 | 2009-03-30 Joseph Myers <joseph@codesourcery.com> |
6959 | ||
6960 | PR rtl-optimization/323 | |
6961 | * gcc-interface/misc.c (gnat_post_options): Set | |
6962 | flag_excess_precision_cmdline. Give an error for | |
6963 | -fexcess-precision=standard for processors where the option is | |
6964 | significant. | |
6965 | ||
d9223014 L |
6966 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
6967 | ||
6968 | PR c/39323 | |
6969 | * gcc-interface/utils.c (create_field_decl): Use "unsigned int" | |
6970 | on bit_align. | |
6971 | ||
76761bbd OH |
6972 | 2009-03-11 Olivier Hainque <hainque@adacore.com> |
6973 | ||
6974 | * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range | |
6975 | checks processing, remove unintended TREE_TYPE walk on index type. | |
6976 | ||
39ae51e0 EB |
6977 | 2009-03-01 Eric Botcazou <ebotcazou@adacore.com> |
6978 | ||
6979 | PR ada/39264 | |
6980 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no | |
6981 | call make_packable_type on fat pointer types. | |
6982 | <E_Array_Subtype>: Likewise. | |
6983 | <E_Record_Subtype>: Call make_packable_type on all record types | |
6984 | except for fat pointer types. | |
6985 | (make_packable_type): Likewise. | |
6986 | (gnat_to_gnu_field): Likewise. | |
6987 | ||
7d01864f EB |
6988 | 2009-02-28 Eric Botcazou <ebotcazou@adacore.com> |
6989 | ||
6990 | * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental | |
67901d32 | 6991 | EH_MECHANISM change made on 2007-12-06. |
7d01864f | 6992 | |
a760c977 AS |
6993 | 2009-02-26 Andreas Schwab <schwab@suse.de> |
6994 | ||
4c354194 | 6995 | PR ada/39172 |
a760c977 | 6996 | * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@. |
a760c977 AS |
6997 | * gcc-interface/Makefile.in: Change all uses of $(srcdir), |
6998 | $(fsrcdir) and $(fsrcpfx) to add ada subdir. | |
6999 | (AWK): Substitute. | |
7000 | (target_cpu_default): Substitute. | |
7001 | ||
054efbba LG |
7002 | 2009-02-25 Laurent GUERBY <laurent@guerby.net> |
7003 | ||
975a4fd6 | 7004 | PR ada/39221 |
a760c977 AS |
7005 | * a-teioed.adb (Expand): Fix Result overflow. |
7006 | ||
c608b4d2 | 7007 | 2009-02-25 Laurent GUERBY <laurent@guerby.net> |
2692d7f5 | 7008 | |
a760c977 AS |
7009 | * gcc-interface/Makefile.in: Fix multilib handling for |
7010 | sparc64-linux. | |
7011 | ||
ea675ec3 RO |
7012 | 2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7013 | ||
7014 | * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6. | |
7015 | ||
e98c0739 L |
7016 | 2009-02-18 H.J. Lu <hongjiu.lu@intel.com> |
7017 | ||
7018 | * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. | |
7019 | ||
70f5fc7c EB |
7020 | 2009-02-16 Eric Botcazou <ebotcazou@adacore.com> |
7021 | ||
7022 | * gcc-interface/deftarg.c: Remove. | |
7023 | ||
794511d2 | 7024 | 2009-02-10 Olivier Hainque <hainque@adacore.com> |
e98c0739 | 7025 | Eric Botcazou <ebotcazou@adacore.com> |
794511d2 EB |
7026 | |
7027 | * gcc-interface/decl.c (enum alias_set_op): New enumeration. | |
7028 | (copy_alias_set): Rename into... | |
7029 | (relate_alias_sets): ...this. Add third parameter OP. Retrieve the | |
7030 | underlying array of unconstrained arrays for the new type as well. | |
7031 | If the old and new alias sets don't conflict, make one a subset of | |
7032 | the other as per the OP parameter. | |
7033 | (gnat_to_gnu_entity): Adjust calls to copy_alias_set. | |
7034 | <E_Record_Type>: Do not copy the alias set for derived types. | |
7035 | For all types, make the alias set of derived types a superset of | |
7036 | that of their parent type. | |
7037 | (make_aligning_type): Adjust calls to copy_alias_set. | |
7038 | (make_packable_type): Likewise. | |
7039 | * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>: | |
7040 | Check for alias set conflict instead of strict equality to issue the | |
7041 | warning. | |
7042 | ||
c3734896 EB |
7043 | 2009-02-09 Eric Botcazou <ebotcazou@adacore.com> |
7044 | ||
7045 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: | |
7046 | Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate. | |
7047 | (copy_alias_set): Assert that arrays have the same aliasing settings. | |
7048 | (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT. | |
7049 | ||
9a58d4d2 EB |
7050 | 2009-02-08 Eric Botcazou <ebotcazou@adacore.com> |
7051 | ||
7052 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: | |
7053 | Set TYPE_NONALIASED_COMPONENT on the array type. | |
7054 | ||
d0ec4c99 LG |
7055 | 2009-01-31 Laurent GUERBY <laurent@guerby.net> |
7056 | ||
7057 | * gcc-interface/Makefile.in: Fix mipsel linux handling. | |
a760c977 | 7058 | |
4dcb8fd1 JJ |
7059 | 2009-01-16 Jakub Jelinek <jakub@redhat.com> |
7060 | ||
7061 | * gcc-interface/Makefile.in: Fix multilib handling for | |
7062 | powerpc64-linux. | |
7063 | ||
3b9c1abd EB |
7064 | 2009-01-12 Eric Botcazou <ebotcazou@adacore.com> |
7065 | ||
7066 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip | |
7067 | only useless conversions around renamed objects. | |
7068 | ||
13318d2f EB |
7069 | 2009-01-11 Eric Botcazou <ebotcazou@adacore.com> |
7070 | ||
7071 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put | |
7072 | the _Tag field before any discriminants in the field list. | |
7073 | (components_to_record): Remove obsolete comment. | |
7074 | ||
ad41bd84 JM |
7075 | |
7076 | \f | |
8ff1dd83 | 7077 | Copyright (C) 2009 Free Software Foundation, Inc. |
ad41bd84 JM |
7078 | |
7079 | Copying and distribution of this file, with or without modification, | |
7080 | are permitted in any medium without royalty provided the copyright | |
7081 | notice and this notice are preserved. |