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