]>
Commit | Line | Data |
---|---|---|
0429d533 | 1 | 2009-09-16 Thomas Quinot <quinot@adacore.com> |
2 | ||
3 | * freeze.adb, exp_intr.adb (Expand_Intrinsic_Call): Leave calls to | |
4 | intrinsics untouched (to be expanded later on by gigi) if an external | |
5 | name has been specified. | |
6 | (Freeze_Entity): Do not generate a default external name for | |
7 | imported subprograms with convention Intrinsic (so that the above code | |
8 | can identify the case where an external name has been explicitly | |
9 | provided). | |
10 | ||
11 | * s-oscons-tmplt.c: Quote TARGET_OS early so that it is not erroneously | |
12 | replaced by something else due to an existing #define clause. | |
13 | ||
14 | 2009-09-16 Ed Schonberg <schonberg@adacore.com> | |
15 | ||
16 | * sinfo.ads, sinfo.adb (Is_Accessibility_Actual): New flag on | |
17 | Parameter_Association node, created for the extra actual generated for | |
18 | an access parameter of a function that dispatches on result, to prevent | |
19 | double generation of such actuals when the call is rewritten is a | |
20 | dispatching call. | |
21 | * exp_ch6.adb (Expand_Call): Set Is_Accessibility_Actual when needed. | |
22 | * exp_disp.adb (Expand_Dispatching_Call): Do not transfer extra actuals | |
23 | that carry this flag when rewriting the original call as a dispatching | |
24 | call, after propagating the controlling tag. | |
25 | ||
26 | 2009-09-16 Vincent Celier <celier@adacore.com> | |
27 | ||
28 | * prj-nmsc.adb (Add_Source): New parameter Source_Dir_Rank to be put | |
29 | in the source data. | |
30 | (Check_File): New parameter Source_Dir_Rank, to check if a duplicate | |
31 | source is allowed. | |
32 | (Find_Source_Dirs): New parameter Rank to be recorded with the source | |
33 | directories. | |
34 | (Search_Directories): Call Check_File with the rank of the directory | |
35 | * prj.adb (Project_Empty): Add new component Source_Dir_Ranks | |
36 | (Free): Free also Number_Lists | |
37 | (Reset): Init also Number_Lists | |
38 | * prj.ads (Number_List_Table): New dynamic table for lists of numbers | |
39 | (Source_Data): New component Source_Dir_Rank. Remove component | |
40 | Known_Order_Of_Source_Dirs, no longer needed. | |
41 | (Project_Data): New component Source_Dir_Ranks | |
42 | (Project_Tree_Data): New components Number_Lists | |
43 | ||
d1458a07 | 44 | 2009-09-16 Vincent Celier <celier@adacore.com> |
45 | ||
46 | * gprep.adb (Yes_No): New global constant | |
47 | Unix_Line_Terminators: New global Boolean variable | |
48 | (Process_One_File): Create the out file with a "Text_Translation=" form | |
49 | that depends on the use of option -T. | |
50 | (Scan_Command_Line): Add option -T | |
51 | (Usage): Add line for option -T | |
52 | ||
53 | 2009-09-16 Ed Schonberg <schonberg@adacore.com> | |
54 | ||
55 | * exp_disp.ads, exp_disp.adb (Is_Predefined_Internal_Operation): New | |
56 | predicate that describes a proper subset of | |
57 | Is_Predefined_Dispatching_Operation and excludes stream operations, | |
58 | which can be overridden by the user. | |
59 | * sem_ch6.adb (Create_Extra_Formals): use | |
60 | Is_Predefined_Internal_Operation, so that stream operations get extra | |
61 | formals. | |
62 | * exp_ch6.adb (Prevent double generation of extra actuals in calls to | |
63 | 'Input, which may be expanded twice, first as a function call and then | |
64 | as a dispatching call. | |
65 | ||
920e81b8 | 66 | 2009-09-16 Thomas Quinot <quinot@adacore.com> |
67 | ||
68 | * s-oscons-tmplt.c (Target_OS, Target_Name): New constants. | |
69 | * g-expect.adb (Set_Up_Child_Communications): Use | |
70 | System.OS_Constants.Target_OS to determine whether running on Windows. | |
71 | ||
78f55ca8 | 72 | 2009-09-14 Richard Henderson <rth@redhat.com> |
73 | ||
74 | * gcc-interface/trans.c (Pragma_to_gnu): Use build5 for ASM_EXPR. | |
75 | ||
cf07a590 | 76 | 2009-09-14 Eric Botcazou <ebotcazou@adacore.com> |
77 | ||
78 | * exp_dbug.ads (Packed Array Encoding): Document the new encoding for | |
79 | the unconstrained case. | |
80 | * gcc-interfaces/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Implement | |
81 | the encoding. Do not give a name to the pointer type to the XUT type. | |
82 | * gcc-interfaces/utils.c (gnat_pushdecl): Propagate DECL_ORIGINAL_TYPE | |
83 | for fat pointer types, if any. Make sure DECL_ARTIFICIAL is cleared | |
84 | on nodes with DECL_ORIGINAL_TYPE set. | |
85 | (update_pointer_to): Set DECL_ORIGINAL_TYPE to the original pointer | |
86 | for fat pointer types. Make sure DECL_ARTIFICIAL is cleared. | |
87 | ||
e38def9c | 88 | 2009-09-14 Richard Henderson <rth@redhat.com> |
89 | ||
90 | * gcc-interface/misc.c (gnat_init_gcc_eh): Don't call | |
91 | default_init_unwind_resume_libfunc. | |
92 | * gcc-interface/trans.c (Exception_Handler_to_gnu_zcx): Use | |
93 | __builtin_eh_pointer. | |
94 | * gcc-interface/utils.c (gnat_install_builtins): Update call | |
95 | to build_common_builtin_nodes. | |
96 | ||
58d82cd0 | 97 | 2009-09-13 Richard Guenther <rguenther@suse.de> |
89e2cace | 98 | Rafael Avila de Espindola <espindola@google.com> |
58d82cd0 | 99 | |
89e2cace | 100 | * gcc-interface/misc.c (gnat_init_gcc_eh): Do not set variables |
101 | eh_personality_libfunc and lang_eh_runtime_type. | |
58d82cd0 | 102 | (LANG_HOOKS_EH_PERSONALITY): Define. |
89e2cace | 103 | (gnat_eh_personality_decl): New static variable. |
104 | (gnat_eh_personality): New static function. | |
105 | Include gt-ada-misc.h. | |
106 | * gcc-interface/Make-lang.in (misc.o): Add gt-ada-misc.h dependency. | |
107 | * gcc-interface/config-lang.in (gtfiles): Add misc.c. | |
58d82cd0 | 108 | |
1d842749 | 109 | 2009-09-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
110 | ||
111 | PR ada/18302 | |
112 | * gcc-interface/Make-lang.in (check-acats): Export rootme, EXPECT. | |
113 | ||
59cd8bed | 114 | 2009-09-08 Eric Botcazou <ebotcazou@adacore.com> |
115 | ||
116 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy | |
117 | flow of control. | |
118 | Avoid useless work when processing the Treat_As_Volatile flag. | |
119 | ||
73ac9f44 | 120 | 2009-09-08 Eric Botcazou <ebotcazou@adacore.com> |
121 | ||
122 | * gcc-interface/targtyps.c: Reorder include directives. | |
123 | ||
cbc7195a | 124 | 2009-09-07 Laurent GUERBY <laurent@guerby.net> |
125 | ||
126 | * gcc-interface/targtyps.c: Add missing include for tm_p.h. | |
127 | * gcc-interface/Make-lang.in: Update dependencies. | |
128 | ||
c8bc1b1e | 129 | 2009-09-07 Laurent GUERBY <laurent@guerby.net> |
130 | ||
131 | * make.adb: Add missing documentation for multilib handling. | |
132 | ||
34e5cced | 133 | 2009-09-03 Diego Novillo <dnovillo@google.com> |
134 | ||
135 | * gcc-interface/misc.c (lang_hooks): Remove const qualifier. | |
136 | ||
2a23d360 | 137 | 2009-09-02 Richard Henderson <rth@redhat.com> |
138 | ||
139 | * tb-gcc.c (__gnat_backtrace): Mark all arguments unused. | |
140 | ||
7cb1cf41 | 141 | 2009-09-02 Olivier Hainque <hainque@adacore.com> |
142 | ||
143 | * init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si | |
144 | and uc arguments. | |
145 | ||
7acc347e | 146 | 2009-09-02 Olivier Hainque <hainque@adacore.com> |
147 | ||
148 | * gcc-interface/decl.c (cannot_be_superflat_p): Handle | |
149 | Signed_Integer_Type_Definition Scalar_Ranges. | |
150 | ||
4ebafe49 | 151 | 2009-09-02 Eric Botcazou <ebotcazou@adacore.com> |
152 | ||
153 | * gcc-interface/trans.c (gnat_gimplify_expr) <ADDR_EXPR>: Gimplify the | |
154 | SAVE_EXPR built for misaligned arguments. Remove redundant stuff. | |
155 | (addressable_p): Return true for more rvalues. | |
156 | ||
092a498d | 157 | 2009-09-01 Jakub Jelinek <jakub@redhat.com> |
158 | ||
159 | * gcc-interface/utils2.c (maybe_wrap_malloc, maybe_wrap_free): Cast | |
160 | POINTER_SIZE to HOST_WIDE_INT. | |
161 | ||
f639fdbf | 162 | 2009-09-01 Richard Guenther <rguenther@suse.de> |
163 | ||
164 | * gcc-interface/misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Remove. | |
165 | ||
1e5ec9ee | 166 | 2009-08-25 Eric Botcazou <ebotcazou@adacore.com> |
167 | ||
168 | * gcc-interface/trans.c (call_to_gnu): Tidy. | |
169 | (gnat_to_gnu) <N_Slice>: Set TYPE_ARRAY_MAX_SIZE if the slice has | |
170 | non-constant size but the array itself has constant size. | |
171 | * gcc-interface/utils.c (convert_vms_descriptor64): Fix type | |
172 | consistency error. | |
173 | (convert_vms_descriptor32): Likewise. | |
174 | ||
1660e15a | 175 | 2009-08-22 Aurelien Jarno <aurelien@aurel32.net> |
176 | ||
177 | * gcc-interface/Makefile.in: Add Ada support for | |
178 | GNU/kFreeBSD x86_64. | |
179 | * system-freebsd-x86_64.ads: New file based on | |
180 | system-freebsd-x86.ads. | |
181 | ||
9fb1518c | 182 | 2009-08-20 Eric Botcazou <ebotcazou@adacore.com> |
183 | ||
184 | * gcc-interface/utils.c (convert): In the padded case, do the final | |
185 | conversion as an unchecked conversion if the underlying types are | |
186 | array types with variable size. | |
187 | ||
7cdef07d | 188 | 2009-08-20 Eric Botcazou <ebotcazou@adacore.com> |
189 | ||
190 | * gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Mark the expression | |
191 | as visited. | |
9fb1518c | 192 | * gcc-interface/misc.c (gnat_get_subrange_bounds): Always return the |
7cdef07d | 193 | bounds. |
194 | * gcc-interface/trans.c (add_decl_expr): Do not mark gigi-specific | |
195 | fields. | |
196 | (gnat_gimplify_expr) <DECL_EXPR>: New case. | |
197 | ||
caa5d846 | 198 | 2009-08-17 Aurelien Jarno <aurelien@aurel32.net> |
199 | ||
200 | * s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant. | |
201 | (stack_t): New record type. | |
202 | (sigaltstack): New imported function. | |
203 | (Alternate_Stack): New imported variable. | |
204 | (Alternate_Stack_Size): New constant. | |
205 | ||
9a5dc427 | 206 | 2009-08-17 Vasiliy Fofanov <fofanov@adacore.com> |
207 | ||
208 | * a-calend-vms.adb: Fix typo. | |
209 | ||
210 | 2009-08-17 Tristan Gingold <gingold@adacore.com> | |
211 | ||
212 | * s-taprop-posix.adb: Round up the stack size to avoid failure on | |
213 | Darwin. | |
214 | ||
215 | 2009-08-17 Gary Dismukes <dismukes@adacore.com> | |
216 | ||
217 | * sem_cat.adb (Validate_Static_Object_Name): Update comment. | |
218 | ||
219 | 2009-08-17 Vincent Celier <celier@adacore.com> | |
220 | ||
221 | * make.adb (Arguments_Collected): Unneeded, removed | |
222 | (Change_To_Object_Directory): Use Project directly. Add pragma Assert to | |
223 | ensure caller does not pass in No_Project. | |
224 | (Compile): Add new parameter Project. Let procedure | |
225 | Collect_Arguments_And_Compile provide the proper value. | |
226 | ||
227 | * switch-c.adb: Add documentation for -gnatea and -gnatez | |
228 | ||
229 | 2009-08-17 Ben Brosgol <brosgol@adacore.com> | |
230 | ||
231 | * gnat_ugn.texi: Changed name of package in SAL example, to avoid | |
232 | clash with Ada 2005 reserved word (interface). | |
233 | ||
e2c9a015 | 234 | 2009-08-17 Robert Dewar <dewar@adacore.com> |
235 | ||
cdaf90c4 | 236 | * a-crbtgk.adb, a-crdlli.adb, a-direct.adb, a-caldel-vms.adb, |
237 | a-calend-vms.adb, a-calfor.adb, a-cdlili.adb, a-chahan.adb, | |
238 | a-cidlli.adb, a-coinve.adb, a-comlin.adb: Minor code reorganization | |
239 | (use conditional expressions). | |
e2c9a015 | 240 | |
447e605f | 241 | 2009-08-17 Robert Dewar <dewar@adacore.com> |
242 | ||
243 | * make.adb: Add ??? comment | |
244 | * tbuild.adb: Minor reformatting | |
245 | ||
246 | 2009-08-17 Thomas Quinot <quinot@adacore.com> | |
247 | ||
248 | * exp_ch4.adb (Exp_Ch4.Expand_N_Slice.Make_Temporary): Rename to | |
249 | Make_Temporary_For_Slice to avoid confusion with Tbuild.Make_Temporary. | |
250 | Use Tbuild.Make_Temporary to create entity for the temporary. | |
251 | ||
7183c9a2 | 252 | 2009-08-17 Arnaud Charlet <charlet@adacore.com> |
253 | ||
254 | * make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change | |
255 | and ignore -mieee switch to avoid spawning an extra gcc in this case. | |
256 | ||
257 | 2009-08-17 Thomas Quinot <quinot@adacore.com> | |
258 | ||
259 | * tbuild.adb: Minor reformatting | |
260 | ||
dba4b90e | 261 | 2009-08-17 Ed Schonberg <schonberg@adacore.com> |
262 | ||
263 | * exp_ch3.adb (Build_Discriminant_Formals): If the discriminals already | |
264 | exist, as is the case for synchronized types, use the type of the | |
265 | discriminal in the parameter specification, to prevent a spurious | |
266 | subtype mismatch in gigi. | |
267 | ||
268 | 2009-08-17 Robert Dewar <dewar@adacore.com> | |
269 | ||
270 | * prj-env.adb: Minor reformatting | |
271 | * make.adb: Minor reformatting | |
272 | Comment updates | |
273 | ||
274 | 2009-08-17 Javier Miranda <miranda@adacore.com> | |
275 | ||
276 | * exp_ch7.adb (Wrap_Transient_Expression): Update comments. | |
277 | ||
278 | 2009-08-17 Emmanuel Briot <briot@adacore.com> | |
279 | ||
280 | * prj-part.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-conf.adb | |
281 | (Processing_Flags.Require_Obj_Dirs): new field, which controls whether | |
282 | object directories must be present. In the case of gprclean at least, | |
283 | these are optional (if they do not exist there is nothing to clean) | |
284 | ||
8aa885d0 | 285 | 2009-08-17 Robert Dewar <dewar@adacore.com> |
286 | ||
287 | * prj-env.adb: Minor reformatting | |
288 | * sem_ch3.adb: Minor reformatting | |
289 | ||
290 | 2009-08-17 Hristian Kirtchev <kirtchev@adacore.com> | |
291 | ||
292 | * sysdep.c (__gnat_localtime_tzoff): VxWorks case - Flip the sign of | |
293 | the time zone since VxWorks chose positive values to represent west | |
294 | time zones and negative for east zones. | |
295 | ||
16d808f2 | 296 | 2009-08-17 Ed Schonberg <schonberg@adacore.com> |
297 | ||
298 | * sem_ch3.adb (Access_Definition): Do not create an Itype reference for | |
299 | an anonymous access type whose designated type is generic. | |
300 | ||
301 | 2009-08-17 Arnaud Charlet <charlet@adacore.com> | |
302 | ||
303 | * comperr.adb (Compiler_Abort): Do not generate a bug box when in | |
304 | codepeer mode, friendlier. | |
305 | ||
8f22e174 | 306 | 2009-08-10 Laurent GUERBY <laurent@guerby.net> |
307 | ||
308 | * make.adb: Handle multilib | |
309 | ||
1c4eb1d6 | 310 | 2009-08-10 Vincent Celier <celier@adacore.com> |
311 | ||
312 | * prj-env.adb (Create_Config_Pragmas_File.Write_Temp_File): Do not use | |
313 | the temporary file name in the error message when the temporary file | |
314 | cannot be created. | |
315 | ||
316 | 2009-08-10 Yannick Moy <moy@adacore.com> | |
317 | ||
318 | * gnat_ugn.texi: Fix typo | |
319 | ||
4d1b43aa | 320 | 2009-08-10 Robert Dewar <dewar@adacore.com> |
321 | ||
322 | * exp_ch7.adb: Add ??? comment for last change | |
323 | ||
324 | 2009-08-10 Vincent Celier <celier@adacore.com> | |
325 | ||
326 | * prj-env.adb (Add_To_Buffer): New procedure | |
327 | (Create_Config_Pragmas_File): Write to temporary file in one shot | |
328 | (Create_Mapping_File): Ditto | |
329 | (Set_Ada_Paths): Ditto | |
330 | ||
695bd6f3 | 331 | 2009-08-10 Vincent Celier <celier@adacore.com> |
332 | ||
333 | PR ada/17566 | |
334 | * xref_lib.adb (Print_Xref): Make sure that there is at least one space | |
335 | between a declaration name and its type. | |
336 | ||
d64b7e61 | 337 | 2009-08-07 Javier Miranda <miranda@adacore.com> |
338 | ||
339 | * exp_ch7.adb (Wrap_Transient_Expression): Add missing adjustment of | |
340 | SCIL node. | |
341 | ||
7ba19623 | 342 | 2009-08-07 Robert Dewar <dewar@adacore.com> |
343 | ||
344 | * sem_warn.adb (Warn_On_Unreferenced_Entity): Fix obvious typo. | |
345 | ||
346 | 2009-08-07 Vincent Celier <celier@adacore.com> | |
347 | ||
348 | * gnatcmd.adb (GNATCmd): If -U is not used, one and only one main is | |
349 | specified on the command line and there are switches in the Compiler | |
350 | package of the project file, use these compilation switches to invoke | |
351 | the tool. | |
352 | ||
353 | 2009-08-07 Ben Brosgol <brosgol@adacore.com> | |
354 | ||
355 | * gnat_ugn.texi: Wordsmithing edits at beginning of gnatcheck chapter. | |
356 | ||
357 | 2009-08-07 Ed Schonberg <schonberg@adacore.com> | |
358 | ||
359 | * sem_ch10.adb (Analyze_Proper_Body): Indicate name of missing subunit | |
360 | even if not in main unit, to simplify debugging. | |
361 | ||
362 | 2009-08-07 Arnaud Charlet <charlet@adacore.com> | |
363 | ||
364 | * gcc-interface/Makefile.in: Fix handling of GCC_FOR_TARGET. | |
365 | * gcc-interface/Make-lang.in: Update dependencies. | |
366 | ||
7f2b7c5f | 367 | 2009-08-07 Robert Dewar <dewar@adacore.com> |
368 | ||
369 | * types.ads: Minor reformatting | |
370 | * sem_ch12.ads (Check_Generic_Child_Unit): Add missing documentation. | |
371 | * frontend.adb, sem_warn.adb, sem_warn.ads: Fix spelling of | |
372 | Output_Non_Modified_In_Out_Warnings. | |
373 | * sem_ch13.adb: Remove ??? comment. | |
374 | ||
375 | 2009-08-07 Vincent Celier <celier@adacore.com> | |
376 | ||
377 | * mlib-prj.adb (Build_Library): Include binder generate object file | |
378 | for SAL when library name is only one character. | |
379 | ||
0b16c8b7 | 380 | 2009-08-07 Thomas Quinot <quinot@adacore.com> |
381 | ||
382 | * targparm.adb: Minor reformatting | |
383 | * sem.adb: Minor reformatting | |
384 | * exp_ch4.adb (Expand_N_Conditional_Expression): Add comment. | |
385 | ||
386 | 2009-08-07 Emmanuel Briot <briot@adacore.com> | |
387 | ||
388 | * prj-conf.adb: Remove duplicate directory separator in the output when | |
389 | an object directory does not exist. | |
390 | ||
391 | 2009-08-07 Robert Dewar <dewar@adacore.com> | |
392 | ||
393 | * exp_util.adb: Minor reformatting | |
394 | ||
395 | 2009-08-07 Vincent Celier <celier@adacore.com> | |
396 | ||
397 | * mlib-prj.adb (Build_Library): Fixed bug in name of ALI file (wrong | |
398 | length used). | |
399 | ||
400 | 2009-08-07 Ed Schonberg <schonberg@adacore.com> | |
401 | ||
402 | * exp_ch9.adb (Expand_N_Protected_Type_Declaration): In Ravenscar mode, | |
403 | detect non-static private components that will violate restriction | |
404 | No_Implicit_Heap_Allocation. | |
405 | ||
406 | 2009-08-07 Ben Brosgol <brosgol@adacore.com> | |
407 | ||
408 | * gnat_ugn.texi: Edited Rule Exemption section of gnatcheck chapter. | |
409 | ||
59ab5ac1 | 410 | 2009-08-02 Eric Botcazou <ebotcazou@adacore.com> |
411 | ||
412 | * gcc-interface/gigi.h (end_subprog_body): Tweak comment. | |
413 | * gcc-interface/utils.c (end_subprog_body): Likewise. | |
414 | * gcc-interface/trans.c (gigi): Likewise. | |
415 | (gnat_to_gnu): Likewise. | |
416 | ||
3e7bf7ba | 417 | 2009-07-30 Ben Brosgol <brosgol@adacore.com> |
418 | ||
419 | * gnat_ugn.texi: Correct minor texi glitch. | |
420 | ||
421 | 2009-07-30 Ed Schonberg <schonberg@adacore.com> | |
422 | ||
423 | * exp_util.adb (Expand_Subtype_From_Expr): If the type of the | |
424 | expression has an underlying representation that is an unchecked union, | |
425 | there is no subtype to build. | |
426 | ||
b3dd22b3 | 427 | 2009-07-30 Robert Dewar <dewar@adacore.com> |
428 | ||
429 | * a-teioed.adb, exp_disp.adb, s-linux-hppa.ads, s-linux.ads, | |
430 | s-tasini.adb, sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch6.adb, | |
3e7bf7ba | 431 | sem_ch7.adb, adaint.c: Minor reformatting |
b3dd22b3 | 432 | |
40ca69b9 | 433 | 2009-07-29 Javier Miranda <miranda@adacore.com> |
434 | ||
435 | * sem_ch3.ads, sem_ch3.adb (Add_Internal_Interface_Entities): Routine | |
436 | moved from the expander to the semantic analyzer to allow the | |
437 | generation of these internal entities when compiling with no code | |
438 | generation. Required by ASIS. | |
439 | * sem.adb (Analyze): Add processing for N_Freeze_Entity nodes. | |
440 | * sem_ch13.ads, sem_ch13.adb (Analyze_Freeze_Entity): New subprogram. | |
441 | * exp_ch3.adb (Add_Internal_Interface_Entities): Moved to sem_ch3 | |
442 | (Expand_Freeze_Record_Type): Remove call to | |
443 | Add_Internal_Interface_Entities because this routine is now called at | |
444 | early stage --when the freezing node is analyzed. | |
445 | ||
1ea4332a | 446 | 2009-07-29 Robert Dewar <dewar@adacore.com> |
447 | ||
448 | * exp_atag.ads, exp_atag.adb, s-tasini.adb, s-soflin.ads, | |
449 | exp_disp.adb, g-socket.adb: Minor reformatting | |
450 | ||
451 | 2009-07-29 Ed Schonberg <schonberg@adacore.com> | |
452 | ||
453 | * sem_ch7.adb (New_Private_Type): Create class-wide type after other | |
454 | attributes have been established, so that they are all inherited by the | |
455 | class-wide type. | |
456 | * sem_cat.adb (Validate_Remote_Access_Object_Type_Declaration): Handle | |
457 | properly named subtypes of class-wide types. | |
458 | ||
c7bc7108 | 459 | 2009-07-29 Ed Schonberg <schonberg@adacore.com> |
460 | ||
461 | * sem_ch6.adb (Check_Overriding_Indicator): Handle properly overriding | |
462 | indicators on user-defined operators. | |
463 | ||
464 | 2009-07-29 Vadim Godunko <godunko@adacore.com> | |
465 | ||
466 | * g-socket.adb (Receive_Vector): Add comment. | |
467 | ||
ef40be71 | 468 | 2009-07-29 Javier Miranda <miranda@adacore.com> |
469 | ||
470 | * frontend.adb (Frontend): Code cleanup. | |
471 | * exp_atag.ads, exp_atag.adb (Build_Get_Predefined_Prim_Op_Address): | |
472 | Rewriten as a procedure because it a new out-mode parameters to | |
473 | keep up-to-date the controlling tag node in the caller. | |
474 | (Build_Get_Prim_Op_Address): Rewriten as a procedure because it has a | |
475 | new out-mode parameter to keep up-to-date the controlling tag node in | |
476 | the caller. | |
477 | * exp_ch7.adb, sem_ch5.adb, exp_util.adb, sem_util.adb, exp_ch4.adb, | |
478 | exp_ch6.adb, sem_ch4.adb, exp_ch3.adb: Add new dependency on new | |
479 | package Sem_SCIL. | |
480 | * sem_aux.ads, sem_aux.adb (First_Non_SCIL_Node): Removed. Routine | |
481 | available in new package Sem_SCIL. | |
482 | (Next_Non_SCIL_Node): Ditto. | |
483 | * exp_disp.adb (Adjust_SCIL_Node): Removed. Routine available in new | |
484 | package Sem_SCIL. | |
485 | (Expand_Dispatching_Call): Update call to modified Exp_Atags routines | |
486 | plus complete decoration of SCIL dispatching node. | |
487 | (Find_SCIL_Node): Removed. Routine available in new package Sem_SCIL. | |
488 | * exp_disp.ads (Adjust_SCIL_Node): Removed. Routine available in new | |
489 | package Sem_SCIL. | |
490 | (Find_SCIL_Node): Removed. Routine available in new package Sem_SCIL. | |
491 | * exp_ch3.adb (Build_Init_Procedure): Fix comment. | |
492 | * sem_scil.ads, sem_scil.adb: New files. | |
493 | * gcc-interface/Make-lang.in (GNAT_ADA_OBJS): Addition of sem_scil.o. | |
494 | Update dependencies. | |
495 | ||
9b27a8db | 496 | 2009-07-28 Robert Dewar <dewar@adacore.com> |
497 | ||
498 | * adaint.h, einfo.ads, prj.adb, sem_util.adb, makeutl.ads, | |
499 | makeutl.adb: Minor reformatting & code reorganization | |
500 | * sem_ch3.adb: Minor reformatting. | |
501 | Fix spelling error (constraint for constrain) in error msg. | |
502 | ||
cd242ce7 | 503 | 2009-07-28 Emmanuel Briot <briot@adacore.com> |
504 | ||
505 | * make.adb, makeutl.adb, makeutl.ads (Project_Tree): Duplicates the | |
506 | global variable that also exists in makeutl.ads, and that some routines | |
507 | in that package use already. | |
508 | (Check): Moved part of the code to makeutl.adb for better sharing with | |
509 | gprbuild. | |
510 | ||
c3366e60 | 511 | 2009-07-28 Arnaud Charlet <charlet@adacore.com> |
512 | ||
513 | * gcc-interface/Make-lang.in: Update dependencies. | |
514 | ||
82ae9906 | 515 | 2009-07-28 Emmanuel Briot <briot@adacore.com> |
516 | ||
517 | * prj.adb, prj.ads (Compute_All_Imported_Projects): Make sure the | |
518 | importing project does not end up in the list, in the case of extending | |
519 | projects. | |
520 | * make.adb, makeutl.adb, makeutl.ads (File_Not_A_Source_Of): Moved to | |
521 | makeutl.ads, for better sharing with gprbuild. | |
522 | ||
523 | 2009-07-28 Arnaud Charlet <charlet@adacore.com> | |
524 | ||
525 | * gnat_ugn.texi: Fix typo. | |
526 | ||
527 | 2009-07-28 Ed Schonberg <schonberg@adacore.com> | |
528 | ||
529 | * sem_ch3.adb (Build_Derived_Concurrent_Type): Handle properly a | |
530 | derivation that renames some discriminants and constrain others. | |
531 | * exp_ch9.adb (Build_Protected_Subprogram_Call): If the type of the | |
532 | prefix is a derived untagged type, convert to the root type to conform | |
533 | to the signature of the protected operations. | |
534 | ||
535 | 2009-07-28 Robert Dewar <dewar@adacore.com> | |
536 | ||
537 | * sinfo.ads: Update comments. | |
538 | * exp_attr.adb: Minor reformatting | |
539 | ||
c1476d9e | 540 | 2009-07-28 Ed Schonberg <schonberg@adacore.com> |
541 | ||
542 | * sem_aggr.adb (Get_Value): A named association in a record aggregate | |
543 | should be treated as a modification of the named component, not as a | |
544 | reference. | |
545 | ||
546 | 2009-07-28 Quentin Ochem <ochem@adacore.com> | |
547 | ||
548 | * prj-tree.ads, prj-tree.adb (Free): Minor editing. | |
549 | * prj.ads, prj.adb (Image): Ditto. | |
550 | ||
a9b0586f | 551 | 2009-07-28 Arnaud Charlet <charlet@adacore.com> |
552 | ||
553 | * frontend.adb: Minor reformatting. | |
554 | (Frontend): Only call Check_SCIL_Nodes if assertions are enabled, | |
555 | for efficiency. | |
556 | ||
557 | 2009-07-28 Bob Duff <duff@adacore.com> | |
558 | ||
559 | * exp_attr.adb (Expand_Access_To_Protected_Op): Use 'Access instead of | |
560 | 'Address to get a pointer to the protected body wrapper. | |
561 | ||
d215f619 | 562 | 2009-07-28 Javier Miranda <miranda@adacore.com> |
563 | ||
564 | * gnat1drv.adb (Adjust_Global_Switches): Disable generation of SCIL | |
565 | nodes if we are not generating code. | |
566 | * frontend.adb (Check_SCIL_Node): New subprogram. Used to check | |
567 | attribute SCIL_Related_Node of SCIL dispatching nodes. | |
568 | (Check_SCIL_Nodes): New instantiation of Traverse_Proc. | |
569 | * sinfo.ads (Is_SCIL_Node,Set_Is_SCIL_Node): Removed | |
570 | (SCIL_Nkind,Set_SCIL_Nkind): Removed. | |
571 | (SCIL_Entity): Update documentation. | |
572 | (SCIL_Related_Node): Update documentation. | |
573 | (SCIL_Controlling_Tag): New attribute. | |
574 | (SCIL_Target_Prim): Update documentation. | |
575 | (N_Null_Statement): Remove attributes associated with SCIL nodes. | |
576 | (N_SCIL_Dispatch_Table_Object_Init): New node. | |
577 | (N_SCIL_Dispatch_Table_Tag_Init): New node. | |
578 | (N_SCIL_Dispatching_Call): New node. | |
579 | (N_SCIL_Tag_Init): New node. | |
580 | * sinfo.adb (Is_SCIL_Node,Set_Is_SCIL_Node): Removed | |
581 | (SCIL_Nkind,Set_SCIL_Nkind): Removed. | |
582 | (SCIL_Controlling_Tag/Set_SCIL_Controlling_Tag): New subprogram. | |
583 | (SCIL_Entity,Set_SCIL_Entity): Applicable only to SCIL nodes. | |
584 | (SCIL_Related_Node,Set_SCIL_Related_Node): Applicable only to SCIL nodes | |
585 | (SCIL_Target_Prim,Set_SCIL_Target_Prim): Applicable only to | |
586 | N_SCIL_Dispatching_Call nodes. | |
587 | * sem.adb (Analyze): No need to analyze SCIL nodes. | |
588 | * sem_aux.ads, sem_aux.adb (First_Non_SCIL_Node): New subprogram | |
589 | (Next_Non_SCIL_Node): New subprogram | |
590 | * sem_ch4.adb (Analyze_Type_Conversion): Adjust relocated SCIL | |
591 | dispatching nodes. | |
592 | * sem_ch5.adb (Analyze_Iteration_Scheme): Adjust relocated SCIL | |
593 | dispatching node. | |
594 | * sem_util.adb (Insert_Explicit_Dereference): Adjust relocated SCIL | |
595 | dispatching node. | |
596 | * exp_ch3.adb (Build_Array_Init_Proc): Skip SCIL nodes when processing | |
597 | null statement nodes. | |
598 | (Build_Init_Procedure): Generate new SCIL node. | |
599 | * exp_ch4.adb (Expand_N_And_Then): Adjust relocated SCIL dispatching | |
600 | node. | |
601 | * exp_ch6.adb (Is_Null_Procedure): Skip SCIL nodes. Required because | |
602 | they are currently implemented as special N_Null_Statement nodes. | |
603 | * exp_ch7.adb (Wrap_Transient_Statement): If the relocated node is a | |
604 | procedure call then check if some SCIL node references it and needs | |
605 | readjustment. | |
606 | * exp_disp.ads (SCIL_Node_Kind): Removed. | |
607 | (Adjust_SCIL_Node): New subprogram. | |
608 | (Find_SCIL_Node): New subprogram. | |
609 | (Get_SCIL_Node_Kind): Removed. | |
610 | (New_SCIL_Node): Removed. | |
611 | * exp_disp.adb (Adjust_SCIL_Node): New subprogram | |
612 | (Expand_Dispatching_Call): Generate new SCIL dispatching node including | |
613 | decoration of its new controlling_tag attribute. | |
614 | (Get_SCIL_Node_Kind): Removed. | |
615 | (Find_SCIL_Node): New subprogram. | |
616 | (Make_Secondary_DT): Generate new SCIL nodes. | |
617 | (Make_Tags): Generate new SCIL nodes. | |
618 | (New_SCIL_Node): Removed. | |
619 | * exp_util.adb (Insert_Actions): Handle SCIL nodes. | |
620 | (Remove_Side_Effects): Check if relocated nodes require readjustment | |
621 | of some SCIL dispatching node. | |
622 | * gcc-interface/trans.c (gnat_to_gnu): Do nothing with new SCIL nodes. | |
623 | ||
b2738a24 | 624 | 2009-07-28 Robert Dewar <dewar@adacore.com> |
625 | ||
626 | * prj-nmsc.adb, g-expect.adb, prj.ads: Minor reformatting | |
627 | ||
ddf7bad0 | 628 | 2009-07-28 Sergey Rybin <rybin@adacore.com> |
629 | ||
630 | * gnat_ugn.texi: Add section about gnatcheck rule exemption. | |
631 | ||
632 | 2009-07-28 Vadim Godunko <godunko@adacore.com> | |
633 | ||
634 | * s-oscons-tmplt.c: Define _XOPEN_SOURCE on Linux, otherwise IOV_MAX is | |
635 | not defined by limits.h. | |
636 | ||
637 | * g-socket.adb (Receive_Vector): Use minimum length from user's vector | |
638 | length and maximum supported length of data vector. | |
639 | ||
640 | 2009-07-28 Gary Dismukes <dismukes@adacore.com> | |
641 | ||
642 | * usage.adb: Inhibit printing gcc-specific switches for AAMP target. | |
643 | * make.adb: Call Get_Target_Parameters before calling Usage so that | |
644 | VM_Target and AAMP_On_Target will be set. | |
645 | ||
cc893169 | 646 | 2009-07-28 Olivier Hainque <hainque@adacore.com> |
647 | ||
648 | * g-ssinty.ads: Remove, pointless and just confusing at this stage. | |
649 | * gnat_rm.texi: Remove documentation. | |
650 | * g-sse.ads: Minor reorg along the way. | |
651 | * gcc-interface/Makefile.in: Remove processing for g-ssinty. | |
652 | * g-ssvety.ads: Minor comment updates. | |
653 | ||
654 | 2009-07-28 Sergey Rybin <rybin@adacore.com> | |
655 | ||
656 | * gnat_ugn.texi: gnatcheck 'Format of the Report File' section - update | |
657 | for the new format of the report file. | |
658 | ||
57998683 | 659 | 2009-07-28 Sergey Rybin <rybin@adacore.com> |
660 | ||
661 | * gnat_ugn.texi: gnatcheck Deeply_Nested_Inlining rule: Update doc. | |
662 | ||
663 | 2009-07-28 Pascal Obry <obry@adacore.com> | |
664 | ||
665 | * g-expect.adb: Record standard handles only on Windows. | |
666 | ||
5c3b2911 | 667 | 2009-07-27 Emmanuel Briot <briot@adacore.com> |
668 | ||
669 | * prj.ads, prj-nmsc.adb (Override_Kind): add debug trace | |
670 | Add comments. | |
671 | ||
b5bdcf5d | 672 | 2009-07-27 Sergey Rybin <rybin@adacore.com> |
673 | ||
674 | * gnat_ugn.texi: gnatcheck Unconstrained_Array_Returns rule: Add to the | |
675 | rule definition the paragraph that explains that generic functions and | |
676 | functions from generic packages are not checked. | |
677 | ||
678 | 2009-07-27 Gary Dismukes <dismukes@adacore.com> | |
679 | ||
680 | * sem_ch6.adb (New_Overloaded_Entity): Add test for an expanded null | |
681 | procedure when determining whether to set the Overridden_Operation | |
682 | field of a subprogram overriding an inherited subprogram. | |
683 | ||
684 | 2009-07-27 Robert Dewar <dewar@adacore.com> | |
685 | ||
686 | * a-except.adb, a-except-2005.ads: Minor reformatting | |
687 | ||
ad003cee | 688 | 2009-07-27 Robert Dewar <dewar@adacore.com> |
689 | ||
690 | * sem_util.adb, sem_util.ads (Kill_Current_Values): Reset Is_Known_Valid | |
691 | ||
692 | 2009-07-27 Javier Miranda <miranda@adacore.com> | |
693 | ||
694 | * exp_disp.adb (Expand_Dispatching_Call): Reverse previous patch and | |
695 | add some documentation explaining why the SCIL nodes must be generated | |
696 | at that point. | |
697 | ||
698 | 2009-07-27 Olivier Hainque <hainque@adacore.com> | |
699 | ||
700 | * a-except.adb: Bind to __builtin_longjmp directly. | |
701 | * a-except-2005.ads: Provide direct binding to __builtin_longjmp | |
702 | for sjlj variants. | |
703 | * a-exexpr.adb: Use it. | |
704 | * a-except-xi.adb: Likewise. | |
705 | * raise.c (_gnat_builtin_longjmp): Remove and update comments. | |
706 | * raise.h (_gnat_builtin_longjmp): Remove declaration. | |
707 | ||
54aff185 | 708 | 2009-07-27 Ed Schonberg <schonberg@adacore.com> |
709 | ||
710 | * sem_eval.adb (Compile_Time_Compare): More precise handling of | |
711 | Known_Valid flag, to prevent spurious range deductions when scalar | |
712 | variables may be uninitialized. New predicate Is_Known_Valid_Operand. | |
713 | ||
6f3db960 | 714 | 2009-07-27 Robert Dewar <dewar@adacore.com> |
715 | ||
716 | * gnatfind.adb, osint.ads, sem.adb, xr_tabls.adb: Minor reformatting | |
717 | and code clean up. | |
718 | ||
67e60322 | 719 | 2009-07-27 Ed Schonberg <schonberg@adacore.com> |
720 | ||
721 | * exp_ch9.adb (Expand_N_Timed_Entry_Call): Do not attempt expansion in | |
722 | Ravenscar mode. Error has already been posted on specification. | |
723 | ||
724 | * sem.adb: Further code clean ups. | |
725 | ||
48fde0bb | 726 | 2009-07-27 Robert Dewar <dewar@adacore.com> |
727 | ||
728 | * g-sse.ads: Minor reformatting | |
729 | ||
730 | 2009-07-27 Arnaud Charlet <charlet@adacore.com> | |
731 | ||
732 | * xref_lib.adb (Add_Xref_File_Internal, Find_ALI_Files): Add support for | |
733 | alternate ali extension. | |
734 | * xr_tabls.adb (ALI_File_Name, Get_File, Set_Unvisited): Take into | |
735 | account Osint.ALI_Suffix. | |
736 | * osint.ads (ALI_Suffix): Make visible. | |
737 | * gnatfind.adb (Gnatfind): Add support for --ext= switch. | |
738 | * gnat_ugn.texi: Document new gnatfind --ext= switch. | |
739 | ||
740 | 2009-07-27 Ed Schonberg <schonberg@adacore.com> | |
741 | ||
742 | * sem.adb (Walk_Library_Items): If main unit is an instance body, do | |
743 | its spec first. | |
744 | ||
745 | 2009-07-27 Javier Miranda <miranda@adacore.com> | |
746 | ||
747 | * exp_disp.adb (Expand_Dispatching_Call): Generate the SCIL node after | |
748 | the dispatching call has is expanded. | |
749 | ||
58f8748b | 750 | 2009-07-27 Ed Schonberg <schonberg@adacore.com> |
751 | ||
752 | * exp_attr.adb (Expand_Attribute_Reference, case 'Valid): Reset the | |
753 | Is_Known_Valid flag on the temporary created for the value whose | |
754 | validity is being checked. | |
755 | ||
756 | * sem.adb (Do_Unit_And_Dependents): Further code reorganization to | |
757 | handle properly main units that are package specifications. | |
758 | ||
759 | 2009-07-27 Geert Bosch <bosch@adacore.com> | |
760 | ||
761 | * einfo.ads (Checks_May_Be_Suppressed): Fix typo in comment | |
762 | * sem_aux.ads: Fix typo in comment | |
763 | * sem_util.ads (Is_LHS): Adjust comment to match body | |
764 | ||
765 | 2009-07-27 Sergey Rybin <rybin@adacore.com> | |
766 | ||
767 | * gnat_ugn.texi (gnatcheck Complex_Inlined_Subprograms rule): Update | |
768 | rule definition. | |
769 | ||
770 | 2009-07-27 Olivier Hainque <hainque@adacore.com> | |
771 | ||
772 | * g-sse.ads, g-ssvety.ads: Update comments. | |
773 | ||
92427043 | 774 | 2009-07-27 Sergey Rybin <rybin@adacore.com> |
775 | ||
776 | * gnat_ugn.texi: Update gnatcheck doc. | |
777 | ||
778 | 2009-07-27 Arnaud Charlet <charlet@adacore.com> | |
779 | ||
780 | * lib-xref.ads: Allocate/document 'o' char for use by references to | |
781 | spark 'own' variables. | |
782 | ||
3f83fcb4 | 783 | 2009-07-27 Gary Dismukes <dismukes@adacore.com> |
784 | ||
785 | * sem_ch6.adb (Analyze_Function_Return): Set Referenced on return | |
786 | objects, since these are implicitly referenced by the return statement. | |
787 | * sem_warn.adb (Warn_On_Unreferenced_Entity): No longer a need to test | |
788 | Is_Return_Object in this procedure, as return objects will never make | |
789 | it here since they're now marked as Referenced. | |
790 | ||
791 | 2009-07-27 Robert Dewar <dewar@adacore.com> | |
792 | ||
793 | * exp_ch2.adb, sem_util.adb, sem_util.ads: Minor reformnatting | |
794 | ||
ed195555 | 795 | 2009-07-27 Robert Dewar <dewar@adacore.com> |
796 | ||
797 | * exp_ch6.adb (Expand_Call): Reset Is_Known_Valid after call | |
798 | ||
799 | * sem_ch3.adb, sem_eval.adb, sem_aux.adb: Minor comment reformatting | |
800 | ||
801 | 2009-07-27 Geert Bosch <bosch@adacore.com> | |
802 | ||
803 | * checks.adb (Find_Check): Minor streamlining of logic. | |
804 | * gnat1drv.adb(Gnat1drv): Put Check_Rep_Info in its alphabetical order. | |
805 | * debug.adb: Document -gnatdX debug flag | |
806 | * exp_ch2.adb(Expand_Entity_Reference): Implement new -gnatdX flag to | |
807 | list information about reads from scalar entities. | |
808 | Also slightly simplify condition for Expand_Current_Value. | |
809 | * sem_util.ads, sem_util.adb (Is_LHS, Is_Actual_Out_Parameter): New | |
810 | functions. | |
811 | ||
812 | 2009-07-26 Dave Korn <dave.korn.cygwin@gmail.com> | |
8cb516d7 | 813 | |
814 | PR bootstrap/40578 | |
815 | * adaint.h (FOPEN, STAT, FSTAT, LSTAT, STRUCT_STAT): Rename from these | |
816 | (GNAT_FOPEN, GNAT_STAT, GNAT_FSTAT, GNAT_LSTAT, GNAT_STRUCT_STAT): ... | |
817 | to these. | |
818 | (__gnat_stat): Adjust reference to STAT in prototype. | |
819 | * adaint.c (__gnat_try_lock, __gnat_fopen, __gnat_file_length, | |
820 | __gnat_named_file_length, __gnat_file_time_name, __gnat_file_time_fd, | |
821 | __gnat_get_libraries_from_registry, __gnat_stat, __gnat_file_exists, | |
822 | __gnat_is_regular_file, __gnat_is_directory, __gnat_is_readable_file, | |
823 | __gnat_is_writable_file, __gnat_is_executable_file, | |
824 | __gnat_set_writable, __gnat_set_executable, __gnat_set_non_writable, | |
825 | __gnat_set_readable, __gnat_set_non_readable, __gnat_is_symbolic_link, | |
826 | __gnat_copy_attribs): Adjust all references to the above. | |
827 | * cstreams.c (__gnat_is_regular_file_fd): Likewise. | |
828 | ||
b0e684c8 | 829 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> |
830 | ||
831 | * sem.adb (Do_Unit_And_Dependents): Now that specs and bodies are not | |
832 | done at the same time, guard against listing a body more than once. | |
833 | ||
834 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
835 | ||
836 | * exp_ch6.adb: Minor reformatting | |
837 | ||
838 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
839 | ||
840 | * sem_ch3.adb (Analyze_Object_Declaration): A scalar constant with a | |
841 | static expression is known valid. | |
842 | * sem_eval.adb (Compile_Time_Compare): Handle properly non-static | |
843 | operands of a subtype with a single value. | |
844 | ||
2f4228c7 | 845 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> |
846 | ||
847 | * sem.adb (Do_Units_And_Dependents): Process bodies only for units that | |
848 | are in the context of the main unit body. | |
849 | ||
9c1af96a | 850 | 2009-07-23 Sergey Rybin <rybin@adacore.com> |
851 | ||
852 | * gnat_ugn.texi (Misnamed_Controlling_Parameters gnatcheck rule): Fix | |
853 | misprint in rule description. | |
854 | ||
855 | 2009-07-23 Gary Dismukes <dismukes@adacore.com> | |
856 | ||
857 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): Replace | |
858 | test that the object declaration is within an extended return statement | |
859 | with direct test of whether the declared object associated with the | |
860 | build-in-place call is a return object, since the enclosing function | |
861 | might not even be a build-in-place function. | |
862 | ||
863 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
864 | ||
865 | * freeze.adb, prj-nmsc.adb, errout.adb: Minor reformatting | |
866 | Minor code reorganization | |
867 | ||
868 | 2009-07-23 Arnaud Charlet <charlet@adacore.com> | |
869 | ||
870 | * sem_prag.adb (Analyze_Pragma): Do not ignore pragma Pack on records | |
871 | for static analysis, only packed arrays are causing troubles. | |
872 | ||
2996f42a | 873 | 2009-07-23 Gary Dismukes <dismukes@adacore.com> |
874 | ||
875 | * sem_aggr.adb (Resolve_Extension_Aggregate): Report an error when the | |
876 | ancestor part is a call to a limited function with an unconstrained | |
877 | result subtype unless the aggregate has a null extension type. | |
878 | * sem_ch3.adb (Is_Null_Extension): Use the base type when retrieving | |
879 | the parent type declaration to avoid blowups on subtype cases. | |
880 | ||
881 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
882 | ||
883 | * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Better message for missing | |
884 | comma. | |
885 | ||
886 | * sem_util.adb (Wrong_Type): Special message for cases like A and B = 0 | |
887 | ||
888 | * s-regexp.adb: Minor reformatting | |
889 | * scos.ads: Minor reformatting. | |
890 | ||
891 | 2009-07-23 Arnaud Charlet <charlet@adacore.com> | |
892 | ||
893 | * freeze.adb (Set_Small_Size): Remove extra space for consistency with | |
894 | other similar messages. | |
895 | * sem_prag.adb (Freeze_Record_Type, Freeze_Entity): Disable error | |
896 | messages/implicit packing in CodePeer mode. | |
897 | (Analyze_Pragma [case pragma Pack]): Ignore pragma in CodePeer mode. | |
898 | * errout.adb (Special_Msg_Delete): Suppress 'size too small' message in | |
899 | CodePeer mode. | |
900 | ||
901 | 2009-07-23 Pascal Obry <obry@adacore.com> | |
902 | ||
903 | * prj-nmsc.adb: Fix spec/body naming extension on case insensitive | |
904 | systems. | |
905 | ||
f7bcc474 | 906 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
907 | ||
908 | * einfo.ads, g-ssvety.ads, s-regexp.adb, g-sse.ads: Update comment. | |
909 | Minor reformatting. | |
910 | ||
56e7611e | 911 | 2009-07-23 Yannick Moy <moy@adacore.com> |
912 | ||
913 | * s-regexp.adb (Check_Well_Formed_Pattern): Called before compiling the | |
914 | pattern. | |
915 | (Raise_Exception_If_No_More_Chars): Remove extra blank in exception | |
916 | string. | |
917 | (Raise_Exception): Ditto. | |
918 | ||
919 | 2009-07-23 Olivier Hainque <hainque@adacore.com> | |
920 | ||
921 | * g-sse.ads: Simplify comment. | |
922 | ||
a8bc3c8f | 923 | 2009-07-23 Olivier Hainque <hainque@adacore.com> |
924 | ||
925 | * g-ssinty.ads: New unit. GNAT.SSE.Internal_Types. Factorize | |
926 | low level internal type definitions for distinct higher level | |
927 | binding development activities (user type definitions and | |
928 | operations). | |
929 | * gnat_rm.texi: Document it. | |
930 | * g-ssvety.ads: Use it. | |
931 | * gcc-interface/Makefile.in: (x86 32/64 linux, cygwin32 sections): Add | |
932 | g-ssinty.o to EXTRA_GNATRTL_NONTASKING_OBJS. | |
933 | * gcc-interface/utils.c (gnat_internal_attribute_table): Add entry | |
934 | for the "may_alias" attribute. | |
935 | ||
936 | 2009-07-23 Thomas Quinot <quinot@adacore.com> | |
937 | ||
938 | * scos.ads: Minor typo fix | |
ff332572 | 939 | |
a8bc3c8f | 940 | * gcc-interface/decl.c (validate_alignment): For the case of an |
941 | implicit array base type, look for alignment clause on first subtype. | |
ff332572 | 942 | |
943 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
944 | ||
945 | * gcc-interface/decl.c (gnat_to_gnu_field): Don't check for overlap | |
946 | with tagged parent if tagged parent is fully repped. | |
a8bc3c8f | 947 | |
948 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
949 | ||
950 | * sem.adb (Walk_Library_Units): Handle properly the case where a unit | |
951 | in the context depends on the spec of the main unit, by delaying | |
952 | processing of the main unit body until all other units have been | |
953 | processed. | |
954 | ||
b47769f0 | 955 | 2009-07-23 Arnaud Charlet <charlet@adacore.com> |
956 | ||
957 | * a-convec.adb: Add comments about suspicious/subtle code. | |
958 | ||
959 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
960 | ||
961 | * einfo.ads: Document use of Alias in private overriding | |
962 | ||
963 | 2009-07-23 Thomas Quinot <quinot@adacore.com> | |
964 | ||
965 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): For the case of | |
966 | an array type, propagate alignment from first subtype to implicit base | |
967 | type so that other subtypes (such as the itypes for aggregates of the | |
968 | type) also receive the expected alignment. | |
969 | ||
970 | * g-comlin.ads: Minor documentation clarification/rewording. | |
971 | * scos.ads: Minor comments update. | |
972 | * lib-writ.ads: Minor reformatting | |
973 | ||
bea86011 | 974 | 2009-07-23 Gary Dismukes <dismukes@adacore.com> |
975 | ||
976 | * exp_ch3.adb (Expand_N_Object_Declaration): For an initialized object | |
977 | of a class-wide interface type that is a return object of a | |
978 | build-in-place function, bypass the interface-related expansions into | |
979 | renamings with displacement conversions, etc. | |
980 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Add an assertion | |
981 | for the case where a renaming occurs in a build-in-place context, to | |
982 | assert that the bypassing of the build-in-place treatment only occurs | |
983 | in the case of a renaming that is an expansion of a return expression | |
984 | that is itself a build-in-place function call. | |
985 | ||
986 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
987 | ||
988 | * sem_ch4.adb (Try_Primitive_Operation): A primitive operation is a | |
989 | valid candidate interpretation in a prefixed view if it is hidden, but | |
990 | overrides an inherited operation declared in the visible part. | |
991 | ||
992 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
993 | ||
994 | * exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer | |
995 | division operands to 64-bit at all in any circumstances. | |
996 | ||
0549db8a | 997 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
998 | ||
999 | * exp_ch4.adb (Analyze_N_Op_Rem): Assume operands are valid when | |
1000 | checking ranges for mod/rem to see if conditional jump will be | |
1001 | generated. | |
1002 | (Analyze_N_Op_Rem): Don't try to check actual lower bounds for | |
1003 | generating special -1 test for rem, generate it whenever both | |
1004 | operands can be negative (match circuit in Sem_Res). | |
1005 | (Analyze_N_Op_Rem): Don't go to base type, no longer needed and | |
1006 | destroys memory of positive range. | |
1007 | * sem_res.adb (Resolve_Arithmetic_Op): Assume operands are valid when | |
1008 | checking ranges for mod/rem to see if conditional jump will be generated | |
1009 | ||
1010 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1011 | ||
1012 | * exp_ch3.adb (Build_Equivalent_Record_Aggregate): If the type of a | |
1013 | scalar components has non-static bounds, the equivalent aggregate | |
1014 | cannot be built, even if the expression is static, because range checks | |
1015 | will be generated. | |
1016 | ||
8beebd64 | 1017 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1018 | ||
1019 | * exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer | |
1020 | division operands to 64-bit inside a conversion if 64-bit division not | |
1021 | available. | |
1022 | ||
938494c2 | 1023 | 2009-07-23 Sergey Rybin <rybin@adacore.com> |
1024 | ||
1025 | * gnat_ugn.texi: Update doc on Misnamed_Identifiers rule. | |
1026 | ||
1027 | 2009-07-23 Javier Miranda <miranda@adacore.com> | |
1028 | ||
1029 | * sinfo.ads, sinfo.adb (SCIL_Entity/Set_SCIL_Entity): new subprograms | |
1030 | (Entity/Set_Entity): not available in N_Null_Statement nodes | |
1031 | (Is_Scil_Node): renamed as Is_SCIL_Node | |
1032 | (Scil_Nkind): renamed as SCIL_Nkind | |
1033 | (Scil_Related_Node): renamed as SCIL_Related_Node | |
1034 | (Scil_Target_Prim): renamed as SCIL_Target_Prim | |
1035 | (Set_Is_Scil_Node): Renamed as Set_Is_SCIL_Node | |
1036 | (Set_Scil_Related_Node): Renamed as Set_SCIL_Related_Node | |
1037 | (Set_Scil_Target_Prim): Renamed as Set_SCIL_Target_Prim | |
1038 | Update documentation | |
1039 | * exp_disp.ads (Scil_Node_Kind): Renamed as SCIL_Node_Kind | |
1040 | (Get_Scil_Node_Kind): Renamed as Get_SCIL_Node_Kind | |
1041 | (New_Scil_Node): Renamed as New_SCIL_Node | |
1042 | * exp_disp.adb Update all occurrences of New_Scil_Node to New_SCIL_Node. | |
1043 | (Get_Scil_Node_Kind): Renamed as Get_SCIL_Node_Kind | |
1044 | (New_Scil_Node): Renamed as New_SCIL_Node | |
1045 | * exp_ch3.adb Update occurrence of New_Scil_Node to New_SCIL_Node. | |
1046 | ||
1047 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
1048 | ||
1049 | * sem_prag.adb: No_Return is an Ada 2005 pragma, not a GNAT pragma | |
1050 | * snames.ads-tmpl: No_Return is an Ada 2005 pragma, not a GNAT pragma | |
1051 | * einfo.adb: Minor reformatting | |
1052 | ||
8eb4a5eb | 1053 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1054 | ||
1055 | * checks.adb (Apply_Arithmetic_Overflow_Check): Add comments | |
1056 | cross-referencing the new related code in | |
1057 | Exp_Ch4.Expand_N_Type_Conversion. | |
1058 | * exp_ch4.adb (Expand_N_Type_Conversion): Avoid unnecessary overflows | |
1059 | ||
1060 | * exp_disp.adb, exp_disp.ads, sinfo.ads: Minor reformatting. | |
1061 | Add comment. | |
1062 | ||
98045ff0 | 1063 | 2009-07-23 Javier Miranda <miranda@adacore.com> |
1064 | ||
1065 | * sinfo.ads (Is_Scil_Node, Scil_Nkind, Scil_Related_Node, | |
1066 | Scil_Target_Prim, N_Has_Entity): Add missing documentation. | |
1067 | * exp_disp.ads (Scil_Node_Kind): Ditto. | |
1068 | * exp_disp.adb (Make_DT, Make_Tags): Ditto. | |
1069 | * exp_ch3.adb (Build_Init_Procedure): Ditto. | |
1070 | ||
c4a5e700 | 1071 | 2009-07-23 Javier Miranda <miranda@adacore.com> |
1072 | ||
1073 | * einfo.adb (Component_Type): Add missing assertion. | |
1074 | * sem_res.adb (Resolve_Call): Ensure proper kind of entity before | |
1075 | reading attribute Component_Size. | |
1076 | * exp_ch4.adb (Is_Safe_In_Place_Array_Op): Ensure proper kind of entity | |
1077 | before reading attributes Component_Size and Component_Type. | |
1078 | * exp_ch3.adb (Build_Initialization_Call): Ensure proper kind of entity | |
1079 | before reading attribute Component_Type. | |
1080 | ||
b272f0e3 | 1081 | 2009-07-23 Olivier Hainque <hainque@adacore.com> |
1082 | ||
1083 | * gnat_rm.texi: Document the GNAT.SSE units. | |
1084 | ||
1085 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1086 | ||
1087 | * sem_ch6.adb (Analyze_Return_Type): Do not create itype reference for | |
1088 | not null return if it appears on a subunit. | |
1089 | ||
9af28f61 | 1090 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1091 | ||
1092 | * exp_ch5.adb (Expand_N_Assignment_Statement): Do left-side validity | |
1093 | check right away so it does not get skipped for early returns, e.g. | |
1094 | array assignments. | |
1095 | (Expand_N_Assignment_Statement): Don't propagate Is_Known_Valid to | |
1096 | left-side unless we really know the value is valid. | |
1097 | ||
1098 | * errout.adb, exp_ch3.adb, exp_disp.ads, sinfo.ads, exp_disp.adb: Minor | |
1099 | reformatting. Minor code reorganization. Add comments. | |
1100 | ||
eb425ed6 | 1101 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1102 | ||
1103 | * get_scos.adb (Skip_EOL): Fix error of mishandling end of line after | |
1104 | complex condition. | |
1105 | ||
3dbca0d5 | 1106 | 2009-07-23 Gary Dismukes <dismukes@adacore.com> |
1107 | ||
1108 | * sem_ch6.adb (Check_Return_Subtype_Indication): Replace type equality | |
1109 | with test of coverage, to allow specific type objects in extended | |
1110 | returns of class-wide functions. Remove now-unnecessary special-case | |
1111 | tests that allowed this in certain cases of expanded extended returns. | |
1112 | ||
1113 | 2009-07-23 Javier Miranda <miranda@adacore.com> | |
1114 | ||
1115 | * sinfo.ads,sinfo.adb (Entity/Set_Entity): Attribute available in | |
1116 | N_Null_Statements (for SCIL nodes). | |
1117 | (Is_Scil_Node/Set_Is_Scil_Node): New attribute (for SCIL nodes). | |
1118 | (Scil_Nkind/Set_Scil_Nkind): New attribute (for SCIL nodes). | |
1119 | (Scil_Related_Node/Set_Scil_Related_Node): New attribute (for SCIL | |
1120 | nodes). | |
1121 | (Scil_Target_Prim/Set_Scil_Target_Prim): New attribute (for SCIL nodes). | |
1122 | * exp_disp.adb (Expand_Dispatching_Call): Add generation of SCIL node | |
1123 | associated with dispatching call. | |
1124 | (Get_Scil_Node_Kind): New function that returns the kind of SCIL node. | |
1125 | (Make_DT, Make_Tags): Add generation of SCIL nodes associated with | |
1126 | initialization of dispatch tables and initialization of tags. | |
1127 | (New_Scil_Node): New function that creates a new SCIL node. | |
1128 | (Build_Init_Procedure): Add generation of SCIL node associated with the | |
1129 | initialization of tags done in the IP subprogram. | |
1130 | ||
1131 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1132 | ||
1133 | * errout.adb (Error_Msg_NEL): If the entity in the initial message has | |
1134 | Warnings_Off, do not emit continuation messages. | |
1135 | ||
1136 | * sem_ch10.adb: Set Is_Compilation_Unit on generated child subprogram | |
1137 | spec. | |
1138 | ||
1139 | 2009-07-23 Emmanuel Briot <briot@adacore.com> | |
1140 | ||
1141 | * ali.adb: Minor comment update | |
1142 | ||
1143 | 2009-07-23 Vasiliy Fofanov <fofanov@adacore.com> | |
1144 | ||
1145 | * s-win32.ads (HANDLE): Define to be the same size as address type. | |
1146 | Fix copyright. | |
1147 | ||
1148 | 2009-07-23 Olivier Hainque <hainque@adacore.com> | |
1149 | ||
1150 | * g-sse.ads: New file. Root of the SSE facilities trees, with | |
1151 | general description and common declarations. | |
1152 | * g-ssvety.ads: New file. Expose user level SSE vector types. | |
1153 | * impunit.adb (Non_Imp_File_Names_95): Register new units. | |
1154 | * gcc-interface/Makefile.in (x86 32/64 linux, win32): Add | |
1155 | EXTRA_GNATRTL_NONTASKING_OBJS entries for SSE units. | |
1156 | ||
1157 | 2009-07-23 Ben Brosgol <brosgol@adacore.com> | |
1158 | ||
1159 | * gnat_ugn.texi: Wordsmithing. | |
1160 | ||
054247dd | 1161 | 2009-07-23 Arnaud Charlet <charlet@adacore.com> |
1162 | ||
1163 | * prj-conf.ads, prj-conf.adb: Switch to GPLv3. | |
1164 | ||
a9958373 | 1165 | 2009-07-22 Eric Botcazou <ebotcazou@adacore.com> |
1166 | ||
1167 | * exp_aggr.adb (Gen_Loop): Do not qualify the bounds of the range if | |
1168 | they are already of the base type of the index. | |
1169 | ||
1170 | 2009-07-22 Brett Porter <porter@adacore.com> | |
1171 | ||
1172 | * sysdep.c, init.c: Fix typo: _SPE_ should have been __SPE__. | |
1173 | ||
1174 | 2009-07-22 Robert Dewar <dewar@adacore.com> | |
1175 | ||
1176 | * vms_data.ads: Add entry for SCO_OUTPUT (-gnateS) | |
1177 | * gnat_ugn.texi: Add documentation for -gnateS switch | |
1178 | * ug_words: Add entry for -gnateS /SCO_OUTPUT | |
c3366e60 | 1179 | * gcc-interface/Make-lang.in: Update dependencies. |
a9958373 | 1180 | |
1181 | * get_scos.adb, get_scos.ads, gnat1drv.adb, par_sco.adb, | |
1182 | par_sco.ads, put_scos.adb, put_scos.ads, scos.adb, scos.ads: Initial | |
1183 | complete information for SCO input/output. | |
1184 | ||
b543d604 | 1185 | 2009-07-22 Sergey Rybin <rybin@adacore.com> |
1186 | ||
1187 | * gnat_ugn.texi: Update doc for some gnatcheck rules. | |
1188 | ||
1189 | 2009-07-22 Robert Dewar <dewar@adacore.com> | |
1190 | ||
1191 | * par_sco.adb, par_sco.ads (pscos): New debug routine to output | |
1192 | contents of SCO tables. | |
1193 | * put_scos.adb, put_scos.ads, get_scos.adb, get_scos.ads, | |
1194 | scos.adb, scos.ads: New files. | |
1195 | * gcc-interface/Make-lang.in: Update dependencies. | |
1196 | ||
1197 | * lib-util.ads, gnatbind.ads, ali.ads, binderr.ads: Minor comment | |
1198 | fixes and reformatting. | |
1199 | ||
62bfeeb0 | 1200 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
1201 | ||
1202 | * g-socket.ads: Minor reformatting | |
1203 | ||
1204 | 2009-07-22 Gary Dismukes <dismukes@adacore.com> | |
1205 | ||
1206 | * sem_warn.adb (Warn_On_Unreferenced_Entity): Add warning messages that | |
1207 | include the entity kind for following cases of unreferenced entities: | |
1208 | E_Label, E_Discriminant, E_Package, E_Exception, and Formal_Object_Kind. | |
1209 | ||
40ed8700 | 1210 | 2009-07-22 Ed Falis <falis@adacore.com> |
1211 | ||
1212 | * s-vxwext-kernel.adb, s-vxwext-kernel.ads: Replace use of taskStop | |
1213 | with taskSuspend. | |
1214 | ||
1215 | 2009-07-22 Arnaud Charlet <charlet@adacore.com> | |
1216 | ||
1217 | * adadecode.c: Make this file compilable outside of GCC. | |
1218 | ||
1219 | 2009-07-22 Thomas Quinot <quinot@adacore.com> | |
1220 | ||
1221 | * g-socket.adb, g-socket.ads (Check_Selector): Make sure that | |
1222 | (partially) default-initialized socket sets are handled properly by | |
1223 | clearing their Set component. | |
1224 | ||
1225 | 2009-07-22 Bob Duff <duff@adacore.com> | |
1226 | ||
1227 | * gnat_ugn.texi: Clarify the -gnatVx (validity checking) switches. | |
1228 | ||
6b64c28e | 1229 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
1230 | ||
1231 | * gnat_ugn.texi: Minor reformatting | |
1232 | ||
1233 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> | |
1234 | ||
1235 | * errout.adb (Error_Msg): A style message within an instantiation | |
1236 | should not be labelled as an error. | |
1237 | ||
a55a5de7 | 1238 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> |
1239 | ||
1240 | * freeze.adb (Freeze_Entity): Do not generate extra formal for function | |
1241 | in initialization expression if function does not have convention Ada. | |
1242 | ||
1243 | 2009-07-22 Sergey Rybin <rybin@adacore.com> | |
1244 | ||
1245 | * gnat_ugn.texi, vms_data.ads: Add qualifier for new gnatpp option | |
1246 | '--separate-label' to control label layout. | |
1247 | ||
99606d61 | 1248 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
1249 | ||
1250 | * exp_tss.ads, sem_eval.adb: Minor reformatting | |
1251 | ||
1252 | 2009-07-22 Bob Duff <duff@adacore.com> | |
1253 | ||
1254 | * exp_dist.adb, exp_dist.ads: Update comments. | |
1255 | ||
eae1d4d1 | 1256 | 2009-07-22 Brett Porter <porter@adacore.com> |
1257 | ||
1258 | * init.c (__gnat_init_float): For SPE, set bits in SPEFSCR instead of | |
1259 | FPSCR. | |
1260 | * sysdep.c (__gnat_get_task_options): Set task option enabling SPE. | |
1261 | ||
1262 | 2009-07-22 Gary Dismukes <dismukes@adacore.com> | |
1263 | ||
1264 | * exp_ch5.adb, sem_util.adb, sem_attr.adb, exp_dbug.ads, exp_ch2.adb, | |
1265 | exp_tss.ads, exp_ch4.adb, sem_ch4.adb: Correct spelling error. | |
1266 | Minor reformatting. | |
1267 | * sem_res.adb (Resolve_Explicit_Dereference): Reword one comment that | |
1268 | used poor terminology. | |
1269 | ||
1270 | 2009-07-22 Robert Dewar <dewar@adacore.com> | |
1271 | ||
1272 | * freeze.adb, sem_ch3.adb, sem_prag.adb: Minor reformatting | |
1273 | * sem_eval.adb, exp_tss.adb: Minor comment update. | |
1274 | * stylesw.adb: Code clean up. | |
1275 | ||
a20168ea | 1276 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> |
1277 | ||
1278 | * freeze.adb (Freeze_Entity): If Implicit_Packing is enabled, and the | |
1279 | component size is an exact number of bytes, an array type can have a | |
1280 | size clause that forces packing even though the array type itself is | |
1281 | not bit-packed. | |
1282 | ||
1283 | 2009-07-22 Thomas Quinot <quinot@adacore.com> | |
1284 | ||
1285 | * sem_ch3.adb (Analyze_Object_Declaration): For a constant declaration, | |
1286 | if there is a previous entity with the same name in the scope, ignore | |
1287 | it if it is the renaming declaration for a generic package introduced | |
1288 | in instances. | |
1289 | ||
1290 | 2009-07-22 Nicolas Roche <roche@adacore.com> | |
1291 | ||
1292 | * seh_init.c: use RtlAddFunctionTable to register our SEH exception | |
1293 | handler on x86_64 windows. | |
1294 | ||
1295 | 2009-07-22 Arnaud Charlet <charlet@adacore.com> | |
1296 | ||
1297 | * sem_prag.adb (Analyze_Pragma): Initialize/Normalize_Scalars create | |
1298 | false positives in CodePeer, so ignore this pragma in this mode. | |
1299 | ||
2f1aac99 | 1300 | 2009-07-22 Thomas Quinot <quinot@adacore.com> |
1301 | ||
1302 | * sem_util.adb, sem_ch10.adb: Minor reformatting | |
1303 | ||
1304 | * g-socket.adb (Receive_Socket, recvfrom(2) variant): Apply required | |
1305 | special handling for the case of no data received and Item'First = | |
1306 | Stream_Element_Offset'First. | |
1307 | (Last_Index): New subprogram factoring the above special handling | |
1308 | over the various locations where it is required. | |
1309 | ||
1310 | 2009-07-22 Arnaud Charlet <charlet@adacore.com> | |
1311 | ||
1312 | * gnat1drv.adb (Gnat1drv): Also disable division by zero and alignment | |
1313 | checks in CodePeer_Mode. | |
1314 | * gcc-interface/Make-lang.in: Update dependencies. | |
1315 | ||
1316 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> | |
1317 | ||
1318 | * sem_aggr.adb: Improve error message. | |
1319 | ||
1320 | * sem_ch13.adb: If Ignore_Rep_Clauses is enabled, do a minimal analysis | |
1321 | of an address representation clause. | |
1322 | * freeze.adb (Freeze_Static_Object): An local imported object is legal | |
1323 | if it has an address clause. | |
1324 | ||
a67a63e2 | 1325 | 2009-07-22 Thomas Quinot <quinot@adacore.com> |
1326 | ||
1327 | * sem_elab.adb (Insert_Elab_Check): When relocating an overloaded | |
1328 | expression to insert an elab check using a conditional expression, be | |
1329 | sure to carry the original list of interpretations to the new location. | |
1330 | ||
1331 | 2009-07-22 Gary Dismukes <dismukes@adacore.com> | |
1332 | ||
1333 | * gnat1drv.adb: Fix spelling error. | |
1334 | ||
1335 | 2009-07-22 Javier Miranda <miranda@adacore.com> | |
1336 | ||
1337 | * sem_type.ads, sem_type.adb (In_Generic_Actual): Leave this subprogram | |
1338 | at the library level and fix a hidden bug in its implementation: its | |
1339 | functionality for renaming objects was broken because | |
1340 | N_Object_Renaming_Declarations nodes are not a subclass of | |
1341 | N_Declaration nodes (as documented in sinfo.ads). | |
1342 | * sem_util.adb (Check_Dynamically_Tagged_Expression): Include in this | |
1343 | check nodes that are actuals of generic instantiations. | |
1344 | ||
1345 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> | |
1346 | ||
1347 | * sinfo.ads, sinfo.adb (Pending_Context): New flag to indicate that the | |
1348 | context of a compilation unit is being analyzed. Used to detect | |
1349 | circularities created by with_clauses that are not detected by the | |
1350 | loading machinery. | |
1351 | * sem_ch10.adb (Analyze_Compilation_Unit): Set Pending_Context before | |
1352 | analyzing the context of the current compilation unit, to detect | |
1353 | possible circularities created by with_clauses. | |
1354 | ||
721cc202 | 1355 | 2009-07-22 Thomas Quinot <quinot@adacore.com> |
1356 | ||
1357 | * sem_type.adb (Get_First_Interp): Fix wrong loop exit condition. | |
1358 | ||
e28b1a69 | 1359 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
1360 | ||
1361 | * sem_res.adb (Check_No_Direct_Boolean_Operators): Add check for -gnatyB | |
1362 | * style.ads, styleg.adb, styleg.ads (Check_Boolean_Operator): New | |
1363 | procedure. | |
1364 | * usage.adb, stylesw.ads, stylesw.adb: Add handling of -gnatyB switch | |
1365 | * gnat_ugn.texi: Add documentation of -gnatyB | |
1366 | * vms_data.ads: Add entry for -gnatyB (STYLE=BOOLEAN_OPERATORS) | |
1367 | ||
fbc89b91 | 1368 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
1369 | ||
1370 | * s-stchop.adb, a-direct.adb, a-ztexio.adb, gnatchop.adb, prj-proc.adb, | |
1371 | make.adb, s-regpat.adb, ali-util.adb, a-ngcefu.adb, prep.adb, | |
1372 | s-tassta.adb, a-tifiio.adb, a-textio.adb, prj.adb, uintp.adb, | |
1373 | s-valrea.adb, a-ngelfu.adb, prepcomp.adb, sinput-l.adb, vms_conv.adb, | |
1374 | errout.adb, g-alleve.adb, repinfo.adb, a-wtedit.adb, ali.adb, | |
1375 | a-witeio.adb, prj-dect.adb, prj-nmsc.adb, sinput-c.adb, binde.adb, | |
1376 | s-regexp.adb, s-imgrea.adb, a-teioed.adb, errutil.adb, prj-util.adb, | |
1377 | a-ztedit.adb, gnatls.adb, prj-conf.adb, bcheck.adb, s-scaval.adb, | |
1378 | erroutc.adb, osint.adb, a-strfix.adb, s-fileio.adb: Make sure sources | |
1379 | obey short-circuit style rule. | |
1380 | ||
cd534f03 | 1381 | 2009-07-20 Bob Duff <duff@adacore.com> |
1382 | ||
1383 | * sem_ch13.adb (Analyze_Record_Representation_Clause): Use "and then" | |
1384 | instead of "and", because otherwise Parent_Last_Bit is read | |
1385 | uninitialized in the case where it's not a tagged type, or the tagged | |
1386 | parent does not have a complete rep clause. | |
1387 | ||
1388 | 2009-07-20 Robert Dewar <dewar@adacore.com> | |
1389 | ||
1390 | * stylesw.ads: Minor documentation change. | |
1391 | ||
1392 | * types.ads: Minor reformatting | |
1393 | ||
1394 | 2009-07-20 Javier Miranda <miranda@adacore.com> | |
1395 | ||
1396 | * exp_disp.ads (Apply_Access_Checks): New subprogram that takes care of | |
1397 | generating the tag checks associated with dispatching calls. | |
1398 | * exp_disp.adb (Apply_Access_Checks): New subprogram. | |
1399 | (New_Value): This routine was previously local to expand dispatching | |
1400 | calls but it is now used also by Apply_Access_Checks. | |
1401 | (Expand_Dispatching_Calls): Cleanup code because the functionality of | |
1402 | tag checks is now provided by Apply_Access_Checks. | |
1403 | * exp_ch6.adb (Expand_Call): Incorporate generation of tag checks in | |
1404 | case of dispatching calls. | |
1405 | ||
1406 | 2009-07-20 Arnaud Charlet <charlet@adacore.com> | |
1407 | ||
1408 | * gnat1drv.adb (Gnat1drv): Also disable Elaboration_Check in | |
1409 | CodePeer_Mode. | |
1410 | ||
040277b1 | 1411 | 2009-07-20 Gary Dismukes <dismukes@adacore.com> |
1412 | ||
1413 | * exp_prag.adb (Expand_Pragma_Import_Export_Exception): When compiling | |
1414 | for VMS, only rewrite the first component of the associated exception's | |
1415 | aggregate init (as 'V'), and eliminate the bogus rewrites of the second | |
1416 | and third components that were being replaced with 'M' and 'S'. | |
1417 | ||
1418 | 2009-07-20 Arnaud Charlet <charlet@adacore.com> | |
1419 | ||
1420 | * gnat1drv.adb (Gnat1drv): Suppress access checks in CodePeer mode. | |
1421 | Also do not generate error when parsing a spec in CodePeer mode. | |
1422 | ||
1423 | 2009-07-20 Javier Miranda <miranda@adacore.com> | |
1424 | ||
1425 | * checks.adb (Apply_Access_Check): Avoid checks on availability of | |
1426 | runtime function Offset_To_Top_Ptr when compiling with no tagged | |
1427 | types expansion. | |
1428 | * exp_ch3.adb (Build_Init_Procedure): Leave open the possibility of | |
1429 | adding code to the init proc when compiling for VM backends. | |
1430 | ||
1431 | 2009-07-20 Vincent Celier <celier@adacore.com> | |
1432 | ||
353e3024 | 1433 | * switch-m.ads, switch-m.adb (Normalize_Compiler_Switches): Take into |
1434 | account switches -gnatw.? | |
040277b1 | 1435 | |
1436 | 2009-07-20 Thomas Quinot <quinot@adacore.com> | |
1437 | ||
1438 | * sem_dist.adb, exp_dist.adb: Minor reformatting | |
1439 | ||
1440 | * Make-generated.in: New file. | |
1441 | ||
1442 | * gcc-interface/Make-lang.in: Use Make-generated.in fragment. | |
1443 | ||
937e3dbc | 1444 | 2009-07-20 Javier Miranda <miranda@adacore.com> |
1445 | ||
1446 | * sem_util.ads, sem_util.adb (Check_Dynamically_Tagged_Expression): New | |
1447 | subprogram. | |
1448 | * sem_aggr.adb (Resolve_Array_Aggregate): Check incorrect use of | |
1449 | dynamically tagged expression. | |
1450 | * sem_ch3.adb (Analyze_Object_Declaration): Call new routine that | |
1451 | factorizes code. | |
1452 | * sem_ch6.adb (Analyze_Function_Return, Process_Formals): Ditto. | |
1453 | * sem_ch8.adb (Analyze_Object_Renaming): Ditto. | |
1454 | ||
34fd8639 | 1455 | 2009-07-20 Arnaud Charlet <charlet@adacore.com> |
1456 | ||
1457 | * gnat1drv.adb (Gnat1drv): Set operating mode to Generate_Code when | |
1458 | CodePeer_Mode is set, to benefit from full front-end expansion | |
1459 | (e.g. generics). | |
1460 | ||
1461 | 2009-07-20 Ed Schonberg <schonberg@adacore.com> | |
1462 | ||
1463 | * sem_res.adb: Add guard. | |
1464 | ||
1465 | * exp_disp.adb, sem_disp.adb (Make_DT): Check underlying view of type | |
1466 | for possible attribute definition of External_Tag, in case clause | |
1467 | appears in the private part of a package. | |
1468 | ||
39b1e42d | 1469 | 2009-07-20 Jerome Guitton <guitton@adacore.com> |
1470 | ||
1471 | * gcc-interface/Makefile.in: cleanup powerpc linux target pairs. | |
1472 | ||
fd66bc6b | 1473 | 2009-07-20 Vadim Godunko <godunko@adacore.com> |
1474 | ||
1475 | * a-coorma.adb: Minor reformatting. | |
1476 | ||
1477 | 2009-07-20 Ed Schonberg <schonberg@adacore.com> | |
1478 | ||
1479 | * sem_ch3 (Build_Itype_Reference): Make public, for use on non-null | |
1480 | access return types. | |
1481 | * sem_ch6.adb (Analyze_Return_Type): If return is a not null subtype, | |
1482 | provide an itype reference to gigi to force elaboration of the subtype | |
1483 | at the proper point. | |
1484 | ||
1485 | 2009-07-20 Tristan Gingold <gingold@adacore.com> | |
1486 | ||
1487 | * g-expect.adb: Avoid closeing already closed handle. | |
1488 | ||
1489 | 2009-07-20 Robert Dewar <dewar@adacore.com> | |
1490 | ||
1491 | * sprint.adb (Write_Subprogram_Name): New procedure to output | |
1492 | subprogram name with possible preceding $ (replaces | |
1493 | Note_Implicit_Run_Time_Call). | |
1494 | ||
d2b860b4 | 1495 | 2009-07-20 Robert Dewar <dewar@adacore.com> |
1496 | ||
1497 | * vms_data.ads: Minor reformatting | |
1498 | ||
1499 | * einfo.ads, einfo.adb (Parent_Subtype): Now allowed on record subtype, | |
1500 | applies to base type. | |
1501 | (Parent_Subtype): Now allowed on record subtype, applies to base type | |
1502 | * exp_ch5.adb (Expand_Assign_Record): Handle Componentwise_Assignment | |
1503 | for case of fully repped tagged type. | |
1504 | (Make_Tag_Ctrl_Assignment): Set Componentwise_Assignment and avoid | |
1505 | tag save/restore for fully repped tagged type case. | |
1506 | * exp_util.ads, exp_util.adb (Is_Fully_Repped_Tagged_Type): New function | |
1507 | * fe.h (Is_Fully_Repped_Tagged_Type): New function | |
1508 | * sem_ch13.adb (Analyze_Recorrd_Representation_Clause): Check for | |
1509 | overlap of tagged type components with parent type if parent type is | |
1510 | fully repped. | |
1511 | * sinfo.ads, sinfo.adb (Componentwise_Assignment): New flag | |
1512 | ||
1513 | * sem_res.adb (Check_No_Direct_Boolean_Operators): Remove handling of | |
1514 | comparisons. | |
1515 | (Resolve_Comparison_Operators): Remove No_Direct_Boolean_Operators check | |
1516 | (Resolve_Equality_Op): Remove No_Direct_Boolean_Operators check | |
1517 | ||
1518 | * gnat_rm.texi: Restriction No_Direct_Boolean_Operators includes only | |
1519 | logical operators (AND/OR/XOR), not comparison operators. | |
1520 | ||
1521 | * sprint.ads: Minor reformatting | |
1522 | ||
1523 | 2009-07-20 Ed Schonberg <schonberg@adacore.com> | |
1524 | ||
1525 | * sem_intr.adb (Check_Intrinsic_Call): For Import_Value and related | |
1526 | intrinsics, check that argument is a string literal, rather than | |
1527 | checking for staticness. | |
1528 | ||
acecfc91 | 1529 | 2009-07-20 Robert Dewar <dewar@adacore.com> |
1530 | ||
1531 | * sem_ch13.adb: Minor reformatting | |
1532 | ||
1533 | * einfo.ads: Minor reformatting | |
1534 | Component_Bit_Offset is no longer considered obsolescent | |
1535 | ||
1536 | 2009-07-20 Nicolas Roche <roche@adacore.com> | |
1537 | ||
1538 | * a-calend.adb: Redefine time_t as signed integer with same size as | |
1539 | Address type. | |
1540 | * s-os_lib.ads: Redefine OS_Time as signed integer with same size as | |
1541 | Address type | |
1542 | * adaint.h: On Windows 64bits declare OS_Time as long long instead of | |
1543 | long | |
1544 | ||
1545 | 2009-07-20 Javier Miranda <miranda@adacore.com> | |
1546 | ||
1547 | * exp_tss.adb (Init_Proc): Add missing support for non-default C++ | |
1548 | constructors that have anonymous access type formals. | |
1549 | ||
1550 | * sem_res.adb (Resolve_Actuals): Disable checks associated with Ada | |
1551 | class-wide arguments in case of imported C++ subprograms. | |
1552 | ||
1553 | * exp_ch3.adb (Build_Initialization_Call): Add assertion. | |
1554 | ||
1555 | 2009-07-20 Sergey Rybin <rybin@adacore.com> | |
1556 | ||
1557 | * vms_data.ads: Update qualifiers. | |
1558 | ||
7ee315cc | 1559 | 2009-07-20 Robert Dewar <dewar@adacore.com> |
1560 | ||
1561 | * einfo.ads, switch.adb, gnatls.adb, inline.adb, sem_ch13.adb: Minor | |
1562 | reformatting | |
1563 | ||
bfec3452 | 1564 | 2009-07-17 Richard Guenther <rguenther@suse.de> |
1565 | ||
1566 | PR c/40401 | |
5b5c187c | 1567 | * gcc-interface/utils.c (end_subprog_body): Revert to pre-tuples |
1568 | state. Remove unused parameter. | |
bfec3452 | 1569 | (gnat_gimplify_function): Do not gimplify here. |
1570 | Fold into its only caller and remove. | |
1571 | (gnat_builtin_function): Adjust for end_subprog_body signature change. | |
1572 | (gnat_write_global_declarations): Also finalize the CU. | |
5b5c187c | 1573 | * gcc-interface/misc.c (gnat_parse_file): Do not finalize the CU here. |
1574 | * gcc-interface/trans.c (gigi): Revert to pre-tuples state. | |
bfec3452 | 1575 | (Subprogram_Body_to_gnu): Adjust for end_subprog_body signature |
1576 | change. | |
5b5c187c | 1577 | * gcc-interface/gigi.h (end_subprog_body): Remove unused parameter. |
bfec3452 | 1578 | |
f5ab89ea | 1579 | 2009-07-15 Arnaud Charlet <charlet@adacore.com> |
1580 | ||
1581 | * gcc-interface/Make-lang.in: Update dependencies | |
1582 | ||
1583 | * gcc-interface/Makefile.in: Add target pairs for PPC/Xenomai | |
1584 | ||
7d4e1171 | 1585 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1586 | ||
1587 | * par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for | |
1588 | N_Label. Remove SCO table entry for entry point (not used). | |
1589 | ||
1590 | * par_sco.ads: Remove SCO entry point type (not used) | |
1591 | ||
1592 | * switch.adb: Minor code clean up. | |
1593 | ||
1594 | 2009-07-15 Eric Botcazou <ebotcazou@adacore.com> | |
1595 | ||
1596 | * exp_dbug.ads (Base Record Types): Document enhanced encoding. | |
1597 | ||
1598 | 2009-07-15 Thomas Quinot <quinot@adacore.com> | |
1599 | ||
1600 | * gnatls.adb: Minor reformatting | |
1601 | ||
1602 | * gnatcmd.adb: Minor code reorganization | |
1603 | ||
1604 | 2009-07-15 Ed Schonberg <schonberg@adacore.com> | |
1605 | ||
1606 | * exp_util.adb (Component_May_Be_Bit_Aligned): Use underlying type to | |
1607 | determine whether a component of a private type has a composite type. | |
1608 | ||
88fcd057 | 1609 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1610 | ||
1611 | * sem_ch10.adb: Minor reformatting throughout | |
1612 | Minor code reorganization (put nested subprograms in alpha order) | |
1613 | ||
1614 | 2009-07-15 Ed Schonberg <schonberg@adacore.com> | |
1615 | ||
1616 | * exp_ch6.adb (Expand_Call): Prevent double attachment of the result | |
1617 | when compiling a call to a protected function that returns a controlled | |
1618 | object. | |
1619 | ||
1620 | 2009-07-15 Hristian Kirtchev <kirtchev@adacore.com> | |
1621 | ||
1622 | * sysdep.c (__gnat_localtime_tzoff): Consolidate the Lynx cases into | |
1623 | one. Add task locking and unlocking around the critical region which | |
1624 | mentions localtime_r and global variable timezone for various targets. | |
1625 | Comment reformatting. | |
1626 | ||
7bc11884 | 1627 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1628 | ||
1629 | * gnat_rm.texi: Document s-ststop.ads | |
1630 | ||
1631 | * impunit.ad: (Map_Array): New table of alternative names | |
1632 | (Get_Kind_Of_Unit): Return possible suggested alternative name | |
1633 | ||
1634 | * impunit.ads (Get_Kind_Of_Unit): Return possible suggested | |
1635 | alternative name. | |
1636 | ||
1637 | * sem_ch10.adb (Analalyze_With_Clause): Add name of possible | |
1638 | alternative unit if an implementation unit is with'ed. | |
1639 | ||
620b1003 | 1640 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1641 | ||
1642 | * gnat_ugn.texi: Minor updates. | |
1643 | ||
1644 | * snames.ads-tmpl: Minor comment updates for Ada 2005 fully implemented | |
1645 | ||
11b376d2 | 1646 | 2009-07-15 Ed Schonberg <schonberg@adacore.com> |
1647 | ||
1648 | * sem_warn.adb (Warn_On_Constant_Condition): Handle properly constant | |
1649 | conditions of a derived boolean type. | |
1650 | Minor reformatting | |
1651 | ||
1652 | 2009-07-15 Robert Dewar <dewar@adacore.com> | |
1653 | ||
1654 | * gnat1drv.adb: Initialize SCO tables | |
1655 | ||
1656 | * par-load.adb: Call SCO_Record for main unit spec | |
1657 | ||
1658 | * par.adb: Make call to SCO_Record for main unit | |
1659 | ||
1660 | * par_sco.adb (Unit_Table): Change format to facilitate sort | |
1661 | (Process_Decisions): New procedure with list argument | |
1662 | (Traverse_Generic_Package_Declaration): New procedure | |
1663 | (Initialize): New procedure, replaces Init | |
1664 | (SCO_Output): Sort unit table before output | |
1665 | (SCO_Record): Avoid duplications | |
1666 | (SCO_Record): Handle remaining cases of units | |
1667 | (Traverse_Declarations_Or_Statements): Handle generics | |
1668 | ||
1669 | * par_sco.ads (Initialize): New peocedure (replaces Init) | |
1670 | ||
1671 | * sem_ch10.adb (Analyze_Proper_Body): Make call to SCO_Record for | |
1672 | subunit. | |
1673 | ||
1674 | 2009-07-15 Arnaud Charlet <charlet@adacore.com> | |
1675 | ||
1676 | * debug.adb: Add -gnatd.J switch for now to support scil generation in | |
1677 | parallel. Add missing doc for -gnatd.I and -gnatd.O | |
1678 | ||
0423f752 | 1679 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1680 | ||
1681 | * lib-load.adb: Minor reformatting | |
1682 | ||
1683 | * lib-writ.adb (Write_ALI): Fix handling of SCO_Output wrt Generate_SCO. | |
1684 | ||
1febfa70 | 1685 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1686 | ||
1687 | * par.adb: Minor reformatting | |
1688 | Add ??? comment for possible bad comment | |
1689 | ||
1690 | * par-ch10.adb: Minor reformatting | |
1691 | ||
7734e2ae | 1692 | 2009-07-15 Ed Schonberg <schonberg@adacore.com> |
1693 | ||
1694 | * sem_warn.adb (Warn_On_Constant_Condition): if the constant condition | |
1695 | is a literal of a derived boolean type, it appears as an unchecked | |
1696 | conversion. Retrieve actual value from expression of conversion. | |
1697 | ||
1698 | 2009-07-15 Robert Dewar <dewar@adacore.com> | |
1699 | ||
1700 | * sem_ch3.adb: Minor reformatting | |
1701 | ||
1702 | * lib-xref.ads, lib-xref.adb, lib.ads, par_sco.ads, par_sco.adb, | |
1703 | lib-writ.ads, lib-writ.adb: Minor reformatting. | |
1704 | Fix problem with SCO format in ALI files | |
1705 | ||
1a8bc727 | 1706 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1707 | ||
1708 | * exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb, | |
1709 | exp_aggr.adb: Minor code reorganization (better calling sequence for | |
1710 | Make_Temporary). | |
1711 | ||
1712 | 2009-07-15 Thomas Quinot <quinot@adacore.com> | |
1713 | ||
1714 | * opt.ads: Minor comment edits | |
1715 | ||
98d9c641 | 1716 | 2009-07-15 Tristan Gingold <gingold@adacore.com> |
1717 | ||
1718 | * gcc-interface/Makefile.in: Special rule for seh_init.o no longer | |
1719 | needed. | |
1720 | ||
902e2182 | 1721 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1722 | ||
902e2182 | 1723 | * lib-writ.adb (Write_Unit_Information): Use SCO_Output to output SCO |
1724 | information. | |
1725 | ||
1726 | * lib-writ.ads: Document addition of SCO lines to ALI file | |
1727 | ||
1728 | * par_sco.ads, par_sco.adb: New files. | |
1729 | ||
1730 | * opt.ads (Generate_SCO): New switch | |
1731 | ||
1732 | * par.adb (Par): Call SCO_Record to record SCO information | |
1733 | ||
1734 | * sem_warn.adb (Warn_On_Constant_Condition): Adjust SCO condition | |
1735 | ||
1736 | * switch-c.adb: Recognize -gnateS to generate SCO information | |
1737 | ||
1738 | * usage.adb: Add line for -gnateS | |
1739 | ||
1740 | * gcc-interface/Make-lang.in: Add dependency on par_sco.o for gnat1 | |
1741 | ||
b05b9ac6 | 1742 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1743 | ||
1744 | * sinfo.ads, make.adb, par.ads, par.adb, sem_warn.adb: Minor | |
1745 | reformatting. | |
1746 | ||
1747 | 2009-07-15 Thomas Quinot <quinot@adacore.com> | |
1748 | ||
1749 | * g-socthi-mingw.adb: Minor comment addition | |
1750 | ||
1751 | * g-socthi-mingw.ads (WSAStartup): First argument is a WORD not an int. | |
1752 | ||
01046664 | 1753 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1754 | ||
1755 | * g-htable.ads, s-htable.ads: Minor reformatting | |
1756 | ||
12308590 | 1757 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1758 | ||
1759 | * switch-c.adb, sem_ch10.adb, sem_warn.adb, sem_warn.ads: Implement | |
1760 | new switch -gnatw.g. | |
1761 | (Set_GNAT_Mode_Warnings): New procedure. | |
1762 | ||
1763 | * lib-xref.adb: Minor reformatting | |
1764 | ||
cf774008 | 1765 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
1766 | ||
1767 | * exp_aggr.adb, tbuild.ads, tbuild.adb: Minor reformatting | |
1768 | Minor code reorganization | |
1769 | ||
c02b6f4e | 1770 | 2009-07-14 Taras Glek <tglek@mozilla.com> |
1771 | Rafael Espindola <espindola@google.com> | |
1772 | ||
1773 | * gcc-interface/Make-lang.in (ada.install-plugin): New target for | |
1774 | installing plugin headers. | |
1775 | ||
504b51e7 | 1776 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> |
1777 | ||
1778 | * exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb, | |
1779 | exp_aggr.adb (Make_Temporary): Utility to create a defining identifier | |
1780 | and link it to the expression whose value it captures. | |
1781 | ||
5d56d161 | 1782 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
1783 | ||
1784 | * output.adb: Minor comment addition for last change | |
1785 | ||
1786 | * sinfo.ads: Minor reformatting | |
1787 | ||
1788 | 2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> | |
1789 | ||
1790 | * adaint.c (__gnat_portable_no_block_spawn): on Windows, return -1 when | |
1791 | spawn failed like on all other targets. | |
1792 | ||
1793 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
1794 | ||
1795 | * exp_ch7.adb: Indicate origin of temporary for transient expression. | |
1796 | ||
94ef14de | 1797 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
1798 | ||
1799 | * s-oscons-tmplt.c: Add comment. | |
1800 | ||
1801 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
1802 | ||
1803 | * sinfo.adb, sinfo.ads, sem_util.adb, atree.adb, atree.ads: Minor | |
1804 | reformatting. Minor code reorganization (add 9 argument version of | |
1805 | Nkind_In). | |
1806 | ||
1807 | * impunit.adb: Remove s-os_lib from list of system extensions. | |
1808 | ||
1809 | * sem_util.ads: Minor reformatting | |
1810 | ||
1811 | * output.adb: Add warnings off/on around System.OS_Lib. | |
1812 | ||
1afa4390 | 1813 | 2009-07-13 Bob Duff <duff@adacore.com> |
1814 | ||
1815 | * exp_dist.adb: Minor comment updates. | |
1816 | ||
cf563f22 | 1817 | 2009-07-13 Gary Dismukes <dismukes@adacore.com> |
1818 | ||
1819 | * sem_ch10.adb, sem_ch12.adb, gnat1drv.adb, exp_ch4.adb: Fix casing of | |
1820 | several references to CodePeer. | |
1821 | ||
1822 | 2009-07-13 Bob Duff <duff@adacore.com> | |
1823 | ||
1824 | * exp_dist.adb (Build_From_Any_Function,Build_To_Any_Function, | |
1825 | Build_TypeCode_Function_All): Do not recurse if the type is the base | |
1826 | type. | |
1827 | ||
9af0ddc7 | 1828 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
1829 | ||
1830 | * exp_ch4.adb: Minor comment change | |
1831 | ||
1832 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
1833 | ||
1834 | * sem_ch5.adb (Analyze_Iteration_Scheme): Generate dummy reference for | |
1835 | type of iteration, to prevent spurious warnings. | |
1836 | ||
1837 | 2009-07-13 Nicolas Roche <roche@adacore.com> | |
1838 | ||
1839 | * s-oscons-tmplt.c: On VxWorks target ensure that vxWorks.h is always | |
1840 | included. | |
1841 | ||
1842 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> | |
1843 | ||
1844 | * switch-c.adb, usage.adb, sem_ch9.adb, gnat_ugn.texi, rtsfind.adb, | |
1845 | gnat1drv.adb, opt.ads, sem_ch13.adb (Inspector_Mode): Renamed to | |
1846 | Generate_SCIL. | |
1847 | (CodePeer_Mode): New -gnatC switch. | |
1848 | (Adjust_Global_Switches): Adjust settings for Generate_SCIL and | |
1849 | CodePeer_Mode. | |
1850 | ||
eefa141b | 1851 | 2009-07-13 Eric Botcazou <ebotcazou@adacore.com> |
1852 | ||
1853 | * checks.adb (Selected_Range_Checks): Do not consider that a non-static | |
1854 | integer bound forces the check if it is compared to its subtype range. | |
1855 | ||
c23ec5da | 1856 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
1857 | ||
1858 | * prj.ads, prj-dect.adb, prj-err.ads, prj-err.adb, prj-nmsc.adb, | |
1859 | prj-strt.ads: Minor reformatting | |
1860 | ||
1861 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
1862 | ||
1863 | * exp_dist.adb (Build_From_Any_Call): For the case of a generic type, | |
1864 | set the type of the From_Any call to the base type. | |
1865 | ||
1866 | 2009-07-13 Doug Rupp <rupp@adacore.com> | |
1867 | ||
1868 | * symbols-processing-vms-ia64.adb (Process): Add variables and | |
1869 | constants to retrieve and check for symbol visibility. | |
1870 | ||
1871 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
1872 | ||
1873 | * exp_ch4.adb (Expand_N_Unchecked_Type_Conversion): If conversion is to | |
1874 | the identical type we remove the conversion completely because | |
1875 | it is useless. | |
1876 | ||
dffd0a90 | 1877 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
1878 | ||
1879 | * prj-err.adb (Error_Msg): One more case where a message should be | |
1880 | considered as a warning. | |
1881 | ||
1882 | * gnatcmd.adb (GNATCmd): Fix previous change, which negated a test. | |
1883 | ||
1884 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
1885 | ||
1886 | * exp_dist.adb (Expand_All_Calls_Remote_Subprogram_Call): Analyze | |
1887 | calling stubs in the (library level) scope of the RCI locator, where it | |
1888 | is attached, not in the caller's scope. | |
1889 | ||
1890 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
1891 | ||
1892 | * sem_ch3.adb (Analyze_Object_Declaration): In case of class-wide | |
1893 | interface object declarations we delay the generation of the equivalent | |
1894 | record type declarations until its expansion because there are cases in | |
1895 | which they are not required. | |
1896 | ||
1897 | * sem_util.adb (Implements_Interface): Add missing support for subtypes. | |
1898 | ||
1899 | * sem_disp.adb (Check_Controlling_Formals): Minor code cleanup plus | |
1900 | addition of assertion. | |
1901 | ||
1902 | * exp_util.adb (Expand_Subtype_From_Expr): Renamings of class-wide | |
1903 | interface types require no equivalent constrained type declarations | |
1904 | because the expanded code only references the tag component associated | |
1905 | with the interface. | |
1906 | (Find_Interface_Tag): Improve management of interfaces that are | |
1907 | ancestors of tagged types. | |
1908 | ||
1909 | * exp_ch3.adb (Expand_N_Object_Declaration): Improve the expansion of | |
1910 | class-wide object declarations to add missing support to statically | |
1911 | displace the pointer to the object to reference the tag component | |
1912 | associated with the interface. | |
1913 | ||
1914 | * exp_disp.adb (Make_Tags) Avoid generation of internally generated | |
1915 | auxiliary types associated with user-defined dispatching calls if the | |
1916 | type has no user-defined primitives. | |
1917 | ||
4c4697b8 | 1918 | 2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> |
1919 | ||
1920 | * mingw32.h: Make it explicit that we need XP or later. | |
1921 | ||
1922 | * initialize.c: Remove useless extern symbol declaration. | |
1923 | ||
1924 | * adaint.h: Ditto, also expose __gnat_win32_remove_handle to allow | |
1925 | code reuse in expect.c. | |
1926 | ||
1927 | * adaint.c: Changes throughout the Windows section to redesign storage | |
1928 | of the child process list and the process identification. | |
1929 | ||
1930 | * expect.c (__gnat_kill, __gnat_waitpid): Simplify, cleanup, use pids | |
1931 | for interfacing, fix errors. | |
1932 | (__gnat_expect_portable_execvp): use function in adaint.c | |
1933 | ||
7226d764 | 1934 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
1935 | ||
1936 | * prj-proc.adb, prj-part.adb, prj-part.ads, prj-strt.adb, | |
1937 | prj-strt.ads, prj.adb, prj.ads, prj-makr.adb, prj-makr.ads, | |
1938 | prj-dect.adb, prj-dect.ads, prj-nmsc.adb, prj-pars.adb, errutil.adb, | |
1939 | errutil.ads, prj-conf.adb, gnatname.adb, prj-err.adb, prj-err.ads | |
1940 | (Prj.Nmsc.Report_Error): Removed, no longer needed. | |
1941 | Always use Prj.Err.Report_Message. | |
1942 | ||
651c868f | 1943 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
1944 | ||
1945 | * prj.adb, sem_ch4.adb, sem_res.adb, prj-nmsc.adb: Minor reformatting | |
1946 | & comment edits. | |
1947 | ||
9f864429 | 1948 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
1949 | ||
1950 | * opt.ads, prj-conf.adb, prj-env.adb, prj-ext.adb, prj-nmsc.adb, | |
1951 | prj-proc.adb, prj-tree.adb, prj-tree.ads: Minor reformatting | |
1952 | ||
5d6b98f6 | 1953 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
1954 | ||
1955 | * prj.adb, prj.ads, prj-env.adb, prj-conf.adb, prj-tree.adb, | |
1956 | mlib-prj.adb (Private_Part.Ada_Prj_Objects_File_Set, | |
1957 | Ada_Prj_Include_File_Set): Removed, since not needed | |
1958 | Code clean up. | |
1959 | ||
1960 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
1961 | ||
1962 | * sem_ch4.adb (Analyze_Set_Membership): New procedure, subsidiary of | |
1963 | Analyze_Membership_Op. | |
1964 | ||
1965 | * sem_res.adb (Resolve_Set_Membership): New procedure, subsidiary of | |
1966 | Resolve_Membership_Op. | |
1967 | ||
1968 | * exp_ch4.adb (Expand_Set_Membership): New procedure, subsidiary of | |
1969 | Expand_N_In. | |
1970 | ||
1971 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
1972 | ||
1973 | * clean.adb: Minor reformattting | |
1974 | ||
d15bad04 | 1975 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
1976 | ||
1977 | * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj-ext.adb, | |
1978 | gnat_ugn.texi, prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-util.adb, | |
1979 | prj-conf.adb, gnatname.adb, prj-env.adb, prj-env.ads, prj-tree.adb, | |
1980 | prj-tree.ads (Prj.Tree.Create*): New subprograms to create new packages | |
1981 | and attributes in a project tree. | |
1982 | (Add_Default_GNAT_Naming_Scheme): Provide real implementation. | |
1983 | Remove last remaining mode-specific code (ada_only or | |
1984 | multi_language). This was duplicating code | |
1985 | (Get_Mode, Set_Mode): removed, no longer used. | |
1986 | (Initialize_Project_Path): all tools will now take into account both | |
1987 | GPR_PROJECT_PATH and ADA_PROJECT_PATH (in that order). | |
1988 | Remove some global variables and subprograms no longer used | |
1989 | Make temporary files tree-specific, to avoid interferences between | |
1990 | trees loaded in memory at the same time. | |
1991 | (Prj.Delete_Temporary_File): new subprogram | |
1992 | (Object_Paths, Source_Paths): fields no longer stored in the project | |
1993 | tree, since they are only needed locally in Set_Ada_Paths. | |
1994 | (Set_Mapping_File_Initial_State_To_Empty): removed, since had no | |
1995 | effect in practice. | |
1996 | (Project_Tree_Data.Ada_Path_Buffer): removed, since it can be replaced | |
1997 | by local variables in the appropriate subprograms | |
1998 | (Has_Foreign_Sources): removed. | |
1999 | ||
2000 | * gcc-interface/Makefile.in: prj-pp.o is now needed to build gnatmake | |
2001 | ||
15a0a165 | 2002 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
2003 | ||
2004 | * gnat1drv.adb (Adjust_Global_Switches): No longer set | |
2005 | Back_Annotate_Rep_Info in inspector mode. | |
2006 | (Gnat1Drv): Need to call the back-end in inspector mode to generate SCIL | |
2007 | ||
2008 | * opt.ads: Update comment. | |
2009 | ||
3b9cea35 | 2010 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2011 | ||
2012 | * lib.adb, prj-nmsc.adb, prj-proc.adb, prj-proc.ads, prj.adb, | |
2013 | prj.ads: Minor reformatting and code reorganization. | |
2014 | ||
2015 | * par-ch3.adb (Check_Restricted_Expression): New procedure | |
2016 | ||
ad7d90bc | 2017 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> |
2018 | ||
2019 | * exp_attr.adb (Rewrite_Stream_Proc_Call): When rewriting a stream | |
2020 | attribute into a call of the corresponding suprogram, create extra | |
2021 | formals for the subprogram, because it may be a renaming whose | |
2022 | analysis does not create extra formals. | |
2023 | ||
85e11768 | 2024 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2025 | ||
2026 | * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, | |
2027 | prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, | |
2028 | prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-env.adb, prj-tree.adb, | |
2029 | prj-tree.ads: Minor reformatting. | |
2030 | (Processing_Flags): new record to encapsulate the set of common | |
2031 | parameters to several subprograms in the project manager. | |
2032 | (Prj.Nmsc.Process_Naming_Scheme): renames Check, and moved to body | |
2033 | Remove the need for the Current_Dir parameter in subprograms. | |
2034 | (Look_For_Sources): minor refactoring, now that we no longer need to | |
2035 | share subprograms between the two Ada_Only and Multi_Language modes | |
2036 | (Processing_Flags): New field Error_On_Unknown_Language. | |
2037 | Merge tests for library project between gnatmake and gprbuild. | |
2038 | ||
170e1474 | 2039 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
2040 | ||
2041 | * lib.adb, make.adb, mlib.adb, exp_dist.adb: Update comments. | |
2042 | Minor reformatting. | |
2043 | ||
4c255c08 | 2044 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2045 | ||
2046 | * prj-env.adb (Create_Config_Pragmas_File): Iterate on sources rather | |
2047 | than units. | |
2048 | ||
2049 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
2050 | ||
2051 | * sem_ch3.adb (Process_Full_View): Propagate Has_Specified_Stream_{Read, | |
2052 | Write,Input,Output} from private view to full view. | |
2053 | ||
2054 | * sem_type.adb, sem_type.ads: Minor reformatting | |
2055 | ||
2056 | 2009-07-13 Nicolas Setton <setton@adacore.com> | |
2057 | ||
2058 | * exp_dbug.ads: Add documentation note on the utility of | |
2059 | DW_AT_GNAT_encoding for IDEs. | |
2060 | ||
2061 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
2062 | ||
2063 | * g-socthi-vxworks.adb: Minor reformatting | |
2064 | ||
2065 | * gnatcmd.adb: Minor reformatting | |
2066 | ||
5b76e9f3 | 2067 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
2068 | ||
2069 | * rtsfind.ads, exp_dist.adb (RE_Allocate_Buffer): Runtime entry | |
2070 | removed, not used anymore. | |
2071 | (Exp_Dist.PolyORB_Support.Helpers.Assign_Opaque_From_Any): | |
2072 | New subprogram, implements copy of an Any value into a limited object. | |
2073 | (Exp_Dist.PolyORB_Support.Build_General_Calling_Stubs, | |
2074 | Exp_Dist.PolyORB_Support.Build_Subprogram_Receiving_Stubs, | |
2075 | Exp_Dist.PolyORB_Support.Helpers.Build_From_Any_Function): For the case | |
2076 | of parameters of a limited type, use the above new subprogram. | |
2077 | ||
2078 | 2009-07-13 Emmanuel Briot <briot@adacore.com> | |
2079 | ||
2080 | * prj-nmsc.adb, prj-proc.adb, mlib.adb (Add_Source): new parameter | |
2081 | Location. | |
2082 | (Copy_ALI_Files): Avoid calls to read when pointing outside of the | |
2083 | allocated space. | |
2084 | (Error_Report): Remove global variable, replaced by parameters. | |
2085 | ||
8234fccd | 2086 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
2087 | ||
2088 | * g-socthi-vxworks.adb (C_Sendto): VxWorks does not support the | |
2089 | standard sendto(2) interface for connected sockets (passing a null | |
2090 | destination address). Use send(2) instead for that case. | |
2091 | ||
2092 | 2009-07-13 Pascal Obry <obry@adacore.com> | |
2093 | ||
2094 | * adaint.c: Fix __gnat_stat() with Win32 UNC paths. | |
2095 | ||
4eafea4c | 2096 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2097 | ||
2098 | * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, | |
2099 | prj-pars.adb, prj-conf.adb, prj-conf.ads: Remove all remaining global | |
2100 | variables and tables in prj-nmsc.adb. | |
2101 | (Tree_Processing_Data): Renames Processing_Data, some new fields added | |
2102 | (Project_Processing_Data): New record | |
2103 | Simplify/unify check for missing sources. | |
2104 | ||
189243d5 | 2105 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2106 | ||
2107 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj-part.adb, mlib.adb, | |
2108 | prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, | |
2109 | prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-tree.adb, | |
2110 | prj-tree.ads (Immediate_Directory_Of): Removed. | |
2111 | (Prj.Pars): Now parse the project simulating a default config file. | |
2112 | (Add_Default_GNAT_Naming_Scheme): New subprogram | |
2113 | (Check_Naming_Multi_Lang): Fix default value for Dot_Replacement. | |
2114 | Remove gnatmake-specific parsing of source files. | |
2115 | (Check_Illegal_Suffix): Renames Is_Illegal_Suffix, since it now raises | |
2116 | the error itself to provide more precise diagnostics. | |
2117 | (Process_Exceptions_Unit_Based): Avoid duplicate error message when | |
2118 | a unit belongs to several projects. | |
2119 | (Copy_Interface_Sources): Search the full path of files to copy in the | |
2120 | list of sources of the application rather than in the list of units. | |
2121 | (Parse_Project_And_Apply_Config): Do not reset the name of the main | |
2122 | project file. | |
2123 | (Check_File): Use htables to find out whether a source is duplicated. | |
2124 | (Add_Source): check whether the source or unit were already seen earlier | |
2125 | ||
2126 | * gcc-interface/Makefile.in: Update gnatmake dependencies. | |
2127 | ||
1cb8dd63 | 2128 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2129 | ||
2130 | * par-ch3.adb (P_Discrete_Choice_List): Choice can only be simple | |
2131 | expression if extensions permitted. | |
2132 | ||
2133 | * par-ch4.adb (P_Membership_Test): New procedure (implement membership | |
2134 | set tests). | |
2135 | (P_Relation): Use P_Membership_Test | |
2136 | ||
2137 | * par.adb (P_Membership_Test): New procedure (implement membership set | |
2138 | tests). | |
2139 | ||
2140 | * sinfo.ads, sinfo.adb (N_In, N_Not_In) Add Alternatives field for sets. | |
2141 | ||
2142 | * sprint.adb (Sprint_Node): Handle set form for membership tests. | |
2143 | ||
d56d8525 | 2144 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
2145 | ||
2146 | * exp_dist.adb (Add_RACW_Primitive_Declarations_And_Bodies): | |
2147 | Do not attempt to generate stubs for predefined primitives of | |
2148 | synchronized interfaces. | |
2149 | (Add_Stub_Type): Factor some code from the PCS-specific variants of | |
2150 | Build_Stub_Type. | |
2151 | ||
2152 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
2153 | ||
2154 | * sem_disp.adb (Override_Dispatching_Operation): Functions inherit the | |
2155 | Controlling_Result flag from the operation they override. | |
2156 | ||
a32d68e2 | 2157 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
2158 | ||
2159 | * gcc-interface/Make-lang.in: Update dependencies | |
2160 | ||
7f2cf564 | 2161 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2162 | ||
2163 | * gnat_ugn.texi: The gnatf switch no longer is needed to get full | |
2164 | details on unsupported constructs. | |
2165 | ||
2166 | * rtsfind.adb: Remove references to All_Errors_Mode, give errors | |
2167 | unconditionally. | |
2168 | ||
2169 | * s-trafor-default.adb: Correct some warnings | |
2170 | ||
2171 | * s-valwch.adb, a-calend.adb, freeze.adb, prj.ads, s-vmexta.adb, | |
2172 | sem.adb, sem_ch10.adb, sem_ch6.adb, sem_disp.adb, vxaddr2line.adb: | |
2173 | Minor reformatting. | |
2174 | ||
2175 | * par-ch4.adb (Conditional_Expression): Capture proper location for | |
2176 | conditional expression, should point to IF. | |
2177 | ||
2178 | * s-tassta.adb, a-wtdeau.adb, s-tasren.adb, s-arit64.adb, s-imgdec.adb, | |
2179 | s-direio.adb, s-tpobop.adb, g-socket.adb, s-tposen.adb, s-taskin.adb, | |
2180 | g-calend.adb, s-regpat.adb, s-scaval.adb, g-catiio.adb: Minor code | |
2181 | reorganization (use conditional expressions). | |
2182 | ||
2183 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
2184 | ||
2185 | * exp_util.adb (Remove_Side_Effects): If the expression is a call to a | |
2186 | build-in-place function that returns an inherently limited type (not | |
2187 | just a task type) create proper object declaration so that extra | |
2188 | build-in-place actuals are properly added to the call. | |
2189 | ||
91a6416d | 2190 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2191 | ||
2192 | * freeze.adb (Freeze_Entity): Implement Warn_On_Suspicious_Modulus_Value | |
2193 | ||
2194 | * gnat_ugn.texi: Add documentation for -gnatw.m/.M | |
2195 | ||
2196 | * opt.ads (Warn_On_Suspicious_Modulus_Value): New flag | |
2197 | ||
2198 | * sem_warn.adb (Set_Dot_Warning_Flag): Set/reset | |
2199 | Warn_On_Suspicious_Modulus_Value. | |
2200 | ||
2201 | * ug_words: Add entries for -gnatw.m/-gnatw.M. | |
2202 | ||
2203 | * usage.adb: Add lines for -gnatw.m/.M switches. | |
2204 | ||
2205 | * vms_data.ads: Add [NO]SUSPICIOUS_MODULUS for -gnatw.m/w.M | |
2206 | ||
2207 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
2208 | ||
2209 | * sem_ch6.adb (Check_Synchronized_Overriding): Add missing check before | |
2210 | reading the Is_Interface attribute of the dispatching type. | |
2211 | ||
2212 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
2213 | ||
2214 | * a-convec.adb: Minor code reorganization (use conditional expressions) | |
2215 | ||
20bb8e85 | 2216 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2217 | ||
2218 | * freeze.adb (Check_Suspicious_Modulus): New procedure. | |
2219 | ||
f63b4aea | 2220 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2221 | ||
2222 | * i-cobol.ads: Minor code fix (2**4 instead of 16 as modulus to avoid | |
2223 | warning). | |
2224 | ||
2225 | * par-ch4.adb: Minor reformatting | |
2226 | ||
2227 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
2228 | ||
2229 | * freeze.adb, freeze.ads, exp_aggr.adb: Rename Expand_Atomic_Aggregate | |
2230 | => Is_Atomic_Aggregate | |
2231 | ||
b02a9f75 | 2232 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2233 | ||
2234 | * prj-nmsc.adb: Avoid traversing the list of source files if | |
2235 | we have already processed all locally removed files. | |
2236 | ||
2237 | 2009-07-13 Jose Ruiz <ruiz@adacore.com> | |
2238 | ||
2239 | * gnat_ugn.texi: Fix typo. | |
2240 | ||
2241 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
2242 | ||
2243 | * freeze.adb: Minor reformatting | |
2244 | Minor code reorganization (use Nkind_In) | |
2245 | ||
f95fe7a3 | 2246 | * exp_ch6.adb, prj.adb, sem_res.adb: Minor reformatting |
b02a9f75 | 2247 | |
d6da7448 | 2248 | 2009-07-11 Eric Botcazou <ebotcazou@adacore.com> |
2249 | ||
2250 | * checks.adb (Apply_Address_Clause_Check): Remove Size_Warning_Output | |
2251 | local variable and do not test it in Compile_Time_Bad_Alignment. | |
2252 | Do not issue size or alignment warnings for the X'Address form. | |
2253 | * sem_util.ads (Find_Overlaid_Object): Delete. | |
2254 | (Find_Overlaid_Entity): New procedure. | |
2255 | * sem_util.adb (Find_Overlaid_Object): Rename to... | |
2256 | (Find_Overlaid_Entity): ...this and turn into a procedure. Report | |
2257 | whether the address is offseted within the overlaid entity. | |
2258 | (Has_Compatible_Alignment): Track the offset globally instead of | |
2259 | passing it to Check_Offset. For an indexed component, compute the | |
2260 | full offset when possible. If the resulting offset is zero, only | |
2261 | check the prefix. | |
2262 | (Check_Offset): Delete. | |
2263 | * sem_ch13.adb (Address_Clause_Check_Record): Add Off field. | |
2264 | (Address_Aliased_Entity): Delete. | |
2265 | (Analyze_Attribute_Definition_Clause) <Attribute_Address>: Call | |
2266 | Find_Overlaid_Entity to find the overlaid entity and the offset. | |
2267 | Adjust throughout for above change. | |
2268 | (Validate_Address_Clauses): Always use attributes of entities, not of | |
2269 | their type. Tweak message for warning. Call Has_Compatible_Alignment | |
2270 | if the address is offseted to warn about incompatible alignments. | |
2271 | * gcc-interface/gigi.h (annotate_object): Declare. | |
2272 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Annotate renaming | |
2273 | entity. Call annotate_object instead of annotating manually objects. | |
2274 | (annotate_object): New function. | |
2275 | * gcc-interface/trans.c (Subprogram_Body_to_gnu): Annotate parameters | |
2276 | at the end. | |
2277 | ||
91c756e6 | 2278 | 2009-07-11 Eric Botcazou <ebotcazou@adacore.com> |
2279 | ||
2280 | * gcc-interface/ada-tree.h: Minor reorganization. | |
2281 | * gcc-interface/misc.c (gnat_print_decl): Minor tweaks. | |
2282 | (gnat_print_type): Likewise. | |
2283 | ||
d3931fdc | 2284 | 2009-07-11 Thomas Quinot <quinot@adacore.com> |
2285 | ||
2286 | * sem_util.adb, sem_res.adb, sem_warn.adb: Minor comment editing: | |
2287 | Lvalue -> lvalue | |
2288 | ||
2289 | * exp_ch6.adb: Minor reformatting | |
2290 | ||
2291 | 2009-07-11 Ed Schonberg <schonberg@adacore.com> | |
2292 | ||
2293 | * freeze.adb (Expand_Atomic_Aggregate): Clean up code, take into | |
2294 | account possible type qualification to determine whether aggregate | |
2295 | needs a target temporary to respect atomic type or object. | |
2296 | ||
2297 | * exp_aggr.adb (Expand_Record_Aggregate): Use new version of | |
2298 | Expand_Atomic_Aggregate. | |
2299 | ||
2300 | 2009-07-11 Emmanuel Briot <briot@adacore.com> | |
2301 | ||
2302 | * prj.adb, prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Speed up | |
2303 | algorithm. | |
2304 | (Excluded_Sources_Htable): No longer a global table. | |
2305 | Change error message to indicate which files are illegal in the list | |
2306 | of excluded files, as opposed to only the location in the project | |
2307 | file. | |
2308 | (Find_Source): New subprogram. | |
2309 | ||
bfef19fd | 2310 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
2311 | ||
2312 | * exp_ch7.adb: Update comments. | |
2313 | ||
2314 | 2009-07-10 Arnaud Charlet <charlet@adacore.com> | |
2315 | ||
2316 | * exp_ch13.adb (Expand_N_Record_Representation_Clause): Ignore mod | |
2317 | clause if -gnatI is set instead of crashing. | |
2318 | ||
2319 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
2320 | ||
2321 | * sem_ch11.adb (Same_Expression): Null is always equal to itself. | |
2322 | Additional work to remove redundant successive raise statements, in | |
2323 | this case access checks. | |
2324 | ||
2325 | 2009-07-10 Vincent Celier <celier@adacore.com> | |
2326 | ||
2327 | * make.adb (Compile): Always create a deep copy of the mapping file | |
2328 | argument (-gnatem=...) as it may be deallocate/reallocate by | |
2329 | Normalize_Arguments. | |
2330 | ||
2331 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
2332 | ||
2333 | * einfo.adb (Directly_Designated_Type): Add assertion. | |
2334 | ||
2335 | * sem_res.adb (Check_Fully_Declared_Prefix): Add missing check on | |
2336 | access types before using attribute Directly_Designated_Type. | |
2337 | ||
2338 | 2009-07-10 Emmanuel Briot <briot@adacore.com> | |
2339 | ||
2340 | * prj.ads: Minor typo fix | |
2341 | ||
2342 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
2343 | ||
2344 | * sem_ch6.adb (Add_Extra_Formal): Protected operations do no need | |
2345 | special treatment. | |
2346 | ||
2347 | * exp_ch6.adb (Expand_Protected_Subprogram_Call): If rewritten | |
2348 | subprogram is a function call, resolve properly, to ensure that extra | |
2349 | actuals are added as needed. | |
2350 | ||
e7bcf552 | 2351 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
2352 | ||
2353 | * sem_aggr.adb: Minor comments editing | |
2354 | ||
2355 | * exp_tss.adb, exp_ch3.adb: Minor reformatting | |
2356 | ||
7b31b357 | 2357 | 2009-07-10 Robert Dewar <dewar@adacore.com> |
2358 | ||
2359 | * exp_util.adb: Minor code reorganization (use N_Short_Circuit) | |
2360 | ||
2361 | * exp_ch4.adb: Add ??? comment for conditional expressions on limited | |
2362 | types. | |
2363 | ||
2364 | * checks.adb (In_Declarative_Region_Of_Subprogram_Body): New procedure, | |
2365 | replaces Safe_To_Capture_In_Parameter_Value, and properly handles the | |
2366 | case of conditional expressions that may not be elaborated. | |
2367 | ||
2368 | * sem_util.adb (Safe_To_Capture_Value): Properly handle case of | |
2369 | conditional expression where we may not execute then then or else | |
2370 | branches. | |
2371 | ||
e7771556 | 2372 | 2009-07-10 Arnaud Charlet <charlet@adacore.com> |
2373 | ||
2374 | * i-cexten.ads (bool): New type. | |
2375 | ||
2376 | 2009-07-10 Robert Dewar <dewar@adacore.com> | |
2377 | ||
2378 | * sinfo.ads (N_Short_Circuit): New definition | |
2379 | ||
2380 | * sem_ch13.adb, sem_ch6.adb, sem_eval.adb, sem_res.adb, | |
2381 | treepr.adb: Minor code reorganization (use N_Short_Circuit) | |
2382 | ||
2f82b41a | 2383 | 2009-07-10 Javier Miranda <miranda@adacore.com> |
2384 | ||
2385 | * exp_ch3.adb (Expand_Freeze_Record_Type): Handle constructors of | |
2386 | non-tagged record types. | |
2387 | ||
2388 | * sem_prag.adb | |
2389 | (Process_Import_Or_Interface): Allow the use of "pragma Import (CPP,..)" | |
2390 | with non-tagged types. Required to import C++ classes that have no | |
2391 | virtual primitives. | |
2392 | (Analyze_Pragma): For pragma CPP_Constructor. Allow the use of functions | |
2393 | returning non-tagged types. For backward compatibility, if the | |
2394 | constructor returns a class wide type we internally change the | |
2395 | returned type to the corresponding non class-wide type. | |
2396 | ||
2397 | * sem_aggr.adb | |
2398 | (Valid_Ancestor_Type): CPP_Constructors code cleanup. | |
2399 | (Resolve_Extension_Aggregate): CPP_Constructors code cleanup. | |
2400 | (Resolve_Aggr_Expr): CPP_Constructors code cleanup. | |
2401 | (Resolve_Record_Aggregate): CPP_Constructors code cleanup. | |
2402 | ||
2403 | * sem_ch3.adb | |
2404 | (Analyze_Object_Declaration): CPP_Constructors code cleanup. | |
2405 | ||
2406 | * sem_ch5.adb (Analyze_Assignment): CPP_Constructors code cleanup. | |
2407 | ||
2408 | * sem_util.adb (Is_CPP_Constructor_Call): Code cleanup. | |
2409 | ||
2410 | * sem_res.adb (Resolve_Allocator): CPP_Constructors code cleanup. | |
2411 | ||
2412 | * exp_ch4.adb (Expand_Allocator_Expression): CPP_Constructors code | |
2413 | cleanup. | |
2414 | ||
2415 | * exp_aggr.adb (Build_Record_Aggr_Code): CPP_Constructors code clean up. | |
2416 | ||
2417 | * gnat_rm.texi | |
2418 | (pragma CPP_Class): Document that it can be used now with non-tagged | |
2419 | record types. | |
2420 | (pragma CPP_Constructor): Document that it can be used now with | |
2421 | functions returning specific types. For backward compatibility | |
2422 | we also support functions returning class-wide types. | |
2423 | ||
2424 | * gnat_ugn.texi | |
2425 | (Interfacing with C++ constructors): Update the examples to incorporate | |
2426 | the new syntax in which the functions used to import C++ constructors | |
2427 | return specific types. | |
2428 | (Interfacing with C++ at the Class Level): Update the examples to | |
2429 | incorporate the new syntax in which the functions used to import | |
2430 | C++ constructors return specific types. | |
2431 | ||
7c949aad | 2432 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
2433 | ||
2434 | * exp_disp.adb (Make_Disp_Asynchronous_Select_Body, | |
2435 | Make_Disp_Conditional_Select_Body, | |
2436 | Make_Disp_Timed_Select_Body): For the case of a type that is neither an | |
2437 | interface nor a concurrent type, the primitive body is empty. Generate | |
2438 | a null statement so that it remains well formed. | |
2439 | ||
2440 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
2441 | ||
2442 | * exp_aggr.adb (Build_Record_Aggr_Code): If the type has discriminants, | |
2443 | replace references to them in defaulted component expressions with | |
2444 | references to the values of the discriminants of the target object. | |
2445 | ||
be1ba8de | 2446 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> |
2447 | ||
2448 | * sem_prag.adb (Analyze pragma, case Task_Name): Analyze argument of | |
2449 | pragma, to capture global references if the context is generic. | |
2450 | ||
2451 | * exp_ch2.adb (Expand_Discriminant): If a task type discriminant | |
2452 | appears within the initialization procedure for the corresponding | |
2453 | record, replace it with the proper discriminal. | |
2454 | ||
2455 | 2009-07-10 Vincent Celier <celier@adacore.com> | |
2456 | ||
2457 | * make.adb: Do not include object directories or library ALI | |
2458 | directories of library projects in the object path. | |
2459 | ||
2460 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
2461 | ||
2462 | * exp_util.adb (Find_Interface_Tag): Reorder processing of incoming | |
2463 | Typ argument to ensure proper management of access types. | |
2464 | ||
2465 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
2466 | ||
2467 | * exp_ch7.adb (Build_Final_List): If the list is being built for a | |
2468 | Taft-Amendment type, place the finalization list in the package body, | |
2469 | to ensure that the tree for the spec is identical whenever it is | |
2470 | compiled. | |
2471 | ||
2472 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
2473 | ||
2474 | * sem_ch3.adb (Build_Derived_Record_Type): Use the full-view when | |
2475 | inheriting attributes from a private Parent_Base. | |
2476 | ||
2477 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
2478 | ||
2479 | * sem_ch11.adb (analyze_raise_xxx_error): Remove consecutive raise | |
2480 | statements with the same condition. | |
2481 | ||
2482 | 2009-07-10 Robert Dewar <dewar@adacore.com> | |
2483 | ||
2484 | * exp_ch4.adb (Raise_Accessibility_Error): New procedure | |
2485 | ||
bde36f4a | 2486 | 2009-07-09 Tom Tromey <tromey@redhat.com> |
2487 | ||
2488 | * raise-gcc.c: Include dwarf2h (unconditionally). | |
2489 | ||
09c3571c | 2490 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
2491 | ||
2492 | * sem_ch10.adb (Install_Context): If the unit is a package body, | |
2493 | install the private with_clauses of the corresponding package | |
2494 | declaration. | |
2495 | ||
2496 | 2009-07-09 Robert Dewar <dewar@adacore.com> | |
2497 | ||
2498 | * checks.adb: Minor reformatting | |
2499 | ||
2500 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
2501 | ||
2502 | * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in | |
2503 | into ug_words. | |
2504 | ||
2505 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
2506 | ||
2507 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): | |
2508 | Do not warn for a constant overlaying any constant object | |
2509 | ||
2510 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> | |
2511 | ||
2512 | * sem_ch10.adb (Install_Context): If the unit is a package body, | |
2513 | install the private with_clauses of the corresponding package | |
2514 | declaration. | |
2515 | ||
2516 | 2009-07-09 Robert Dewar <dewar@adacore.com> | |
2517 | ||
2518 | * checks.adb: Minor reformatting | |
2519 | ||
2520 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
2521 | ||
2522 | * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in | |
2523 | into ug_words. | |
2524 | ||
2525 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
2526 | ||
2527 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): | |
2528 | Do not warn for a constant overlaying any constant object | |
2529 | ||
a32d68e2 | 2530 | 2009-07-09 Arnaud Charlet <charlet@adacore.com> |
09c3571c | 2531 | |
2532 | * gcc-interface/Make-lang.in: Update dependencies | |
2533 | ||
9a2d53b6 | 2534 | 2009-07-09 Thomas Quinot <quinot@adacore.com> |
2535 | ||
2536 | * g-socket.adb (Check_Selector): Do not create local copies of the | |
2537 | socket sets on the stack. | |
2538 | ||
2539 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
2540 | ||
2541 | * gnat_ugn.texi: Add missing VMS translations. | |
2542 | ||
840ab274 | 2543 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
2544 | ||
2545 | * sem_prag.adb (Analyze_Pragma, case Precondition): Do not analyze the | |
2546 | condition, to prevent generation of visible code during expansion, | |
2547 | when Check is not enabled. | |
2548 | ||
2549 | 2009-07-09 Gary Dismukes <dismukes@adacore.com> | |
2550 | ||
2551 | * checks.adb (Install_Static_Check): Call Possible_Local_Raise so that | |
2552 | the check gets registered for any available local handler | |
2553 | (Set_Local_Raise). | |
2554 | ||
2555 | * sem_util.adb: Add with and use of Exp_Ch11. | |
2556 | (Apply_Compile_Time_Constraint_Error): Call Possible_Local_Raise so | |
2557 | that the check gets registered for any available local handler. | |
2558 | ||
2559 | * exp_ch4.adb (Expand_N_Slice): Remove call to Enable_Range_Check | |
2560 | on slice ranges. | |
2561 | ||
2562 | 2009-07-09 Steve Baird <baird@adacore.com> | |
2563 | ||
2564 | * exp_ch11.adb (Force_Static_Allocation_Of_Referenced_Objects): New | |
2565 | function. | |
2566 | (Expand_N_Exception_Declaration): Fix handling of exceptions | |
2567 | declared in a subprogram. | |
2568 | ||
ebaec1b1 | 2569 | 2009-07-09 Emmanuel Briot <briot@adacore.com> |
2570 | ||
2571 | * prj-nmsc.adb (Find_Sources): Avoid error messages from gprbuild from | |
2572 | multi-unit files. | |
2573 | ||
2574 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
2575 | ||
2576 | * freeze.adb: Minor reformatting | |
2577 | ||
2578 | * exp_ch3.adb: Minor comment fix. | |
2579 | ||
2580 | * sinfo.ads: Minor comment fix | |
2581 | ||
2582 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> | |
2583 | ||
2584 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set Related_Expression. | |
2585 | ||
d602561b | 2586 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
2587 | ||
2588 | * freeze.adb (Freeze_Expression): If the expression is the name of a | |
2589 | function in a call, and the function has not been frozen yet, create | |
2590 | extra formals for it to ensure that the proper actuals are created | |
2591 | when expanding the call. | |
2592 | ||
2593 | 2009-07-09 Emmanuel Briot <briot@adacore.com> | |
2594 | ||
2595 | * prj-pp.adb (Print): Fix handling of source index when set on a | |
2596 | declaration node. | |
2597 | ||
40cf7cdf | 2598 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
2599 | ||
2600 | * einfo.ads, einfo.adb: New attribute Related_Expression, used to link | |
2601 | a temporary to the source expression whose value it captures. | |
2602 | ||
2603 | * exp_util.adb (Remove_Side_Effects): Set Related_Expression as needed. | |
2604 | ||
1cf1742e | 2605 | 2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2606 | ||
7f5216e4 | 2607 | * gcc-interface/trans.c (gnat_gimplify_expr): Replace EXPR_LOCUS by |
1cf1742e | 2608 | EXPR_LOCATION. |
2609 | ||
865909d3 | 2610 | 2009-07-07 Gary Dismukes <dismukes@adacore.com> |
2611 | ||
2612 | * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for in out | |
2613 | parameters when the subtype of the actual is not known to be a subrange | |
2614 | of the formal's subtype. | |
2615 | (Expand_Call): Generate a range check only in the E_In_parameter case | |
2616 | (in out parameter range checks are now handled in Expand_Actuals). | |
2617 | ||
2618 | * exp_ch4.adb (Expand_N_Slice): Restore code that calls | |
2619 | Enable_Range_Check. | |
2620 | ||
2621 | 2009-07-07 Robert Dewar <dewar@adacore.com> | |
2622 | ||
2623 | * a-stwise.adb, a-stzsea.adb, a-strsea.adb: Add comments | |
2624 | ||
2625 | 2009-07-07 Javier Miranda <miranda@adacore.com> | |
2626 | ||
2627 | * exp_disp.adb (Expand_Interface_Conversion): Handle access type whose | |
2628 | designated type comes from a limited views. | |
2629 | ||
2630 | 2009-07-07 Emmanuel Briot <briot@adacore.com> | |
2631 | ||
2632 | * prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Fix handling of | |
2633 | locally removed files that are later made visible again in an importing | |
2634 | project. | |
2635 | ||
2636 | 2009-07-07 Robert Dewar <dewar@adacore.com> | |
2637 | ||
2638 | * gnat_rm.texi: Clarify documentation of Stream_Convert pragma | |
2639 | ||
2640 | 2009-07-07 Sergey Rybin <rybin@adacore.com> | |
2641 | ||
2642 | * gnat_ugn.texi: Add an example to the description of gnatcheck | |
2643 | 'Style_Checks' rule option. | |
2644 | ||
2645 | 2009-07-07 Tristan Gingold <gingold@adacore.com> | |
2646 | ||
2647 | * seh_init.c: Fix inline assembly statement in seh_init.c | |
2648 | ||
2649 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> | |
2650 | ||
2651 | * sem_warn.adb (Check_References): Do not emit warnings on formals of | |
2652 | an entry body. Only the formals of the entry declaration are traced. | |
2653 | ||
ad73b397 | 2654 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
2655 | ||
7f5216e4 | 2656 | * s-osprim-mingw.adb: Minor code reorganization |
ad73b397 | 2657 | |
1df25d19 | 2658 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
2659 | ||
2660 | * prj-nmsc.adb: Minor reformatting | |
2661 | ||
2662 | 2009-07-07 Pascal Obry <obry@adacore.com> | |
2663 | ||
2664 | * a-stwise.adb, a-stzsea.adb, a-strsea.adb (Index): properly handle | |
2665 | cases where Pattern is longer than Source. | |
2666 | ||
2667 | 2009-07-07 Pascal Obry <obry@adacore.com> | |
2668 | ||
2669 | * s-osprim-mingw.adb (Get_Base_Time): Avoid infinite loop. | |
2670 | ||
25c62e77 | 2671 | 2009-07-07 Emmanuel Briot <briot@adacore.com> |
2672 | ||
2673 | * prj-nmsc.adb (Process_Naming): canonicalize file suffixes read in the | |
2674 | project file. | |
2675 | ||
2676 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> | |
2677 | ||
2678 | * exp_ch3.adb (Expand_Freeze_Record_Type): Add extra formals to | |
2679 | primitive operations, in case one of them is called in the | |
2680 | initialization procedure for the type. | |
2681 | ||
063ed58b | 2682 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
2683 | ||
2684 | * a-calend.adb: Minor code reorganization (use conditional expressions) | |
2685 | ||
2686 | * s-stusta.ads, s-interr-hwint.adb, g-expect-vms.adb, s-secsta.ads, | |
2687 | prj-nmsc.adb, a-teioed.adb, output.ads, prj-attr.ads, a-textio.adb, | |
2688 | s-taskin.ads, scans.ads, s-osinte-vms.adb, s-taprop-solaris.adb, | |
2689 | s-tpopsp-posix-foreign.adb, s-trafor-default.adb, gnat1drv.adb, | |
2690 | s-stchop-vxworks.adb, s-tpopsp-posix.adb, prj-env.adb, prj-env.ads, | |
2691 | g-comlin.adb, exp_ch11.adb: Minor reformatting. | |
2692 | ||
a9b57347 | 2693 | 2009-07-07 Gary Dismukes <dismukes@adacore.com> |
2694 | ||
2695 | * checks.adb (Generate_Range_Check): Replace type conversions with | |
2696 | unchecked conversions to support the case of performing range checks | |
2697 | on Enum'Val (permits integer values to be converted to enumeration). | |
2698 | ||
2699 | * exp_attr.adb (Expand_N_Attribute_Reference, cases Attribute_Pred, | |
2700 | Attribute_Succ): Set Do_Range_Check to False before calling | |
2701 | Expand_Pred_Succ, to prevent gigi from generating any range checks. | |
2702 | (Expand_N_Attribute_Reference, case Attribute_Val): | |
2703 | Generate a range check when needed (and set Do_Range_Check to False). | |
2704 | ||
2705 | * exp_ch3.adb (Expand_N_Object_Declaration): Generate a range check on | |
2706 | scalar object initialization if needed. | |
2707 | ||
2708 | * exp_ch4.adb (Expand_Allocator_Expression): Generate range checks | |
2709 | when needed on scalar allocators. | |
2710 | (Expand_N_Qualified_Expression): Generate range check when needed. | |
2711 | (Expand_N_Slice): Remove call to Enable_Range_Check on slice ranges. | |
2712 | Checks on slice ranges handled in Resolve_Slice. | |
2713 | ||
2714 | * exp_ch5.adb (Expand_N_Assignment_Statement): Generate a range check, | |
2715 | when needed, for all scalar assignments, not just discrete. | |
2716 | (Expand_Simple_Function_Return): Resolve the conversion created for a | |
2717 | scalar function return so that the conversion will get expanded to | |
2718 | generate a possible constraint check. | |
2719 | ||
2720 | * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for out and | |
2721 | in out scalar actuals when subtypes don't match, to ensure generation | |
2722 | of return checks (and set Do_Range_Check to False). | |
2723 | (Expand_Call): Uncomment code to perform range checks, but make it apply | |
2724 | only to in and in out parameters (checks on parameter returns are | |
2725 | handled in Expand_Actuals). If a scalar actual for a call to a derived | |
2726 | subprogram is marked as needing a range check, peform it here (and set | |
2727 | Do_Range_Check to False). | |
2728 | ||
2729 | * sem_aggr.adb (Resolve_*_Aggregate.Resolve_Aggr_Expr): Generate a | |
2730 | range check on scalar component associations when needed. | |
2731 | ||
2732 | * sem_eval.adb (In_Subrange_Of): Return False when the first type has | |
2733 | infinities but the second type does not, as these aren't compatible | |
2734 | floating-point types. | |
2735 | ||
2736 | * sem_res.adb (Resolve_Slice): In the case where the prefix of the | |
2737 | slice is itself a slice, pick up the Etype of the prefix. This handles | |
2738 | the case where the prefix was an Image attribute expanded to a slice, | |
2739 | and ensures that we get the subtype with the slice constraint rather | |
2740 | than the unconstrained subbtype of the 'Image. | |
2741 | ||
6fe9c337 | 2742 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> |
2743 | ||
2744 | * sem_ch4.adb (Analyze_Conditional_Expression): handle properly | |
2745 | overloaded expressions in a conditional expressions. | |
2746 | ||
2747 | * sem_res.adb (Resolve): Handle properly overloaded conditional | |
2748 | expressions. | |
2749 | ||
5316ffc2 | 2750 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
2751 | ||
2752 | * scng.adb: Minor reformattting | |
2753 | ||
2754 | * par-ch2.adb (Scan_Pragma_Argument_Association): Pragma argument | |
2755 | association allows conditional expression without parens. | |
2756 | ||
2757 | * par-ch4.adb (P_Name): Attribute arguments can be conditional | |
2758 | expressions without enclosing parentheses, and also as parameters, | |
2759 | indexing expressions etc. | |
2760 | (P_Conditional_Expression): New procedure | |
2761 | (P_Expression_If_OK): New procedure | |
2762 | ||
2763 | * par.adb (P_Conditional_Expression): New procedure | |
2764 | (P_Expression_If_OK): New procedure | |
2765 | ||
2766 | * sem_ch4.adb (Analyze_Conditional_Expression): Allow for two argument | |
2767 | form of conditional expression. | |
2768 | ||
2769 | * sem_res.adb (Resolve_Conditional_Expression): Deal with supplying | |
2770 | missing True argument if ELSE argument missing. | |
2771 | ||
2772 | * sinfo.adb (Is_Elsif): New flag | |
2773 | ||
2774 | * sinfo.ads (N_Conditional_Expression): This node is now a syntactic | |
2775 | part of the language, and the documentation is modified accordingly. | |
2776 | (Is_Elsif): New flag | |
2777 | ||
4b7be243 | 2778 | 2009-07-06 Olivier Hainque <hainque@adacore.com> |
2779 | ||
2780 | * gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu, | |
2781 | setjmp_longjmp): Attach the exception propagation reraise fallback | |
2782 | to the sequence end label location when we have it. | |
2783 | ||
4bde244b | 2784 | 2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
2785 | ||
2786 | PR ada/40608 | |
2787 | * init.c (APPLE): Include <mach/mach_init.h>. | |
fdc15e3a | 2788 | (__gnat_error_handler, APPLE): Add ATTRIBUTE_UNUSED marker. |
4bde244b | 2789 | |
9af94d3d | 2790 | 2009-07-04 Eric Botcazou <ebotcazou@adacore.com> |
2791 | ||
2792 | * ada-tree.h (SET_TYPE_LANG_SPECIFIC): Rewrite. | |
2793 | (SET_DECL_LANG_SPECIFIC): Likewise. | |
2794 | (TYPE_RM_VALUE): New macro. | |
2795 | (SET_TYPE_RM_VALUE): Likewise. | |
2796 | (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUE. | |
2797 | (TYPE_RM_MIN_VALUE): Likewise. | |
2798 | (TYPE_RM_MAX_VALUE): Likewise. | |
2799 | (SET_TYPE_RM_SIZE): Rewrite in terms of SET_TYPE_RM_VALUE. | |
2800 | (SET_TYPE_RM_MIN_VALUE): Likewise. | |
2801 | (SET_TYPE_RM_MAX_VALUE): Likewise. | |
2802 | * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Remove kludge. | |
2803 | ||
7b97a09c | 2804 | 2009-07-04 Laurent GUERBY <laurent@guerby.net> |
2805 | ||
2806 | PR ada/40631 | |
2807 | * tracebak.c (__gnat_backtrace): Fix old-style definition. | |
fdc15e3a | 2808 | |
13fd92e4 | 2809 | 2009-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2810 | ||
2811 | * tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison. | |
2812 | ||
5fc98b32 | 2813 | 2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2814 | ||
2815 | PR ada/40609 | |
c8195b64 | 2816 | * init.c (__gnat_error_handler, HP-UX): Add ATTRIBUTE_UNUSED marker to |
2817 | ucontext argument. | |
5fc98b32 | 2818 | |
41bda102 | 2819 | 2009-07-01 Eric Botcazou <ebotcazou@adacore.com> |
2820 | ||
2821 | * init.c (__gnat_error_handler, Solaris): Add ATTRIBUTE_UNUSED marker. | |
2822 | ||
7a0a2f40 | 2823 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
2824 | ||
2825 | * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Do not use | |
2826 | the type of the left operand if it pads a self-referential type when | |
2827 | the right operand is a constructor. | |
2828 | ||
2829 | * gcc-interface/lang-specs.h: Fix copyright date. | |
2830 | ||
4189e677 | 2831 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
2832 | ||
2833 | * gcc-interface/decl.c: Include tree-inline.h. | |
2834 | (annotate_value) <CALL_EXPR>: Try to inline the call in the expression. | |
2835 | * gcc-interface/utils.c (max_size) <CALL_EXPR>: Likewise. | |
2836 | * gcc-interface/utils2.c: Include tree-inline. | |
2837 | (known_alignment) <CALL_EXPR>: Likewise. | |
2838 | ||
3c7a2cbe | 2839 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
2840 | ||
be14142f | 2841 | * raise-gcc.c: Include dwarf2.h conditionally. |
3c7a2cbe | 2842 | |
2452254d | 2843 | 2009-06-29 Tom Tromey <tromey@redhat.com> |
2844 | ||
2845 | * raise-gcc.c: Include elf/dwarf2.h. | |
2846 | ||
79acd46e | 2847 | 2009-06-27 Laurent GUERBY <laurent@guerby.net> |
2848 | ||
2849 | * tb-gcc.c (trace_callback): Add casts to silence warning. | |
2850 | ||
a76f0560 | 2851 | 2009-06-27 Eric Botcazou <ebotcazou@adacore.com> |
2852 | ||
2853 | * tb-gcc.c: Fix copyright notice. | |
2854 | ||
c88e6a4f | 2855 | 2009-06-27 Eric Botcazou <ebotcazou@adacore.com> |
2856 | ||
2857 | * init.c (__gnat_set_globals): Add prototype. | |
2858 | * adaint.c (__gnat_binder_supports_auto_init): Likewise. | |
2859 | (__gnat_sals_init_using_constructors): Likewise. | |
2860 | * gcc-interface/utils.c (gnat_pushlevel): Likewise. | |
2861 | (get_block_jmpbuf_decl): Likewise. | |
2862 | (gnat_poplevel): Likewise. | |
2863 | (merge_sizes): Rename local variable. | |
2864 | (copy_type): Likewise. | |
2865 | (build_vms_descriptor32): Likewise. | |
2866 | (build_vms_descriptor): Likewise. | |
2867 | (convert_vms_descriptor64): Likewise. | |
2868 | (convert_vms_descriptor32): Likewise. | |
2869 | (convert_to_fat_pointer): Likewise. | |
2870 | (maybe_unconstrained_array): Likewise. | |
2871 | (def_fn_type): Use promoted type with va_arg. | |
2872 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add declaration. | |
2873 | (substitute_in_type): Rename local variable. | |
2874 | * gcc-interface/Make-lang.in (ada-warn): Use STRICT_WARN. | |
2875 | ||
581aa340 | 2876 | 2009-06-26 Laurent GUERBY <laurent@guerby.net> |
2877 | ||
2878 | * tb-gcc.c (trace_callback): Use char* instead of void*. | |
96ceee35 | 2879 | * gcc-interface/misc.c (enumerate_modes): Make loop C++ compatible. |
2880 | * gcc-interface/trans.c (parm_attr): Rename to parm_attr_d. | |
2881 | (Attribute_to_gnu): Adjust for above change. | |
2882 | (Subprogram_Body_to_gnu): Likewise. | |
2883 | * gcc-interface/utils.c (merge_sizes): Rename local variable. | |
2884 | (copy_type): Likewise. | |
2885 | (build_vms_descriptor32): Likewise. | |
2886 | (build_vms_descriptor): Likewise. | |
2887 | (convert_vms_descriptor64): Likewise. | |
2888 | (convert_vms_descriptor32): Likewise. | |
2889 | (convert_to_fat_pointer): Likewise. | |
2890 | (maybe_unconstrained_array): Likewise. | |
2891 | * gcc-interface/decl.c (substitute_in_type): Likewise. | |
2892 | ||
a0eb6d38 | 2893 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
2894 | ||
2895 | * gcc-interface/decl.c (cannot_be_superflat_p): New predicate. | |
2896 | (gnat_to_gnu_entity) <E_Array_Subtype>: Use it to build the expression | |
2897 | of the upper bound of the index types. | |
2898 | ||
697f62b9 | 2899 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
2900 | ||
2901 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Factor | |
2902 | out common predicate. Use the maximum to compute the upper bound of | |
2903 | the index type only when it is not wider than sizetype. Perform the | |
2904 | comparison in the index type for the generic expression. Use real | |
2905 | precision to decide whether to generate special types for debugging | |
2906 | information. | |
2907 | ||
571e421a | 2908 | 2009-06-26 Matthew Gingell <gingell@adacore.com> |
2909 | ||
2910 | * adaint.c: Do not use the dummy version of convert_addresses on LynxOS | |
2911 | ||
2912 | 2009-06-26 Vincent Celier <celier@adacore.com> | |
2913 | ||
2914 | * prj.ads (No_Language_Config): Value of Dependency_Kind is None by | |
2915 | default. | |
2916 | ||
2917 | 2009-06-26 Robert Dewar <dewar@adacore.com> | |
2918 | ||
2919 | * exp_ch4.adb, gnatcmd.adb, make.adb: Minor reformatting | |
2920 | ||
95bbb830 | 2921 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
2922 | ||
2923 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Pass | |
2924 | correct arguments to create_field_decl. Remove redundant iteration. | |
2925 | Rewrite computation of the maximum size. | |
2926 | <E_Array_Subtype>: Reorder and simplify handling of special cases. | |
2927 | Rewrite computation of the maximum size. Use consistent naming. | |
2928 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Swap | |
2929 | comparison order for consistency. Use generic integer node to | |
2930 | build the operator and fold the result. | |
2931 | ||
426bd7d6 | 2932 | 2009-06-25 Vincent Celier <celier@adacore.com> |
2933 | ||
2934 | * vms_data.ads: Minor comment change | |
2935 | ||
2936 | 2009-06-25 Gary Dismukes <dismukes@adacore.com> | |
2937 | ||
2938 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Don't build an | |
2939 | assignment statement to targeting a caller-provided object when the | |
2940 | result type is an interface type. | |
2941 | ||
2942 | * exp_ch6.adb (Expand_Call): Remove redundant test of | |
2943 | Is_Limited_Interface (Is_Inherently_Limited is sufficient). | |
2944 | (Is_Build_In_Place_Function): Remove test for Is_Limited_Interface. | |
2945 | ||
2946 | * sem_aggr.adb (Check_Expr_OK_In_Limited_Aggregate): Add type in call | |
2947 | to OK_For_Limited_Init. | |
2948 | ||
2949 | * sem_aux.adb (Is_Inherently_Limited_Type): Revise limited type | |
2950 | condition so that True is returned for all limited interfaces, not | |
2951 | just synchronized ones. Ignore components of an interface type when | |
2952 | checking for limited components (such a component can be a parent | |
2953 | component). | |
2954 | ||
2955 | * sem_ch3.ads (OK_For_Limited_Init_In_05): Add type parameter. | |
2956 | (OK_For_Limited_Init): Add type parameter. | |
2957 | ||
2958 | * sem_ch3.adb (Check_Initialization): Add type in call to | |
2959 | OK_For_Limited_Init. | |
2960 | (OK_For_Limited_Init): Add new type param in call to | |
2961 | OK_For_Limited_Init_In_05. | |
2962 | (OK_For_Limited_Init_In_05): Permit arbitrary expressions of a | |
2963 | nonlimited type when the context type is a limited interface. Add type | |
2964 | on recursive calls. | |
2965 | ||
2966 | * sem_ch4.adb (Analyze_Allocator): Add type in call to | |
2967 | OK_For_Limited_Init. | |
2968 | ||
2969 | * sem_ch6.adb (Check_Limited_Return): Add type in call to | |
2970 | OK_For_Limited_Init. | |
2971 | ||
2972 | * sem_ch12.adb (Analyze_Formal_Object_Declaration): Add type in call to | |
2973 | OK_For_Limited_Init. | |
2974 | (Instantiate_Object): Add type in call to OK_For_Limited_Init. | |
2975 | ||
2976 | * sem_type.adb (Interface_Present_In_Ancestor): In the case of a | |
2977 | class-wide interface, get the base type before applying Etype, in order | |
2978 | to account for class-wide subtypes. | |
2979 | ||
77378d51 | 2980 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
2981 | ||
2982 | * gnatcmd.adb, prj-proc.adb, make.adb, prj.adb, prj.ads, prj-nmsc.adb, | |
2983 | prj-util.adb, prj-env.adb, prj-env.ads: Merge handling of naming_data | |
2984 | between gnatmake and gprbuild. | |
2985 | (Naming_Data): Removed, no longer used | |
2986 | (Naming_Table, Project_Tree_Ref.Namings): Removed, since this is only | |
2987 | needed locally in one subprogram, no need to store forever in the | |
2988 | structure. | |
2989 | (Check_Naming_Scheme, Check_Package_Naming): Merged, since they play | |
2990 | a similar role. | |
2991 | (Body_Suffix_Of, Body_Suffix_Id_Of, Register_Default_Naming_Scheme, | |
2992 | Same_Naming_Scheme, Set_Body_Suffix, Set_Spec_Suffix, Spec_Suffix_Of, | |
2993 | Spec_Suffix_Id_Of): removed, no longer used. | |
2994 | ||
2995 | 2009-06-25 Javier Miranda <miranda@adacore.com> | |
2996 | ||
2997 | * sem_res.adb (Resolve_Allocator): Skip test requiring exact match of | |
2998 | types on qualified expression in calls to imported C++ constructors. | |
2999 | ||
3000 | * exp_ch4.adb (Expand_Allocator_Expression): Add missing support for | |
3001 | imported C++ constructors. | |
3002 | ||
3003 | 2009-06-25 Sergey Rybin <rybin@adacore.com> | |
3004 | ||
3005 | * vms_data.ads: Add qualifier for new gnatcheck '-t' option. | |
3006 | ||
703cfbf8 | 3007 | 2009-06-25 Vincent Celier <celier@adacore.com> |
3008 | ||
3009 | * s-os_lib.adb (Normalize_Pathname.Get_Directory): If directory | |
3010 | provided, on Windows change all '/' to '\'. | |
3011 | ||
3012 | * fmap.ads, fmap.adb (Remove_Forbidden_File_Name): Remove, no longer | |
3013 | used. Minor comment changes | |
3014 | ||
3015 | * prj-nmsc.adb: Do not call Fmap.Add_Forbidden_File_Name or | |
3016 | Remove_Forbidden_File_Name. | |
3017 | ||
3018 | 2009-06-25 Quentin Ochem <ochem@adacore.com> | |
3019 | ||
3020 | * prj.ads (Unit_Index): Now general access type. | |
77378d51 | 3021 | |
171d6121 | 3022 | 2009-06-25 Pascal Obry <obry@adacore.com> |
3023 | ||
3024 | * a-stwise.adb, a-stzsea.adb: Fix confusion between 'Length and 'Last. | |
3025 | ||
a519f786 | 3026 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
3027 | ||
3028 | * fmap.ads, make.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb, | |
3029 | prj-env.ads (Source_Data.Get_Object): Field removed, since it can be | |
3030 | computed efficiently from the other fields. | |
3031 | (Object_To_Global_Archive): New subprogram | |
3032 | (Create_Mapping): Remove unneeded call to Remove_Forbidden_File_Name. | |
3033 | (Override_Kind): Fix handling of separates in Ada. | |
3034 | (Create_Mapping_File): Remove duplicate code | |
3035 | (Naming_Data.Implementation_Exception, Specification_Exception): | |
3036 | field removed, since never used. | |
3037 | (Naming_Data.Specs, .Bodies): field removed, since this is only | |
3038 | used while processing the project and is not needed once the tree | |
3039 | is in memory. This brings Naming_Data and Lang_Naming_Data | |
3040 | closer (same content now, but different use still). | |
3041 | ||
25535d0e | 3042 | 2009-06-25 Pascal Obry <obry@adacore.com> |
3043 | ||
3044 | * sem_ch4.adb: Minor reformatting. | |
3045 | ||
3046 | * a-strsea.adb: Fix confusion between 'Length and 'Last. | |
3047 | ||
d8d8b098 | 3048 | 2009-06-25 Ed Schonberg <schonberg@adacore.com> |
3049 | ||
3050 | * exp_attr.adb (Expand_N_Attribute_Reference, case 'Access and | |
3051 | Unchecked_Access): If the context is an interface type, and the prefix | |
3052 | is of the corresponding class-wide type, do not insert a conversion | |
3053 | because the pointer displacement has already taken place, and we must | |
3054 | retain the class-wide type in a dispatching context. | |
3055 | ||
3056 | 2009-06-25 Emmanuel Briot <briot@adacore.com> | |
3057 | ||
3058 | * prj-nmsc.adb, prj-env.adb (Override_Kind): Unset the unit field of | |
3059 | the previous source file. | |
3060 | (Create_Mapping): Iterate on sources rather than on units. | |
3061 | ||
ead350b5 | 3062 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
3063 | ||
3064 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, | |
3065 | prj-env.adb, prj-env.ads (Slash): removed, no longer used | |
3066 | (Source_Data): no longer use Path.Name to point to a locally removed | |
3067 | file. Instead we use the field Locally_Removed which is clearer | |
3068 | ||
3069 | 2009-06-25 Arnaud Charlet <charlet@adacore.com> | |
3070 | ||
3071 | * gcc-interface/Make-lang.in: Remove references to sem_maps.o | |
3072 | ||
3073 | * sem_maps.adb, sem_maps.ads: Removed, not used. | |
3074 | ||
1b0bf7d6 | 3075 | 2009-06-25 Ed Falis <falis@adacore.com> |
3076 | ||
3077 | * s-vxwext-rtp.ads: Add missing declaration | |
3078 | ||
3079 | 2009-06-25 Matthew Gingell <gingell@adacore.com> | |
3080 | ||
3081 | * a-stwise.adb, a-stzsea.adb (Count, Index): Avoid local copy on stack, | |
3082 | speed up unmapped case. | |
3083 | ||
3084 | 2009-06-25 Vincent Celier <celier@adacore.com> | |
3085 | ||
3086 | * prj-nmsc.adb (Check): Change error message for illegal abstract | |
3087 | projects. | |
3088 | ||
3089 | 2009-06-25 Robert Dewar <dewar@adacore.com> | |
3090 | ||
3091 | * gnat_ugn.texi: Add note on use of -gnatct for ASIS | |
3092 | ||
3093 | 2009-06-25 Emmanuel Briot <briot@adacore.com> | |
3094 | ||
3095 | * fmap.ads: Add documentation on mapping files | |
3096 | ||
1680f245 | 3097 | 2009-06-25 Robert Dewar <dewar@adacore.com> |
3098 | ||
3099 | * exp_ch6.adb, g-socket.ads, g-socket.adb, sem_ch3.adb: Minor | |
3100 | reformatting | |
3101 | ||
55bf42ad | 3102 | 2009-06-24 Robert Dewar <dewar@adacore.com> |
3103 | ||
3104 | * prj-nmsc.adb, prj-nmsc.ads, prj-proc.adb, prj.adb: Minor reformatting | |
3105 | ||
3106 | * a-strsea.adb (Count): Avoid local copy on stack, speed up unmapped | |
3107 | case. | |
3108 | (Index): Ditto. | |
3109 | ||
3110 | 2009-06-24 Ed Schonberg <schonberg@adacore.com> | |
3111 | ||
3112 | * sem_ch4.adb (Analyze_One_Call): Check that at least one actual is | |
3113 | present when checking whether a call may be interpreted as an indexing | |
3114 | of the result of a call. | |
3115 | ||
3116 | * exp_ch9.adb (Expand_N_Subprogram_Declaration): Place the generated | |
3117 | body for a null procedure on the freeze actions for the procedure, so | |
3118 | that it will be analyzed at the proper place without premature freezing | |
3119 | of actuals. | |
3120 | ||
3121 | * sem_ch3.adb (Check_Completion): Code cleanup. | |
3122 | Do not diagnose a null procedure without a body, if previous errors | |
3123 | have disabled expansion. | |
3124 | ||
3125 | 2009-06-24 Doug Rupp <rupp@adacore.com> | |
3126 | ||
3127 | * init.c [VMS] Resignal C$_SIGKILL | |
3128 | ||
3129 | 2009-06-24 Ed Falis <falis@adacore.com> | |
3130 | ||
3131 | * s-vxwext.adb, s-vxwext-kernel.adb: Add s-vxwext body for VxWorks 5 | |
3132 | Define ERROR in body for VxWorks 6 kernel | |
3133 | ||
3134 | 2009-06-24 Pascal Obry <obry@adacore.com> | |
3135 | ||
3136 | * g-socket.adb, g-socket.ads: Fix possible unexpected constraint error | |
3137 | in [Send/Receive]_Socket. | |
3138 | ||
487efa8a | 3139 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
3140 | ||
3141 | * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, | |
3142 | prj-conf.adb, prj-conf.ads (Allow_Duplicate_Basenames): New parameter | |
3143 | to several subprograms. | |
3144 | (Source_Data.Other_Part): Removed, since can be computed from the | |
3145 | language. | |
3146 | (Other_Part): New subprogram. | |
3147 | ||
4c49dbaa | 3148 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
3149 | ||
3150 | * gnat_ugn.texi, prj-nmsc.adb (Suffix_Matches): A suffix can also match | |
3151 | the full base name of the file when the suffix doesn't start with a '.'. | |
3152 | ||
983b1ca8 | 3153 | 2009-06-24 Vincent Celier <celier@adacore.com> |
3154 | ||
3155 | * prj-nmsc.adb (Check): A project declared abstract is legal if no | |
3156 | attribute Source_Dirs, Source_Files, Source_List_File or Languages is | |
3157 | declared. | |
3158 | ||
3159 | 2009-06-24 Robert Dewar <dewar@adacore.com> | |
3160 | ||
3161 | * clean.adb, gnatcmd.adb, make.adb, mlib-prj.adb, | |
3162 | prj-env.adb: Minor reformatting | |
3163 | ||
3164 | 2009-06-24 Ed Falis <falis@adacore.com> | |
3165 | ||
3166 | * s-taprop-vxworks.adb, s-osinte-vxworks.ads, s-vxwext.ads, | |
3167 | s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.adb, | |
3168 | s-tasinf-vxworks.ads, gcc-interface/Makefile.in: Add processor affinity | |
3169 | support for VxWorks SMP. | |
3170 | ||
3171 | * gcc-interface/Make-lang.in: Update dependencies | |
3172 | ||
08d56cd1 | 3173 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
3174 | ||
3175 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, | |
3176 | prj-nmsc.adb, prj-env.adb, prj-proc.adb (Units_Table): Removed, since | |
3177 | no longer useful. | |
3178 | (Source_Data.Lang_Kind): Removed, since it duplicates information | |
3179 | already available through Language.Config. | |
3180 | (Source_Data.Compile): Removed, since information is already available | |
3181 | through the language. | |
3182 | (Is_Compilable): New subprogram. | |
3183 | (Source_Data.Dependency): Removed, since already available through | |
3184 | the language. | |
3185 | (Source_Data.Object_Exist, Object_Linked): Removed since available | |
3186 | through the language already. | |
3187 | (Unit_Data.File_Names): Is now also set in multi_language mode, to | |
3188 | bring the two modes closer in the resulting data structures. | |
3189 | (Source_Data.Unit): Now a direct pointer to the unit data, rather than | |
3190 | just the name that would point into a hash table. | |
3191 | (Get_Language_From_Name): New subprogram. | |
3192 | ||
dc95506e | 3193 | 2009-06-24 Javier Miranda <miranda@adacore.com> |
3194 | ||
3195 | * exp_ch4.adb (Expand_N_Type_Conversion): Handle entities that are | |
3196 | visible through limited-with context clauses. In addition, avoid an | |
3197 | extra tag check that is not required when the class-wide | |
3198 | designated types of the operand and target types are | |
3199 | the same entity. | |
3200 | (Tagged_Membership): Handle entities from the limited view. | |
3201 | ||
3202 | 2009-06-24 Emmanuel Briot <briot@adacore.com> | |
3203 | ||
3204 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.ads, clean.adb, | |
3205 | prj-nmsc.adb, prj-env.adb (File_Name_Data): removed | |
3206 | (Spec_Or_Body): now a subtype of Source_Kind, to avoid using two | |
3207 | different vocabularies for similar concepts (Impl/Body_Part and | |
3208 | Spec/Specification). | |
3209 | (Unit_Data): now points directly to a Source_Id, rather than duplicating | |
3210 | some of the information in File_Name_Data. This also saves a bit of | |
3211 | memory. However, since we are now using a pointer we need to test | |
3212 | for null explicitly in several places of the code | |
3213 | ||
4cfdbc0c | 3214 | 2009-06-24 Javier Miranda <miranda@adacore.com> |
3215 | ||
3216 | * exp_ch4.adb (Expand_N_Type_Conversion): return immediately | |
3217 | from processing the type conversion when the node is | |
3218 | replaced by an N_Raise_Program_Error node. | |
3219 | ||
3220 | 2009-06-24 Hristian Kirtchev <kirtchev@adacore.com> | |
3221 | ||
3222 | * sem_ch6.adb (Designates_From_With_Type): New routine. | |
3223 | (Process_Formals): Since anonymous access types are no longer flagged | |
3224 | as from with types, traverse the designated type to determine whether | |
3225 | it is coming from a limited view. | |
3226 | ||
3227 | * sem_res.adb: Remove with and use clauses for Sem_Ch10. | |
3228 | (Full_Designated_Type): Use Available_View to extract the non-limited / | |
3229 | full view of a type. | |
3230 | ||
45cedf2e | 3231 | 2009-06-24 Robert Dewar <dewar@adacore.com> |
3232 | ||
3233 | * exp_ch6.adb: Minor reformatting | |
3234 | ||
3235 | * layout.adb: Minor reformatting | |
3236 | ||
3237 | * make.adb: Minor reformatting | |
3238 | ||
3239 | 2009-06-24 Thomas Quinot <quinot@adacore.com> | |
3240 | ||
3241 | * sem_ch10.adb: Minor code reorganization. | |
3242 | ||
09001c4f | 3243 | 2009-06-24 Eric Botcazou <ebotcazou@adacore.com> |
3244 | ||
3245 | * ttypes.ads: Minor editing. | |
3246 | ||
3247 | 2009-06-24 Robert Dewar <dewar@adacore.com> | |
3248 | ||
3249 | * exp_ch6.adb (Expand_Actuals): Use Is_Volatile, not Treat_As_Volatile | |
3250 | in deciding to do call-by-copy code. | |
3251 | ||
3252 | 2009-06-24 Vincent Celier <celier@adacore.com> | |
3253 | ||
3254 | * make.adb (Gnatmake): To decide if an executable should be rebuilt, | |
3255 | check if an externally built library file is more current than the | |
3256 | executable. | |
3257 | ||
5595eac6 | 3258 | 2009-06-23 Olivier Hainque <hainque@adacore.com> |
3259 | ||
3260 | * gcc-interface/utils.c (handle_vector_size_attribute): Import from | |
3261 | c-common.c and populate in gnat_internal_attribute_table. | |
3262 | ||
749c967d | 3263 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
3264 | ||
3265 | * sem_res.adb (Valid_Conversion, Full_Designated_Type): Use | |
3266 | Available_View only when designated type of an anonymous access type | |
3267 | is limited view. | |
3268 | ||
3269 | 2009-06-23 Robert Dewar <dewar@adacore.com> | |
3270 | ||
3271 | * sem_ch10.adb: Minor reformatting | |
3272 | ||
8b050c70 | 3273 | * ali.ads: Mino reformatting. |
3274 | ||
749c967d | 3275 | * gnat1drv.adb (Adjust_Global_Switches): New procedure (take care of |
3276 | turning off inlining if ASIS mode active). | |
3277 | ||
3278 | * switch-c.adb: Remove fiddling with Inspector_Mode and ASIS_Mode | |
3279 | This belongs in gnat1drv.adb after switches are scanned. | |
3280 | ||
6f152d7a | 3281 | 2009-06-23 Hristian Kirtchev <kirtchev@adacore.com> |
3282 | ||
3283 | * sem_attr.adb: Add with and use clauses for Sem_Ch10. | |
3284 | (Check_Not_Incomplete_Type): Minor reformatting. Retrieve the root type | |
3285 | when dealing with class-wide types. Detect a legal shadow entity and | |
3286 | retrieve its non-limited view. | |
3287 | ||
3288 | * sem_ch10.adb (Has_With_Clause): Move the spec and body of the | |
3289 | subprogram to top package level from Intall_Limited_Withed_Unit. | |
3290 | (Install_Limited_Withed_Unit): Remove spec and body of Has_With_Clause. | |
3291 | Add check which prevents the installation of a limited view if the | |
3292 | non-limited view is already visible through a with clause. | |
3293 | (Is_Legal_Shadow_Entity_In_Body): New routine. Detect a residual, but | |
3294 | legal shadow entity which may occur in subprogram formals of anonymous | |
3295 | access type. | |
3296 | ||
3297 | * sem_ch10.ads (Is_Legal_Shadow_Entity_In_Body): New routine. | |
3298 | ||
3299 | * sem_ch3.adb (Access_Definition): Remove the propagation of flag | |
3300 | From_With_Type from the designated type to the generated anonymous | |
3301 | access type. Remove associated comment. | |
3302 | ||
3303 | * sem_res.adb Add with and use clauses for Sem_Ch10. | |
3304 | (Full_Designated_Type): Detect a legal shadow entity and retrieve its | |
3305 | non-limited view. Since the shadow entity may replace a regular | |
3306 | incomplete type, return the available full view. | |
3307 | ||
63f6eb0f | 3308 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
3309 | ||
3310 | * sem_ch10.adb (Remove_Limited_With_Clause): Clean up code that handles | |
3311 | incomplete type declarations. Previous code was potentially quadratic | |
3312 | in the number of visible declarations in any package appearing in a | |
3313 | limited_with_clause. | |
3314 | ||
3315 | 2009-06-23 Robert Dewar <dewar@adacore.com> | |
3316 | ||
3317 | * prj-conf.ads, prj-part.adb, prj-proc.adb, prj-proc.ads, sem_ch8.adb, | |
3318 | xref_lib.adb: Minor reformatting | |
3319 | ||
6e07b0e0 | 3320 | 2009-06-23 Robert Dewar <dewar@adacore.com> |
3321 | ||
3322 | * a-stzhas.adb: Provide dummy body to avoid build problems with old | |
3323 | versions which did have a body for this unit. | |
3324 | ||
96557d1c | 3325 | 2009-06-23 Vincent Celier <celier@adacore.com> |
3326 | ||
3327 | * prj-attr.adb: Attribute names Initial_Required_Switches and | |
3328 | Final_Required_Switches changed to Leading_Required_Switches and | |
3329 | Trailing_Required_Switches. | |
3330 | ||
3331 | * prj-nmsc.adb (Process_Compiler): Attribute names | |
3332 | Initial_Required_Switches and Final_Required_Switches changed to | |
3333 | Leading_Required_Switches and Trailing_Required_Switches. | |
3334 | ||
3335 | * prj.ads (Language_Config): Component Initial_Required_Switches and | |
3336 | Final_Required_Switches changed to Leading_Required_Switches and | |
3337 | Trailing_Required_Switches. | |
3338 | ||
3339 | * snames.ads-tmpl: Remove standard names Initial_Required_Switches and | |
3340 | Final_Required_Switches; add standard names Leading_Required_Switches | |
3341 | and Trailing_Required_Switches. | |
3342 | ||
3343 | 2009-06-23 Thomas Quinot <quinot@adacore.com> | |
3344 | ||
3345 | * prj-conf.adb: Minor reformatting | |
3346 | ||
3347 | * xref_lib.adb: Minor cleanup | |
3348 | ||
7527b812 | 3349 | 2009-06-23 Emmanuel Briot <briot@adacore.com> |
3350 | ||
3351 | * prj-proc.adb, prj-proc.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb, | |
3352 | prj-conf.ads (Check_Configuration): New parameter | |
3353 | Compiler_Driver_Mandatory. | |
3354 | ||
3355 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> | |
3356 | ||
3357 | * sem_ch10.adb (Analyze_With_Clause): If a subprogram instance in the | |
3358 | context of the current unit has an inline pragma, the instance is not | |
3359 | rewritten as the declaration of the package wrapper. Handle both | |
3360 | possibilities when retrieving the visible subprogram that renames the | |
3361 | instantiation itself. | |
3362 | ||
b2776257 | 3363 | 2009-06-23 Javier Miranda <miranda@adacore.com> |
3364 | ||
3365 | * exp_ch4.adb (Displace_Allocator_Pointer, Expand_N_Allocator): Handle | |
3366 | designated types referencing entities from the limited view. | |
3367 | ||
1cdb8aba | 3368 | 2009-06-23 Robert Dewar <dewar@adacore.com> |
3369 | ||
3370 | * s-strhas.adb, s-strhas.ads: Restrict to 32-bit modular types | |
3371 | ||
3372 | * s-imgdec.adb (Set_Decimal_Digits): Fix error of too many digits for | |
3373 | small values | |
3374 | ||
3375 | * prj-conf.ads: Minor reformatting | |
3376 | ||
3377 | * prj-conf.adb: Minor reformatting | |
3378 | ||
3379 | 2009-06-23 Vasiliy Fofanov <fofanov@adacore.com> | |
3380 | ||
3381 | * g-debpoo.adb (Dump_Gnatmem): Output dummy timestamps for allocations | |
3382 | to correspond to the log format that gnatmem now expects. | |
3383 | ||
3384 | 2009-06-23 Vincent Celier <celier@adacore.com> | |
3385 | ||
3386 | * prj-attr.adb: New attributes Initial_Required_Switches, | |
3387 | Final_Required_Switches and Object_File_Switches | |
3388 | ||
3389 | * prj-nmsc.adb (Process_Compiler): Process new attributes | |
3390 | Name_Final_Required_Switches, Name_Initial_Required_Switches and | |
3391 | Name_Object_File_Switches. | |
3392 | ||
3393 | * prj.ads (Language_Config): New component | |
3394 | Compiler_Initial_Required_Switches (replace Compiler_Required_Switches), | |
3395 | Compiler_Final_Required_Switches and Object_File_Switches. | |
3396 | ||
3397 | * snames.ads-tmpl: New standard names Initial_Required_Switches, | |
3398 | Final_Required_Switches and Object_File_Switches | |
3399 | ||
d24288e3 | 3400 | 2009-06-23 Pascal Obry <obry@adacore.com> |
3401 | ||
3402 | * s-strhas.adb, s-strhas.ads: Minor reformatting. | |
3403 | ||
3404 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> | |
3405 | ||
3406 | * sem_ch10.adb (Install_Limited_Withed_Unit): a null procedure does | |
3407 | not indicate that the enclosing unit needs a body. | |
3408 | ||
b5601373 | 3409 | 2009-06-23 Emmanuel Briot <briot@adacore.com> |
3410 | ||
3411 | * prj-conf.ads, prj-conf.adb: New files part of the project manager. | |
3412 | ||
eb8ca1ee | 3413 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
3414 | ||
3415 | * sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a | |
3416 | primitive equality include it with its source name even if the | |
3417 | operation is currently invisible, to make sure that the corresponding | |
3418 | slot in the dispatch table is reserved for the internal equality | |
3419 | subsequently generated during expansion. | |
3420 | ||
f4eb2380 | 3421 | 2009-06-23 Matthew Gingell <gingell@adacore.com> |
3422 | ||
3423 | * Makefile.rtl, a-stwiha.adb: Add a-stwiha.adb back. | |
3424 | ||
1cf3e68f | 3425 | 2009-06-22 Jose Ruiz <ruiz@adacore.com> |
3426 | ||
3427 | * sysdep.c (__gnat_localtime_tzoff for RTX): | |
3428 | SystemTimeToTzSpecificLocalTime is not supported by RTX. Use | |
3429 | GetTimeZoneInformation instead. | |
3430 | ||
3431 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
3432 | ||
3433 | * sem_res.adb (Check_No_Direct_Boolean_Operators): New procedure | |
3434 | ||
3435 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
3436 | ||
3437 | * sem_ch12.adb (Collect_Previous_Instances): Do not collect | |
3438 | instantiations declared in a previous generic package body. | |
3439 | ||
3440 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
3441 | ||
3442 | * gnat_rm.texi: Add doc that X=True and X=False is allowed for the | |
3443 | restriction No_Direct_Boolean_Operators. | |
3444 | ||
3445 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
3446 | ||
3447 | * bindusg.adb: Minor fixes to gnatbind usage message | |
3448 | ||
3449 | * sem_eval.adb: Minor reformatting | |
3450 | ||
0c602260 | 3451 | 2009-06-22 Javier Miranda <miranda@adacore.com> |
3452 | ||
3453 | * sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the | |
3454 | freezing point the check on the use of abstract types in object | |
3455 | declarations. Done to allow the declaration of C++ imported variables | |
3456 | or constants whose type corresponds with an imported C++ classes for | |
3457 | which the constructor is not imported. | |
3458 | ||
3459 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
3460 | ||
3461 | * sem_ch6.adb: Minor reformatting | |
3462 | ||
3463 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
3464 | ||
3465 | * exp_ch3.adb (Build_Initialization_Call): If a discriminated record | |
3466 | component is constrained with an expression rather than with a | |
3467 | discriminant of the enclosing type, use that expression when building | |
3468 | the call to default-initialize the component, when the call is part of | |
3469 | an aggregate with box initialization. | |
3470 | ||
f15d3bdc | 3471 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> |
3472 | ||
3473 | * sem_ch6.adb (Check_Overriding_Indicator): Clean up code, make warning | |
3474 | unconditional rather than a style check, because a formal name out of | |
3475 | order is suspicious. | |
3476 | ||
3477 | 2009-06-22 Vincent Celier <celier@adacore.com> | |
3478 | ||
3479 | * prj-nmsc.adb (Locate_Directory): Indicate the project name when | |
3480 | creating a directory automatically. | |
3481 | ||
3482 | 2009-06-22 Eric Botcazou <ebotcazou@adacore.com> | |
3483 | ||
3484 | * sem_ch3.adb (Create_Constrained_Components): For a subtype of an | |
3485 | untagged derived type, add a hidden component for every constrained | |
3486 | discriminant of the parent type to keep record layout consistent. | |
3487 | ||
7b7ad9c5 | 3488 | 2009-06-22 Thomas Quinot <quinot@adacore.com> |
3489 | ||
3490 | * exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree | |
3491 | copy). | |
3492 | ||
3493 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
3494 | ||
3495 | * a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb, | |
3496 | s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb, | |
3497 | g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl, | |
3498 | a-swuwha.adb: New unit System.String_Hash. | |
3499 | Refactor redundant cut and pasted hash functions with instances of a | |
3500 | new generic hash function. | |
3501 | Implement a new string hashing algorithm which appears in testing to | |
3502 | be move effective than to previous approach. | |
3503 | ||
3504 | 2009-06-22 Ed Falis <falis@adacore.com> | |
3505 | ||
3506 | * sysdep.c: remove include for nfsLib.h and an NFS specific error | |
3507 | message for VxWorks 653 vThreads: not supported by the OS. | |
3508 | ||
3509 | * gsocket.h: disable sockets for VxWorks 653 vThreads. | |
3510 | ||
3511 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
3512 | ||
3513 | * sem_ch6.adb: Add ??? comment for bad use of Style_Check | |
3514 | ||
116fd127 | 3515 | 2009-06-22 Robert Dewar <dewar@adacore.com> |
3516 | ||
3517 | * sinput.adb, sinput.ads (Expr_First_Char, Expr_Last_Char): Replaced | |
3518 | by Sloc_Range. | |
3519 | ||
3520 | * freeze.adb: Minor comment updates | |
3521 | ||
3522 | * s-valrea.adb (Bad_Based_Value): New procedure | |
3523 | (Scan_Real): Raise exceptions with messages | |
3524 | ||
3525 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
3526 | ||
3527 | * adaint.h: Complete previous change. | |
3528 | ||
3529 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
3530 | ||
3531 | * exp_ch7.ads, exp_ch3.adb: Minor reformatting | |
3532 | ||
3533 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
3534 | ||
3535 | * sem_ch6.adb (Check_Overriding_Indicator): When style checks are | |
3536 | enabled, emit warning when a non-controlling argument of the overriding | |
3537 | operation appears out of place vis-a-vis of the formal of the | |
3538 | overridden operation. | |
3539 | ||
c85cfca7 | 3540 | 2009-06-22 Vincent Celier <celier@adacore.com> |
3541 | ||
3542 | * gnatcmd.adb (Check_Files): Close temporary files after all file names | |
3543 | have been written into it. | |
3544 | ||
3545 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
3546 | ||
3547 | * adaint.c, adaint.h, cstreams.c: Call stat64 on platforms where it is | |
3548 | available. | |
3549 | ||
3550 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
3551 | ||
3552 | * sem_disp.adb (Check_Direct_Call): Handle the case where the full | |
3553 | view of the root type is visible at the point of the call. | |
3554 | ||
3555 | 2009-06-22 Pat Rogers <rogers@adacore.com> | |
3556 | ||
3557 | * gnat_ugn.texi: Revised a sentence to correct a minor grammar error. | |
3558 | ||
ca6399a0 | 3559 | 2009-06-22 Jerome Lambourg <lambourg@adacore.com> |
3560 | ||
3561 | * freeze.adb: Add comments. | |
3562 | ||
51ad5ad2 | 3563 | 2009-06-21 Thomas Quinot <quinot@adacore.com> |
3564 | ||
3565 | * exp_ch3.adb, exp_prag.adb, exp_util.adb, exp_util.ads, freeze.adb, | |
3566 | sem_ch13.adb, sem_elab.adb (Exp_Prag.Expand_Pragma_Import_Or_Interface): | |
3567 | Factor out code to new subprogram... | |
3568 | (Exp_Util.Find_Init_Call): New shared routine to find the init proc call | |
3569 | for a default initialized variable. | |
3570 | (Freeze.Check_Address_Clause): Do not reset Has_Delayed_Freeze on an | |
3571 | entity that has an associated freeze node. | |
3572 | (Sem_Ch13.Analyze_Attribute_Definition_Clause, case Address): | |
3573 | If there is an init call for the object, defer it to the object freeze | |
3574 | point. | |
3575 | (Check_Elab_Call.Find_Init_Call): Rename to Check_Init_Call, to avoid | |
3576 | name clash with new subprogram introduced in Exp_Util. | |
3577 | ||
3578 | 2009-06-21 Robert Dewar <dewar@adacore.com> | |
3579 | ||
3580 | * einfo.ads: Minor reformatting | |
3581 | ||
6d081ca6 | 3582 | 2009-06-21 Ed Falis <falis@adacore.com> |
3583 | ||
3584 | * env.c (__gnat_environ): return NULL for vThreads - unimplemented | |
3585 | ||
3586 | 2009-06-21 Eric Botcazou <ebotcazou@adacore.com> | |
3587 | ||
3588 | * einfo.ads: Update comments. | |
3589 | ||
3590 | 2009-06-21 Hristian Kirtchev <kirtchev@adacore.com> | |
3591 | ||
3592 | * sem_disp.adb (Check_Direct_Call): New routine. Dispatching calls | |
3593 | where the controlling formal is of private class-wide type whose | |
3594 | completion is a synchronized type can be converted into direct calls. | |
3595 | ||
3596 | 2009-06-21 Vincent Celier <celier@adacore.com> | |
3597 | ||
3598 | * gnatcmd.adb (Check_Files): When all sources of the project are to be | |
3599 | indicated to gnatcheck, gnatpp or gnatmetric, always specify the list | |
3600 | of sources using -files=, so that the distinction can be made by the | |
3601 | tool of a call with no source (to display the usage) from a call with | |
3602 | a project file that contains no source. | |
3603 | ||
3604 | 2009-06-21 Jerome Lambourg <lambourg@adacore.com> | |
3605 | ||
3606 | * exp_ch3.adb (Build_Array_Init_Proc): Do not build the init proc in | |
3607 | case of VM convention arrays. | |
3608 | ||
657e45c6 | 3609 | 2009-06-20 Robert Dewar <dewar@adacore.com> |
3610 | ||
3611 | * a-nudira.adb: Minor reformatting | |
3612 | ||
c018befb | 3613 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
3614 | ||
3615 | * exp_ch3.adb (Build_Record_Init_Proc): When copying initial | |
3616 | expressions (possibly from a parent type) indicate that the scope of | |
3617 | the new itypes is the initialization procedure being built. | |
3618 | ||
3619 | 2009-06-20 Robert Dewar <dewar@adacore.com> | |
3620 | ||
3621 | * a-nudira.adb (Fits_In_32_Bits): New name (inverted sense) for | |
3622 | Needs_64, and now computed without anomolies for some dynamic types. | |
3623 | ||
3624 | 2009-06-20 Thomas Quinot <quinot@adacore.com> | |
3625 | ||
3626 | * sem_prag.adb: Minor reformatting | |
3627 | ||
3628 | * exp_disp.ads: Minor reformatting | |
3629 | ||
60ec57b4 | 3630 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
3631 | ||
3632 | * sem_ch3.adb (Is_OK_For_Limited_Init): An unchecked conversion of a | |
3633 | function call is a legal expression to initialize a limited object. | |
3634 | ||
3635 | * exp_ch3.adb: Rename various freeze operations that perform expansion | |
3636 | actions, to prevent confusion with subprograms in the freeze package. | |
3637 | ||
0754d6dd | 3638 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
3639 | ||
3640 | * sem.adb (Walk_Library_Units): Check instantiations first. | |
3641 | ||
3642 | * sem_ch6.adb (Analyze_Subprogram_Declaration): Mark a subprogram as a | |
3643 | private primitive if it is a function with a controlling result that is | |
3644 | a type extension with progenitors. | |
3645 | ||
3646 | * exp_ch9.adb (Build_Wrapper_Spec, Build_Wrapper_Body): Handle properly | |
3647 | a primitive operation of a synchronized tagged type that has a | |
3648 | controlling result. | |
3649 | ||
3650 | 2009-06-20 Thomas Quinot <quinot@adacore.com> | |
3651 | ||
3652 | * einfo.ads: Fix typo. | |
3653 | ||
3654 | 2009-06-20 Ed Falis <falis@adacore.com> | |
3655 | ||
3656 | * s-vxwext.ads, s-vxwext-kernel.adb: Complete previous change. | |
3657 | ||
f1556d89 | 3658 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> |
3659 | ||
3660 | * gcc-interface/trans.c (emit_check): Do not wrap up the result | |
3661 | in a SAVE_EXPR. | |
3662 | (protect_multiple_eval): Always protect complex expressions. | |
3663 | ||
1a6c80a4 | 3664 | 2009-06-19 Emmanuel Briot <briot@adacore.com> |
3665 | ||
3666 | * prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now | |
3667 | make sure we always return a name ending with a path separator. | |
3668 | ||
3669 | 2009-06-19 Javier Miranda <miranda@adacore.com> | |
3670 | ||
3671 | * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body): | |
3672 | Save and restore the visibility of the parent when installed. | |
3673 | ||
3674 | 2009-06-19 Jose Ruiz <ruiz@adacore.com> | |
3675 | ||
3676 | * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner | |
3677 | by Common which contains all these fields. | |
3678 | ||
3679 | * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry, | |
3680 | Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry): | |
3681 | Remove code duplication in this package by means of calling the | |
3682 | equivalent code in s-taprob. | |
3683 | ||
3684 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
3685 | ||
3686 | * a-einuoc.ads: Minor reformatting | |
3687 | ||
06d55417 | 3688 | 2009-06-19 Ed Falis <falis@adacore.com> |
3689 | ||
3690 | * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, | |
3691 | s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up. | |
3692 | ||
341bd953 | 3693 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> |
3694 | ||
3695 | * einfo.ads (Handling of Type'Size Values): Fix Object_Size values. | |
3696 | ||
3697 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
3698 | ||
3699 | * a-nudira.adb (Need_64): Handle negative ranges and also dynamic | |
3700 | ranges | |
3701 | ||
3702 | * checks.adb (Determine_Range): Move the test for generic types later. | |
3703 | ||
3704 | * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more | |
3705 | cases. | |
3706 | (Eval_Relational_Op): Fold more cases including string compares | |
3707 | ||
3708 | * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New | |
3709 | function. | |
3710 | ||
d4b026c1 | 3711 | 2009-06-19 Robert Dewar <dewar@adacore.com> |
3712 | ||
3713 | * sem_type.ads, sem_ch12.adb: Minor reformatting | |
3714 | ||
3715 | * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly | |
3716 | ||
3717 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
3718 | ||
3719 | * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden | |
3720 | primitive operation of a rivate extension whose controlling argument | |
3721 | is an out parameter. | |
3722 | ||
3723 | * sem.adb (Walk_Library_Units): exclude generic package declarations | |
3724 | from check. | |
3725 | ||
ddbf7f2e | 3726 | 2009-06-19 Thomas Quinot <quinot@adacore.com> |
3727 | ||
3728 | * i-vxwoio.ads: Add comments | |
3729 | ||
3730 | 2009-06-19 Thomas Quinot <quinot@adacore.com> | |
3731 | ||
3732 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
3733 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
3734 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads | |
3735 | (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl. | |
3736 | (GNAT.Sockets.Thin.Socket_Ioctl): Use new function | |
3737 | Thin_Common.Socket_Ioctl. | |
3738 | (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper | |
3739 | __gnat_socket_ioctl. | |
3740 | (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int* | |
3741 | argument after the file descriptor and request code. | |
3742 | ||
3743 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
3744 | ||
3745 | * checks.adb: Minor reformatting | |
3746 | ||
a781c0fc | 3747 | 2009-06-19 Jose Ruiz <ruiz@adacore.com> |
3748 | ||
3749 | * env.c (__gnat_environ): RTX does not support this functionality. | |
3750 | ||
3751 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
3752 | ||
3753 | * sem.adb (Walk_Library_Items): Include bodies in the list of units to | |
3754 | traverse, to account for front-end inlining and instantiations in a | |
3755 | spec or in the main unit. | |
3756 | ||
3757 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
3758 | ||
3759 | * checks.adb (Determine_Range): Do not attempt to get range of generic | |
3760 | type. | |
3761 | ||
95e20cb4 | 3762 | 2009-06-19 Sergey Rybin <rybin@adacore.com> |
3763 | ||
3764 | * gnat_ugn.texi, vms_data.ads: Add the documentation for the new | |
3765 | gnatmetric option for generating the schema file for gnatmetric XML | |
3766 | output. Add corresponding VMS qualifier. | |
3767 | ||
b3147936 | 3768 | 2009-06-19 Robert Dewar <dewar@adacore.com> |
3769 | ||
3770 | * g-cgi.adb: Minor reformatting | |
3771 | ||
3772 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> | |
3773 | ||
3774 | * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the | |
3775 | signal code for SIGFPE and raise Program_Error for SIGILL. | |
3776 | ||
3777 | * s-osinte-solaris.ads: Remove signal code constants for SIGFPE. | |
3778 | ||
3779 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
3780 | ||
3781 | * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a | |
3782 | generic package if there is a visibility candidate that is declared in | |
3783 | a regular package. | |
3784 | ||
aca66fe1 | 3785 | 2009-06-18 Olivier Hainque <hainque@adacore.com> |
3786 | ||
3787 | * system-aix64.ads: New file. | |
3788 | * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the | |
3789 | 64bit system.ads for ppc64 multilib variants. | |
3790 | ||
f7d7d45e | 3791 | 2009-06-16 Robert Dewar <dewar@adacore.com> |
3792 | Olivier Hainque <hainque@adacore.com> | |
3793 | ||
3794 | Relax constraints on Machine_Attribute argument types: | |
3795 | * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for | |
3796 | missing type. | |
3797 | (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3. | |
3798 | * gcc-interface/decl.c (prepend_attributes): Accept static | |
3799 | expressions of any type as attribute arguments, not only string | |
3800 | literals. | |
3801 | * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect | |
3802 | the relaxation of the restriction on the Info argument type. | |
3803 | ||
f3c9930a | 3804 | 2009-06-13 Aldy Hernandez <aldyh@redhat.com> |
3805 | ||
3806 | * gcc-interface/utils.c (record_builtin_type): Pass location | |
3807 | argument to build_decl. | |
3808 | (create_type_stub_decl): Same. | |
3809 | (create_type_decl): Same. | |
3810 | (create_var_decl_1): Same. | |
3811 | (create_field_decl): Same. | |
3812 | (create_param_decl): Same. | |
3813 | (create_label_decl): Same. | |
f3c9930a | 3814 | (create_subprog_decl): Same. |
3815 | * gcc-interface/decl.c (gnat_to_gnu_entity): Same. | |
3816 | * gcc-interface/trans.c (Case_Statement_to_gnu): Pass location | |
3817 | argument to create_artificial_label. | |
f3c9930a | 3818 | (Loop_Statement_to_gnu): Same. |
3819 | (Subprogram_Body_to_gnu): Same. | |
3820 | (gnat_gimplify_stmt): Same. | |
3821 | ||
3d3b9d5b | 3822 | 2009-06-11 Richard Henderson <rth@redhat.com> |
3823 | ||
90422462 | 3824 | * gcc-interface/misc.c (gnat_handle_option): Rename OPT_gdwarf_ to |
3825 | OPT_gdwarfplus. | |
3d3b9d5b | 3826 | |
7465a8fe | 3827 | 2009-06-11 Ed Schonberg <schonberg@adacore.com> |
3828 | ||
3829 | * sem_attr.adb (Resolve_Attribute, case 'access): Add missing | |
3830 | accessibiliy check on access_to_subprogram in the context of an | |
3831 | anonymous access that is not an access parameter. | |
3832 | ||
3833 | 2009-06-11 Eric Botcazou <ebotcazou@adacore.com> | |
3834 | ||
3835 | * tracebak.c (i386 section): Define IS_BAD_PTR on Solaris. | |
3836 | ||
3837 | 2009-06-11 Quentin Ochem <ochem@adacore.com> | |
3838 | ||
3839 | * sem_warn.adb, scng.adb, sfn_scan.adb, freeze.adb: Add CODEFIX | |
3840 | comments for message handled by GPS. | |
3841 | ||
3842 | 2009-06-11 Matthew Gingell <gingell@adacore.com> | |
3843 | ||
3844 | * adaint.c: Use fopen64 instead of fopen on platforms where we know | |
3845 | it's supported. | |
3846 | ||
3847 | 2009-06-11 Pascal Obry <obry@adacore.com> | |
3848 | ||
3849 | * g-cgi.ads: Fix comment typo. | |
3850 | ||
3851 | * g-cgi.adb: Properly decode "+" in CGI parameters as spaces. | |
3852 | ||
ec4d7c0c | 3853 | 2009-06-10 Eric Botcazou <ebotcazou@adacore.com> |
3854 | ||
3855 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use | |
3856 | a reference to the original type for the type of the field of the | |
3857 | XVS type. | |
3858 | (maybe_pad_type): Likewise. | |
3859 | ||
3860 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor | |
3861 | common predicate and remove redundant setting of TYPE_BY_REFERENCE_P. | |
3862 | Pass correctly typed arguments to create_field_decl. | |
3863 | <E_Record_Subtype>: Set BLKmode for tagged and limited types in the | |
3864 | case of contrained discriminants as well. Use the padded base type | |
3865 | in the other case as well. Rename temporary variable. Tweak test. | |
3866 | Factor common access pattern. Set GNU_SIZE only once. | |
3867 | ||
8fcbc650 | 3868 | 2009-06-09 Olivier Hainque <hainque@adacore.com> |
3869 | ||
3870 | * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New | |
3871 | helper for build_call_alloc_dealloc with arguments to be interpreted | |
3872 | identically. Process the case where a GNAT_PROC to call is provided. | |
3873 | (maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build | |
3874 | and return an allocator for DATA_SIZE bytes aimed at containing a | |
3875 | DATA_TYPE object, using the default __gnat_malloc allocator. Honor | |
3876 | DATA_TYPE alignments greater than what the latter offers. | |
3877 | (maybe_wrap_free): New helper for build_call_alloc_dealloc, to | |
3878 | release a DATA_TYPE object designated by DATA_PTR using the | |
3879 | __gnat_free entry point. | |
3880 | (build_call_alloc_dealloc): Expect object data type instead of naked | |
3881 | alignment constraint. Use the new helpers. | |
3882 | (build_allocator): Remove special processing for the super-aligned | |
3883 | case, now handled by build_call_alloc_dealloc. Pass data | |
3884 | type instead of the former alignment argument, as expected by the new | |
3885 | interface. | |
3886 | * gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype | |
3887 | and comment. | |
3888 | * gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>: | |
3889 | Remove special processing for the super-aligned case, now handled | |
3890 | by build_call_alloc_dealloc. Pass data type instead of the former | |
3891 | alignment argument, as expected by the new interface. | |
3892 | ||
71278019 | 3893 | 2009-06-08 Alexandre Oliva <aoliva@redhat.com> |
3894 | ||
3895 | * lib-writ.adb (flag_compare_debug): Import. | |
3896 | (Write_ALI): Skip during -fcompare-debug-second. | |
3897 | ||
222d55ad | 3898 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
3899 | ||
3900 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When | |
3901 | adjusting the discriminant nodes in an extension, use the full view | |
3902 | of the parent subtype if it is of a private kind. | |
3903 | ||
4ec4ec6c | 3904 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
3905 | ||
3906 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the | |
3907 | _Parent field, if any, to the record before adding the other fields. | |
3908 | <E_Record_Subtype>: Put the _Controller field before the other fields | |
3909 | except for the _Tag or _Parent fields. | |
3910 | (components_to_record): Likewise. Retrieve the _Parent field from the | |
3911 | record type. | |
3912 | ||
9ce4d073 | 3913 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
3914 | ||
3915 | * gcc-interface/decl.c (substitution_list): Rename to build_subst_list, | |
3916 | remove unused parameter and simplify. | |
3917 | (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor | |
3918 | common predicate. Rewrite loop for clarity. Use GNU_TYPE directly | |
3919 | as context for all discriminants. Fix formatting nits. | |
3920 | <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants | |
3921 | before Discriminant_Constraint. Adjust for above renaming. Do not | |
3922 | set GNU_TYPE more than once. | |
3923 | (elaborate_entity): Test Has_Discriminants on the entity and use | |
3924 | Implementation_Base_Type. | |
3925 | (components_to_record): Rename component_list to gnat_component_list. | |
3926 | Retrieve the _Parent field from the list. Fix nits in comments. | |
3927 | Clarify logic in loop. Pass correct arguments to create_field_decl. | |
3928 | ||
a7404a5e | 3929 | 2009-06-02 Eric Botcazou <ebotcazou@adacore.com> |
3930 | ||
3931 | * gcc-interface/Make-lang.in: Fix formatting. | |
3932 | ||
d515c104 | 3933 | 2009-06-01 Olivier Hainque <hainque@adacore.com> |
3d3b9d5b | 3934 | Eric Botcazou <ebotcazou@adacore.com> |
d515c104 | 3935 | |
3936 | * gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting | |
3937 | to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT | |
3938 | on the result if at least one of the input fields couldn't be output | |
3939 | as a static constant any more. | |
3940 | ||
34a6a65d | 3941 | 2009-06-01 Olivier Hainque <hainque@adacore.com> |
3d3b9d5b | 3942 | Eric Botcazou <ebotcazou@adacore.com> |
34a6a65d | 3943 | |
3944 | * gcc-interface/utils2.c (gnat_build_constructor): Factor | |
d36ad1e2 | 3945 | out code. Use initializer_constant_valid_for_bitfield_p and |
34a6a65d | 3946 | CONSTRUCTOR_BITFIELD_P for bit-fields. |
3947 | ||
585d4848 | 3948 | 2009-05-26 Ian Lance Taylor <iant@google.com> |
3949 | ||
3950 | * gcc-interface/Makefile.in (COMPILER): Define. | |
3951 | (COMPILER_FLAGS, ALL_COMPILERFLAGS): Define. | |
3952 | (.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER). | |
3953 | (seh_init.o, tracebak.o): Likewise. | |
3954 | * gcc-interface/Make-lang.in (ada/targext.o): Likewise. | |
3955 | (ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise. | |
3956 | (ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise. | |
3957 | (ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise. | |
3958 | (ada/utils2.o): Likewise. | |
3959 | ||
a71506c6 | 3960 | 2009-05-24 Olivier Hainque <hainque@adacore.com> |
3961 | ||
3962 | * switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ... | |
3963 | * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions. | |
3964 | Add -auxbase variants to the list of recognized internal switches. | |
3965 | * back_end.adb (Scan_Back_End_Switches): Use the new functions and | |
3966 | adjust comments. | |
3967 | * lib.ads: Make comment on internal GCC switches more general. | |
3968 | * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants | |
3969 | as for C. | |
3970 | ||
44fc8df6 | 3971 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
3972 | ||
3973 | * gcc-interface/misc.c (gnat_get_subrange_bounds): Fix thinko. | |
3974 | ||
f34c0696 | 3975 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
3976 | ||
3977 | * gcc-interface/decl.c (set_rm_size): Bypass the check for packed array | |
3978 | types. | |
3979 | ||
72381014 | 3980 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
3981 | ||
3982 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not modify the | |
3983 | original type because of the alignment when there is an address clause. | |
3984 | ||
cfe8c0c7 | 3985 | 2009-05-20 Eric Botcazou <ebotcazou@adacore.com> |
3986 | ||
3987 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When | |
3988 | discriminants affect the shape of the subtype, retrieve the GCC type | |
3989 | directly from the original field if the GNAT types for the field and | |
3990 | the original field are the same. | |
3991 | ||
a9538d68 | 3992 | 2009-05-15 Eric Botcazou <ebotcazou@adacore.com> |
3993 | ||
3994 | * gcc-interface/ada-tree.h (TYPE_GCC_MIN_VALUE, TYPE_GCC_MAX_VALUE): | |
3995 | New macros. | |
3996 | (TYPE_RM_VALUES): Likewise. | |
3997 | (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUES. | |
3998 | (SET_TYPE_RM_SIZE): New macro. | |
3999 | (TYPE_RM_MIN_VALUE, TYPE_RM_MAX_VALUE): Likewise. | |
4000 | (SET_TYPE_RM_SIZE, SET_TYPE_RM_MAX_VALUE): Likewise. | |
4001 | (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Redefine. | |
4002 | * gcc-interface/gigi.h (create_range_type): Declare. | |
4003 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type> | |
4004 | Use SET_TYPE_RM_MAX_VALUE to set the upper bound on the UMT type. | |
4005 | <E_Signed_Integer_Subtype>: Build a regular integer type first and | |
4006 | then set the RM bounds. Use SET_TYPE_RM_SIZE to set the RM size. | |
4007 | <E_Floating_Point_Subtype>: Build a regular floating-point type first | |
4008 | and then set the RM bounds. | |
4009 | <E_Array_Type>: Use create_range_type instead of build_range_type. | |
4010 | <E_Array_Subtype>: Build a regular integer type first and then set | |
4011 | the RM bounds for the extra subtype. | |
4012 | <E_String_Literal_Subtype>: Use create_range_type instead of | |
4013 | build_range_type. | |
4014 | <all>: Set the RM bounds for enumeration types and the GCC bounds for | |
4015 | floating-point types. | |
4016 | (set_rm_size): Use SET_TYPE_RM_SIZE to set the RM size. | |
4017 | (make_type_from_size) <INTEGER_TYPE>: Use SET_TYPE_RM_{MIN,MAX}_VALUE | |
4018 | to set the bounds. Use SET_TYPE_RM_SIZE to set the RM size. | |
4019 | (substitute_in_type) <INTEGER_TYPE>: Deal with GCC bounds for domain | |
4020 | types and with RM bounds for subtypes. | |
4021 | * gcc-interface/misc.c (LANG_HOOKS_GET_SUBRANGE_BOUNDS): Define. | |
4022 | (gnat_print_type) <REAL_TYPE>: New case. | |
4023 | <ENUMERAL_TYPE>: Fall through to above case. | |
4024 | (gnat_get_subrange_bounds): New function. | |
4025 | * gcc-interface/trans.c (add_decl_expr): Mark the trees rooted as | |
4026 | TYPE_RM_MIN_VALUE and TYPE_RM_MAX_VALUE, if any. | |
4027 | * gcc-interface/utils.c (gnat_init_decl_processing): Use precision 8 | |
4028 | for booleans. Adjust and use SET_TYPE_RM_SIZE to set the RM size. | |
4029 | (create_range_type): New function. | |
4030 | (create_param_decl): Build a regular integer type first and then set | |
4031 | the RM bounds for the extra subtype. | |
4032 | (unchecked_convert): Remove kludge for 'Valid. | |
4033 | * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Convert | |
4034 | the index to sizetype instead of TYPE_DOMAIN. | |
4035 | ||
dd02c1ab | 4036 | 2009-05-14 Eric Botcazou <ebotcazou@adacore.com> |
4037 | ||
4038 | * gcc-interface/decl.c (elaborate_expression_1): Remove GNAT_EXPR | |
4039 | parameter and move check for static expression to... | |
4040 | (elaborate_expression): ...here. Adjust call to above function. | |
4041 | (gnat_to_gnu_entity): Likewise for all calls. Use correct arguments | |
4042 | in calls to elaborate_expression. | |
4043 | (elaborate_entity): Likewise. | |
4044 | (substitution_list): Likewise. | |
4045 | (maybe_variable): Fix formatting. | |
4046 | (substitute_in_type) <REAL_TYPE>: Merge with INTEGER_TYPE case and add | |
4047 | missing guard. | |
4048 | * gcc-interface/trans.c (protect_multiple_eval): Minor cleanup. | |
4049 | ||
575d99bb | 4050 | 2009-05-07 Arnaud Charlet <charlet@adacore.com> |
4051 | ||
3c9bc267 | 4052 | * gcc-interface/Make-lang.in: Update dependencies. |
575d99bb | 4053 | |
3c9bc267 | 4054 | 2009-05-06 Laurent GUERBY <laurent@guerby.net> |
4055 | ||
4056 | * s-linux.ads, s-linux-alpha.ads, s-linux-hppa.ads, osinte-linux.ads: | |
4057 | Define sa_handler_pos. | |
4058 | * s-osinte-linux.ads: Use it. | |
4059 | * s-linux-mipsel.ads: New. | |
4060 | * system-linux-mips64el.ads: New. | |
4061 | * gcc-interface/Makefile.in: Multilib handling for mipsel-linux and | |
4062 | mips64el-linux. | |
fb0fdcac | 4063 | |
662256db | 4064 | 2009-05-06 Arnaud Charlet <charlet@adacore.com> |
4065 | ||
4066 | * exp_ch5.adb, exp_util.adb, exp_attr.adb, sem_util.adb, sem_res.adb, | |
4067 | targparm.adb, targparm.ads, exp_ch4.adb, exp_ch6.adb, exp_disp.adb, | |
4068 | opt.ads, exp_aggr.adb, exp_intr.adb, sem_disp.adb, exp_ch3.adb | |
4069 | (Tagged_Type_Expansion): New flag. | |
4070 | Replace use of VM_Target related to tagged types expansion by | |
4071 | Tagged_Type_Expansion, since tagged type expansion is not necessarily | |
4072 | linked to VM targets. | |
4073 | ||
a79db212 | 4074 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4075 | ||
662256db | 4076 | * sem_attr.adb: Add processing for Standard'Compiler_Version |
4077 | ||
a79db212 | 4078 | * sinput.adb (Expr_Last_Char): Fix some copy-paste errors for paren |
4079 | skipping. | |
4080 | (Expr_First_Char): Add ??? comment that paren skipping needs work | |
4081 | (Expr_Last_Char): Add ??? comment that paren skipping needs work | |
4082 | ||
4083 | * exp_attr.adb: Add processing for Compiler_Version | |
4084 | ||
4085 | * sem_attr.adb: New attribute Compiler_Version | |
4086 | ||
4087 | * snames.ads-tmpl: Add entries for Compiler_Version attribute | |
4088 | ||
4089 | * gnat_rm.texi: Document Compiler_Version attribute | |
4090 | ||
3ba6a78b | 4091 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4092 | ||
4093 | * errout.adb: Minor reformatting | |
4094 | ||
4095 | * scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb, | |
4096 | sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb, | |
4097 | styleg.adb: Add stylized comments to error messages that are included | |
4098 | in the codefix circuitry of IDE's such as GPS. | |
4099 | ||
a6252fe0 | 4100 | 2009-05-06 Sergey Rybin <rybin@adacore.com> |
4101 | ||
4102 | * gnat_ugn.texi: For Misnamed_Identifiers rule all description of the | |
4103 | new form of the rule parameter that allows to specify the suffix for | |
4104 | access-to-access type names. | |
4105 | ||
4106 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
4107 | ||
4108 | * sem_warn.adb (Warn_On_Useless_Assignment): Avoid false negative for | |
4109 | out parameter assigned when exception handlers are present. | |
4110 | ||
4111 | * sem_ch5.adb (Analyze_Exit_Statement): Kill current value last | |
4112 | assignments on exit. | |
4113 | ||
4114 | * par-ch9.adb, sem_aggr.adb, par-endh.adb, sem_res.adb, par-ch6.adb, | |
4115 | sinput-l.adb, par-load.adb, errout.ads, sem_ch4.adb, lib-load.adb, | |
4116 | prj-dect.adb, par-ch12.adb, sem_ch8.adb, par-util.adb, par-ch3.adb, | |
4117 | par-tchk.adb, par-ch5.adb: This patch adds stylized comments to error | |
4118 | messages that are included in the codefix circuitry of IDE's such as | |
4119 | GPS. | |
4120 | ||
4121 | * sinput.ads, sinput.adb (Expr_First_Char): New function | |
3d3b9d5b | 4122 | (Expr_Last_Char): New function |
a6252fe0 | 4123 | |
6a85c251 | 4124 | 2009-05-06 Sergey Rybin <rybin@adacore.com> |
4125 | ||
4126 | * gnat_ugn.texi: Add subsection for Exits_From_Conditional_Loops rule | |
4127 | Add formal definition for extra exit point metric | |
4128 | ||
4129 | 2009-05-06 Pascal Obry <obry@adacore.com> | |
4130 | ||
4131 | * adaint.c: Support for setting attributes on unicode filename on | |
4132 | Windows. | |
4133 | ||
6d94f7f9 | 4134 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4135 | ||
4136 | * sem_warn.adb: Minor reformatting | |
4137 | ||
4138 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
4139 | ||
4140 | * sem_prag.adb (Process_Import_Or_Interface): Imported CPP types must | |
4141 | not have discriminants or components with default expressions. | |
4142 | (Analyze_Pragma): For pragma CPP_Class check that imported types | |
4143 | have no discriminants and components have no default expression. | |
4144 | ||
4145 | * sem_aggr.adb (Resolve_Aggr_Expr): Add missing check on wrong use of | |
4146 | class-wide types in the expression of a record component association. | |
4147 | ||
4148 | 2009-05-06 Sergey Rybin <rybin@adacore.com> | |
4149 | ||
4150 | * vms_data.ads: Add qualifier for gnatmetric extra exit points metric | |
4151 | ||
4152 | * gnat_ugn.texi: Add description for the new extra exit points metric | |
4153 | (gnatmetric section). | |
4154 | ||
521dd98e | 4155 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4156 | ||
4157 | * s-fileio.adb: Minor comment update | |
4158 | ||
4159 | * sem_ch8.adb: Minor reformatting | |
4160 | ||
4161 | * exp_ch3.adb: Update comments. | |
4162 | ||
4163 | 2009-05-06 Tristan Gingold <gingold@adacore.com> | |
4164 | ||
4165 | * init.c, s-osinte-darwin.ads: Reduce alternate stack size | |
4166 | ||
7ea22841 | 4167 | 2009-05-06 Arnaud Charlet <charlet@adacore.com> |
4168 | ||
4169 | * gcc-interface/Makefile.in: Update LIBGNAT_TARGET_PAIRS for Xenomai. | |
4170 | Fix missing unit for rtp-smp runtime on both ppc and x86 vxworks | |
4171 | ||
4172 | * gcc-interface/Make-lang.in: Update dependencies | |
4173 | ||
17fbee6d | 4174 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
4175 | ||
4176 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Revert previous | |
4177 | change. The context clause of a generic instance declaration must be | |
4178 | preserved until the end of the compilation, because it may have to be | |
4179 | installed/removed repeatedly. | |
4180 | The latest change to sem.adb ensures that the context of both spec and | |
4181 | body of an instance is traversed before the instance itself, making | |
4182 | this patch redundant. | |
4183 | ||
9f4f71bd | 4184 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
4185 | ||
4186 | * sem_aggr.adb: Fix typo. | |
4187 | ||
4188 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
4189 | ||
4190 | * exp_ch3.adb (Expand_N_Object_Declaration): For a controlled object | |
4191 | declaration, do not adjust if the declaration is to be rewritten into | |
4192 | a renaming. | |
4193 | ||
4194 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
4195 | ||
4196 | * sem_ch8.adb (Find_Type): Reject the use of a task type in its own | |
4197 | discriminant part. | |
4198 | ||
4199 | 2009-05-06 Bob Duff <duff@adacore.com> | |
4200 | ||
4201 | * s-fileio.adb (File_IO_Clean_Up_Type): Make this type limited, since | |
4202 | otherwise the compiler would be allowed to optimize away the cleanup | |
4203 | code. | |
4204 | ||
17953e50 | 4205 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
4206 | ||
4207 | * gnat_ugn.texi: Fix typo. | |
4208 | ||
4209 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
4210 | ||
4211 | * g-debuti.adb: Minor reformatting | |
4212 | ||
4213 | * exp_attr.adb: Minor reformatting | |
4214 | ||
4215 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
4216 | ||
4217 | * sem_aggr.adb: Minor reformatting. | |
4218 | ||
4219 | * g-socthi-vms.adb: Minor reformatting | |
4220 | ||
4221 | 2009-05-06 Bob Duff <duff@adacore.com> | |
4222 | ||
4223 | * g-table.ads, g-table.adb, g-dyntab.ads, g-dyntab.adb: | |
4224 | (Append_All): Add Append_All to g-table and g-dyntab, similar to table. | |
4225 | ||
2d7221bd | 4226 | 2009-05-06 Bob Duff <duff@adacore.com> |
4227 | ||
4228 | * gnat_ugn.texi, gnat_rm.texi: Add missing documentation for warnings | |
4229 | flags. | |
4230 | ||
2b56f2fd | 4231 | 2009-05-06 Javier Miranda <miranda@adacore.com> |
4232 | ||
4233 | * sem_aggr.adb (Valid_Ancestor_Type): Add support for C++ constructors. | |
4234 | (Resolve_Extension_Aggregate): Do not reject C++ constructors in | |
4235 | extension aggregates. | |
4236 | (Resolve_Record_Aggregate): Add support for C++ constructors in | |
4237 | extension aggregates. | |
4238 | ||
4239 | * exp_aggr.adb (Build_Record_Aggr_Code): Add support for C++ | |
4240 | constructors in extension aggregates. | |
4241 | ||
0b7fec89 | 4242 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4243 | ||
4244 | * freeze.adb (Freeze_Record_Type): Improve error msg for bad size | |
4245 | clause. | |
4246 | ||
4247 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
4248 | ||
4249 | * g-socthi-vms.adb (C_Recvmsg, C_Sendmsg): Convert Msg to appropriate | |
4250 | packed type, since on OpenVMS, struct msghdr is packed. | |
4251 | ||
4252 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
4253 | ||
4254 | * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function | |
4255 | call returning an unconstrained composite value, create the proper | |
4256 | subtype for it, as is done for object dclarations with unconstrained | |
4257 | nominal subtypes. Perform this transformation regarless of whether | |
4258 | call comes from source. | |
4259 | ||
e4711115 | 4260 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4261 | ||
4262 | * freeze.adb (Freeze_Record_Type): Implement Implicit_Packing for | |
4263 | records | |
4264 | ||
4265 | * gnat_rm.texi: | |
4266 | Add documentation for pragma Implicit_Packing applied to record | |
4267 | types. | |
4268 | ||
4269 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
4270 | ||
4271 | * sem.adb (Walk_Library_Items): Place all with_clauses of an | |
4272 | instantiation on the spec, because late instance bodies may generate | |
4273 | with_clauses for the instance body but are inserted in the instance | |
4274 | spec. | |
4275 | ||
549be291 | 4276 | 2009-05-06 Emmanuel Briot <briot@adacore.com> |
4277 | ||
4278 | * prj-nmsc.adb (Locate_Directory): Remove unused parameters, and add | |
4279 | support for returning the directory even if it doesn't exist. This is | |
4280 | used for the object directory, since we are always setting it to a | |
4281 | non-null value, and we should set it to an absolute name rather than a | |
4282 | relative name for the sake of external tools that might depend on it. | |
4283 | (Check_Library_Attributes): When Project.Library_Dir is known, check | |
4284 | that the directory exists. | |
4285 | ||
4286 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
4287 | ||
4288 | * sem_attr.adb (Check_Dereference): If the prefix of an attribute | |
4289 | reference is an implicit dereference, do not freeze the designated type | |
4290 | if within a default expression or when preanalyzing a pre/postcondtion. | |
4291 | ||
2f582d72 | 4292 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
4293 | ||
4294 | * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function | |
4295 | call returning an unconstrained composite value, create the proper | |
4296 | subtype for it, as is done for object dclarations with unconstrained | |
4297 | nominal subtypes | |
4298 | ||
4299 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
4300 | ||
4301 | * sem_ch13.adb (Check_Constant_Address_Clause): Minor error message | |
4302 | improvements | |
4303 | ||
4304 | * freeze.adb: Minor reformatting | |
4305 | ||
71abdb9c | 4306 | 2009-05-06 Thomas Quinot <quinot@adacore.com> |
4307 | ||
4308 | * sem_ch3.adb (Access_Type_Declaration): An access type whose | |
4309 | designated type is a limited view from a limited with clause (flagged | |
4310 | From_With_Type) is not itself such a limited view. | |
4311 | ||
4312 | 2009-05-06 Emmanuel Briot <briot@adacore.com> | |
4313 | ||
4314 | * prj-nmsc.adb: Remove unused variable. | |
4315 | ||
4316 | * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads, | |
4317 | prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to | |
4318 | makeutl.ads, since not all users of prj.ads need this. | |
4319 | ||
42058588 | 4320 | 2009-05-06 Javier Miranda <miranda@adacore.com> |
4321 | ||
4322 | * exp_aggr.adb (Build_Record_Aggr_Code): Add implicit call to the C++ | |
4323 | constructor in case of aggregates whose type is a CPP_Class type. | |
4324 | ||
eef1ca1e | 4325 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4326 | ||
4327 | * sem_ch13.adb: Minor comment additions | |
4328 | ||
4329 | * osint.adb: Minor reformatting | |
4330 | ||
4331 | 2009-05-06 Pascal Obry <obry@adacore.com> | |
4332 | ||
4333 | * initialize.c: On Windows, keep full pathname to expanded command | |
4334 | line patterns. | |
4335 | ||
54a42417 | 4336 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
4337 | ||
4338 | * sem_aggr.adb (Resolve_Record_Aggregate): If a defaulted component of | |
4339 | an aggregate with box default is of a discriminated private type, do | |
4340 | not build a subaggregate for it. | |
4341 | A proper call to the initialization procedure is generated for it. | |
4342 | ||
4343 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
4344 | ||
4345 | * rtsfind.adb, rtsfind.ads, exp_dist.adb, exp_dist.ads | |
4346 | (Exp_Dist.Build_TC_Call, Build_From_Any_Call, Build_To_Any_Call): | |
4347 | Use PolyORB strings to represent Ada.Strings.Unbounded_String value; | |
4348 | use standard array code for Standard.String. | |
4349 | (Exp_Dist): Bump PolyORB s-parint API version to 3. | |
4350 | (Rtsfind): New entities TA_Std_String, Unbounded_String. | |
4351 | ||
4352 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
4353 | ||
4354 | * g-comlin.ads: Minor reformatting | |
4355 | ||
4356 | * xoscons.adb: Minor reformatting | |
4357 | ||
38b9cc41 | 4358 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
4359 | ||
4360 | * sem_aggr.adb (Resolve_Record_Aggregate): In step 5, get the | |
4361 | Underlying_Type before retrieving the type definition for gathering | |
4362 | components, to account for the case where the type is private. | |
4363 | ||
4364 | 2009-05-06 Tristan Gingold <gingold@adacore.com> | |
4365 | ||
4366 | * g-comlin.ads: Fix minor typos (Getopt instead of Get_Opt). | |
4367 | ||
4368 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
4369 | ||
4370 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
4371 | g-socthi-vxworks.ads, g-socthi-mingw.adb g-socthi-mingw.ads, | |
4372 | g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb | |
4373 | (GNAT.Sockets.Thin.C_Sendmsg, GNAT.Sockets.Thin.C_Recvmsg, | |
4374 | Windows versions): Fix incorrect base | |
4375 | address of Iovec (it's Msg_Iov, not Msg_Iov'Address). | |
4376 | (GNAT.Sockets.Thin.C_Sendto, GNAT.Sockets.Thin.C_Recvfrom): Use a | |
4377 | System.Address for the To parameter instead of a Sockaddr_In_Access, to | |
4378 | achieve independance from AF_INET family, and also to allow this | |
4379 | parameter to be retrieved from a Msghdr for the Windows case where | |
4380 | these routines are used to implement C_Sendmsg and C_Recvmsg. | |
4381 | ||
4382 | 2009-05-06 Bob Duff <duff@adacore.com> | |
4383 | ||
4384 | * g-expect.adb, g-expect.ads: Minor reformatting | |
4385 | ||
4386 | * sdefault.ads: Minor comment fix | |
4387 | ||
4388 | * g-expect-vms.adb: Minor reformatting | |
4389 | ||
4390 | * table.ads, table.adb (Append_All): New convenience procedure for | |
4391 | appending a whole array. | |
4392 | ||
4393 | * comperr.adb (Compiler_Abort): Mention the -gnatd.n switch in the bug | |
4394 | box message. Call Osint.Dump_Source_File_Names to print out the file | |
4395 | list, instead of rummaging around in various data structures. | |
4396 | ||
4397 | * debug.adb: New switch -gnatd.n, to print source file names as they | |
4398 | are read. | |
4399 | ||
4400 | * alloc.ads: Add parameters for Osint.File_Name_Chars. | |
4401 | ||
4402 | * osint.ads, osint.adb (Dump_Source_File_Names): New procedure to print | |
4403 | out source file names during a "bug box". | |
4404 | (Include_Dir_Default_Prefix): Use memo-izing to avoid repeated new/free. | |
4405 | (Read_Source_File): Print out the file name, if requested via -gnatd.n. | |
4406 | If it's not part of the runtimes, store it for later printing by | |
4407 | Dump_Source_File_Names. | |
4408 | ||
4409 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
4410 | ||
4411 | * gnat_rm.texi (CPP_Constructor): Avoid duplication of the | |
4412 | documentation and add reference to the GNAT user guide for further | |
4413 | details. | |
4414 | ||
4415 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
4416 | ||
4417 | * gnat_ugn.texi: Complete documentation for CPP_Constructor and remove | |
4418 | also wrong examples that use extension aggregates. | |
4419 | ||
4420 | 2009-05-06 Albert Lee <lee@adacore.com> | |
4421 | ||
4422 | * s-oscons-tmplt.c (System.OS_Constants): Do not use special definition | |
4423 | of Msg_Iovlen_T for VMS. | |
4424 | ||
ca9bc976 | 4425 | 2009-05-04 Laurent GUERBY <laurent@guerby.net> |
4426 | ||
4427 | PR ada/38874 | |
4428 | * make.adb (Scan_Make_Arg): Pass --param= to compiler and linker. | |
4429 | ||
9d627c41 | 4430 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
4431 | ||
4432 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Improve error message on | |
4433 | box-defaulted operator in an instantiation, when the type of the | |
4434 | operands is not directly visible. | |
4435 | ||
4436 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> | |
4437 | ||
4438 | * sem_aggr.adb (Valid_Limited_Ancestor): Undo previous change. | |
4439 | (Resolve_Extension_Aggregate): Call Check_Parameterless_Call after the | |
4440 | analysis of the ancestor part. Remove prohibition against limited | |
4441 | interpretations of the ancestor expression in the case of Ada 2005. | |
4442 | Revise error message in overloaded case, adding a message to cover | |
4443 | the Ada 2005 case. | |
4444 | ||
4445 | 2009-04-29 Thomas Quinot <quinot@adacore.com> | |
4446 | ||
4447 | * xoscons.adb: Minor reformatting | |
4448 | ||
4449 | 2009-04-29 Bob Duff <duff@adacore.com> | |
4450 | ||
4451 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Do not ignore | |
4452 | attribute_definition_clauses for the following attributes when the | |
4453 | -gnatI switch is used: External_Tag, Input, Output, Read, Storage_Pool, | |
4454 | Storage_Size, Write. Otherwise, we get spurious errors (for example, | |
4455 | missing Read attribute on remote types). | |
4456 | ||
4457 | * gnat_ugn.texi: Document the change, and add a stern warning. | |
4458 | ||
4459 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
4460 | ||
4461 | * sem_attr.adb (Check_Local_Access): Indicate that value tracing is | |
4462 | disabled not just for the current scope, but for the innermost dynamic | |
4463 | scope as well. | |
4464 | ||
78151f0f | 4465 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
4466 | ||
4467 | * gcc-interface/Make-lang.in: Update dependencies | |
4468 | ||
57f5136f | 4469 | 2009-04-29 Vincent Celier <celier@adacore.com> |
4470 | ||
4471 | * prj-part.adb: Minor comment update | |
4472 | ||
4473 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
4474 | ||
4475 | * sem_aggr.adb (Resolve_Record_Aggregate): handle properly | |
4476 | box-initialized records with discriminated subcomponents that are | |
4477 | constrained by discriminants of enclosing components. New subsidiary | |
4478 | procedures Add_Discriminant_Values, Propagate_Discriminants. | |
4479 | ||
4480 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> | |
4481 | ||
4482 | * g-socket.adb: Code clean up. | |
4483 | ||
d7730ba7 | 4484 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> |
4485 | ||
4486 | * sem_aggr.adb (Valid_Limited_Ancestor): Add test for the name of a | |
4487 | function entity, to cover the case of a parameterless function call | |
4488 | that has not been resolved. | |
4489 | ||
4490 | 2009-04-29 Robert Dewar <dewar@adacore.com> | |
4491 | ||
4492 | * err_vars.ads, prj-part.adb, scans.ads, exp_tss.adb: Minor | |
4493 | reformatting and comment updates. | |
4494 | ||
2c195e6c | 4495 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
4496 | ||
4497 | * gnat_ugn.texi: Update some documentation about interfacing with C++ | |
4498 | Mention -fkeep-inline-functions. | |
4499 | ||
4500 | * gnat_ugn.texi: Minor edits | |
4501 | ||
4502 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
4503 | ||
4504 | * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate | |
4505 | for a defaulted component of an enclosing aggregate, inherit the type | |
4506 | from the component declaration of the enclosing type. | |
4507 | ||
4508 | 2009-04-29 Albert Lee <lee@adacore.com> | |
4509 | ||
4510 | * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c, | |
4511 | g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads | |
4512 | (System.OS_Constants): New type Msg_Iovlen_T which follows whether the | |
4513 | msg_iovlen field in struct msghdr is 32 or 64 bits wide. | |
4514 | Relocate the Msghdr record type from GNAT.Sockets.Thin to | |
4515 | GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the | |
4516 | type for the Msg_Iovlen field. | |
4517 | ||
147ce7fa | 4518 | 2009-04-29 Vincent Celier <celier@adacore.com> |
4519 | ||
4520 | * sinput-l.adb (Load_File): When preprocessing, set temporarily the | |
4521 | Source_File_Index_Table entries for the source, to avoid crash when | |
4522 | reporting an error. | |
4523 | ||
4524 | * gnatcmd.adb (Test_If_Relative_Path): Use | |
4525 | Makeutl.Test_If_Relative_Path. | |
4526 | ||
4527 | * makeutl.adb:(Test_If_Relative_Path): Process switches --RTS= only if | |
4528 | Including_RTS is True. | |
4529 | ||
4530 | * makeutl.ads (Test_If_Relative_Path): New Boolean parameter | |
4531 | Including_RTS defaulted to False. | |
4532 | ||
4533 | * sinput.ads, scans.ads, err_vars.ads: Initialize some variables with | |
4534 | a default value. | |
4535 | ||
4536 | 2009-04-29 Javier Miranda <miranda@adacore.com> | |
4537 | ||
4538 | * gnat_ugn.texi: Adding documentation for non-default C++ constructors. | |
4539 | ||
294b942d | 4540 | 2009-04-29 Javier Miranda <miranda@adacore.com> |
4541 | ||
4542 | * sem_ch3.adb (Analyze_Object_Declaration): Disable error message | |
4543 | associated with dyamically tagged expressions if the expression | |
4544 | initializing a tagged type corresponds with a non default CPP | |
4545 | constructor. | |
4546 | (OK_For_Limited_Init): CPP constructor calls are OK for initialization | |
4547 | of limited type objects. | |
4548 | ||
4549 | * sem_ch5.adb (Analyze_Assignment): Improve the error message reported | |
4550 | when a CPP constructor is called in an assignment. Disable also the | |
4551 | error message associated with dyamically tagged expressions if the | |
4552 | exporession initializing a tagged type corresponds with a non default | |
4553 | CPP constructor. | |
4554 | ||
4555 | * sem_prag.adb (Analyze_Pragma): Remove code disabling the use of | |
4556 | non-default C++ constructors. | |
4557 | ||
4558 | * sem_util.ads, sem_util.adb (Is_CPP_Constructor_Call): New subprogram. | |
4559 | ||
4560 | * exp_tss.ads, exp_tss.adb (Base_Init_Proc): Add support for | |
4561 | non-default constructors. | |
4562 | (Init_Proc): Add support for non-default constructors. | |
4563 | ||
4564 | * exp_disp.adb (Set_Default_Constructor): Removed. | |
4565 | (Set_CPP_Constructors): Code based in removed Set_Default_Constructor | |
4566 | but extending its functionality to handle non-default constructors. | |
4567 | ||
4568 | * exp_aggr.adb (Build_Record_Aggr_Code): Add support for non-default | |
4569 | constructors. Minor code cleanup removing unrequired label and goto | |
4570 | statement. | |
4571 | ||
4572 | * exp_ch3.adb (Build_Initialization_Call): Add support for non-default | |
4573 | constructors. | |
4574 | (Build_Init_Statements): Add support for non-default constructors. | |
4575 | (Expand_N_Object_Declaration): Add support for non-default constructors. | |
4576 | (Freeze_Record_Type): Replace call to Set_Default_Constructor by call | |
4577 | to Set_CPP_Constructors. | |
4578 | ||
4579 | * exp_ch5.adb (Expand_N_Assignment_Statement): Add support for | |
4580 | non-default constructors. | |
4581 | Required to handle its use in build-in-place statements. | |
4582 | ||
4583 | * gnat_rm.texi (CPP_Constructor): Document new extended use of this | |
4584 | pragma for non-default C++ constructors and the new compiler support | |
4585 | that allows the use of these constructors in record components, limited | |
4586 | aggregates, and extended return statements. | |
4587 | ||
cfd7609b | 4588 | 2009-04-29 Vincent Celier <celier@adacore.com> |
4589 | ||
4590 | * prj-part.adb (Parse_Single_Project): Do not attempt to find a | |
4591 | project extending an abstract project. | |
4592 | ||
4593 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> | |
4594 | ||
4595 | * targparm.ads: Fix oversight. | |
4596 | ||
498ac7a5 | 4597 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
4598 | ||
4599 | * lib-xref.adb (Output_Overridden_Op): Follow several levels of | |
4600 | derivation when necessary, to find the user-subprogram that is actally | |
4601 | being overridden. | |
4602 | ||
27aaf00a | 4603 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
4604 | ||
4605 | * sem_util.adb (May_Be_Lvalue): Fix cases involving indexed/selected | |
4606 | components | |
4607 | ||
b7edc5bb | 4608 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
4609 | ||
4610 | * exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of | |
4611 | primitive operation, rather than source line of synchronized type, when | |
4612 | building the wrapper for a primitive operation that overrides an | |
4613 | operation inherited from a progenitor, to improve the error message on | |
4614 | duplicate declarations. | |
4615 | ||
4616 | * sem_ch3.adb (Process_Full_View): Use new signature of | |
4617 | Build_Wrapper_Spec. | |
4618 | ||
f1779f34 | 4619 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
4620 | ||
4621 | * prj-nmsc.ads: Minor reformatting | |
4622 | ||
4623 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> | |
4624 | ||
4625 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of the | |
4626 | expression on the existing parent If statement. | |
4627 | ||
14997bcd | 4628 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
4629 | ||
4630 | * prj-proc.adb, prj.ads: Minor reformatting | |
4631 | ||
b2316500 | 4632 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> |
4633 | ||
4634 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of an | |
4635 | existing parent If statement on the newly created one. | |
4636 | ||
a648402e | 4637 | 2009-04-29 Emmanuel Briot <briot@adacore.com> |
4638 | ||
4639 | * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, | |
4640 | prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads, | |
4641 | prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb | |
4642 | (Set_In_Configuration, In_Configuration): Removed. | |
4643 | Replaced by an extra parameter Is_Config_File in several parameter to | |
4644 | avoid global variables to store the state of the parser. | |
4645 | ||
ba0c188a | 4646 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
4647 | ||
4648 | * sinfo.ads, sinfo.adb: New attribute Next_Implicit_With, to chain | |
4649 | with_clauses generated for the same unit through rtsfind, and that | |
4650 | appear in the context of different units. | |
4651 | ||
4652 | * rtsfind.adb: New attribute First_Implicit_With, component of the | |
4653 | Unit_Record that stores information about a unit loaded through rtsfind. | |
4654 | ||
a3e6563b | 4655 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> |
4656 | ||
4657 | * exp_ch3.adb (Stream_Operation_OK): Return True for limited interfaces | |
4658 | (other conditions permitting), so that abstract stream subprograms will | |
4659 | be declared for them. | |
4660 | ||
4661 | 2009-04-29 Bob Duff <duff@adacore.com> | |
4662 | ||
4663 | * g-expect.adb (Expect_Internal): Fix check for overfull buffer. | |
4664 | ||
4665 | * g-expect.ads: Minor comment fixes. | |
4666 | ||
4667 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
4668 | ||
4669 | * freeze.adb, lib-xref.adb (Check_Dispatching_Operation): if the | |
4670 | dispatching operation is a body without previous spec, update the list | |
4671 | of primitive operations to ensure that cross-reference information is | |
4672 | up-to-date. | |
4673 | ||
4674 | 2009-04-29 Albert Lee <lee@adacore.com> | |
4675 | ||
4676 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
4677 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
4678 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads | |
4679 | (GNAT.Sockets.Thin.C_Readv, | |
4680 | GNAT.Sockets.Thin.C_Writev): Remove unused subprograms. | |
4681 | (GNAT.Sockets.Thin.C_Recvmsg, | |
4682 | GNAT.Sockets.Thin.C_Sendmsg): New bindings to call recvmsg(2) and | |
4683 | sendmsg(2). | |
4684 | (GNAT.Sockets.Receive_Vector, GNAT.Sockets.Send_Vector): Use | |
4685 | C_Recvmsg/C_Sendmsg rather than Readv/C_Writev. | |
4686 | ||
ff508364 | 4687 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
4688 | ||
4689 | * sem_disp.adb (Check_Dispatching_Operation): if the dispatching | |
4690 | operation is a body without previous spec, update the list of | |
4691 | primitive operations to ensure that cross-reference information is | |
4692 | up-to-date. | |
4693 | ||
4694 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a | |
4695 | new compilation unit node for the instance declaration, keep the | |
4696 | context items of the original unit on it, so that the context of the | |
4697 | instance body only holds the context inherited from the generic body. | |
4698 | ||
4699 | 2009-04-29 Bob Duff <duff@adacore.com> | |
4700 | ||
4701 | * sem_res.adb: Minor comment fix. | |
4702 | ||
eb3aa064 | 4703 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
4704 | ||
4705 | * sem_elim.adb: Minor reformatting | |
4706 | ||
4707 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
4708 | ||
4709 | * exp_aggr.adb (Convert_To_Positional): if the current unit is a | |
4710 | predefined unit, allow arbitrary number of components in static | |
4711 | aggregate, to ensure that the same level of constant folding applies | |
4712 | for Ada 95 and Ada 05 versions of the file. | |
4713 | ||
2db7aef0 | 4714 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
4715 | ||
4716 | * sem_elim.adb (Check_Eliminated): Handle new improved eliminate | |
4717 | information: no need for full scope check. | |
4718 | (Eliminate_Error): Do not emit error in a generic context. | |
4719 | ||
4720 | 2009-04-29 Ed Falis <falis@adacore.com> | |
4721 | ||
4722 | * adaint.c (__gnat_rmdir): return error code if VTHREADS is defined. | |
4723 | VxWorks 653 POS does not support rmdir. | |
4724 | ||
4725 | 2009-04-29 Matteo Bordin <bordin@adacore.com> | |
4726 | ||
4727 | * s-stausa.adb, s-stausa.ads: Get_Usage_Range: changing the way | |
4728 | results are printed. | |
4729 | ||
fdbbc018 | 4730 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
4731 | ||
4732 | * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove | |
4733 | unused assignment. | |
4734 | ||
4735 | 2009-04-29 Thomas Quinot <quinot@adacore.com> | |
4736 | ||
4737 | * make.adb: Minor reformatting. | |
4738 | Minor code reorganization throughout. | |
4739 | ||
4740 | 2009-04-29 Matteo Bordin <bordin@adacore.com> | |
4741 | ||
4742 | * s-stausa.ads: Changed visibility of type Task_Result: moved to | |
4743 | public part to give application visibility over it. | |
4744 | This is for future improvement and to build a public API on top of it. | |
4745 | Changed record components name of type Task_Result to reflect the new | |
4746 | way of reporting. | |
4747 | ||
4748 | * s-stausa.adb: Actual_Size_Str changed to reflect the new way of | |
4749 | reporting Stack usage. | |
4750 | ||
4751 | * gnat_ugn.texi: Update doc of stack usage report. | |
4752 | ||
4753 | * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files. | |
4754 | ||
4755 | * Makefile.rtl: Add new run-time files. | |
4756 | ||
7a6f27cf | 4757 | 2009-04-29 Pascal Obry <obry@adacore.com> |
4758 | ||
4759 | * initialize.c: Do not expand quoted arguments. | |
4760 | ||
01c4bd87 | 4761 | 2009-04-29 Emmanuel Briot <briot@adacore.com> |
4762 | ||
4763 | * prj-ext.adb, prj.adb, prj.ads: Fix memory leaks. | |
4764 | ||
4765 | * clean.adb (Ultimate_Extension_Of): removed, since duplicate of | |
4766 | Prj.Ultimate_Extending_Project_Of | |
4767 | ||
38d994f8 | 4768 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
4769 | ||
4770 | * exp_ch7.adb (Build_Final_List): If the designated type is a Taft | |
4771 | Amendment type, add the with_clause for Finalization.List_Controller | |
4772 | only if the current context is a package body. | |
4773 | ||
27dba757 | 4774 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
4775 | ||
4776 | * sem_ch12.adb: Minor reformatting | |
4777 | ||
4778 | * sem_aggr.adb: Minor reformatting | |
4779 | ||
4780 | * sem_ch6.adb, sem_cat.ads: Minor reformatting | |
4781 | ||
4782 | * sem_ch10.adb, gnat1drv.adb, prj-nmsc.adb: Minor reformatting | |
4783 | ||
4784 | 2009-04-29 Quentin Ochem <ochem@adacore.com> | |
4785 | ||
4786 | * prj.ads (Source_Id): Now general pointer type. | |
4787 | ||
302168e4 | 4788 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
4789 | ||
4790 | * exp_ch7.adb, rtsfind.adb: Minor reformatting | |
4791 | ||
4792 | * sem_res.adb: Minor reformatting | |
4793 | ||
59aea351 | 4794 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
4795 | ||
4796 | * sem_res.adb (Static_Concatenation): An N_Op_Concat with static | |
4797 | operands is static only if it is a predefined concatenation operator. | |
4798 | ||
4799 | * sem_util.adb: Minor reformatting | |
4800 | ||
4801 | * sem_ch12.adb (Save_References): When propagating semantic information | |
4802 | from generic copy back to generic template, for the case of an | |
4803 | identifier that has been rewritten to an explicit dereference whose | |
4804 | prefix is either an object name or a parameterless funcion call | |
4805 | denoting a global object or function, properly capture the denoted | |
4806 | global entity: perform the corresponding rewriting in the template, | |
4807 | and point the rewritten identifier to the correct global entity (not | |
4808 | to the associated identifier in the generic copy). | |
4809 | ||
4920b602 | 4810 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
4811 | ||
4812 | * rtsfind.adb, prj-env.adb: Minor reformatting | |
4813 | Minor code reorganization | |
4814 | ||
4815 | 2009-04-29 Emmanuel Briot <briot@adacore.com> | |
4816 | ||
4817 | * make.adb: Fix comment | |
4818 | ||
4819 | * prj.adb (Ultimate_Extending_Project_Of): Fix handling when no project | |
4820 | is given as argument, as might happen in gnatmake. | |
4821 | ||
555a2014 | 4822 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
4823 | ||
4824 | * sem_ch3.adb (Check_Abstract_Overriding): Improve error message when | |
4825 | an abstract operation of a progenitor is not properly overridden by an | |
4826 | operation of a derived synchronized type. | |
4827 | ||
b34e6dd3 | 4828 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
4829 | ||
4830 | * mlib-prj.adb, mlib-tgt.adb, mlib-tgt.ads, prj-nmsc.adb, | |
4831 | prj-proc.adb: Minor reformatting | |
4832 | Minor code reorganization | |
4833 | ||
796a7488 | 4834 | 2009-04-29 Bob Duff <duff@adacore.com> |
4835 | ||
4836 | * exp_ch7.adb (Build_Final_List): For an access type that designates a | |
4837 | Taft Amendment type, if the access type needs finalization, make sure | |
4838 | the implicit with clause for List_Controller occurs on the package spec. | |
4839 | ||
4840 | * rtsfind.adb (Text_IO_Kludge): Fine tune the creation of implicit | |
4841 | with's created for the pseudo-children of Text_IO and friends. In | |
4842 | particular, avoid cycles, such as Ada.Wide_Text_IO.Integer_IO and | |
4843 | Ada.Text_IO.Integer_IO both with-ing each other. | |
4844 | ||
4845 | * sem.adb (Walk_Library_Items): Suppress assertion failure in certain | |
4846 | oddball cases when pragma Extend_System is used. | |
4847 | ||
4848 | * sem_ch12.adb (Get_Associated_Node): Prevent direct 'with' cycles in | |
4849 | the case where a package spec instantiates a generic whose body with's | |
4850 | this package, so Walk_Library_Items won't complain about cyclic with's. | |
4851 | ||
4852 | 2009-04-29 Emmanuel Briot <briot@adacore.com> | |
4853 | ||
4854 | * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, | |
4855 | prj-pp.adb, prj-pp.ads, makeutl.adb, clean.adb, prj-nmsc.adb, | |
4856 | mlib-tgt.adb, mlib-tgt.ads, prj-util.adb, prj-env.adb, prj-env.ads | |
4857 | (Project_Id): now a real pointer to Project_Data, instead of an index | |
4858 | into the Projects_Table. This simplifies the API significantly, avoiding | |
4859 | extra lookups in this table and the need to pass the Project_Tree_Ref | |
4860 | parameter in several cases | |
4861 | ||
2f0ffe6d | 4862 | 2009-04-29 Nicolas Setton <setton@adacore.com> |
4863 | ||
4864 | * gcc-interface/Makefile.in: Produce .dSYM files for shared libs on | |
4865 | darwin. | |
4866 | ||
62e71c36 | 4867 | 2009-04-25 Eric Botcazou <ebotcazou@adacore.com> |
4868 | ||
4869 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Put | |
4870 | back kludge. | |
4871 | ||
80709dc4 | 4872 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
4873 | ||
4874 | * mlib-prj.adb, prj-env.adb, prj-nmsc.adb, prj-proc.adb, make.adb, | |
4875 | clean.adb: Minor reformatting. | |
4876 | Minor code reorganization and message improvement. | |
4877 | ||
9844bcb4 | 4878 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
4879 | ||
4880 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-nmsc.ads | |
4881 | (Alternate_Languages): now implemented as a malloc-ed list rather | |
4882 | than through a table. | |
4883 | ||
eef002be | 4884 | 2009-04-24 Thomas Quinot <quinot@adacore.com> |
4885 | ||
4886 | * sem_res.adb (Static_Concatenation): Simplify predicate to make it | |
4887 | accurately handle cases such as "lit" & "lit" and | |
4888 | "lit" & static_string_constant | |
4889 | ||
448545d4 | 4890 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
4891 | ||
4892 | * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, | |
4893 | prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element): | |
4894 | removed. Lists of projects are now implemented via standard malloc | |
4895 | rather than through the table. | |
4896 | ||
4897 | 2009-04-24 Thomas Quinot <quinot@adacore.com> | |
4898 | ||
4899 | * sem_ch12.adb: Minor reformatting | |
4900 | ||
4901 | * g-trasym.adb: Minor reformatting | |
4902 | ||
4903 | * exp_ch6.adb: Minor reformatting | |
4904 | ||
4905 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
4906 | ||
4907 | * layout.adb (Layout_Type): For packed array type, copy unset | |
4908 | size/alignment fields from the referenced Packed_Array_Type. | |
4909 | ||
4910 | 2009-04-24 Bob Duff <duff@adacore.com> | |
4911 | ||
4912 | * lib-load.adb (Make_Instance_Unit): Revert previous change, no | |
4913 | longer needed after sem_ch12 changes. | |
4914 | ||
4915 | * sem.adb (Walk_Library_Items): Include with's in some debugging | |
4916 | printouts. | |
4917 | ||
6b4b4dec | 4918 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
4919 | ||
4920 | * prj.ads, prj-nmsc.adb (Unit_Project): removed, since in fact we were | |
4921 | only ever using the Project field. | |
4922 | ||
4923 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> | |
4924 | ||
4925 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Do not set | |
4926 | Body_Required on the generated compilation node. The new node is linked | |
4927 | to its body, but both share the same file, so we do not set this flag | |
4928 | on the new unit so as not to create a spurious dependency on a | |
4929 | non-existent body in the ali file for the instance. | |
4930 | ||
4931 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
4932 | ||
4933 | * make.adb: Minor reformatting | |
4934 | ||
8cd3c004 | 4935 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
4936 | ||
4937 | * prj.adb, prj.ads, prj-nmsc.adb (Check_File, Record_Ada_Source, | |
4938 | Add_Source): merge some code between those. In particular change where | |
4939 | file normalization is done to avoid a few extra calls to | |
4940 | Canonicalize_File_Name. This also removes the need for passing | |
4941 | Current_Dir in a number of subprograms. | |
4942 | ||
4943 | 2009-04-24 Bob Duff <duff@adacore.com> | |
4944 | ||
4945 | * lib-load.adb (Make_Instance_Unit): In the case where In_Main is | |
4946 | False, assign the correct unit to the Cunit field of the new table | |
4947 | entry. We want the spec unit, not the body unit. | |
4948 | ||
4949 | * rtsfind.adb (Make_Unit_Name, Maybe_Add_With): Simplify calling | |
4950 | interface for these. | |
4951 | (Maybe_Add_With): Check whether we're trying to a with on the current | |
4952 | unit, and avoid creating such directly self-referential with clauses. | |
4953 | (Text_IO_Kludge): Add implicit with's for the generic pseudo-children of | |
4954 | [[Wide_]Wide_]Text_IO. These are needed for Walk_Library_Items, | |
4955 | and matches existing comments in the spec. | |
4956 | ||
4957 | * sem.adb (Walk_Library_Items): Add various special cases to make the | |
4958 | assertions pass. | |
4959 | ||
4960 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Use Body_Cunit | |
4961 | instead of Parent (N), for uniformity. | |
4962 | ||
1e333378 | 4963 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
4964 | ||
4965 | * errout.ads: Minor reformatting | |
4966 | ||
4967 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
4968 | ||
4969 | * gnat_ugn.texi (Library Projects): add documentation on gnatmake's | |
4970 | behavior when the project includes sources from multiple languages | |
4971 | ||
4972 | 2009-04-24 Vincent Celier <celier@adacore.com> | |
4973 | ||
4974 | * prj.adb (Has_Foreign_Sources): Returns True in Ada_Only mode if there | |
4975 | is a language other than Ada declared. | |
4976 | ||
4977 | * makeutl.adb (Linker_Options_Switches): Call For_All_Projects with | |
4978 | Imported_First set to True. | |
4979 | ||
3fe9911c | 4980 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
4981 | ||
4982 | * sem_res.adb: additional optimization to inhibit creation of | |
4983 | redundant transient scopes. | |
4984 | ||
4985 | 2009-04-24 Bob Duff <duff@adacore.com> | |
4986 | ||
4987 | * rtsfind.ads: Minor comment fix | |
4988 | ||
4989 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
4990 | ||
4991 | * prj-proc.adb, prj-nmsc.adb (Find_Ada_Sources, | |
4992 | Get_Path_Name_And_Record_Ada_Sources): merged, since these were | |
4993 | basically doing the same work (for explicit or implicit sources). | |
4994 | (Find_Explicit_Sources): renamed to Find_Sources to better reflect its | |
4995 | role. Rewritten to share some code (testing that all explicit sources | |
4996 | have been found) between ada_only and multi_language modes. | |
4997 | ||
4998 | 2009-04-24 Jerome Lambourg <lambourg@adacore.com> | |
4999 | ||
5000 | * sem_prag.adb (Check_Form_Of_Interface_Name): Allow space in Ext_Name | |
5001 | for CLI imported types. | |
5002 | (Analyze_Pragma): Allow CIL or Java imported functions returning | |
5003 | access-to-subprogram types. | |
5004 | ||
38a9dcbd | 5005 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5006 | ||
5007 | * make.adb, prj.adb, prj.ads, makeutl.adb, makeutl.ads: | |
5008 | (Project_Data.Dir_Path): field removed, since it can be computed | |
5009 | directly from .Directory, and is needed only once when processing the | |
5010 | project is buildgpr.adb or make.adb | |
5011 | ||
b1640fcf | 5012 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
5013 | ||
5014 | * prj-env.adb, prj-proc.adb, prj.adb, prj.ads, | |
5015 | rtsfind.adb: Minor reformatting. | |
5016 | Minor code reorganization | |
5017 | ||
c1cf60b8 | 5018 | 2009-04-24 Arnaud Charlet <charlet@adacore.com> |
5019 | ||
5020 | * mlib-prj.adb: Use friendlier english identifier. | |
5021 | ||
5022 | * gnatcmd.adb, make.adb: Use better english identifiers. | |
5023 | ||
5024 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
5025 | ||
5026 | * clean.adb: Minor reformatting | |
5027 | ||
148b2476 | 5028 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
5029 | ||
5030 | * einfo.adb (OK_To_Rename): New flag | |
5031 | ||
5032 | * einfo.ads (OK_To_Rename): New flag | |
5033 | ||
5034 | * exp_ch3.adb (Expand_N_Object_Declaration): Rewrite as renames if | |
5035 | OK_To_Rename set. | |
5036 | ||
5037 | * exp_ch4.adb (Expand_Concatenate): Mark temp variable OK_To_Rename | |
5038 | ||
5039 | * sem_ch7.adb (Uninstall_Declarations): Allow for renames from | |
5040 | OK_To_Rename. | |
5041 | ||
95df50e1 | 5042 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5043 | ||
5044 | * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb, | |
5045 | clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen): | |
5046 | field removed. This is not a property of the | |
5047 | project, just a boolean used to traverse the project tree, and storing | |
5048 | it in the structure prevents doing multiple traversal in parallel. | |
5049 | (Project_Data.Checked): also removed, since it was playing the same role | |
5050 | as Seen when we had two nested loops, and this is no longer necessary | |
5051 | (For_All_Imported_Projects): removed, since in fact there was already | |
5052 | the equivalent in For_Every_Project_Imported. The latter was rewritten | |
5053 | to use a local hash table instead of Project_Data.Seen | |
5054 | Various loops were rewritten to use For_Every_Project_Imported, thus | |
5055 | removing the need for Project_Data.Seen. This avoids a lot of code | |
5056 | duplication | |
5057 | ||
b9a4f824 | 5058 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
5059 | ||
5060 | * sem_res.adb (Resolve_Actuals): Do not create blocks around code | |
5061 | statements, even though the actual of the call is a concatenation, | |
5062 | because the argument is static, and we want to preserve warning | |
5063 | messages about sequences of code statements that are not marked | |
5064 | volatile. | |
5065 | ||
5066 | * sem_warn.adb: remove obsolete comment about warning being obsolete | |
5067 | ||
5068 | * s-tasren.adb (Task_Do_Or_Queue): If a timed entry call is being | |
5069 | requeued and the delay has expired while within the accept statement | |
5070 | that executes the requeue, do not perform the requeue and indicate that | |
5071 | the timed call has been aborted. | |
5072 | ||
5073 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
5074 | ||
5075 | * mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
5076 | (Has_Ada_Sources, Has_Foreign_Sources): new subprograms | |
5077 | (Project_Data.Ada_Sources_Present, Foreign_Sources_Present): removed, | |
5078 | since they can be computed from the above. | |
5079 | ||
750fc075 | 5080 | 2009-04-24 Vincent Celier <celier@adacore.com> |
5081 | ||
5082 | * gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree | |
5083 | ||
5084 | * prj-env.adb: Move all global variables to the private part of the | |
5085 | project tree data. | |
5086 | Access these new components instead of the global variables no longer | |
5087 | in existence. | |
5088 | (Add_To_Path): New Project_Tree_Ref parameter, to access the new | |
5089 | components that were previously global variables. | |
5090 | ||
5091 | * prj-env.ads (Initialize): New Project_Tree_Ref parameter | |
5092 | (Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref | |
5093 | parameter. | |
5094 | ||
5095 | * prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to | |
5096 | be able to call Set_Mapping_File_Initial_State_To_Empty with it. | |
5097 | ||
5098 | * prj.adb (Initialize): Do not call Prj.Env.Initialize | |
5099 | (Reset): Do not call Prj.Env.Initialize. Instead, initialize the new | |
5100 | components in the private part of the project tree data. | |
5101 | ||
5102 | * prj.ads (Private_Project_Tree_Data): new components moved from | |
5103 | Prj.Env: Current_Source_Path_File, Current_Object_Path_File, | |
5104 | Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set, | |
5105 | Ada_Prj_Objects_File_Set, Fill_Mapping_File. | |
5106 | ||
f812e64f | 5107 | 2009-04-24 Vincent Celier <celier@adacore.com> |
5108 | ||
5109 | * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag. | |
5110 | ||
5111 | * prj-nmsc.adb (Check_Library): No error for imports by shared library | |
5112 | projects, when --unchecked-shared-lib-imports is used. | |
5113 | ||
5114 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
5115 | ||
5116 | * sem_ch7.adb: Minor reformatting | |
5117 | ||
eea687b4 | 5118 | 2009-04-24 Tristan Gingold <gingold@adacore.com> |
5119 | ||
5120 | * s-osinte-darwin.adb, s-osinte-darwin.ads: lwp_self now returns the | |
5121 | mach thread id. | |
5122 | ||
5123 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
5124 | ||
5125 | * prj-env.adb, prj-env.ads (Body_Path_Name_Of, Spec_Path_Name_Of, | |
5126 | Path_Name_Of_Library_Unit_Body): rEmove unused subprograms. | |
5127 | (For_All_Imported_Projects): new procedure | |
5128 | (For_All_Source_Dirs, For_All_Object_Dirs): Rewritten based on the | |
5129 | above rather than duplicating code. | |
5130 | ||
77816804 | 5131 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5132 | ||
5133 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
5134 | (Source_Id, Source_Data): use a real list to store sources rather than | |
5135 | using an external table to store the elements. This makes code more | |
5136 | efficient and more readable. | |
5137 | ||
18488169 | 5138 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5139 | ||
5140 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
5141 | (Source_Iterator): new type. | |
3d3b9d5b | 5142 | This removes the need for having the sources on three different |
5143 | lists at the project tree, project and language level. They are now | |
5144 | on a single list. | |
18488169 | 5145 | |
30179878 | 5146 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5147 | ||
5148 | * gnatcmd.adb, prj.adb, prj.ads: Remove unused entities | |
5149 | ||
c4f25730 | 5150 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
5151 | ||
5152 | * sem_warn.adb: Add comment on obsolete warning | |
5153 | ||
589315f6 | 5154 | 2009-04-24 Arnaud Charlet <charlet@adacore.com> |
5155 | ||
5156 | * s-tassta.adb (Create_Task): Fix violation of locking rule. | |
5157 | ||
27ba26e8 | 5158 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5159 | ||
5160 | * prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb (Language_Index): renamed | |
5161 | to Language_Ptr to better reflect its new implementation. | |
5162 | (Project_Data.First_Languages_Processing): renamed to Languages now | |
5163 | that the field with that name is no longer used | |
5164 | (Project_Data.Languages): removed, no longer used, and duplicates | |
5165 | information already available through First_Language_Processing. | |
5166 | (Prj.Language_Index): now an actual pointer, instead of an index into | |
5167 | a table. This makes the list somewhat more obvious, but more importantly | |
5168 | removes the need to pass a pointer to the project_tree_data in a few | |
5169 | places, and makes accessing the attributes of a languages more | |
5170 | efficient. | |
5171 | ||
b9837360 | 5172 | 2009-04-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3d3b9d5b | 5173 | Thomas Quinot <quinot@adacore.com> |
b9837360 | 5174 | |
5175 | * fe.h (Set_Identifier_Casing): Add const to second parameter. | |
bb4d85a3 | 5176 | * gcc-interface/misc.c (internal_error_function): Make copy of return |
b9837360 | 5177 | from pp_formatted_text before assigning BUFFER to it. |
5178 | (gnat_init): Likewise for main_input_filename and gnat_argv. | |
5179 | (gnat_printable_name): Remove cast from call to Set_Identifier_Casing. | |
5180 | ||
d4b7e0f5 | 5181 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
5182 | ||
5183 | * ttypes.ads (Target_Double_Float_Alignment): New variable. | |
5184 | (Target_Double_Scalar_Alignment): Likewise. | |
5185 | * get_targ.ads (Get_Strict_Alignment): Adjust external name. | |
5186 | (Get_Double_Float_Alignment): New imported function. | |
5187 | (Get_Double_Scalar_Alignment): Likewise. | |
5188 | * layout.adb (Set_Elem_Alignment): Take into account specific caps for | |
5189 | the alignment of "double" floating-point types and "double" or larger | |
5190 | scalar types, as parameterized by Target_Double_Float_Alignment and | |
5191 | Target_Double_Scalar_Alignment respectively. | |
5192 | * gcc-interface/gigi.h (double_float_alignment): Declare. | |
5193 | (double_scalar_alignment): Likewise. | |
5194 | (is_double_float_or_array): Likewise. | |
5195 | (is_double_scalar_or_array): Likewise. | |
5196 | (get_target_double_float_alignment): Likewise. | |
5197 | (get_target_double_scalar_alignment): Likewise. | |
5198 | * gcc-interface/targtyps.c (get_strict_alignment): Rename into... | |
5199 | (get_target_strict_alignment): ...this. | |
5200 | (get_target_double_float_alignment): New function. | |
5201 | (get_target_double_scalar_alignment): Likewise. | |
5202 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
5203 | Test the presence of an alignment clause for under-aligned integer | |
5204 | types. Take into account specific caps for the alignment of "double" | |
5205 | floating-point types and "double" or larger scalar types, as | |
5206 | parameterized by Target_Double_Float_Alignment and | |
5207 | Target_Double_Scalar_Alignment respectively. | |
5208 | (validate_alignment): Likewise. | |
5209 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Alignment>: Likewise. | |
5210 | (gigi): Initialize double_float_alignment and double_scalar_alignment. | |
5211 | * gcc-interface/utils.c (double_float_alignment): New global variable. | |
5212 | (double_scalar_alignment): Likewise. | |
5213 | (is_double_float_or_array): New predicate. | |
5214 | (is_double_scalar_or_array): Likewise. | |
5215 | ||
7bade17d | 5216 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
5217 | ||
5218 | * gcc-interface/utils2.c (build_cond_expr): Move SAVE_EXPR ahead of | |
5219 | the conditional expression only if it is common to both arms. | |
5220 | ||
86f19fde | 5221 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
5222 | ||
5223 | * gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment. | |
5224 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct | |
5225 | arguments to build_allocator. | |
5226 | * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment. | |
5227 | Remove code handling special allocator and assert its uselessness. | |
5228 | ||
77129ada | 5229 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
5230 | ||
5231 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If an | |
5232 | alignment is specified, do not promote that of the component type | |
5233 | beyond it. | |
5234 | <E_Array_Subtype>: Likewise. | |
5235 | ||
7fd3f504 | 5236 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
5237 | ||
5238 | * einfo.ads (Is_True_Constant): Lift restriction on atomic objects. | |
5239 | * sinfo.ads (Object Declaration): Likewise. | |
5240 | (Assignment Statement): Likewise. | |
5241 | * freeze.adb (Expand_Atomic_Aggregate): Remove useless test. | |
5242 | Do not force Is_True_Constant to false on the temporary. | |
5243 | (Freeze_Entity): Do not force Is_True_Constant to false on names on | |
5244 | the RHS of object declarations. | |
5245 | * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>: | |
5246 | New case. Return 1 if the object is atomic. | |
5247 | <N_Assignment_Statement>: Likewise. | |
5248 | ||
690b2030 | 5249 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
5250 | ||
5251 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype> | |
5252 | For packed array types, make the original array type a parallel type | |
5253 | for the modular type and its JM wrapper if the type is bit-packed. | |
5254 | <E_Array_Subtype>: Likewise. Do not generate the special XA parallel | |
5255 | record type for packed array types. Remove kludge. | |
5256 | ||
211df513 | 5257 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
5258 | ||
5259 | * gcc-interface/gigi.h (create_index_type): Adjust head comment. | |
5260 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
5261 | Use front-end predicates to compute signedness and precision. | |
5262 | <E_String_Literal_Subtype>: Fold range type. | |
5263 | Make sure to set longest_float_type_node to a scalar type. | |
5264 | (elaborate_entity): Use consistent Constraint_Error spelling. | |
5265 | (substitute_in_type) <INTEGER_TYPE>: Always copy the type. | |
5266 | * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief | |
5267 | output for the modulus, if any. | |
5268 | <ENUMERAL_TYPE>: Likewise for the RM size. | |
5269 | * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error | |
5270 | spelling. | |
5271 | * gcc-interface/utils.c (finish_record_type): Really test the alignment | |
5272 | of BLKmode bit-fields to compute their addressability. | |
5273 | (create_index_type): Adjust comments. | |
5274 | (create_param_decl): Create the biased subtype manually. | |
5275 | * gcc-interface/utils2.c (build_component_ref): Use consistent | |
5276 | Constraint_Error spelling. | |
5277 | ||
a9a42d49 | 5278 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
5279 | ||
5280 | * gcc-interface/cuintp.c: Clean up include directives. | |
5281 | * gcc-interface/targtyps.c: Likewise. | |
5282 | * gcc-interface/decl.c: Likewise. | |
5283 | * gcc-interface/misc.c: Likewise. | |
5284 | * gcc-interface/trans.c: Likewise. | |
5285 | * gcc-interface/utils.c: Likewise. | |
5286 | * gcc-interface/utils2.c: Likewise. | |
5287 | * gcc-interface/Make-lang.in: Adjust dependencies accordingly. | |
5288 | ||
0fbac54a | 5289 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
5290 | ||
5291 | * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom. | |
5292 | (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting. | |
5293 | (SET_DECL_LANG_SPECIFIC): Likewise. | |
5294 | Reorder macros. | |
5295 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
5296 | Update comment about use of build_range_type. | |
5297 | <E_Array_Type, E_Array_Subtype>: Use consistent naming convention. | |
5298 | <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add | |
5299 | check for other cases of overloading. | |
5300 | * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst. | |
5301 | * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error. | |
5302 | Use size_int in lieu of build_int_cst. | |
5303 | (build_call_alloc_dealloc): Use build_index_2_type in lieu of | |
5304 | build_range_type. | |
5305 | ||
eac26e81 | 5306 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
5307 | ||
5308 | * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's | |
5309 | type is an enumeral or a boolean type, change it to an integer type | |
5310 | with the same mode and signedness. | |
5311 | ||
477305bf | 5312 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
5313 | ||
5314 | * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info | |
5315 | for an external constant whose initializer is not absolute. | |
5316 | ||
5317 | 2009-04-22 Taras Glek <tglek@mozilla.com> | |
fb1e4f4a | 5318 | |
5319 | * gcc-interface/ada-tree.h: Update GTY annotations to new syntax. | |
5320 | * gcc-interface/trans.c: Likewise. | |
5321 | * gcc-interface/utils.c: Likewise. | |
5322 | ||
e02f5860 | 5323 | 2009-04-22 Ed Schonberg <schonberg@adacore.com> |
5324 | ||
5325 | * sem_res.adb: Create block around procedure call when actual is a | |
5326 | concatenation. | |
5327 | ||
5328 | 2009-04-22 Thomas Quinot <quinot@adacore.com> | |
5329 | ||
5330 | * s-soflin.ads: Fix typos | |
5331 | ||
5332 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
5333 | ||
5334 | * prj-env.adb: Minor comment change | |
5335 | ||
5336 | * prj-nmsc.adb (Check_Common): Add guard to avoid calling | |
5337 | Get_Name_String with No_File. | |
5338 | ||
5339 | * tempdir.adb (Create_Temp_File): Output diagnostic when temp file | |
5340 | cannot be created even when not in verbose mode. | |
5341 | ||
54f03953 | 5342 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
5343 | ||
5344 | * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb, | |
5345 | prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and | |
5346 | Multi_Language modes, to avoid code duplication. | |
5347 | (Project_Data.Include_Language): Removed. | |
5348 | ||
20fe2725 | 5349 | 2009-04-22 Vincent Celier <celier@adacore.com> |
5350 | ||
5351 | * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when | |
5352 | the temporary file cannot be created, indicating the directory when the | |
5353 | creation was attempted. | |
5354 | ||
5355 | 2009-04-22 Emmanuel Briot <briot@adacore.com> | |
5356 | ||
5357 | * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare | |
5358 | the language names, not their indices. | |
5359 | ||
1e1f0b4a | 5360 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
5361 | ||
5362 | * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads | |
5363 | (Source_Data.Language_Name): Field removed. | |
5364 | ||
af56ebaf | 5365 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
5366 | ||
5367 | * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*): | |
5368 | Two fields removed. | |
5369 | ||
661d57fa | 5370 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
5371 | ||
5372 | * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the | |
5373 | separate_suffix to the same value as the body_suffix. | |
5374 | ||
d4a4c26e | 5375 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
5376 | ||
5377 | * prj.adb: Minor code reorganization | |
5378 | Code clean up. | |
5379 | ||
5380 | * prj-proc.adb: Minor code reorganization, clean up. | |
5381 | ||
5382 | * prj-nmsc.adb: Minor reformatting | |
5383 | Minor code reorganization | |
5384 | ||
5385 | * gnat_ugn.texi: Add to doc on strict aliasing | |
5386 | ||
5387 | 2009-04-22 Pascal Obry <obry@adacore.com> | |
5388 | ||
5389 | * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to | |
5390 | SpinCount. | |
5391 | ||
5392 | * s-tasini.adb: Minor reformatting. | |
5393 | ||
5394 | * s-tassta.adb: Minor reformatting. | |
5395 | ||
4b0e718c | 5396 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
5397 | ||
5398 | * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several | |
5399 | smaller subprograms. | |
5400 | Renamed to Check_File_Naming_Schemes to avoid confusion with the | |
5401 | other Check_Naming_Schemes functions that plays a totally different | |
5402 | role. | |
5403 | (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms, | |
5404 | extracted from the above. These were partially rewritten to avoid | |
5405 | unnecessary code and temporary variables. | |
5406 | (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang | |
5407 | and Get_Unit (which for now still exist since they contain mode-specific | |
5408 | code) | |
5409 | ||
5c39d0b2 | 5410 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
5411 | ||
5412 | * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process): | |
5413 | Remove duplicated code. | |
5414 | (Canonical_Case_File_Name): new subprogram | |
5415 | (Check_And_Normalize_Unit_Names): new subprogram | |
5416 | (Write_Attr): new subprogram | |
5417 | Better sharing of code | |
5418 | (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to | |
5419 | split Check_Naming and help find duplicated code | |
5420 | (Check_Common): new subprogram, sharing code between ada_only and | |
5421 | multi_language mode. | |
5422 | (Naming_Data.Dot_Repl_Loc): field removed | |
5423 | ||
a3fd2a2b | 5424 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
5425 | ||
5426 | * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram. | |
5427 | Minor refactoring to reduce the size of | |
5428 | Process_Sources_In_Multi_Language_Mode. | |
5429 | Avoid extra copied of Source_Data, which we found in the past could be | |
5430 | quite slow. | |
5431 | (Mark_Excluded_Sources): new subprogram. | |
5432 | (Remove_Locally_Removed_Files_From_Units): merged into the above | |
5433 | Refactors Process_Sources_In_Multi_Language_Mode to reduce its size, | |
5434 | and allow better sharing of code between multi_lang and ada_only modes | |
5435 | (Project_Extends): removed, since exact duplicate of Prj.Is_Extending | |
5436 | ||
c450f6d1 | 5437 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
5438 | ||
5439 | * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By): | |
5440 | Removed, since unused. | |
5441 | ||
2f80f1db | 5442 | 2009-04-22 Vincent Celier <celier@adacore.com> |
5443 | ||
5444 | * prj-attr.adb: New single project level attribute | |
5445 | Separate_Run_Path_Options. | |
5446 | ||
5447 | * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process | |
5448 | attribute Seperate_Run_Path_Options. | |
5449 | ||
5450 | * prj.ads: (Project_Configuration): New Boolean component | |
5451 | Separate_Run_Path_Options, defaulted to False. | |
5452 | ||
5453 | * snames.ads-tmpl: New standard name Seperate_Run_Path_Options | |
5454 | ||
4437ef75 | 5455 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
5456 | ||
2f80f1db | 5457 | * sem_type.adb: Minor reformatting |
5458 | ||
4437ef75 | 5459 | * mlib.adb: Minor reformatting |
5460 | ||
5461 | * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from | |
5462 | syntax error. | |
5463 | ||
5e0f2e2f | 5464 | 2009-04-22 Nicolas Setton <setton@adacore.com> |
5465 | ||
5466 | * link.c: Add flag __gnat_separate_run_path_options. | |
5467 | ||
5468 | * mlib.adb (Separate_Run_Path_Options): New subprogram. | |
5469 | ||
5470 | * mlib.ads (Separate_Run_Path_Options): Declare. | |
5471 | ||
5472 | * gnatcmd.adb (Process_Link): Add support for emitting one "rpath" | |
5473 | switch per directory, rather than one "rpath" switch listing all | |
5474 | directories. | |
5475 | ||
5476 | * gnatlink.adb (Process_Binder_File): Likewise. | |
5477 | ||
5478 | * make.adb (Gnatmake): Likewise. | |
5479 | ||
035e891d | 5480 | 2009-04-22 Hristian Kirtchev <kirtchev@adacore.com> |
5481 | ||
5482 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup. | |
5483 | Add a call to Move_Final_List when the target of the assignment is a | |
5484 | return object that needs finalization and the expression is a | |
5485 | controlled build-in-place function. | |
5486 | ||
5487 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
5488 | ||
5489 | * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with | |
5490 | Including_Libraries set to True. | |
5491 | ||
db317bdb | 5492 | 2009-04-22 Ed Schonberg <schonberg@adacore.com> |
5493 | ||
5494 | * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to | |
5495 | create a unit table entry for the subprogram declaration created for a | |
5496 | child suprogram body that has no separate specification. | |
5497 | ||
5498 | * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a | |
5499 | subprogram body, call Make_Child_Decl_Unit. | |
5500 | ||
5501 | * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the | |
5502 | table can only be the created specification of a child subprogram body | |
5503 | that is the main unit, which has not been entered in the table yet. | |
5504 | ||
5505 | * errout.adb (Output_Messages): Ignore created specification of a | |
5506 | child subprogram body to prevent repeated listing of error messages. | |
5507 | ||
5508 | * gnat1drv.adb (gnat1drv): The generated specification for a child | |
5509 | subprogram body does not generate code. | |
5510 | ||
1c3efe5c | 5511 | 2009-04-22 Arnaud Charlet <charlet@adacore.com> |
5512 | ||
5513 | * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax, | |
5514 | since this unit is now part of bootstrap units, so must use Ada 95 | |
5515 | syntax only. | |
5516 | ||
5517 | 2009-04-22 Thomas Quinot <quinot@adacore.com> | |
5518 | ||
5519 | * a-tasatt.adb: Minor reformatting | |
5520 | ||
5521 | 2009-04-22 Bob Duff <duff@adacore.com> | |
5522 | ||
5523 | * s-stalib.ads: Remove "with System;" since we're inside System, so | |
5524 | it's unnecessary. | |
5525 | ||
5526 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
5527 | ||
5528 | * prj-nmsc.adb (Add_Source): Always put the dependency file name in | |
5529 | the source record, as there may be a dependency file even if no object | |
5530 | file is created. | |
5531 | ||
46f74433 | 5532 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
5533 | ||
1c3efe5c | 5534 | * lib-load.adb: Minor reformatting |
46f74433 | 5535 | |
5536 | * lib-load.ads: Minor reformatting | |
5537 | ||
5538 | * sinfo.ads: Minor reformatting | |
5539 | ||
71c11f4a | 5540 | 2009-04-22 Bob Duff <duff@adacore.com> |
5541 | ||
5542 | * exp_pakd.adb: Minor comment fixes. | |
5543 | ||
5544 | * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb | |
5545 | sem_ch12.adb: Change the meaning of the Library_Unit attribute to | |
5546 | include units containing instantiations, as well as units that are | |
5547 | generic instantiations. | |
5548 | ||
5549 | * sem.adb: Include dependents and corresponding specs/bodies in the | |
5550 | unit walk. | |
5551 | ||
5552 | * gcc-interface/Make-lang.in: | |
5553 | sem now depends on s-bitops, because of the packed array of Booleans. | |
5554 | ||
4880a940 | 5555 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
5556 | ||
5557 | * gcc-interface/ada-tree.def: Fix formatting nits. | |
5558 | (REGION_STMT): Delete. | |
5559 | (HANDLER_STMT): Likewise. | |
5560 | * gcc-interface/ada-tree.h: Fix formatting nits. | |
5561 | (IS_STMT): Delete. | |
5562 | (REGION_STMT_BODY): Likewise. | |
5563 | (REGION_STMT_HANDLE): Likewise. | |
5564 | (REGION_STMT_BLOCK): Likewise. | |
5565 | (HANDLER_STMT_ARG): Likewise. | |
5566 | (HANDLER_STMT_LIST): Likewise. | |
5567 | (HANDLER_STMT_BLOCK): Likewise. | |
5568 | * gcc-interface/gigi.h (fp_prec_to_size): Update comment. | |
5569 | (fp_size_to_prec): Likewise. | |
5570 | (largest_move_alignment): Delete. | |
5571 | (gnat_compute_largest_alignment): Likewise. | |
5572 | Fix minor nits. | |
5573 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
5574 | Remove redundant code. | |
5575 | <E_Array_Type>: Remove redundant assert. | |
5576 | <E_Array_Subtype>: Exit early from index computation in pathological | |
5577 | cases. | |
5578 | Rewrite conditional assignment. | |
5579 | (make_type_from_size): Likewise. | |
5580 | * gcc-interface/misc.c (largest_move_alignment): Delete. | |
5581 | (gnat_finish_incomplete_decl): Likewise. | |
5582 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise. | |
5583 | (asm_out_file): Likewise | |
5584 | (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case. | |
5585 | (gnat_dwarf_name): Move around. | |
5586 | * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits. | |
5587 | (gigi): Remove call to gnat_compute_largest_alignment. | |
5588 | * utils.c (create_field_decl): Rewrite conditional assignment. | |
5589 | Fix minor nits. | |
5590 | ||
a002cb99 | 5591 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
5592 | ||
5593 | * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate | |
5594 | on entry. Defer common processing for types. Reorder and clean up. | |
5595 | Compute the equivalent GNAT node and the default size for types only. | |
5596 | <E_Modular_Integer_Type>: Directly use Esize for the type's precision. | |
5597 | <E_Access_Type>: For an unconstrained designated type, do not pretend | |
5598 | that a dummy type is always made. | |
5599 | <all> Fix nits in comments. | |
5600 | (validate_size): Fix formatting nits and comments. | |
5601 | (set_rm_size): Likewise. | |
5602 | * gcc-interface/utils.c (create_param_decl): Replace bogus argument | |
5603 | passed to TARGET_PROMOTE_PROTOTYPES hook. | |
5604 | ||
e3698827 | 5605 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
5606 | ||
5607 | * fe.h (Get_External_Name): Declare. | |
5608 | * gcc-interface/gigi.h (concat_id_with_name): Rename to... | |
5609 | (concat_name): ...this. | |
5610 | * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to | |
5611 | gnu_entity_name and adjust for above renaming. | |
5612 | <E_Access_Type>: Use create_concat_name to get the name of the various | |
5613 | types associated with unconstrained array types. | |
5614 | (make_aligning_type): Adjust for above renaming. | |
5615 | (maybe_pad_type): Likewise. | |
a002cb99 | 5616 | (components_to_record): Likewise. Use get_identifier_with_length for |
e3698827 | 5617 | the encoding of the variant. |
5618 | (get_entity_name): Use get_identifier_with_length. | |
a002cb99 | 5619 | (create_concat_name): Likewise. Use Get_External_Name if no suffix. |
e3698827 | 5620 | Do not fiddle with Name_Buffer. |
5621 | (concat_id_with_name): Rename to... | |
a002cb99 | 5622 | (concat_name): ...this. Use get_identifier_with_length. Do not fiddle |
e3698827 | 5623 | with Name_Buffer. |
5624 | * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for | |
5625 | above renaming. | |
5626 | ||
7dfbd804 | 5627 | 2009-04-21 Joseph Myers <joseph@codesourcery.com> |
5628 | ||
5629 | * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and | |
5630 | license notices. | |
5631 | ||
43158006 | 5632 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
5633 | ||
5634 | * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info. | |
5635 | ||
153edb51 | 5636 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
5637 | ||
013b1310 | 5638 | * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete. |
153edb51 | 5639 | (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types. |
013b1310 | 5640 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>: |
5641 | Remove useless support code for packed array types and assert its | |
5642 | uselessness. | |
153edb51 | 5643 | <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and |
5644 | adjust for TYPE_RM_SIZE change. | |
5645 | <all> Fix nits in comments. Use Original_Array_Type accessor instead | |
5646 | of Associated_Node_For_Itype accessor for packed array types. | |
5647 | (make_packable_type): Likewise. | |
5648 | (maybe_pad_type): Likewise. | |
5649 | (set_rm_size): Likewise. Rework conditional statement. Adjust for | |
5650 | TYPE_RM_SIZE change. | |
5651 | (make_type_from_size): Adjust for TYPE_RM_SIZE change. | |
5652 | (rm_size): Fix nits in comments. Rework conditional statements. | |
013b1310 | 5653 | * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE |
5654 | change. | |
5655 | * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments. | |
5656 | * gcc-interface/utils.c (gnat_init_decl_processing): Use more | |
5657 | appropriate function to initialize the size_type_node. Adjust for | |
5658 | TYPE_RM_SIZE change. | |
153edb51 | 5659 | |
ee162cd7 | 5660 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
5661 | ||
5662 | * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global | |
5663 | for imported subprograms. | |
5664 | ||
aac684f2 | 5665 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
5666 | ||
5667 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make | |
5668 | constant objects covered by 13.3(19) volatile. | |
5669 | ||
e7b92021 | 5670 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
5671 | ||
5672 | * gcc-interface/utils.c (create_type_decl): Do not pass declarations | |
5673 | of dummy fat pointer types to the debug back-end. | |
5674 | ||
62f026a2 | 5675 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
5676 | ||
5677 | * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation. | |
5678 | <E_Signed_Integer_Subtype>: Set the RM size on the integer type | |
5679 | before wrapping it up in the record type. Do not overwrite the | |
5680 | Ada size of the record type with the Esize. | |
5681 | ||
ca4d41c4 | 5682 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
5683 | ||
5684 | * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate. | |
5685 | (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression | |
5686 | if the conversion is on the LHS of an assignment and a no-op. | |
5687 | <all> Do not convert the result to the result type if the Parent | |
5688 | node is such a conversion. | |
5689 | ||
8382e2a2 | 5690 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
5691 | ||
5692 | * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete. | |
5693 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension | |
5694 | of types with unknown discriminants. | |
5695 | (substitute_in_type): Rewrite and restrict to formal substitutions. | |
5696 | * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P. | |
5697 | (update_pointer_to): Update comment. | |
5698 | ||
d2bf053d | 5699 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
5700 | ||
5701 | * sem_ch8.adb (Use_One_Package): In an instance, if two | |
5702 | potentially_use_visible and non-overloadable homonyms are available | |
5703 | from the actuals of distinct formal packages, retain the current one, | |
5704 | which was visible in the generic, to prevent spurious visibility | |
5705 | errors. | |
5706 | (End_Use_Package): Restore use_visibility when needed. | |
5707 | ||
5708 | 2009-04-20 Sergey Rybin <rybin@adacore.com> | |
5709 | ||
5710 | * gnat_ugn.texi, vms_data.ads: Update doc. | |
5711 | ||
4299b321 | 5712 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
5713 | ||
5714 | * gcc-interface/Make-lang.in: Update dependencies | |
5715 | ||
5716 | * gcc-interface/Makefile.in: Link run-time against winsock2 lib under | |
5717 | Windows. | |
5718 | ||
a04ef2f7 | 5719 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
5720 | ||
5721 | * checks.ads: Fix documentation of range check handling | |
5722 | ||
5723 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
5724 | ||
5725 | * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for | |
5726 | a redundant use_type clause. | |
5727 | ||
ddf182ce | 5728 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
5729 | ||
5730 | * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where | |
5731 | this attribute can be evaluated at compile time. | |
5732 | (Eval_Attribute, case Range_Length): Same improvement | |
5733 | ||
5734 | * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure | |
5735 | ||
5736 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
5737 | ||
5738 | * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization, | |
5739 | for better handling of null procedures. | |
5740 | (Check_Overriding_Indicator): Do not emit a warning on a missing | |
5741 | overriding indicator on an operator when the type of which the operator | |
5742 | is a primitive is private. | |
5743 | ||
716383d8 | 5744 | 2009-04-20 Bob Duff <duff@adacore.com> |
5745 | ||
5746 | * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control | |
5747 | debugging output. | |
5748 | ||
5749 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
5750 | ||
5751 | * sem_attr.adb: Minor reformatting | |
5752 | ||
5753 | * gnatcmd.adb: Minor reformatting | |
5754 | ||
d0a7d051 | 5755 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
5756 | ||
5757 | * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is | |
5758 | overloaded and one interpretation matches the context, label the | |
5759 | operand with the type of first formal. | |
5760 | ||
5761 | 2009-04-20 Bob Duff <duff@adacore.com> | |
5762 | ||
5763 | * debug.ads: Minor comment fix. | |
5764 | ||
5765 | * debug.adb: Minor comment fixes. | |
5766 | ||
5767 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
5768 | ||
5769 | * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions | |
5770 | ||
5771 | * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch. | |
5772 | ||
5773 | * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt | |
5774 | is expanded into a call to Raise_Exception, avoid passing the | |
5775 | exception-name'identity in runtimes in which this argument | |
5776 | is not used. | |
5777 | ||
f8384751 | 5778 | 2009-04-20 Jerome Lambourg <lambourg@adacore.com> |
5779 | ||
5780 | * impunit.adb: Add i-cil and i-cilobj packages, now needed by the | |
5781 | generated bindings for cil. | |
5782 | ||
5783 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
5784 | ||
5785 | * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown | |
5786 | discriminants, collect components from the Underlying_Record_View, | |
5787 | which will be used in the expansion of the aggregate into assignments. | |
5788 | ||
5789 | * sem_ch3.adb: Do not label derived type with unknown discriminants as | |
5790 | having a private declaration. | |
5791 | ||
bfb2f922 | 5792 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
5793 | ||
5794 | * exp_util.adb (Expand_Subtype_From_Expr): use the | |
5795 | underlying_record_view when available, to create the proper constrained | |
5796 | subtype for an object of a derived type with unknown discriminants. | |
5797 | ||
5798 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
5799 | ||
5800 | * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for | |
5801 | formals that have pragma unreferenced. | |
5802 | ||
0df67611 | 5803 | 2009-04-20 Pascal Obry <obry@adacore.com> |
5804 | ||
5805 | * a-direct.adb (To_Lower_If_Case_Insensitive): Removed. | |
5806 | Remove all calls to To_Lower_If_Case_Insensitive to preserve | |
5807 | the pathname original casing. | |
5808 | ||
5809 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
5810 | ||
5811 | * g-trasym.adb: Minor reformatting | |
5812 | ||
5813 | * s-os_lib.adb: Minor reformatting | |
5814 | ||
5815 | * sem.adb: Minor reformatting | |
5816 | Minor code reorganization | |
5817 | ||
5818 | * sem_ch3.adb: Minor reformatting | |
5819 | ||
5820 | * sem_ch4.adb: Minor reformatting | |
5821 | ||
5822 | * sem_ch8.adb: Minor reformatting | |
5823 | ||
5824 | * sem_type.adb: Minor reformatting | |
5825 | ||
069d2ce4 | 5826 | 2009-04-20 Javier Miranda <miranda@adacore.com> |
5827 | ||
5828 | * sem_disp.adb (Find_Dispatching_Type): For subprograms internally | |
5829 | generated by derivations of tagged types use the aliased subprogram a | |
5830 | reference to locate their controlling type. | |
5831 | ||
5832 | 2009-04-20 Tristan Gingold <gingold@adacore.com> | |
5833 | ||
5834 | * g-trasym.adb: Set size of result buffer before calling | |
5835 | convert_address. | |
5836 | ||
5837 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
5838 | ||
5839 | * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call | |
5840 | to a function returning an array can be interpreted as a call with | |
5841 | defaulted parameters whose result is indexed, take into account the | |
5842 | types of all the indices of the array result type. | |
5843 | ||
5844 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
5845 | ||
5846 | * a-direct.adb, s-os_lib.adb: Minor reformatting. | |
5847 | ||
5820e1c3 | 5848 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
5849 | ||
5850 | * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect | |
5851 | null exclusion qualifiers for object renaming declarations. | |
5852 | ||
5853 | 2009-04-20 Nicolas Roche <roche@adacore.com> | |
5854 | ||
5855 | * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are | |
5856 | unsigned long long. So compare local_time and utc_time before computing | |
5857 | the difference. | |
5858 | ||
5859 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
5860 | ||
5861 | * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration | |
5862 | of the Underlying_Record_View before that of the derived type. | |
5863 | ||
5864 | * exp_ch3.adb (Expand_Record_Extension): Do not special-case types | |
5865 | with unknown discriminants with regard to the parent subtype. | |
5866 | ||
7d449e91 | 5867 | 2009-04-20 Bob Duff <duff@adacore.com> |
5868 | ||
5869 | * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies | |
5870 | that are not included. This is necessary if the main unit is a generic | |
5871 | instantiation. | |
5872 | ||
5873 | * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items, | |
5874 | because it doesn't work if -gnatn is used. | |
5875 | ||
8713f96d | 5876 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
5877 | ||
5878 | * rtsfind.adb (RTE, RTE_Record_Component): In | |
5879 | Configurable_Run_Time_Mode, do not enable front-end inlining. | |
5880 | ||
5881 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
5882 | ||
5883 | * g-socthi-vms.adb: Remove now unnecessary WITH clause on | |
5884 | System.Address_To_Access_Conversions. | |
5885 | ||
5886 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
5887 | ||
5888 | * sem.adb: Guard against ill-formed subunits. | |
5889 | ||
5890 | 2009-04-20 Bob Duff <duff@adacore.com> | |
5891 | ||
5892 | * output.adb (Flush_Buffer): Do not indent blank lines. | |
5893 | (Ignore_Output): New procedure for output suppression. | |
5894 | ||
5895 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
5896 | ||
5897 | * a-calfor.adb (Image): Subtract 0.5 from the sub second component only | |
5898 | when it is positive. This avoids a potential constraint error raised | |
5899 | by the conversion to Natural. | |
5900 | ||
5901 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> | |
5902 | ||
5903 | * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment | |
5904 | involves a target that has a specified address, don't set Forward_OK | |
5905 | and Backward_OK to False if the rhs is an aggregate, since overlap | |
5906 | can't occur. | |
5907 | ||
5908 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
5909 | ||
02aa46a9 | 5910 | * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions |
8713f96d | 5911 | in an object renaming declaration when the expected type is an |
5912 | anonymous access type. | |
5913 | ||
5914 | * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential | |
5915 | ambiguity when one interpretation is an anonymous access type and the | |
5916 | other is a named access type, and the context itself is anonymous | |
5917 | ||
5918 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
5919 | ||
5920 | * einfo.ads: Minor comment rewording | |
5921 | ||
5922 | * sem_aggr.adb: Minor comment rewording | |
5923 | ||
5924 | * sem_ch3.adb, sem_ch6.adb: Minor reformatting | |
5925 | ||
5926 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
5927 | ||
5928 | * adaint.c (__gnat_is_readable_file): Check for file existence | |
5929 | when not using ACL (always the case on remote drives). | |
5930 | ||
2f29393f | 5931 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
5932 | ||
5933 | * sinfo.ads: Minor comment fixes | |
5934 | ||
5935 | * exp_disp.adb: Minor reformatting | |
5936 | ||
5937 | * gnat1drv.adb: Minor reformatting | |
5938 | ||
5939 | * output.adb: Minor reformatting | |
5940 | ||
5941 | * s-vxwext-kernel.ads: Minor reformatting | |
5942 | ||
5943 | * sem.ads: Minor reformatting | |
5944 | ||
5945 | * sem.adb: Minor reformatting | |
5946 | ||
5947 | * sem_elim.adb: Minor reformatting | |
5948 | ||
5949 | * uname.ads: Minor reformatting | |
5950 | ||
5951 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
5952 | ||
5953 | * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add | |
5954 | a small dope of 4 words to the adjustment to the stack pointer. | |
5955 | ||
5956 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
5957 | ||
5958 | * xoscons.adb: generate C header s-oscons.h in | |
5959 | addition to s-oscons.ads. | |
5960 | ||
5961 | * socket.c: On VMS, use s-oscons.h. | |
5962 | ||
5963 | * sem_ch3.adb: Minor reformatting | |
5964 | ||
5965 | * exp_ch9.adb: Minor reformatting | |
5966 | ||
7f571c29 | 5967 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
5968 | ||
5969 | * gcc-interface/trans.c (check_for_eliminated_entity): Remove. | |
5970 | (Attribute_to_gnu): Do not call check_for_eliminated_entity. | |
5971 | (call_to_gnu): Likewise. | |
5972 | ||
af843870 | 5973 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
5974 | ||
5975 | * gcc-interface/trans.c (gigi): Declare the name of the compilation | |
5976 | unit as the first global name at the very beginning. | |
5977 | ||
1469afd6 | 5978 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
5979 | ||
5980 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, | |
5981 | s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads, | |
5982 | g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well, | |
5983 | since HP-UX supports neither inet_aton nor inet_pton (altough the | |
5984 | latter is part of the Single UNIX Specification!). | |
5985 | So reorganize code, and share C implementation based on inet_addr(3) | |
5986 | with VMS (instead of having a VMS specific Ada implementation in | |
5987 | g-socthi-vms.adb). | |
5988 | ||
60ca8da9 | 5989 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> |
5990 | ||
5991 | * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function | |
5992 | to return the object file name saved by Set_Object_Output_File_Name. | |
5993 | ||
5994 | 2009-04-20 Emmanuel Briot <briot@adacore.com> | |
5995 | ||
5996 | * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers | |
5997 | for the standard command line, when argc has been modified since the | |
5998 | start of the application. | |
5999 | ||
6000 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6001 | ||
6002 | * socket.c (__gnat_inet_pton, Windows case): Adjust return value. | |
6003 | WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure. | |
6004 | ||
d3f21ab5 | 6005 | 2009-04-20 Bob Duff <duff@adacore.com> |
6006 | ||
6007 | * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside | |
6008 | pragma Debug. | |
6009 | ||
6010 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6011 | ||
6012 | * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated | |
6013 | subprogram as Eliminated when source operation is. | |
6014 | (Expand_N_Protected_Type_Declaration): Generate protected and | |
6015 | unprotected specs for the internal operations, even if the source | |
6016 | operation is eliminated. | |
6017 | ||
6018 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
6019 | ||
6020 | * exp_ch3.adb (Make_Predefined_Primitive_Specs, | |
6021 | Predefined_Primitive_Bodies): Do not create the declarations and bodies | |
6022 | of the primitive subprograms associated with dispatching select | |
6023 | statements when the runtime is in configurable mode. | |
6024 | ||
6025 | 2009-04-20 Ed Falis <falis@adacore.com> | |
6026 | ||
6027 | * s-vxwext-kernel.ads (tickGet): Use tick64Get. | |
6028 | ||
f060ec3a | 6029 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6030 | ||
6031 | * s-oscons-tmplt.c: Add support for generating a dummy version of | |
6032 | s-oscons.ads providing all possible constants. | |
6033 | ||
6034 | * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton. | |
6035 | ||
6036 | * socket.c (__gnat_inet_pton): On Windows make sure we always use the | |
6037 | ANSI version (not the UNICODE version) of WSAStringToAddress. | |
6038 | ||
6039 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
6040 | ||
6041 | * adaint.c (__gnat_set_OWNER_ACL): properly free memory | |
6042 | allocated for the security descriptor and make sure all | |
6043 | handles are closed before leaving this procedure. | |
6044 | ||
442049cc | 6045 | 2009-04-20 Javier Miranda <miranda@adacore.com> |
6046 | ||
6047 | * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram | |
6048 | (Set_Is_Underlying_Record_View): New subprogram | |
6049 | ||
6050 | * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of | |
6051 | private types with unknown discriminants use the underlying record view | |
6052 | if available. | |
6053 | ||
6054 | * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the | |
6055 | underlying record view in the full view of private types whose parent | |
6056 | has unknown discriminants. | |
6057 | (Build_Derived_Record_Type): Avoid generating the class-wide entity | |
6058 | associated with an underlying record view. | |
6059 | (Derived_Type_Declaration): Avoid deriving parent primitives in | |
6060 | underlying record views. | |
6061 | ||
6062 | * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for | |
6063 | records with unknown discriminants. | |
6064 | ||
6065 | * sem_type.adb (Covers): Handle underlying record views. | |
6066 | (Is_Ancestor): Add support for underlying record views. | |
6067 | ||
6068 | * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a | |
6069 | dispatching call if the type of the target object is tagged and has | |
6070 | unknown discriminants. | |
6071 | ||
6072 | * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with | |
6073 | unknown discriminants. | |
6074 | ||
6075 | * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch | |
6076 | tables for internally built underlying record views. | |
6077 | ||
6078 | * sprint.adb (sprint_node_actual): Improve output of aggregates with an | |
6079 | empty list of component associations. | |
6080 | ||
6081 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6082 | ||
6083 | * sem_ch10.adb: Minor reformatting | |
6084 | ||
6085 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, | |
6086 | g-socthi-mingw.ads, g-socthi.ads, g-socket.adb | |
6087 | (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use | |
6088 | standard inet_pton API (and emulate it on platforms that do not | |
6089 | support it). | |
6090 | (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of | |
6091 | DECC$INET_ADDR, imported in Ada. | |
6092 | (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C | |
6093 | implementation provided by GNAT runtime. | |
6094 | (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and | |
6095 | Windows. | |
6096 | ||
234aa17e | 6097 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6098 | ||
6099 | * gnat_ugn.texi: Add documentation for -fno-ivopts. | |
6100 | ||
6101 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6102 | ||
6103 | * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a | |
6104 | with_clause if it is the main unit. | |
6105 | ||
f38c8084 | 6106 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6107 | ||
6108 | * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization | |
6109 | (no behaviour change): Use Append instead of Increment_Last followed | |
6110 | by assignment. | |
6111 | ||
6112 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
6113 | ||
6114 | * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the | |
6115 | declarations of all primitives associated with dispatching asynchronous, | |
6116 | conditional and timed selects when dispaching calls are forbidden and | |
6117 | select statements are not allowed (such as in Ravenscar). | |
6118 | (Predefined_Primitive_Bodies): Ditto for bodies. | |
6119 | ||
6120 | * exp_disp.ad (Make_DT): Do not create and populate the | |
6121 | Select_Specific_Data of the dispatch table when dispatching calls are | |
6122 | forbidden and select statements are not allowed (such as in Ravenscar). | |
6123 | ||
6124 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
6125 | ||
6126 | * a-tifiio.adb: Minor reformatting | |
6127 | ||
6128 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6129 | ||
6130 | * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike | |
6131 | other C library functions, report *failure* with a zero status, and | |
6132 | success with a non-zero status. | |
6133 | ||
6134 | 2009-04-20 Bob Duff <duff@adacore.com> | |
6135 | ||
6136 | * sem.ads, sem.adb (Walk_Library_Items): New generic procedure. | |
6137 | (Semantics): After analyzing each unit, Append it to the | |
6138 | Comp_Unit_List, if appropriate. | |
6139 | ||
6140 | * gnat1drv.adb (Check_Library_Items): New procedure for debugging | |
6141 | purposes. | |
6142 | (Gnat1drv): Correct comment regarding Back_End_Mode. | |
6143 | ||
6144 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
6145 | ||
6146 | * gnat_ugn.texi: Add documentation for -fno-inline-small-functions. | |
6147 | ||
eec7772e | 6148 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6149 | ||
6150 | * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
6151 | output.adb, output.ads, s-taprop-hpux-dce.adb, | |
6152 | s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor | |
6153 | reformatting. | |
6154 | ||
d7a87dfa | 6155 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6156 | ||
6157 | * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb, | |
6158 | g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads | |
6159 | (GNAT.Sockets.Thin.C_Inet_Addr): Remove. | |
6160 | (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library | |
6161 | except for VMS where it is reimplemented in Ada using DECC$INET_ADDR. | |
6162 | (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3). | |
6163 | ||
6164 | * debug.adb: Fix typo | |
6165 | ||
6166 | * gnat_rm.texi: Minor doc fix. | |
6167 | ||
6168 | * sem_ch7.adb, freeze.adb: Minor reformatting | |
6169 | ||
9929853e | 6170 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6171 | ||
6172 | * g-socket.ads: Add new constants: | |
6173 | Loopback_Inet_Addr | |
6174 | Unspecified_Group_Inet_Addr | |
6175 | All_Hosts_Group_Inet_Addr | |
6176 | All_Routers_Group_Inet_Addr | |
6177 | ||
6178 | * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add | |
6179 | ERANGE (Result too large). | |
6180 | (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing | |
6181 | propagation of errno to caller. | |
6182 | ||
6183 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
6184 | ||
6185 | * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds | |
6186 | to 24. Increment Leap_Seconds_Count and add an entry to aggregate | |
6187 | Leap_Second_Times. | |
6188 | ||
6189 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> | |
6190 | ||
6191 | * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for | |
6192 | checking for references to eliminated subprograms that should be | |
6193 | flagged. | |
6194 | (Eliminate_Error_Message): Update comment to say "references" rather | |
6195 | than "calls" (since attribute cases are handled here as well). | |
6196 | ||
6197 | * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for | |
6198 | checking for references to eliminated subprograms that should be | |
6199 | flagged. Add with and use of Sem and Sem_Util. | |
6200 | ||
6201 | * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms. | |
6202 | Add with and use of Sem_Elim. | |
6203 | ||
6204 | * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes | |
6205 | applied to eliminated subprograms. | |
6206 | (Analyze_Attribute): Reject 'Address and 'Code_Address applied to | |
6207 | eliminated subprograms. | |
6208 | Add with and use of Sem_Elim. | |
6209 | ||
6210 | * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls | |
6211 | to eliminated subprograms, now handled during Resolve_Call. | |
6212 | Remove with and use of Sem_Elim. | |
6213 | ||
6214 | * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before | |
6215 | testing Is_Eliminated, for proper handling of primitive derived from | |
6216 | eliminated subprograms. | |
6217 | ||
6218 | 2009-04-20 Vincent Celier <celier@adacore.com> | |
6219 | ||
6220 | * mlib-prj.adb (Build_Library): Use the shared library linker, if one | |
6221 | has been declared (Library_GCC or Linker'Driver), for the driver name. | |
6222 | ||
6223 | * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and | |
6224 | Linker'Driver is, use Linker'Driver as the shared library linker. | |
6225 | (Process_Project_Level_Simple_Attributes): Issue a warning if attribute | |
6226 | Library_GCC is declared. | |
6227 | (Check_Library_Attributes): Set up the shared linker driver: either | |
6228 | Library_GCC or Linker'Driver. Issue a warning if Library_GCC is | |
6229 | declared. | |
6230 | ||
ce3dae59 | 6231 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6232 | ||
6233 | * g-socket.ads (Send_Socket): Fix misleading comment. | |
6234 | ||
229a9278 | 6235 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
6236 | ||
6237 | * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in | |
6238 | ASIS mode. | |
6239 | ||
6240 | 2009-04-20 Geert Bosch <bosch@adacore.com> | |
6241 | ||
6242 | * a-tifiio.adb (Put): Avoid generating too many digits for certain | |
6243 | fixed types with smalls that are neither integer or the reciprocal | |
6244 | of an integer. | |
6245 | ||
6246 | 2009-04-20 Bob Duff <duff@adacore.com> | |
6247 | ||
6248 | * uname.ads: Minor comment fix. | |
6249 | ||
6250 | * types.ads: Minor comment fix. | |
6251 | ||
69d33a1d | 6252 | 2009-04-20 Pascal Obry <obry@adacore.com> |
6253 | ||
6254 | * adaint.c (__gnat_get_libraries_from_registry): Fix code to | |
6255 | avoid warning. At the same time fix a memory leak. | |
6256 | ||
6257 | * osint.adb (Get_Libraries_From_Registry): Properly free memory | |
6258 | returned by the above routine. | |
6259 | ||
2b4d7555 | 6260 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
6261 | ||
6262 | * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb, | |
6263 | s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb, | |
6264 | s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads, | |
6265 | s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions. | |
6266 | ||
6267 | * exp_ch4.adb (Expand_Concatenate): Minor code reorganization | |
6268 | ||
6269 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
6270 | ||
6271 | * initialize.c (__gnat_initialize): Add braces to kill warning. | |
6272 | ||
69d33a1d | 6273 | * adaint.c: Minor reformatting, remove trailing spaces. |
2b4d7555 | 6274 | |
57995f44 | 6275 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> |
6276 | ||
6277 | * gcc-interface/Make-lang.in: Update dependencies. | |
6278 | ||
12e8797f | 6279 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6280 | ||
6281 | * adaint.h (__gnat_lwp_self): Declare on Linux. | |
6282 | ||
6283 | * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'. | |
6284 | ||
6285 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
6286 | ||
6287 | * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement | |
6288 | front-end part of -fpreserve-control-flow switch. | |
6289 | ||
1fc096b1 | 6290 | 2009-04-20 Bob Duff <duff@adacore.com> |
6291 | ||
6292 | * rtsfind.adb: Minor comment fix | |
6293 | ||
6294 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
6295 | ||
6296 | * exp_aggr.adb: Minor reformatting | |
6297 | Minor code reorganization (use Nkind_In) | |
6298 | ||
6299 | * g-socket.adb: Minor reformatting | |
6300 | ||
6301 | * g-socket.ads: Minor comment fix | |
6302 | ||
6303 | * s-auxdec.ads: Minor comment and organization update. | |
6304 | ||
6305 | * s-auxdec-vms_64.ads: Minor comment and organization update. | |
6306 | ||
6307 | * sem_ch10.adb: Minor addition of ??? comment | |
6308 | ||
6309 | * sem_disp.adb: Minor reformatting | |
6310 | ||
57ecb969 | 6311 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
6312 | ||
6313 | * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end | |
6314 | list a caller of an inlined subprogram, if the caller itself is not | |
6315 | called. | |
6316 | ||
6317 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
6318 | ||
6319 | * adaint.c: Disable use of ACL on network drives. | |
6320 | ||
6321 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> | |
6322 | ||
6323 | * gnat_ugn.texi: Add examples. | |
6324 | ||
bf3c3341 | 6325 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6326 | ||
6327 | * g-socket.ads (Abort_Selector): Clarify documentation. | |
6328 | ||
79f26f3c | 6329 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
6330 | ||
6331 | * opt.ads (Inspector_Mode): Update documentation of this flag. | |
6332 | ||
6333 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6334 | ||
6335 | * g-socket.ads: Minor reformatting | |
6336 | ||
6337 | * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to | |
6338 | consider S_resolvLib error codes since we only use the hostLib wrappers. | |
6339 | ||
6340 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
6341 | ||
6342 | * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration | |
6343 | of the Underlying_Record_View after that of the derived type. | |
6344 | ||
880342e5 | 6345 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
6346 | ||
6347 | * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining | |
6348 | in inspector mode. | |
6349 | ||
6350 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
6351 | ||
6352 | * sem_ch6.adb (New_Overloaded_Entity): Minor reformating. | |
6353 | ||
6354 | * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing | |
6355 | documentation. | |
6356 | ||
6357 | * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup. | |
6358 | ||
6359 | * sem_disp.adb | |
6360 | (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation | |
6361 | in internally built overriding subprograms. | |
6362 | ||
6363 | 2009-04-20 Doug Rupp <rupp@adacore.com> | |
6364 | ||
6365 | * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types. | |
6366 | ||
6367 | * s-auxdec.ads: Likewise | |
6368 | ||
6369 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6370 | ||
6371 | * sem_ch3.adb (Find_Type_Name): Reject the completion of a private | |
6372 | type by an interface. | |
6373 | ||
6374 | * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to | |
6375 | minimze difference in expanded tree when compiled as spec of the main | |
6376 | unit, or as a spec in the context of another unit. | |
6377 | ||
80383760 | 6378 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> |
6379 | ||
6380 | * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer. | |
6381 | (localtime_tzoff): This routine no longer accepts an actual of type | |
6382 | tm_Pointer. | |
6383 | (UTC_Time_Offset): Remove local variable Secs_TM. | |
6384 | ||
6385 | * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an | |
6386 | actual of type struct tm*. Add local variable of type struct tm for all | |
6387 | targets that provide localtime_r and need to invoke it. | |
6388 | ||
6389 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6390 | ||
6391 | * s-oscons-tmplt.c, g-socket.adb, g-socket.ads | |
6392 | (GNAT.Sockets.Resolve_Error): Add case of EPIPE | |
6393 | Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK | |
6394 | ||
a5b5e9bd | 6395 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
6396 | ||
6397 | * sem_ch3.adb: Minor reformatting | |
6398 | ||
6399 | * lib-load.adb: Minor reformatting | |
6400 | ||
6401 | * sem_ch4.adb: Minor reformatting | |
6402 | ||
6403 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
6404 | ||
6405 | * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec | |
6406 | (equal values => False). | |
6407 | ||
6408 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6409 | ||
6410 | * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls | |
6411 | to null procedures can be inlined unconditionally. | |
6412 | ||
8672abac | 6413 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6414 | ||
6415 | * gcc-interface/trans.c (call_to_gnu): When creating the copy for a | |
6416 | non-addressable parameter passed by reference, do not convert the | |
6417 | actual if its type is already the nominal type, unless it is of | |
6418 | self-referential size. | |
6419 | ||
f25f4252 | 6420 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
6421 | ||
6422 | * gnat_ugn.texi: Fix typos. | |
6423 | ||
6424 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
6425 | ||
6426 | * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to | |
6427 | Validate_Unchecked_Warnings to suppress warnings about size or | |
6428 | alignment or extra bits if either type involved has pragma Warnings | |
6429 | (Off) set for the type entity. | |
6430 | ||
e1631cfe | 6431 | 2009-04-19 Eric Botcazou <ebotcazou@adacore.com> |
6432 | ||
6433 | * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type | |
6434 | a builtin type and give it a name. | |
6435 | ||
c5bfed66 | 6436 | 2009-04-17 Diego Novillo <dnovillo@google.com> |
6437 | ||
6438 | * gcc-interface/misc.c (gnat_expand_expr): Remove. | |
6439 | (LANG_HOOKS_EXPAND_EXPR): Remove. | |
6440 | ||
2726b813 | 6441 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
6442 | ||
6443 | * sem_ch3.adb: Minor reformatting | |
6444 | ||
6445 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
6446 | ||
6447 | * adaint.c: Add __gnat_use_acl global variable to control use of ACL. | |
6448 | ||
a4ebc33a | 6449 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
6450 | ||
6451 | * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly | |
6452 | illegal constraints on type derived from formal discrete types. | |
6453 | ||
7ea04e30 | 6454 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
6455 | ||
6456 | PR ada/35953 | |
6457 | ||
6458 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
6459 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
6460 | g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb, | |
6461 | g-socket.ads (GNAT.Sockets.Thin.C_Send, | |
6462 | GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms. | |
6463 | Replace calls to send(2) with equivalent sendto(2) calls. | |
6464 | (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram. | |
6465 | (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not | |
6466 | report an error in that case. Factor code common to the two versions | |
6467 | (datagram and stream) in common routine Stream_Write. | |
6468 | ||
3164ed99 | 6469 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
6470 | ||
6471 | * exp_disp.adb: Minor reformatting | |
6472 | Minor code reorganization (use Nkind_In) | |
6473 | ||
6474 | * prepcomp.adb: Minor reformatting | |
6475 | ||
6476 | * sem_ch3.adb: Minor reformatting | |
6477 | ||
6478 | * sem_res.adb: Minor comment addition | |
6479 | ||
6480 | * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test | |
6481 | for address clause | |
6482 | ||
6483 | * lib-xref.adb (Generate_Reference): Exclude recursive calls from | |
6484 | setting Is_Referenced | |
6485 | ||
6486 | * types.ads: Minor reformatting | |
6487 | ||
6488 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> | |
6489 | ||
6490 | * gnat_ugn.texi: Initial documentation on binding generator. | |
6491 | ||
d9fac90e | 6492 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
6493 | ||
6494 | * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle | |
6495 | type extensions whose parent is a type with unknown discriminants. | |
6496 | ||
6497 | * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension | |
6498 | aggregate has unknown discriminants, use the Underlying_Record_View to | |
6499 | obtain the discriminants of the ancestor part. | |
6500 | ||
6501 | * exp_disp.adb (Build_Dispatch_Tables): Types that are | |
6502 | Underlying_Record_Views share the dispatching information of the | |
6503 | original record extension. | |
6504 | ||
6505 | * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown | |
6506 | discriminants, propagate dispach table information to the | |
6507 | Underlying_Record_View. | |
6508 | ||
6509 | * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown | |
6510 | discriminants and declaration is not a completion, generate | |
6511 | Underlying_Record_View to provide proper discriminant information to | |
6512 | the front-end and to gigi. | |
6513 | ||
3b7bbf08 | 6514 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
6515 | ||
6516 | * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb, | |
6517 | s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads, | |
6518 | s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads, | |
6519 | g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads, | |
6520 | s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads, | |
6521 | s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads, | |
6522 | g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb, | |
6523 | s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads, | |
6524 | g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb, | |
6525 | s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb, | |
6526 | s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb, | |
6527 | s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb, | |
6528 | s-conca3.ads: Remove unneeded pragma Warnings | |
6529 | ||
2df1e566 | 6530 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
6531 | ||
6532 | * g-moreex.adb: Add comments. | |
6533 | ||
6534 | * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off) | |
6535 | ||
6536 | * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma | |
6537 | Warnings (Off) | |
6538 | ||
6539 | * prepcomp.adb: Add ??? comment | |
6540 | ||
6541 | * a-tasatt.adb: Minor reformatting | |
6542 | ||
6543 | * g-trasym-vms-alpha.adb: Add ??? comment | |
6544 | ||
6545 | * g-trasym-vms-ia64.adb: Add ??? comment | |
6546 | ||
6547 | * xoscons.adb: Minor reformatting | |
6548 | ||
6549 | * s-tassta.adb: Minor reformatting | |
6550 | ||
6551 | * s-scaval.adb: Add ??? comment | |
6552 | ||
6553 | * stand.ads: Minor code clean up (remove junk with of Namet) | |
6554 | ||
6555 | * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb, | |
6556 | s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads, | |
6557 | s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb, | |
6558 | s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads, | |
6559 | s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb, | |
6560 | s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads, | |
6561 | s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb, | |
6562 | s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed | |
6563 | Warnings off pragmas. | |
6564 | ||
bd4b644b | 6565 | 2009-04-17 Pascal Obry <obry@adacore.com> |
6566 | ||
6567 | * initialize.c: Fix test for reallocating the arguments array. | |
6568 | ||
6569 | 2009-04-17 Geert Bosch <bosch@adacore.com> | |
6570 | ||
6571 | * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed | |
6572 | conversion truncate only for decimal fixed point types. | |
6573 | ||
6574 | 2009-04-17 Jerome Lambourg <lambourg@adacore.com> | |
6575 | ||
6576 | * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are | |
6577 | reinitialized. | |
6578 | ||
59db1732 | 6579 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
6580 | ||
6581 | * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and | |
6582 | Backwards_OK if either operand has an address clause. | |
6583 | ||
6584 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
6585 | ||
6586 | * initialize.c: Code clean up, use realloc. | |
6587 | ||
28f632b4 | 6588 | 2009-04-17 Pascal Obry <obry@adacore.com> |
6589 | ||
6590 | * initialize.c: Do not get Unicode command line if Unicode support not | |
6591 | activated. | |
6592 | Add support for wildcard expansion for Unicode parameters on Win32. | |
6593 | ||
6594 | * mingw32.h: Add missing macros when Unicode support not activated. | |
6595 | ||
1dffe15c | 6596 | 2009-04-17 Javier Miranda <miranda@adacore.com> |
6597 | ||
6598 | * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to | |
6599 | avoid generating code that references the Current_Master | |
6600 | when compiling without tasks. | |
6601 | ||
6602 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
6603 | ||
6604 | * prj-attr.adb: New project level attribute Target | |
6605 | ||
6606 | * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process | |
6607 | attribute Target | |
6608 | ||
6609 | * prj.ads (Project_Configuration): New component Target | |
6610 | ||
028d088b | 6611 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
6612 | ||
6613 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special | |
6614 | case for the case of an aggregate component, the attach call for the | |
6615 | result is actually needed. | |
6616 | ||
6617 | * exp_aggr.adb (Backend_Processing_Possible): Backend processing for | |
6618 | an array aggregate must be disabled if the component type requires | |
6619 | controlled actions. | |
6620 | ||
6621 | * exp_ch3.adb: Minor reformatting | |
6622 | ||
6623 | 2009-04-17 Bob Duff <duff@adacore.com> | |
6624 | ||
6625 | * output.ads (Indent,Outdent): New procedures for indenting the output. | |
6626 | (Write_Char): Correct comment -- LF _is_ allowed. | |
6627 | ||
6628 | * output.adb (Indent,Outdent): New procedures for indenting the output. | |
6629 | Keep track of the indentation level, and make sure it doesn't get too | |
6630 | high. | |
6631 | (Flush_Buffer): Insert spaces at the beginning of each line, if | |
6632 | indentation level is nonzero. | |
6633 | (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current | |
6634 | indentation level. | |
6635 | (Set_Standard_Error,Set_Standard_Output): Remove superfluous | |
6636 | "Next_Col := 1;". Flush_Buffer does that. | |
6637 | ||
6638 | * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output | |
6639 | controlled by the -gnatdc switch. It now occurs on entry/exit to the | |
6640 | relevant analysis routines, and calls Indent/Outdent to make the | |
6641 | indentation reflect the nesting level. Add "helper" routines, since | |
6642 | otherwise lots of "return;" statements would skip the debugging output. | |
6643 | ||
6644 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> | |
6645 | ||
6646 | * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb, | |
6647 | s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb, | |
6648 | s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup. | |
6649 | ||
c259a0f7 | 6650 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
6651 | ||
6652 | * exp_aggr.adb: Minor code reorganization, no behaviour change. | |
6653 | ||
6654 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
6655 | ||
6656 | * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type | |
6657 | clause in a unit that is a package body or a subunit, when the previous | |
6658 | clause appears in a spec or a parent. | |
6659 | ||
395f8e2e | 6660 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
6661 | ||
6662 | * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting | |
6663 | ||
6664 | * exp_ch7.adb: Minor reformatting | |
6665 | ||
6666 | 2009-04-17 Bob Duff <duff@adacore.com> | |
6667 | ||
6668 | * exp_ch4.adb (Expand_Allocator_Expression): In an initialized | |
6669 | allocator, check that the expression of the qualified expression obeys | |
6670 | the constraints of the subtype of the qualified expression. | |
6671 | ||
6672 | 2009-04-17 Thomas Quinot <quinot@adacore.com> | |
6673 | ||
6674 | * sprint.adb (Write_Itype): Add handling of enumeration subtypes. | |
6675 | ||
6b2d409e | 6676 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
6677 | ||
6678 | * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to | |
6679 | aggregate, using context imposed by subtype mark in allocator. | |
6680 | ||
6681 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
6682 | ||
6683 | * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable | |
6684 | ||
0acb2a0a | 6685 | 2009-04-17 Nicolas Roche <roche@adacore.com> |
6686 | ||
6687 | * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each | |
6688 | argument length. | |
6689 | ||
6690 | 2009-04-17 Gary Dismukes <dismukes@adacore.com> | |
6691 | ||
6692 | * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to | |
6693 | cover both calls and attribute references ("call" => "reference"). | |
6694 | ||
6695 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
6696 | ||
6697 | * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access | |
6698 | type for which Storage_Size is set to 0 is legal in a pure unit. | |
6699 | ||
8c7d3bad | 6700 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
6701 | ||
6702 | * exp_ch7.adb: Minor reformatting | |
6703 | ||
6704 | 2009-04-17 Robert Dewar <dewar@adacore.com> | |
6705 | ||
6706 | * restrict.adb (Check_Restriction_No_Dependence): Don't check | |
6707 | restriction if outside main extended source unit. | |
6708 | ||
6709 | * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction | |
6710 | for parents of child units as well as the child unit itself. | |
6711 | ||
6712 | 2009-04-17 Bob Duff <duff@adacore.com> | |
6713 | ||
6714 | * checks.ads: Minor comment fix | |
6715 | ||
6716 | * exp_aggr.ads: Minor comment fix | |
6717 | ||
6718 | 2009-04-17 Nicolas Roche <roche@adacore.com> | |
6719 | ||
6720 | * adaint.c: Improve cross compiler detection and handling. | |
6721 | ||
f60cc57d | 6722 | 2009-04-17 Eric Botcazou <ebotcazou@adacore.com> |
6723 | ||
6724 | * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os. | |
6725 | ||
6726 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
6727 | ||
6728 | * mingw32.h: Add S2WSC and WS2SC macros to convert to/from | |
6729 | CurrentCodePage. | |
6730 | ||
6731 | * adaint.h: Encoding_Unspecified is now defined. Corresponds to the | |
6732 | value when no encoding form paramter is set on Text_IO services. | |
6733 | ||
6734 | * adaint.c: CurrentCodePage new variable on Windows. | |
6735 | Use new macros S2WSC and WS2SC instead of the UTF-8 oriented | |
6736 | ones. | |
6737 | ||
6738 | * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented | |
6739 | ones. | |
6740 | ||
6741 | * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE | |
6742 | environment variable value. Default is UTF-8. | |
6743 | ||
6744 | * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type. | |
6745 | fopen and freopen encoding parameter is now set to Unspecified. | |
6746 | The default value is in this case UTF-8 (as it was before) but | |
6747 | use the new macros that convert to/from the code page set | |
6748 | at runtime (CurrentCodePage). | |
6749 | ||
6750 | * s-fileio.adb: When no encoding specified use Unspecified value. | |
6751 | ||
6752 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
6753 | ||
6754 | * atree.adb, atree.ads: Remove dead code. | |
6755 | ||
8fea528f | 6756 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> |
6757 | ||
6758 | * gcc-interface/Make-lang.in: Update dependencies. | |
6759 | ||
37f5ff39 | 6760 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
6761 | ||
6762 | * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on | |
6763 | illegal uses of incomplete types in formal parts and return types. | |
6764 | ||
6765 | * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in | |
6766 | access to subprograms. | |
6767 | ||
6768 | * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use | |
6769 | Taft-amendment types as the return type of an access_to_function type. | |
6770 | ||
6771 | * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete | |
6772 | type for access_to_subprograms. The check is performed on package exit. | |
6773 | ||
6774 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
6775 | ||
6776 | * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util. | |
6777 | ||
6778 | * nlists.ads, nlists.adb: Move New_Copy_List to sem_util. | |
6779 | ||
6780 | * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree | |
6781 | ||
6782 | * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in | |
6783 | semantic units, because the handling of itypes in the copied tree | |
6784 | requires semantic information that does not belong in atree. | |
6785 | ||
6786 | 2009-04-17 Robert Dewar <dewar@adacore.com> | |
6787 | ||
6788 | * par-ch6.adb: Minor reformatting | |
6789 | ||
6790 | * prj.adb: Minor reformatting | |
6791 | ||
557df72f | 6792 | 2009-04-17 Gary Dismukes <dismukes@adacore.com> |
6793 | ||
6794 | * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed | |
6795 | on protected subprogram bodies, so exclude the case where Pf_Flags is | |
6796 | Pf_Decl_Pbod from the error check. | |
6797 | ||
6798 | * par-ch9.adb (P_Protected_Operation_Items): Permit overriding | |
6799 | indicators on subprograms in protected bodies, and proceed with parsing | |
6800 | the subprogram. | |
6801 | ||
6802 | * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected | |
6803 | subprograms from the check for primitiveness on subprograms with | |
6804 | overriding indicators. | |
6805 | (Check_Overriding_Indicator): Include protected subprograms in the | |
6806 | style check for missing overriding indicators. | |
6807 | ||
6808 | 2009-04-17 Tristan Gingold <gingold@adacore.com> | |
6809 | ||
6810 | * init.c: Fix stack checking for x86 Darwin. | |
6811 | ||
6812 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
6813 | ||
6814 | * prj-attr.adb: New project level attribute Object_File_Suffix | |
6815 | (<language>). | |
6816 | ||
6817 | * prj-nmsc.adb (Add_Source): Use the object file suffix to get the | |
6818 | object file name | |
6819 | (Process_Compiler): Process attribute Object_File_Suffix | |
6820 | ||
6821 | * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of | |
6822 | platform suffix, when specified. | |
6823 | ||
6824 | * prj.ads (Language_Config): New component Object_File_Suffix, | |
6825 | defaulted to No_Name. | |
6826 | (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name | |
6827 | ||
6828 | * snames.ads-tmpl: New standard name Object_File_Suffix | |
6829 | ||
723bd332 | 6830 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
6831 | ||
6832 | * gnat_rm.texi: Add documentation about No_Streams restriction | |
6833 | ||
6834 | * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream | |
6835 | attributes when checking No_Streams restriction. | |
6836 | ||
6837 | 2009-04-17 Thomas Quinot <quinot@adacore.com> | |
6838 | ||
6839 | * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity. | |
6840 | ||
6841 | * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add | |
6842 | missing calls to RE_Request_Destroy to deallocate request objects after | |
6843 | use. | |
6844 | ||
6845 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
6846 | ||
6847 | * link.c: Fix support for passing a response file under Darwin. | |
6848 | ||
6849 | 2009-04-17 Emmanuel Briot <briot@adacore.com> | |
6850 | ||
6851 | * prj.adb (Free): new subprogram. | |
6852 | ||
6853 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
6854 | ||
6855 | * sem_ch3.adb: additional initialization on incomplete subtypes. | |
6856 | ||
6857 | * sem_ch6.adb (Process_Formals): if the subprogram is in the private | |
6858 | part and one of the formals is an incomplete tagged type, attach to | |
6859 | list of private dependends of the type for later validation. | |
6860 | ||
6861 | * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare | |
6862 | primitive operations of a Taft-amendmment type. | |
6863 | ||
6864 | * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete | |
6865 | type. The check is performed on package exit, possibly after the | |
6866 | subprogram is frozen. | |
6867 | ||
6868 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
6869 | ||
6870 | * prj-nmsc.adb (Get_Directories): Get the object and exec directory | |
6871 | before looking for source directories, but make sure that there are nil | |
6872 | if they are not explicitely declared and there is explicitely no | |
6873 | sources in the project. | |
6874 | ||
2588dbe8 | 6875 | 2009-04-17 Pascal Obry <obry@adacore.com> |
458eb8f8 | 6876 | |
2588dbe8 | 6877 | * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows. |
458eb8f8 | 6878 | |
2588dbe8 | 6879 | * init.c: Fix minor typo and style fix. |
8a3d0a8f | 6880 | |
2588dbe8 | 6881 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
8a3d0a8f | 6882 | |
2588dbe8 | 6883 | * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic |
8a3d0a8f | 6884 | |
2588dbe8 | 6885 | * sem_attr.adb (Analyze_Attribute, case Address): Use |
6886 | PE_Address_Of_Intrinsic. | |
6887 | ||
6888 | * types.ads: Add PE_Address_Of_Intrinsic | |
6889 | ||
6890 | * types.h: Add PE_Address_Of_Intrinsic | |
6891 | ||
6892 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
6893 | ||
6894 | * gcc-interface/Makefile.in: Under darwin, build shared libraries | |
6895 | with install_name starting with "@rpath/". | |
8a3d0a8f | 6896 | |
6897 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
6898 | ||
6899 | * link.c: Add darwin section | |
6900 | ||
e239bda8 | 6901 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
6902 | ||
6903 | * g-pehage.adb: Minor reformatting | |
6904 | ||
6905 | * sem_ch12.adb: Minor reformatting | |
6906 | ||
6907 | * exp_dist.adb: Minor reformatting | |
6908 | ||
6909 | * bindgen.adb: Minor style fixes. | |
6910 | ||
6911 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
6912 | ||
6913 | * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of | |
6914 | indexed components to the case where the prefix is a static string | |
6915 | literal. | |
6916 | ||
6917 | 2009-04-16 Javier Miranda <miranda@adacore.com> | |
6918 | ||
6919 | * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place | |
6920 | objects avoid any further expansion of the expression initializing the | |
6921 | object. | |
6922 | ||
4991732e | 6923 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
6924 | ||
6925 | * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit | |
6926 | that hides an outer homograph, make that homograph invisible when | |
6927 | analyzing the actuals, to to prevent illegal direct visibility on it. | |
6928 | ||
6929 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> | |
6930 | ||
6931 | * g-pehage.adb (Initialize): Fix off-by-one error. | |
6932 | ||
4e06d1d1 | 6933 | 2009-04-16 Tristan Gingold <gingold@adacore.com> |
6934 | ||
6935 | * init.c: Detect real stack overflow on Darwin. | |
6936 | ||
6937 | * system-darwin-x86.ads: Use stack probing on darwin x86. | |
6938 | ||
6939 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
6940 | ||
6941 | * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to | |
6942 | take the address of an intrinsic subprogram. | |
6943 | ||
62ae98f1 | 6944 | 2009-04-16 Arnaud Charlet <charlet@adacore.com> |
6945 | ||
6946 | * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented | |
6947 | for the targets where GNAT.Traceback.Symbolic is not supported. | |
6948 | ||
4e06d1d1 | 6949 | 2009-04-16 Vincent Celier <celier@adacore.com> |
6950 | ||
6951 | * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file. | |
6952 | ||
6953 | * g-trasym.ads: Update comments. | |
6954 | ||
6955 | 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> | |
6956 | ||
6957 | * tracebak.c (STOP_FRAME): Verify validity of the current address | |
6958 | before dereferencing. | |
6959 | ||
c7f78e2d | 6960 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
6961 | ||
6962 | * sprint.adb (Write_Itype): If the itype is an array subtype, preserve | |
6963 | the original location of the index expressions and the index subtypes, | |
6964 | to prevent spurious out-of-scope references in gigi. | |
6965 | ||
6966 | 2009-04-16 Tristan Gingold <gingold@adacore.com> | |
6967 | ||
6968 | * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads: | |
6969 | Add support for stack checking on darwin. | |
6970 | ||
6971 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
6972 | ||
6973 | * prj-attr.adb: New attribute Runtime_Source_Dir | |
6974 | ||
6975 | * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process | |
6976 | attribute Runtime_Source_Dir. | |
6977 | (Check_Naming_Schemes): Give default values to out parameters to avoid | |
6978 | invalid data. | |
6979 | ||
6980 | * prj.ads (Language_Config): New component Runtime_Source_Dir | |
6981 | ||
6982 | * snames.ads-tmpl: New standard name Runtime_Source_Dir | |
6983 | ||
437991c2 | 6984 | 2009-04-16 Pascal Obry <obry@adacore.com> |
6985 | ||
6986 | * adaint.h, adaint.c (__gnat_rmdir): New routine. | |
6987 | Simple wrapper routines used to convert to proper encoding on | |
6988 | Windows. | |
6989 | ||
6990 | * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library. | |
6991 | ||
6992 | * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed | |
6993 | twice. | |
6994 | ||
105907b4 | 6995 | 2009-04-16 Pascal Obry <obry@adacore.com> |
6996 | ||
6997 | * s-crtl.ads, s-os_lib.adb: Minor code clean-up. | |
6998 | ||
a8d94a8f | 6999 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
7000 | ||
7001 | * snames.ads-tmpl (Name_Defined): New predefined name for use by the | |
7002 | integrated preprocessor. | |
7003 | ||
7004 | * prep.ads, prep.adb (Setup_Hooks): New subprogram. | |
7005 | (Initialize): Split into two subprograms, Initialize (to be called | |
7006 | prior to compiler command line processing) and Setup_Hooks (to be called | |
7007 | later on when the first source file is loaded). | |
7008 | ||
7009 | * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks. | |
7010 | Add call to Prep.Initialize. | |
7011 | ||
7012 | * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call | |
7013 | to Prep.Setup_Hooks. | |
7014 | ||
7015 | 2009-04-16 Pascal Obry <obry@adacore.com> | |
7016 | ||
7017 | * adaint.h, adaint.c (__gnat_chdir): New routine. | |
7018 | Simple wrapper routines used to convert to proper encoding on | |
7019 | Windows. | |
7020 | ||
7021 | * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library. | |
7022 | ||
7023 | * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL. | |
7024 | ||
38c1b9c7 | 7025 | 2009-04-16 Quentin Ochem <ochem@adacore.com> |
7026 | ||
7027 | * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead | |
7028 | of Source.Init. | |
7029 | ||
7030 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> | |
7031 | ||
7032 | * a-convec.ads (Is_Empty): Mark inline. | |
7033 | ||
7034 | 2009-04-16 Nicolas Roche <roche@adacore.com> | |
7035 | ||
7036 | * init.c (__gnat_init_float): Initialize FPU on x86_64 windows | |
7037 | ||
7038 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
7039 | ||
7040 | * prepcomp.adb: Minor reformatting | |
7041 | ||
f54101c9 | 7042 | 2009-04-16 Jerome Lambourg <lambourg@adacore.com> |
7043 | ||
7044 | * sem_prag.adb (Process_Import_Or_Interface): With .NET, | |
7045 | Access_Subprogram types can also be imported. | |
7046 | (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL | |
7047 | names. | |
7048 | ||
7049 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
7050 | ||
7051 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): | |
7052 | preserve homonym chain when the declaration is rewritten into a | |
7053 | renaming declaration, in order to preserve visibility structure. | |
7054 | ||
5ee65f70 | 7055 | 2009-04-16 Jerome Lambourg <lambourg@adacore.com> |
7056 | ||
7057 | * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not | |
7058 | taken into account for VM targets. | |
7059 | ||
7060 | 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> | |
7061 | ||
7062 | * g-calend.ads, g-calend.adb (Week_In_Year): Now calls | |
7063 | Year_Week_In_Year. | |
7064 | (Year_Week_In_Year): New routine which contains the original code from | |
7065 | Week_In_Year. Add the missing special case for January 1st falling on | |
7066 | a Monday. | |
7067 | ||
0c4c5759 | 7068 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
7069 | ||
7070 | * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic | |
7071 | actual type, use the base type to build the To_Any function. | |
7072 | (Build_From_Any_Function): Remove junk, useless subtype conversion. | |
7073 | ||
7074 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
7075 | ||
7076 | * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb, | |
7077 | restrict.adb: Minor code reorganization (use | |
7078 | Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand). | |
7079 | ||
511d352a | 7080 | 2009-04-16 Bob Duff <duff@adacore.com> |
7081 | ||
7082 | * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove, | |
7083 | unused. | |
7084 | ||
7085 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
7086 | ||
7087 | * sem_ch4.adb: Minor reformatting | |
7088 | ||
7089 | * adaint.c: Remove junk duplicated code. | |
7090 | ||
7091 | * sem_ch3.adb: Minor reformatting | |
7092 | ||
7093 | * exp_dist.adb: Minor comment rewording | |
7094 | ||
b78f400b | 7095 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
7096 | ||
7097 | * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa | |
7098 | used together. | |
7099 | ||
7100 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
7101 | ||
7102 | * sem_ch4.adb (Find_Equality_Types): Filter out types that are not | |
7103 | usable before calling Add_One_Interp, to resolve spurious ambiguities. | |
7104 | ||
45045496 | 7105 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
7106 | ||
949255b7 | 7107 | * Make-lang.in: Add entries for s-conca?.o |
7108 | ||
45045496 | 7109 | * Makefile.rtl: Add entries for s-conca? |
7110 | ||
7111 | * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior | |
7112 | of concatenation expansion | |
7113 | ||
7114 | * exp_ch4.adb (Expand_Concatenation): Generate calls for certain | |
7115 | string cases instead of expanding assignments inline. | |
7116 | ||
7117 | * opt.ads (Optimize_Size): New flag | |
7118 | ||
7119 | * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads, | |
7120 | s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb, | |
7121 | s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads, | |
7122 | s-conca9.adb, s-conca9.ads: New file. | |
7123 | ||
ed1c90f6 | 7124 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
7125 | ||
7126 | * exp_ch6.adb: Add comments | |
7127 | ||
7128 | * rtsfind.ads: Add entries for s-conca? routines | |
7129 | ||
0793eba5 | 7130 | 2009-04-16 Arnaud Charlet <charlet@adacore.com> |
84614c68 | 7131 | |
7132 | * gcc-interface/Make-lang.in: Update dependencies. | |
7133 | ||
7134 | * gcc-interface/Makefile.in: Update translation for vms. | |
7135 | ||
405d066a | 7136 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
7137 | ||
7138 | * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities | |
7139 | and made global, to be used when installing parents of a child | |
7140 | instance, to provide mappings for entities declared in formal packages | |
7141 | of ancestor units. Now called from Install_Formal_Packages. | |
7142 | ||
7143 | 2009-04-16 Doug Rupp <rupp@adacore.com> | |
7144 | ||
7145 | * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others | |
7146 | notation for clarity. | |
7147 | ||
7148 | * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
7149 | s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb, | |
7150 | s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb | |
7151 | (Initialize): Initialize Known_Tasks with Environment task. | |
7152 | ||
7153 | * s-taskin.ads (Task_States): Move new states to end for the sake of | |
7154 | GDB compatibility. | |
7155 | ||
7156 | * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task. | |
7157 | ||
e4401d9b | 7158 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
7159 | ||
7160 | * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected | |
7161 | operation has an inline pragma, propagate the flag to the internal | |
7162 | unprotected subprogram. | |
7163 | ||
e156dd80 | 7164 | 2009-04-16 Doug Rupp <rupp@adacore.com> |
7165 | ||
7166 | * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb, | |
7167 | s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb, | |
7168 | s-taprop-hpux-dce.adb, s-taprop-posix.adb | |
7169 | (Enter_Task): Move Known_Tasks initialization to s-tassta.adb | |
7170 | ||
7171 | * s-taprop-vms.adb (Enter_Task): Likewise. | |
7172 | (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback. | |
7173 | ||
7174 | * s-tassta.adb (Activate_Tasks): After task creation set state to | |
7175 | Activating, vice Runnable. Initialize Known_Tasks, moved here from | |
7176 | s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger. | |
7177 | Set state to Runnable after above. | |
7178 | (Task_Wrapper): Set Debug_Event_Run. In exception block set | |
7179 | Debug_Event_Terminated. | |
7180 | ||
7181 | * s-taskin.ads (Task_States): Add new states Activiting and | |
7182 | Activator_Delay_Sleep. | |
7183 | (Bit_Array, Debug_Event_Array): New types. | |
7184 | (Global_Task_Debug_Event_Set: New flag. | |
7185 | (Common_ATCB): New field Debug_Events. | |
7186 | ||
7187 | * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events. | |
7188 | ||
7189 | * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice | |
7190 | Activator_Sleep. | |
7191 | ||
7192 | * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when | |
7193 | Activating and when Acceptor_Delay_Sleep. | |
7194 | ||
7195 | * s-tasdeb.ads: Add constants for Debug_Events. | |
7196 | (Debug_Event_Kind_Type): New subtype. | |
7197 | (Signal_Debug_Event): New subprogram. | |
7198 | ||
7199 | * s-tasdeb.adb (Signal_Debug_Event): New null subprogram. | |
7200 | ||
bb8d99b2 | 7201 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
7202 | ||
7203 | * sem_elim.adb: Minor reformatting | |
7204 | ||
7205 | * freeze.adb: Minor reformatting | |
7206 | ||
7207 | * exp_ch4.adb: Minor reformatting | |
7208 | ||
1f958cd0 | 7209 | 2009-04-16 Emmanuel Briot <briot@adacore.com> |
7210 | ||
7211 | * prj-nmsc.adb (Path_Name_Of): fix memory leak | |
7212 | ||
7213 | 2009-04-16 Robert Dewar <dewar@adacore.com> | |
7214 | ||
7215 | * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation | |
7216 | ||
7217 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
7218 | ||
7219 | * fmap.adb (Initialize): Show the current line when the mapping file | |
7220 | is detected as "incorrectly formatted". | |
7221 | ||
7222 | 2009-04-16 Robert Dewar <dewar@adacore.com> | |
7223 | ||
7224 | * sem_ch12.adb: Minor reformatting | |
7225 | ||
7226 | * sem_ch5.adb: Minor comment addition | |
7227 | ||
7228 | * sem_util.adb: Minor reformatting | |
7229 | ||
7230 | * sinput-p.adb: Minor reformatting | |
7231 | Add missing pragma Warnings (On) | |
7232 | ||
74fb3c27 | 7233 | 2009-04-16 Ed Falis <falis@adacore.com> |
7234 | ||
7235 | * s-vxwext-kernel.adb: (ERROR): deleted unused constant | |
7236 | ||
7237 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
7238 | ||
7239 | * ali-util.adb: Minor comment spelling error fix | |
7240 | ||
0650d72b | 7241 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> |
7242 | ||
7243 | * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not | |
7244 | generate an assignment loop in case of overlap. | |
7245 | ||
50fa7613 | 7246 | 2009-04-16 Olivier Hainque <hainque@adacore.com> |
7247 | ||
7248 | * gnat_ugn.texi (gnatmem description): Make it explicit that | |
7249 | gnatmem is designed to work in association with static runtime | |
7250 | library only. | |
7251 | ||
7252 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
7253 | ||
7254 | * sem_type.adb: Minor reformatting | |
7255 | ||
7256 | 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> | |
7257 | ||
7258 | * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment | |
7259 | concerning return codes of gettimeofday and return value check. | |
7260 | ||
7261 | 2009-04-16 Ed Falis <falis@adacore.com> | |
7262 | ||
7263 | * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so | |
7264 | body can be renaming of imported routines. | |
7265 | ||
7266 | 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> | |
7267 | ||
7268 | * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more | |
7269 | targeted fashion. | |
7270 | ||
e0c76917 | 7271 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
7272 | ||
7273 | * exp_ch9.adb: Comment improvements. | |
7274 | (Build_Entry_Family_Name): Add parentheses around the index of a entry | |
7275 | family member. | |
7276 | ||
7277 | 2009-04-15 Bob Duff <duff@adacore.com> | |
7278 | ||
7279 | * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like | |
7280 | "while X /= null loop" where X is unchanged inside the loop. We were | |
7281 | not warning in this case, because of the pointers -- we feared that the | |
7282 | loop variable could be updated via a pointer, if there are any pointers | |
7283 | around the place. But that is impossible in this case. | |
7284 | ||
7285 | * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in | |
7286 | the case of dereferences. In X.all, X cannot be an l-value. We now | |
7287 | catch that case (and implicit dereferences, too). | |
7288 | ||
7289 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
7290 | ||
7291 | * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure | |
7292 | ||
7293 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7294 | ||
7295 | * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive. | |
7296 | From code reading. | |
7297 | (Analyze_Package_Instantiation): If generic unit in child instance is | |
7298 | the same as generic unit in parent instance, look for an outer homonym | |
7299 | to locate the desired generic. | |
7300 | ||
ba14ef4a | 7301 | 2009-04-15 Bob Duff <duff@adacore.com> |
7302 | ||
7303 | * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop | |
7304 | warnings unless the loop comes from source, because checking generated | |
7305 | loops is a waste of time, and makes it harder to debug | |
7306 | Check_Infinite_Loop_Warning. | |
7307 | ||
7308 | * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable | |
7309 | tested in the while loop is a renaming, do not warn. Otherwise, we get | |
7310 | false alarms, because it's usually renaming something that we can't | |
7311 | deal with (an indexed component, a global variable, ...). | |
7312 | ||
7313 | * gnat_rm.texi: Fix typo | |
7314 | ||
7315 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
7316 | ||
7317 | * sem_ch6.adb: Minor reformatting | |
7318 | ||
dd13e522 | 7319 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
7320 | ||
7321 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the | |
7322 | immediate parent of the controlled function call is a component | |
7323 | association. | |
7324 | ||
7325 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7326 | ||
7327 | * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the | |
7328 | corresponding class-wide type is also in use. | |
7329 | ||
7330 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
7331 | ||
7332 | * frontend.adb: Minor comment fix | |
7333 | ||
53e876ae | 7334 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
7335 | ||
7336 | * gnatchop.adb (BOM_Length): New global variable | |
7337 | (Write_Unit): Add new parameter Write_BOM | |
7338 | (Write_Chopped_Files): Check for BOM and set Write_BOM for call | |
7339 | to Write_Unit | |
7340 | ||
7341 | * gnat_ugn.texi: Add note on propagation of BOM by gnatchop | |
7342 | ||
7343 | 2009-04-15 Geert Bosch <bosch@adacore.com> | |
7344 | ||
7345 | * system-mingw-x86_64.ads, system-darwin-x86_64.ads | |
7346 | (Backend_Overflow_Checks): Set to True. | |
7347 | ||
7348 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> | |
7349 | ||
7350 | * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized | |
7351 | keyword is given in a record extension. | |
7352 | ||
7353 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
7354 | ||
7355 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion | |
7356 | of a controlled function call in the context of a record aggregate. | |
7357 | This does not apply to array aggregates since the call will be expanded | |
7358 | into assignments. | |
7359 | ||
7360 | 2009-04-15 Ed Falis <falis@adacore.com> | |
7361 | ||
7362 | * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb, | |
7363 | s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb, | |
5d2ef540 | 7364 | s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize |
7365 | s-osinte-vxworks* and s-vxwext*. | |
53e876ae | 7366 | |
9a8abef6 | 7367 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
7368 | ||
7369 | * gcc-interface/Make-lang.in: Update dependencies. | |
7370 | ||
7371 | * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks* | |
7372 | and s-vxwext*. | |
7373 | ||
299480f9 | 7374 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
7375 | ||
7376 | * sem_ch13.adb (Unchecked_Conversions): Store source location instead | |
7377 | of node for location for warning messages. | |
7378 | ||
7379 | * gnatchop.adb: Minor reformatting | |
7380 | ||
7381 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7382 | ||
7383 | * exp_ch6.adb: additional guard for renaming declarations for in | |
7384 | parameters of an array type. | |
7385 | ||
87d3518d | 7386 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
7387 | ||
7388 | * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds | |
7389 | in case they were rewritten by expander (Force_Evaluation). | |
7390 | ||
7391 | * targparm.adb (Get_Target_Parameters): Correct check for | |
7392 | Suppress_Exception_Locations. | |
7393 | ||
7394 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7395 | ||
7396 | * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be | |
7397 | inlined is of an array type that is not bit-packed, use a renaming | |
7398 | declaration to capture its value, rather than a constant declaration. | |
7399 | ||
b2a537cf | 7400 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
7401 | ||
7402 | * rtsfind.adb: Minor reformatting. | |
7403 | ||
7404 | 2009-04-15 Emmanuel Briot <briot@adacore.com> | |
7405 | ||
7406 | * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames | |
7407 | Restore, and free the saved context. | |
7408 | ||
7409 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> | |
7410 | ||
7411 | * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check | |
7412 | for illegal private extension from a synchronized interface parent in | |
7413 | front of check for illegal limited extension so that limited extension | |
7414 | from a synchronized interface will be rejected. | |
7415 | (Check_Ifaces): Check that a private extension that has a synchronized | |
7416 | interface as a progenitor must be explicitly declared synchronized. | |
7417 | Also check that a record extension cannot derive from a synchronized | |
7418 | interface. | |
7419 | ||
49260fa5 | 7420 | 2009-04-15 Pascal Obry <obry@adacore.com> |
7421 | ||
7422 | * adaint.h (__gnat_unlink): Add spec. | |
7423 | (__gnat_rename): Likewise. | |
7424 | ||
7425 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
7426 | ||
7427 | * prj-nmsc.adb: Minor spelling error corrections in error messages | |
7428 | ||
7429 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
7430 | ||
7431 | * sinfo.ads: Minor comment update | |
7432 | ||
7433 | * opt.ads: Minor comment updates | |
7434 | ||
7435 | * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for | |
7436 | modular type. | |
7437 | ||
7438 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7439 | ||
7440 | * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function | |
7441 | that generates the code needed to update a dispatch table when a | |
7442 | primitive operation is declared with a subprogram body without previous | |
7443 | spec. Insertion of the generated code is responsibility of the caller. | |
7444 | (Make_DT): When building static tables, append the code created by | |
7445 | Register_Primitive to update a secondary table after it has been | |
7446 | constructed. | |
7447 | ||
7448 | * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive. | |
7449 | ||
7450 | * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive | |
7451 | on an overriding operation that implements an interface operation only | |
7452 | if not building static dispatch tables. | |
7453 | ||
7454 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
7455 | ||
7456 | * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which | |
7457 | does not cause overflow when converted to Duration. Use the safe value | |
7458 | as the maximum allowable time delay.. | |
7459 | ||
7460 | 2009-04-15 Jerome Lambourg <lambourg@adacore.com> | |
7461 | ||
7462 | * g-comlin.adb (Set_Command_Line): When adding a switch with attached | |
7463 | parameter, specify that the delimiter is NUL, otherwise "-j2" will be | |
7464 | translated to "-j 2". | |
7465 | ||
7466 | 2009-04-15 Bob Duff <duff@adacore.com> | |
7467 | ||
7468 | * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit | |
7469 | with_clauses, to avoid code duplication. Change this processing so we | |
7470 | always add a with_clause on the main unit if needed. | |
7471 | ||
13320214 | 7472 | 2009-04-15 Pascal Obry <obry@adacore.com> |
7473 | ||
7474 | Add support for Win32 native encoding for delete/rename routines. | |
7475 | ||
7476 | * adaint.c (__gnat_unlink): New routine. | |
7477 | (__gnat_rename): New routine. | |
7478 | Simple wrapper routines used to convert to proper encoding on | |
7479 | Windows. | |
7480 | ||
7481 | * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct | |
7482 | call to the C library. | |
7483 | ||
7484 | * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding. | |
7485 | ||
7486 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
7487 | ||
7488 | * s-tassta.adb: Minor reformatting | |
7489 | ||
30e5c8d3 | 7490 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
7491 | ||
7492 | * frontend.adb (Frontend): Set proper default for | |
7493 | Warn_On_Non_Local_Exception. | |
7494 | ||
7495 | * opt.ads (Exception_Handler_Encountered): New flag | |
7496 | (No_Warn_On_Non_Local_Exception): New flag | |
7497 | ||
7498 | * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered | |
7499 | ||
7500 | * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception | |
7501 | (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception | |
7502 | ||
7503 | 2009-04-15 Cyrille Comar <comar@adacore.com> | |
7504 | ||
7505 | * s-tassta.adb, a-exextr.adb, a-elchha.adb | |
7506 | (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception | |
7507 | message when exception traces are active since it would generate | |
7508 | redundant information. | |
7509 | (Exception_Traces.Notify_Exception): put message output by a critical | |
7510 | section to avoid unsynchronized output. | |
7511 | (Trace_Unhandled_Exception_In_Task): put message output by a critical | |
7512 | section to avoid unsynchronized output. | |
7513 | ||
7514 | 2009-04-15 Emmanuel Briot <briot@adacore.com> | |
7515 | ||
7516 | * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads | |
7517 | (Free): New subprogram. | |
7518 | ||
c970afb7 | 7519 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
7520 | ||
7521 | * a-calend.adb: Add new constant Nanos_In_Four_Years. | |
7522 | (Formatting_Operations.Time_Of): Change the way four year chunks of | |
7523 | nanoseconds are added to the intermediate result. | |
7524 | ||
7525 | 2009-04-15 Nicolas Setton <setton@adacore.com> | |
7526 | ||
7527 | * sysdep.c: Add __APPLE__ in the list of systems where get_immediate | |
7528 | does not need to wait for a carriage return. | |
7529 | ||
7530 | 2009-04-15 Tristan Gingold <gingold@adacore.com> | |
7531 | ||
7532 | * bindgen.adb: Do not generate adafinal if No_Finalization restriction | |
7533 | is set. | |
7534 | ||
7535 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7536 | ||
7537 | * freeze.adb (Freeze_Entity): improve error message for improper use of | |
7538 | incomplete types. | |
7539 | Diagnose additional illegal uses of incomplete types in formal parts. | |
7540 | appearing in formal parts. | |
7541 | ||
7542 | * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto. | |
7543 | ||
7544 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
7545 | ||
7546 | * exp_ch4.adb (Expand_N_Allocator): Install test for object too large. | |
7547 | ||
a0d9619f | 7548 | 2009-04-15 Nicolas Roche <roche@adacore.com> |
7549 | ||
7550 | * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the | |
7551 | current thread. | |
7552 | ||
7553 | * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self | |
7554 | ||
7555 | * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB | |
7556 | ||
46f942b1 | 7557 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
7558 | ||
7559 | * sem_ch4.adb: improve error message on exponentiation. | |
7560 | ||
7561 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
7562 | ||
7563 | * a-calend.adb: Move constant Epoch_Offset from package | |
7564 | Conversion_Operations to top level. | |
7565 | (Delay_Operations.To_Duration): Define a constant which represents | |
7566 | "end of time" and use it as a guard against very distant delay dates. | |
7567 | Protect the code against overflow when performing the origin shift to | |
7568 | Unix time. | |
7569 | ||
555c63a6 | 7570 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
7571 | ||
7572 | * sem_prag.adb: Minor reformatting. | |
7573 | ||
7574 | * sem_type.adb: Minor reformatting | |
7575 | ||
7576 | 2009-04-15 Javier Miranda <miranda@adacore.com> | |
7577 | ||
7578 | * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing | |
7579 | support to check eliminated subprograms. | |
7580 | ||
7581 | * sem_elim.ads (Eliminate_Error_Msg): Update documentation. | |
7582 | ||
7583 | * sem_elim.adb (Set_Eliminated): Add support for elimination of | |
7584 | dispatching subprograms. | |
7585 | ||
7586 | * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive | |
7587 | operations. Initialize with "null" the slots of eliminated dispaching | |
7588 | primitives. | |
7589 | (Write_DT): Add output for eliminated primitives. | |
7590 | ||
7591 | * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives. | |
7592 | ||
2018b7fa | 7593 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
7594 | ||
7595 | * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit, | |
7596 | the second is redundant, regardless of scopes. | |
7597 | ||
7598 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
7599 | ||
7600 | * prj-nmsc.adb (Get_Directories): Check for sources before checking | |
7601 | the object directory as when there are no sources, they may not be any | |
7602 | object directory. | |
7603 | ||
7604 | * make.adb (Gnatmake): Do not attempt to get the path name of the exec | |
7605 | directory, when there are no exec directory. | |
7606 | ||
7607 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7608 | ||
7609 | * sem_type.adb (Remove_Conversions): In order to resolve spurious | |
7610 | ambiguities, refine removal of universal interpretations from complex | |
7611 | expressions with literal arguments, when some numeric operators have | |
7612 | been declared abstract. | |
7613 | ||
7614 | 2009-04-15 Ed Falis <falis@adacore.com> | |
7615 | ||
7616 | * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity | |
7617 | and backward compatibility for targets using probing for stack overflow | |
7618 | ||
7619 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7620 | ||
7621 | * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal | |
7622 | after any declaration, including renaming declarations. | |
7623 | ||
debc2e20 | 7624 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
7625 | ||
7626 | * gcc-interface/Make-lang.in: Update dependencies. | |
7627 | ||
7628 | * gcc-interface/Makefile.in: Fix VxWorks target pairs. | |
b91c587a | 7629 | Update xenomai target pairs. |
debc2e20 | 7630 | |
004058b1 | 7631 | 2009-04-15 Javier Miranda <miranda@adacore.com> |
7632 | ||
7633 | * exp_ch4.adb (Expand_N_Allocator): Code cleanup. | |
7634 | ||
7635 | * sem_ch6.adb (Check_Anonymous_Return): Add missing support for | |
7636 | functions returning anonymous access to class-wide limited types. Mark | |
7637 | also the containing scope as a task master. | |
7638 | ||
7639 | * sem_ch8.adb (Restore_Scope_Stack): Add missing management for | |
7640 | limited-withed packages. Required to restore their visibility after | |
7641 | processing packages associated with implicit with-clauses. | |
7642 | ||
7643 | * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters | |
7644 | associated with return statements because this work is now done by | |
7645 | Check_Anonymous_Return. | |
7646 | (Build_Master): Code cleanup. | |
7647 | ||
235a2f4e | 7648 | 2009-04-15 Thomas Quinot <quinot@adacore.com> |
7649 | ||
7650 | * sem_warn.ads: Minor reformatting | |
7651 | ||
7652 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7653 | ||
7654 | * sem_ch3.adb: better error message for illegal interfaces | |
7655 | ||
7656 | * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a | |
7657 | formal is an incomplete type from a limited_with clause. | |
7658 | ||
e5501a8e | 7659 | 2009-04-15 Vincent Celier <celier@adacore.com> |
7660 | ||
7661 | * prj-nmsc.adb (Locate_Directory): New Boolean parameter | |
7662 | Externally_Built indicating if the project is externally built. If it | |
7663 | is, and --subdirs is specified, but the subdir does not exist, look | |
7664 | for the specified directory, without the subdir. | |
7665 | ||
d82baf7f | 7666 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> |
7667 | ||
7668 | * a-tasatt.adb: Fix typo, plus minor reformatting | |
7669 | ||
7670 | * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide"). | |
7671 | ||
7672 | * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible"). | |
7673 | ||
7674 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
7675 | ||
7676 | * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a | |
7677 | private extension whose parent is a synchronized interface carries an | |
7678 | explicit synchronized keyword. | |
7679 | ||
f8bf3c33 | 7680 | 2009-04-15 Thomas Quinot <quinot@adacore.com> |
7681 | ||
7682 | * exp_smem.adb (Make_Shared_Var_Procs): For a protected type, | |
7683 | instantiate generic shared object package with the corresponding | |
7684 | record type. | |
7685 | ||
07ae4f9f | 7686 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
7687 | ||
7688 | * system-linux-sparc.ads: Remove obsolete entries. | |
7689 | ||
7690 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
7691 | ||
7692 | * s-tasuti.ads: Add ??? comment | |
7693 | ||
216db6e5 | 7694 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
7695 | ||
7696 | * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access | |
7697 | type even if the designated type comes from a limited_with clause, to | |
7698 | ensure that the symbol for the finalization list of the access type is | |
7699 | created. | |
7700 | ||
f3f7771d | 7701 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
7702 | ||
7703 | * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases | |
7704 | for warning suppression. | |
7705 | ||
7706 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
7707 | ||
7708 | * sem_ch8.adb (Use_One_Type): If the two use_type clauses are | |
7709 | identical, there is no redudancy to check. | |
7710 | ||
7711 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
7712 | ||
7713 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant | |
7714 | calls initializing SS_Allocator (which is initialized in following | |
7715 | code). | |
7716 | (Expand_Simple_Function_Return): Add comment about False value for | |
7717 | Comes_From_Source on secondary-stack allocator. | |
7718 | ||
7719 | * exp_ch9.adb (Build_Entry_Family_Name): Add comment. | |
7720 | (Build_Entry_Name): Add comment. | |
7721 | ||
19b4517d | 7722 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
7723 | ||
7724 | * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known | |
7725 | ||
7726 | * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower | |
7727 | bound tested, since this is now done more generally in Sem_Res. | |
7728 | ||
7729 | * sem_res.adb (Resolve_Comparison_Op): Add call to | |
7730 | Check_Lower_Bound_Tested. | |
7731 | (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested | |
7732 | ||
7733 | * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure | |
7734 | (Low_Bound_Tested): New name for Low_Bound_Known flag | |
7735 | ||
7736 | * exp_ch5.adb: Minor reformatting | |
7737 | ||
7738 | * exp_ch4.adb: | |
7739 | Add comments on copying the Comes_From_Source flag for allocators | |
7740 | ||
7741 | * sinfo.ads: | |
7742 | Add comments on copying the Comes_From_Source flag for allocators | |
7743 | ||
7744 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy | |
7745 | Comes_From_Source flag from old allocator to new one. | |
7746 | ||
7747 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
7748 | ||
7749 | * sem_ch6.ads: Address missing documentation query | |
7750 | ||
7751 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
7752 | ||
7753 | * prj-attr.adb: | |
7754 | Add new Linker attributes Max_Command_Line_Length, Response_File_Format | |
7755 | and Response_File_Switches. | |
7756 | ||
7757 | * prj-nmsc.adb (Process_Linker): Process new attributes | |
7758 | Max_Command_Line_Length, Response_File_Format and | |
7759 | Response_File_Switches. | |
7760 | ||
7761 | * prj.ads (Response_File_Format): New enumeration type | |
7762 | (Project_Configuration): New componants Max_Command_Line_Length, | |
7763 | Resp_File_Format and Resp_File_Options. | |
7764 | ||
7765 | * snames.ads-tmpl: Add new standard names for linking response files | |
7766 | for gprbuild: GNU, None, Object_List, Option_List, | |
7767 | Max_Command_Line_Length, Response_File_Format and | |
7768 | Response_File_Switches. | |
7769 | ||
7770 | 2009-04-10 Geert Bosch <bosch@adacore.com> | |
7771 | ||
7772 | * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads, | |
7773 | system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads, | |
7774 | system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads, | |
7775 | system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads, | |
7776 | system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads, | |
7777 | system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads, | |
7778 | system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads, | |
7779 | system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads, | |
7780 | system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads, | |
7781 | system-vxworks-arm.ads, system-vxworks-m68k.ads, | |
7782 | system-vxworks-mips.ads, system-vxworks-ppc.ads, | |
7783 | system-vxworks-sparcv9.ads, system-vxworks-x86.ads | |
7784 | (Backend_Overflow_Checks): Set to True. | |
7785 | ||
b6dbc975 | 7786 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
7787 | ||
7788 | * exp_attr.adb: Minor reformatting | |
7789 | ||
7790 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
7791 | ||
7792 | * sem_prag.adb (Check_Precondition_Postcondition): Within a generic, | |
7793 | analyze the expression for a postcondition, even if the compiler mode | |
7794 | is Generate_Code. | |
7795 | ||
d3df8832 | 7796 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
7797 | ||
7798 | * sem_aux.adb: Minor reformatting | |
7799 | ||
dc8b96e9 | 7800 | 2009-04-10 Ed Falis <falis@adacore.com> |
7801 | ||
7802 | * init.c: Change VxWorks 6 stack overflow checking for kernel apps. | |
7803 | ||
7804 | * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header. | |
7805 | ||
1e35409d | 7806 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
7807 | ||
7808 | * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for | |
7809 | undocumented formal. | |
7810 | Minor reformatting | |
7811 | ||
7812 | * a-direio.ads: Fix typo in comment | |
7813 | ||
7814 | * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb, | |
7815 | errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb: | |
7816 | Use uniform phrasing for comment at start of subprogram body. | |
7817 | ||
7818 | * xsnamest.adb: Add note to explain why we use specific names for the | |
7819 | newly generated files instead of generating snames.{ads,adb,h} directly | |
7820 | ||
ab31e6f8 | 7821 | 2009-04-10 Sergey Rybin <rybin@adacore.com> |
7822 | ||
7823 | * vms_data.ads: | |
7824 | Add qualifier for new gnatstub option '--no-exception' | |
7825 | ||
7826 | * gnat_ugn.texi: | |
7827 | Add the description of the new gnatstub option '--no-exception' | |
7828 | ||
7829 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
7830 | ||
7831 | * rtsfind.adb: Minor reformatting | |
7832 | ||
7833 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
7834 | ||
7835 | * sem_disp.adb: Minor reformatting. | |
7836 | Add comment pointing to RM clause for the case of warning against a | |
7837 | (failed) attempt at declaring a primitive operation elsewhere than in a | |
7838 | package spec. | |
7839 | ||
7840 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
7841 | ||
7842 | * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is | |
7843 | an actual for a previous formal package of the current instance. | |
7844 | ||
399ad7e8 | 7845 | 2009-04-10 Bob Duff <duff@adacore.com> |
7846 | ||
7847 | * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs | |
7848 | them first, rather than on the extended main unit. | |
7849 | ||
7850 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
7851 | ||
7852 | * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant | |
7853 | specification of full view carries a null exclusion indicator, create | |
7854 | an itype for it, to check for conformance with partial view. | |
7855 | ||
24b37698 | 7856 | 2009-04-10 Bob Duff <duff@adacore.com> |
7857 | ||
7858 | * rtsfind.ads: Minor code change: make RE_Unit_Table constant. | |
7859 | ||
7860 | * rtsfind.adb: Minor comment changes, and remove useless code. | |
7861 | ||
7862 | * sinfo.ads: Add ??? comment. | |
7863 | ||
7864 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
7865 | ||
7866 | * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U | |
7867 | ||
8188864b | 7868 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> |
7869 | ||
7870 | * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged | |
7871 | type is a synchronized type, retrieve tag information from the | |
7872 | corresponding record, which has the dispatch table link. | |
7873 | ||
7874 | 2009-04-10 Jerome Lambourg <lambourg@adacore.com> | |
7875 | ||
7876 | * g-comlin.adb (Group_Analysis): Take care of switches that might be | |
7877 | decomposed afterwards, but are present as-is in the command line | |
7878 | configuration, and thus should be kept as-is. | |
7879 | ||
1ce752d5 | 7880 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
7881 | ||
7882 | * gnat_rm.texi: Document that postconditions are tested on implicit | |
7883 | returns. | |
7884 | ||
7885 | * sem_aux.adb: Minor reformatting | |
7886 | ||
7887 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
7888 | ||
7889 | * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when | |
7890 | setting Etype. | |
7891 | ||
7892 | * par-ch3.adb (P_Access_Type_Definition): Set new attribute | |
7893 | Null_Exclusion_In_Return_Present when an access-to-function type has a | |
7894 | result type with an explicit not null. | |
7895 | ||
7896 | * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is | |
7897 | given on the result type, then create a null-excluding itype for the | |
7898 | function. | |
7899 | ||
7900 | * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in | |
7901 | the case where a null exclusion is imposed on a named access type. | |
7902 | (Analyze_Subprogram_Specification): Push and pop the scope of the | |
7903 | function around the call to Analyze_Return_Type in the case of no | |
7904 | formals, for consistency with handling when formals are present | |
7905 | (Process_Formals does this). Ensures that any itype created for the | |
7906 | return type will be associated with the proper scope. | |
7907 | ||
7908 | * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null | |
7909 | exclusion is given on a generic function's result type, then create a | |
7910 | null-excluding itype for the generic function. | |
7911 | (Instantiate_Object): Set Null_Exclusion_Present of a constant created | |
7912 | for an actual for a formal in object according to the setting on the | |
7913 | formal. Ensures null exclusion checks are done when the association is | |
7914 | elaborated. | |
7915 | ||
7916 | * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on | |
7917 | N_Access_Function_Definition. | |
7918 | ||
7919 | * sinfo.adb: Add Get_ and Set_ operations for | |
7920 | Null_Exclusion_In_Return_Present. | |
7921 | ||
53f083ab | 7922 | 2009-04-10 Bob Duff <duff@adacore.com> |
7923 | ||
7924 | * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a | |
7925 | call to the _Postconditions procedure in the case of implicit returns | |
7926 | from analysis to expansion. This eliminates some duplicated code. Use | |
7927 | the Postcondition_Proc to find the identity of this procedure during | |
7928 | expansion. | |
7929 | ||
d8da6385 | 7930 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
7931 | ||
7932 | * sem_ch6.adb: Minor code clean up. | |
7933 | ||
7934 | * einfo.ads, sem_attr.adb: Minor comment fixes. | |
7935 | ||
7936 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
7937 | ||
7938 | * sem_ch8.adb: Minor reformatting | |
7939 | ||
00f76ed6 | 7940 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
7941 | ||
7942 | * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for | |
7943 | procedures. | |
7944 | ||
7945 | * sem_ch6.adb: Minor code clean up. | |
7946 | ||
4d1f0a53 | 7947 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
7948 | ||
7949 | * mlib-tgt-specific-xi.adb: Minor reformatting | |
7950 | ||
7951 | 2009-04-10 Bob Duff <duff@adacore.com> | |
7952 | ||
7953 | * einfo.ads: Minor comment fixes | |
7954 | ||
7955 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
7956 | ||
7957 | * snames.ads-tmpl: Remove names that are no longer used in the | |
7958 | Project Manager. | |
7959 | Mark specifically those that are used only in gprbuild | |
7960 | ||
7961 | 2009-04-10 Eric Botcazou <ebotcazou@adacore.com> | |
7962 | ||
7963 | * init.c: Adjust EH support code on Alpha/Tru64. | |
7964 | ||
7965 | 2009-04-10 Bob Duff <duff@adacore.com> | |
7966 | ||
7967 | * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions | |
7968 | procedure on every path that could return implicitly (not via a return | |
7969 | statement) from a procedure. | |
7970 | ||
7971 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
7972 | ||
7973 | * exp_ch9.adb (Build_Master_Entity): An extended return statement is a | |
7974 | valid scope for a task declarations and therefore for a master id. | |
7975 | ||
7976 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
7977 | ||
7978 | * sem_aux.adb: Minor reformatting | |
7979 | ||
7980 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
7981 | ||
7982 | * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to | |
7983 | True. | |
7984 | (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False | |
7985 | (Set_Obsolescent_Check): New procedure to change the value of | |
7986 | Obsolescent_Check_Flag. | |
7987 | ||
7988 | * scn.ads (Set_Obsolescent_Check): New procedure to control | |
7989 | Obsolescent_Check. | |
7990 | ||
7991 | * sinput-l.adb (Load_File): Do not check for pragma Restrictions on | |
7992 | obsolescent features while preprocessing. | |
7993 | ||
4a8d5a0a | 7994 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
7995 | ||
7996 | * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in | |
7997 | generated files on all platforms. | |
7998 | ||
7999 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8000 | ||
8001 | * sem_aux.adb: Minor reformatting | |
8002 | ||
8003 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8004 | ||
8005 | * sem_ch3.adb (Access_Definition): Handle properly the case of a | |
8006 | protected function with formals that returns an anonymous access type. | |
8007 | ||
8008 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
8009 | ||
8010 | * sem_disp.adb: Minor reformatting | |
8011 | ||
8012 | 2009-04-10 Vasiliy Fofanov <fofanov@adacore.com> | |
8013 | ||
8014 | * seh_init.c: Do not use the 32-bit specific implementation of | |
8015 | __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific | |
8016 | version TBD). | |
8017 | ||
8018 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
8019 | ||
8020 | * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain | |
8021 | a '/' at the end so we better use the complete target name to determine | |
8022 | whether it is a PowerPC 55xx target. | |
8023 | ||
526e024a | 8024 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
8025 | ||
8026 | * sem_eval.adb: Minor reformatting | |
8027 | ||
d48e2634 | 8028 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
8029 | ||
8030 | * snames.h, snames.ads, snames.adb: Remove files, now generated from | |
8031 | templates. | |
8032 | ||
8033 | * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the | |
8034 | above. | |
8035 | ||
8036 | * xsnamest.adb: New file. | |
8037 | ||
8038 | * gcc-interface/Make-lang.in: New target for automated generation of | |
8039 | snames.ads, snames.adb and snames.h | |
8040 | ||
00388045 | 8041 | 2009-04-10 Tristan Gingold <gingold@adacore.com> |
8042 | ||
8043 | * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to | |
8044 | avoid compile time warnings. | |
8045 | Do not add gcc/config in include search list while compiling the RTS. | |
8046 | Pragma Thread_Local_Storage is available on any target. | |
8047 | ||
9f42b990 | 8048 | 2009-04-10 Bob Duff <duff@adacore.com> |
8049 | ||
8050 | * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes. | |
8051 | ||
2b523281 | 8052 | 2009-04-10 Tristan Gingold <gingold@adacore.com> |
8053 | ||
8054 | * init.c: Install signal handler on Darwin. | |
8055 | ||
8056 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8057 | ||
8058 | * sem_prag.adb: Minor reformatting | |
8059 | ||
8060 | * exp_util.adb (Make_Non_Empty_Check): New function | |
8061 | (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check | |
8062 | (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check | |
8063 | ||
8064 | 2009-04-10 Arnaud Charlet <charlet@adacore.com> | |
8065 | ||
8066 | * make.adb, gnatlink.adb: Rename JGNAT toolchain. | |
8067 | ||
8068 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
8069 | ||
8070 | * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate | |
8071 | tool prefix for AVR and PowerPC 55xx targets. | |
8072 | ||
8073 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8074 | ||
8075 | * sem_warn.adb (Within_Postcondition): New function | |
8076 | (Check_Unset_Reference): Use Within_Postcondition to stop bad warning | |
8077 | ||
6bc4e5b9 | 8078 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8079 | ||
8080 | * sem_warn.adb: Minor reformatting | |
8081 | ||
8082 | * make.adb: Minor reformatting. | |
8083 | ||
8084 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
8085 | ||
8086 | * exp_ch7.adb (Find_Final_List): When creating a finalization-chain | |
8087 | entity and the scope is a subprogram, retrieve the Sloc of the | |
8088 | subprogram's body rather than using the sloc of the spec, for better | |
8089 | line-stepping behavior in gdb. | |
8090 | (Wrap_Transient_Declaration): For the Sloc of nodes created with a list | |
8091 | controller, use the Sloc of the first declaration of the containing list | |
8092 | rather than that of the node that triggered creation of the list | |
8093 | controller. | |
8094 | ||
284a54ba | 8095 | 2009-04-10 Vincent Celier <celier@adacore.com> |
8096 | ||
8097 | * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing | |
8098 | to avoid gcc warning. | |
8099 | ||
8100 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8101 | ||
8102 | * g-comlin.adb: Add ??? comment | |
8103 | ||
8104 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8105 | ||
8106 | * sem_warn.adb (Check_Unused_Withs): Do not emit message about | |
8107 | unreferenced entities for a package with no visible declarations. | |
8108 | ||
8109 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8110 | ||
8111 | * exp_ch9.adb: Minor reformatting | |
8112 | ||
14de9547 | 8113 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
8114 | ||
8115 | * sem_prag.adb: Minor reformatting | |
8116 | ||
8117 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
8118 | ||
8119 | * prj-nmsc.adb: | |
8120 | (Check_Library_Attributes): For a project qualified as a library project | |
8121 | that is not a library project, indicate in the error message which | |
8122 | attributes are missing (Library_Dir and/or Library_Name). | |
8123 | ||
791c4a7c | 8124 | 2009-04-10 Bob Duff <duff@adacore.com> |
8125 | ||
8126 | * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of | |
8127 | generated nodes, because it might confuse various circuits in the FE. | |
8128 | ||
fa0b5df1 | 8129 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> |
8130 | ||
8131 | * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument | |
8132 | of pragma. It will be recopied and analyzed when used in call to | |
8133 | Create_Task. | |
8134 | ||
8135 | * sem_res.adb (Resolve_Call): Clarify use of secondary stack within | |
8136 | initialization operations and recognize use of it in procedure calls | |
8137 | within init_procs. | |
8138 | ||
8139 | * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name | |
8140 | argument, because it may have side-effects. | |
8141 | ||
8142 | * exp_ch2.adb: Remove obsolete comments on default functions | |
8143 | ||
8144 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
8145 | ||
8146 | * adaint.c (RTX section): Do for RTX the same thing as we do for | |
8147 | Windows (include ctype.h and define a fallback ISALPHA if IN_RTS). | |
8148 | ||
1971b754 | 8149 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8150 | ||
8151 | * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function. | |
8152 | ||
8153 | * sem_res.adb (Resolve_Call): Fix test for | |
8154 | Suppress_Value_Tracking_On_Call (was wrong for the case of a call from | |
8155 | a non-dynamic scope). | |
8156 | ||
14ae7702 | 8157 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8158 | ||
8159 | * make.adb: Add comment. | |
8160 | Minor reformatting | |
8161 | ||
8162 | 2009-04-10 Nicolas Setton <setton@adacore.com> | |
8163 | ||
8164 | * s-osprim-darwin.adb: New file. | |
8165 | ||
8166 | * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec. | |
8167 | ||
8168 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
8169 | ||
8170 | * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set | |
8171 | ||
6bc9506f | 8172 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
8173 | ||
8174 | * adadecode.h: Change copyright header to refer to version | |
8175 | 3 of the GNU General Public License with version 3.1 of the | |
8176 | GCC Runtime Library Exception and to point readers at the | |
8177 | COPYING3 and COPYING3.RUNTIME files and the FSF's license web | |
8178 | page. | |
8179 | * 9drpc.adb: Likewise. | |
8180 | * a-assert.adb: Likewise. | |
8181 | * a-astaco.adb: Likewise. | |
8182 | * a-calari.adb: Likewise. | |
8183 | * a-calcon.adb: Likewise. | |
8184 | * a-calcon.ads: Likewise. | |
8185 | * a-caldel.ads: Likewise. | |
8186 | * a-calend-vms.adb: Likewise. | |
8187 | * a-calend-vms.ads: Likewise. | |
8188 | * a-calend.adb: Likewise. | |
8189 | * a-calend.ads: Likewise. | |
8190 | * a-calfor.adb: Likewise. | |
8191 | * a-catizo.adb: Likewise. | |
8192 | * a-cdlili.adb: Likewise. | |
8193 | * a-cdlili.ads: Likewise. | |
8194 | * a-cgaaso.adb: Likewise. | |
8195 | * a-cgaaso.ads: Likewise. | |
8196 | * a-cgarso.adb: Likewise. | |
8197 | * a-cgcaso.adb: Likewise. | |
8198 | * a-chacon.adb: Likewise. | |
8199 | * a-chacon.ads: Likewise. | |
8200 | * a-chahan.adb: Likewise. | |
8201 | * a-chahan.ads: Likewise. | |
8202 | * a-chlat9.ads: Likewise. | |
8203 | * a-chtgke.adb: Likewise. | |
8204 | * a-chtgke.ads: Likewise. | |
8205 | * a-chtgop.adb: Likewise. | |
8206 | * a-chtgop.ads: Likewise. | |
8207 | * a-chzla1.ads: Likewise. | |
8208 | * a-chzla9.ads: Likewise. | |
8209 | * a-cidlli.adb: Likewise. | |
8210 | * a-cidlli.ads: Likewise. | |
8211 | * a-cihama.adb: Likewise. | |
8212 | * a-cihama.ads: Likewise. | |
8213 | * a-cihase.adb: Likewise. | |
8214 | * a-cihase.ads: Likewise. | |
8215 | * a-ciorma.adb: Likewise. | |
8216 | * a-ciorma.ads: Likewise. | |
8217 | * a-ciormu.adb: Likewise. | |
8218 | * a-ciormu.ads: Likewise. | |
8219 | * a-ciorse.adb: Likewise. | |
8220 | * a-ciorse.ads: Likewise. | |
8221 | * a-clrefi.adb: Likewise. | |
8222 | * a-clrefi.ads: Likewise. | |
8223 | * a-cohama.adb: Likewise. | |
8224 | * a-cohama.ads: Likewise. | |
8225 | * a-cohase.adb: Likewise. | |
8226 | * a-cohase.ads: Likewise. | |
8227 | * a-cohata.ads: Likewise. | |
8228 | * a-coinve.adb: Likewise. | |
8229 | * a-coinve.ads: Likewise. | |
8230 | * a-colien.adb: Likewise. | |
8231 | * a-colien.ads: Likewise. | |
8232 | * a-colire.adb: Likewise. | |
8233 | * a-colire.ads: Likewise. | |
8234 | * a-comlin.adb: Likewise. | |
8235 | * a-comlin.ads: Likewise. | |
8236 | * a-convec.adb: Likewise. | |
8237 | * a-convec.ads: Likewise. | |
8238 | * a-coorma.adb: Likewise. | |
8239 | * a-coorma.ads: Likewise. | |
8240 | * a-coormu.adb: Likewise. | |
8241 | * a-coormu.ads: Likewise. | |
8242 | * a-coorse.adb: Likewise. | |
8243 | * a-coorse.ads: Likewise. | |
8244 | * a-coprnu.adb: Likewise. | |
8245 | * a-coprnu.ads: Likewise. | |
8246 | * a-crbltr.ads: Likewise. | |
8247 | * a-crbtgk.adb: Likewise. | |
8248 | * a-crbtgk.ads: Likewise. | |
8249 | * a-crbtgo.adb: Likewise. | |
8250 | * a-crbtgo.ads: Likewise. | |
8251 | * a-crdlli.adb: Likewise. | |
8252 | * a-crdlli.ads: Likewise. | |
8253 | * a-cwila1.ads: Likewise. | |
8254 | * a-cwila9.ads: Likewise. | |
8255 | * a-decima.adb: Likewise. | |
8256 | * a-decima.ads: Likewise. | |
8257 | * a-diocst.adb: Likewise. | |
8258 | * a-diocst.ads: Likewise. | |
8259 | * a-direct.adb: Likewise. | |
8260 | * a-direct.ads: Likewise. | |
8261 | * a-direio.adb: Likewise. | |
8262 | * a-direio.ads: Likewise. | |
8263 | * a-dirval-mingw.adb: Likewise. | |
8264 | * a-dirval-vms.adb: Likewise. | |
8265 | * a-dirval.adb: Likewise. | |
8266 | * a-dirval.ads: Likewise. | |
8267 | * a-dynpri.adb: Likewise. | |
8268 | * a-einuoc.adb: Likewise. | |
8269 | * a-einuoc.ads: Likewise. | |
8270 | * a-elchha.adb: Likewise. | |
8271 | * a-elchha.ads: Likewise. | |
8272 | * a-envvar.adb: Likewise. | |
8273 | * a-excach.adb: Likewise. | |
8274 | * a-except-2005.adb: Likewise. | |
8275 | * a-except-2005.ads: Likewise. | |
8276 | * a-except.adb: Likewise. | |
8277 | * a-except.ads: Likewise. | |
8278 | * a-excpol-abort.adb: Likewise. | |
8279 | * a-excpol.adb: Likewise. | |
8280 | * a-exctra.adb: Likewise. | |
8281 | * a-exctra.ads: Likewise. | |
8282 | * a-exetim-mingw.adb: Likewise. | |
8283 | * a-exetim-mingw.ads: Likewise. | |
8284 | * a-exexda.adb: Likewise. | |
8285 | * a-exexpr-gcc.adb: Likewise. | |
8286 | * a-exexpr.adb: Likewise. | |
8287 | * a-exextr.adb: Likewise. | |
8288 | * a-exstat.adb: Likewise. | |
8289 | * a-filico.adb: Likewise. | |
8290 | * a-filico.ads: Likewise. | |
8291 | * a-finali.adb: Likewise. | |
8292 | * a-finali.ads: Likewise. | |
8293 | * a-interr.ads: Likewise. | |
8294 | * a-intnam-aix.ads: Likewise. | |
8295 | * a-intnam-darwin.ads: Likewise. | |
8296 | * a-intnam-dummy.ads: Likewise. | |
8297 | * a-intnam-freebsd.ads: Likewise. | |
8298 | * a-intnam-hpux.ads: Likewise. | |
8299 | * a-intnam-irix.ads: Likewise. | |
8300 | * a-intnam-linux.ads: Likewise. | |
8301 | * a-intnam-lynxos.ads: Likewise. | |
8302 | * a-intnam-mingw.ads: Likewise. | |
8303 | * a-intnam-rtems.ads: Likewise. | |
8304 | * a-intnam-solaris.ads: Likewise. | |
8305 | * a-intnam-tru64.ads: Likewise. | |
8306 | * a-intnam-vms.ads: Likewise. | |
8307 | * a-intnam-vxworks.ads: Likewise. | |
8308 | * a-intsig.adb: Likewise. | |
8309 | * a-intsig.ads: Likewise. | |
8310 | * a-ngcefu.adb: Likewise. | |
8311 | * a-ngcoar.adb: Likewise. | |
8312 | * a-ngcoty.adb: Likewise. | |
8313 | * a-ngcoty.ads: Likewise. | |
8314 | * a-ngelfu.adb: Likewise. | |
8315 | * a-ngrear.adb: Likewise. | |
8316 | * a-ngrear.ads: Likewise. | |
8317 | * a-nudira.adb: Likewise. | |
8318 | * a-nudira.ads: Likewise. | |
8319 | * a-nuflra.adb: Likewise. | |
8320 | * a-nuflra.ads: Likewise. | |
8321 | * a-numaux-darwin.adb: Likewise. | |
8322 | * a-numaux-darwin.ads: Likewise. | |
8323 | * a-numaux-libc-x86.ads: Likewise. | |
8324 | * a-numaux-vxworks.ads: Likewise. | |
8325 | * a-numaux-x86.adb: Likewise. | |
8326 | * a-numaux-x86.ads: Likewise. | |
8327 | * a-numaux.ads: Likewise. | |
8328 | * a-rbtgso.adb: Likewise. | |
8329 | * a-rbtgso.ads: Likewise. | |
8330 | * a-reatim.ads: Likewise. | |
8331 | * a-retide.adb: Likewise. | |
8332 | * a-retide.ads: Likewise. | |
8333 | * a-rttiev.adb: Likewise. | |
8334 | * a-rttiev.ads: Likewise. | |
8335 | * a-secain.adb: Likewise. | |
8336 | * a-secain.ads: Likewise. | |
8337 | * a-sequio.adb: Likewise. | |
8338 | * a-sequio.ads: Likewise. | |
8339 | * a-shcain.adb: Likewise. | |
8340 | * a-shcain.ads: Likewise. | |
8341 | * a-siocst.adb: Likewise. | |
8342 | * a-siocst.ads: Likewise. | |
8343 | * a-slcain.adb: Likewise. | |
8344 | * a-slcain.ads: Likewise. | |
8345 | * a-ssicst.adb: Likewise. | |
8346 | * a-ssicst.ads: Likewise. | |
8347 | * a-stboha.adb: Likewise. | |
8348 | * a-stmaco.ads: Likewise. | |
8349 | * a-storio.adb: Likewise. | |
8350 | * a-strbou.adb: Likewise. | |
8351 | * a-strbou.ads: Likewise. | |
8352 | * a-stream.ads: Likewise. | |
8353 | * a-strfix.adb: Likewise. | |
8354 | * a-strhas.adb: Likewise. | |
8355 | * a-strmap.adb: Likewise. | |
8356 | * a-strmap.ads: Likewise. | |
8357 | * a-strsea.adb: Likewise. | |
8358 | * a-strsea.ads: Likewise. | |
8359 | * a-strsup.adb: Likewise. | |
8360 | * a-strsup.ads: Likewise. | |
8361 | * a-strunb.adb: Likewise. | |
8362 | * a-strunb.ads: Likewise. | |
8363 | * a-ststio.adb: Likewise. | |
8364 | * a-ststio.ads: Likewise. | |
8365 | * a-stunau.adb: Likewise. | |
8366 | * a-stunau.ads: Likewise. | |
8367 | * a-stunha.adb: Likewise. | |
8368 | * a-stwibo.adb: Likewise. | |
8369 | * a-stwibo.ads: Likewise. | |
8370 | * a-stwifi.adb: Likewise. | |
8371 | * a-stwiha.adb: Likewise. | |
8372 | * a-stwima.adb: Likewise. | |
8373 | * a-stwima.ads: Likewise. | |
8374 | * a-stwise.adb: Likewise. | |
8375 | * a-stwise.ads: Likewise. | |
8376 | * a-stwisu.adb: Likewise. | |
8377 | * a-stwisu.ads: Likewise. | |
8378 | * a-stwiun.adb: Likewise. | |
8379 | * a-stwiun.ads: Likewise. | |
8380 | * a-stzbou.adb: Likewise. | |
8381 | * a-stzbou.ads: Likewise. | |
8382 | * a-stzfix.adb: Likewise. | |
8383 | * a-stzhas.adb: Likewise. | |
8384 | * a-stzmap.adb: Likewise. | |
8385 | * a-stzmap.ads: Likewise. | |
8386 | * a-stzsea.adb: Likewise. | |
8387 | * a-stzsea.ads: Likewise. | |
8388 | * a-stzsup.adb: Likewise. | |
8389 | * a-stzsup.ads: Likewise. | |
8390 | * a-stzunb.adb: Likewise. | |
8391 | * a-stzunb.ads: Likewise. | |
8392 | * a-suteio.adb: Likewise. | |
8393 | * a-suteio.ads: Likewise. | |
8394 | * a-swbwha.adb: Likewise. | |
8395 | * a-swmwco.ads: Likewise. | |
8396 | * a-swunau.adb: Likewise. | |
8397 | * a-swunau.ads: Likewise. | |
8398 | * a-swuwha.adb: Likewise. | |
8399 | * a-swuwti.adb: Likewise. | |
8400 | * a-swuwti.ads: Likewise. | |
8401 | * a-sytaco.adb: Likewise. | |
8402 | * a-sytaco.ads: Likewise. | |
8403 | * a-szbzha.adb: Likewise. | |
8404 | * a-szmzco.ads: Likewise. | |
8405 | * a-szunau.adb: Likewise. | |
8406 | * a-szunau.ads: Likewise. | |
8407 | * a-szuzha.adb: Likewise. | |
8408 | * a-szuzti.adb: Likewise. | |
8409 | * a-szuzti.ads: Likewise. | |
8410 | * a-tags.adb: Likewise. | |
8411 | * a-tags.ads: Likewise. | |
8412 | * a-tasatt.ads: Likewise. | |
8413 | * a-taside.adb: Likewise. | |
8414 | * a-taside.ads: Likewise. | |
8415 | * a-taster.adb: Likewise. | |
8416 | * a-teioed.adb: Likewise. | |
8417 | * a-teioed.ads: Likewise. | |
8418 | * a-textio.adb: Likewise. | |
8419 | * a-textio.ads: Likewise. | |
8420 | * a-tiboio.adb: Likewise. | |
8421 | * a-ticoau.adb: Likewise. | |
8422 | * a-ticoau.ads: Likewise. | |
8423 | * a-ticoio.adb: Likewise. | |
8424 | * a-ticoio.ads: Likewise. | |
8425 | * a-tideau.adb: Likewise. | |
8426 | * a-tideau.ads: Likewise. | |
8427 | * a-tideio.adb: Likewise. | |
8428 | * a-tideio.ads: Likewise. | |
8429 | * a-tienau.adb: Likewise. | |
8430 | * a-tienau.ads: Likewise. | |
8431 | * a-tienio.adb: Likewise. | |
8432 | * a-tienio.ads: Likewise. | |
8433 | * a-tifiio.adb: Likewise. | |
8434 | * a-tifiio.ads: Likewise. | |
8435 | * a-tiflau.adb: Likewise. | |
8436 | * a-tiflau.ads: Likewise. | |
8437 | * a-tiflio.adb: Likewise. | |
8438 | * a-tiflio.ads: Likewise. | |
8439 | * a-tigeau.adb: Likewise. | |
8440 | * a-tigeau.ads: Likewise. | |
8441 | * a-tiinau.adb: Likewise. | |
8442 | * a-tiinau.ads: Likewise. | |
8443 | * a-tiinio.adb: Likewise. | |
8444 | * a-tiinio.ads: Likewise. | |
8445 | * a-timoau.adb: Likewise. | |
8446 | * a-timoau.ads: Likewise. | |
8447 | * a-timoio.adb: Likewise. | |
8448 | * a-timoio.ads: Likewise. | |
8449 | * a-tiocst.adb: Likewise. | |
8450 | * a-tiocst.ads: Likewise. | |
8451 | * a-titest.adb: Likewise. | |
8452 | * a-wichun.adb: Likewise. | |
8453 | * a-wichun.ads: Likewise. | |
8454 | * a-witeio.adb: Likewise. | |
8455 | * a-witeio.ads: Likewise. | |
8456 | * a-wtcoau.adb: Likewise. | |
8457 | * a-wtcoau.ads: Likewise. | |
8458 | * a-wtcoio.adb: Likewise. | |
8459 | * a-wtcstr.adb: Likewise. | |
8460 | * a-wtcstr.ads: Likewise. | |
8461 | * a-wtdeau.adb: Likewise. | |
8462 | * a-wtdeau.ads: Likewise. | |
8463 | * a-wtdeio.adb: Likewise. | |
8464 | * a-wtdeio.ads: Likewise. | |
8465 | * a-wtedit.adb: Likewise. | |
8466 | * a-wtedit.ads: Likewise. | |
8467 | * a-wtenau.adb: Likewise. | |
8468 | * a-wtenau.ads: Likewise. | |
8469 | * a-wtenio.adb: Likewise. | |
8470 | * a-wtenio.ads: Likewise. | |
8471 | * a-wtfiio.adb: Likewise. | |
8472 | * a-wtfiio.ads: Likewise. | |
8473 | * a-wtflau.adb: Likewise. | |
8474 | * a-wtflau.ads: Likewise. | |
8475 | * a-wtflio.adb: Likewise. | |
8476 | * a-wtflio.ads: Likewise. | |
8477 | * a-wtgeau.adb: Likewise. | |
8478 | * a-wtgeau.ads: Likewise. | |
8479 | * a-wtinau.adb: Likewise. | |
8480 | * a-wtinau.ads: Likewise. | |
8481 | * a-wtinio.adb: Likewise. | |
8482 | * a-wtmoau.adb: Likewise. | |
8483 | * a-wtmoau.ads: Likewise. | |
8484 | * a-wtmoio.adb: Likewise. | |
8485 | * a-wtmoio.ads: Likewise. | |
8486 | * a-wttest.adb: Likewise. | |
8487 | * a-wwboio.adb: Likewise. | |
8488 | * a-zchuni.adb: Likewise. | |
8489 | * a-zchuni.ads: Likewise. | |
8490 | * a-ztcoau.adb: Likewise. | |
8491 | * a-ztcoau.ads: Likewise. | |
8492 | * a-ztcoio.adb: Likewise. | |
8493 | * a-ztcstr.adb: Likewise. | |
8494 | * a-ztcstr.ads: Likewise. | |
8495 | * a-ztdeau.adb: Likewise. | |
8496 | * a-ztdeau.ads: Likewise. | |
8497 | * a-ztdeio.adb: Likewise. | |
8498 | * a-ztdeio.ads: Likewise. | |
8499 | * a-ztedit.adb: Likewise. | |
8500 | * a-ztedit.ads: Likewise. | |
8501 | * a-ztenau.adb: Likewise. | |
8502 | * a-ztenau.ads: Likewise. | |
8503 | * a-ztenio.adb: Likewise. | |
8504 | * a-ztenio.ads: Likewise. | |
8505 | * a-ztexio.adb: Likewise. | |
8506 | * a-ztexio.ads: Likewise. | |
8507 | * a-ztfiio.adb: Likewise. | |
8508 | * a-ztfiio.ads: Likewise. | |
8509 | * a-ztflau.adb: Likewise. | |
8510 | * a-ztflau.ads: Likewise. | |
8511 | * a-ztflio.adb: Likewise. | |
8512 | * a-ztflio.ads: Likewise. | |
8513 | * a-ztgeau.adb: Likewise. | |
8514 | * a-ztgeau.ads: Likewise. | |
8515 | * a-ztinau.adb: Likewise. | |
8516 | * a-ztinau.ads: Likewise. | |
8517 | * a-ztinio.adb: Likewise. | |
8518 | * a-ztmoau.adb: Likewise. | |
8519 | * a-ztmoau.ads: Likewise. | |
8520 | * a-ztmoio.adb: Likewise. | |
8521 | * a-ztmoio.ads: Likewise. | |
8522 | * a-zttest.adb: Likewise. | |
8523 | * a-zzboio.adb: Likewise. | |
8524 | * adadecode.c: Likewise. | |
8525 | * adaint.c: Likewise. | |
8526 | * adaint.h: Likewise. | |
8527 | * alloc.ads: Likewise. | |
8528 | * argv.c: Likewise. | |
8529 | * arit64.c: Likewise. | |
8530 | * atree.adb: Likewise. | |
8531 | * atree.ads: Likewise. | |
8532 | * aux-io.c: Likewise. | |
8533 | * cal.c: Likewise. | |
8534 | * casing.adb: Likewise. | |
8535 | * casing.ads: Likewise. | |
8536 | * cio.c: Likewise. | |
8537 | * csets.adb: Likewise. | |
8538 | * csets.ads: Likewise. | |
8539 | * cstreams.c: Likewise. | |
8540 | * ctrl_c.c: Likewise. | |
8541 | * debug.adb: Likewise. | |
8542 | * debug.ads: Likewise. | |
8543 | * dec.ads: Likewise. | |
8544 | * einfo.adb: Likewise. | |
8545 | * einfo.ads: Likewise. | |
8546 | * elists.adb: Likewise. | |
8547 | * elists.ads: Likewise. | |
8548 | * env.c: Likewise. | |
8549 | * env.h: Likewise. | |
8550 | * errno.c: Likewise. | |
8551 | * exit.c: Likewise. | |
8552 | * fe.h: Likewise. | |
8553 | * final.c: Likewise. | |
8554 | * fname.adb: Likewise. | |
8555 | * fname.ads: Likewise. | |
8556 | * g-allein.ads: Likewise. | |
8557 | * g-alleve.adb: Likewise. | |
8558 | * g-alleve.ads: Likewise. | |
8559 | * g-altcon.adb: Likewise. | |
8560 | * g-altcon.ads: Likewise. | |
8561 | * g-altive.ads: Likewise. | |
8562 | * g-alveop.adb: Likewise. | |
8563 | * g-alveop.ads: Likewise. | |
8564 | * g-alvety.ads: Likewise. | |
8565 | * g-alvevi.ads: Likewise. | |
8566 | * g-arrspl.adb: Likewise. | |
8567 | * g-arrspl.ads: Likewise. | |
8568 | * g-calend.ads: Likewise. | |
8569 | * g-comlin.adb: Likewise. | |
8570 | * g-debpoo.adb: Likewise. | |
8571 | * g-debpoo.ads: Likewise. | |
8572 | * g-eacodu-vms.adb: Likewise. | |
8573 | * g-eacodu.adb: Likewise. | |
8574 | * g-excact.adb: Likewise. | |
8575 | * g-excact.ads: Likewise. | |
8576 | * g-locfil.adb: Likewise. | |
8577 | * g-os_lib.ads: Likewise. | |
8578 | * g-rannum.adb: Likewise. | |
8579 | * g-rannum.ads: Likewise. | |
8580 | * g-regist.adb: Likewise. | |
8581 | * g-regist.ads: Likewise. | |
8582 | * g-signal.adb: Likewise. | |
8583 | * g-signal.ads: Likewise. | |
8584 | * g-soccon.ads: Likewise. | |
8585 | * g-string.adb: Likewise. | |
8586 | * g-string.ads: Likewise. | |
8587 | * g-strspl.ads: Likewise. | |
8588 | * g-timsta.adb: Likewise. | |
8589 | * g-timsta.ads: Likewise. | |
8590 | * g-trasym-vms-alpha.adb: Likewise. | |
8591 | * g-trasym-vms-ia64.adb: Likewise. | |
8592 | * g-utf_32.adb: Likewise. | |
8593 | * g-utf_32.ads: Likewise. | |
8594 | * g-wistsp.ads: Likewise. | |
8595 | * g-zstspl.ads: Likewise. | |
8596 | * gmem.c: Likewise. | |
8597 | * gnatvsn.adb: Likewise. | |
8598 | * gnatvsn.ads: Likewise. | |
8599 | * gsocket.h: Likewise. | |
8600 | * hostparm.ads: Likewise. | |
8601 | * i-c.adb: Likewise. | |
8602 | * i-cexten.ads: Likewise. | |
8603 | * i-cobol.adb: Likewise. | |
8604 | * i-cobol.ads: Likewise. | |
8605 | * i-cpoint.adb: Likewise. | |
8606 | * i-cpoint.ads: Likewise. | |
8607 | * i-cpp.adb: Likewise. | |
8608 | * i-cpp.ads: Likewise. | |
8609 | * i-cstrea-vms.adb: Likewise. | |
8610 | * i-cstrea.adb: Likewise. | |
8611 | * i-cstrea.ads: Likewise. | |
8612 | * i-cstrin.adb: Likewise. | |
8613 | * i-cstrin.ads: Likewise. | |
8614 | * i-forbla-darwin.adb: Likewise. | |
8615 | * i-forbla-unimplemented.ads: Likewise. | |
8616 | * i-forbla.adb: Likewise. | |
8617 | * i-forbla.ads: Likewise. | |
8618 | * i-forlap.ads: Likewise. | |
8619 | * i-fortra.adb: Likewise. | |
8620 | * i-pacdec.adb: Likewise. | |
8621 | * i-pacdec.ads: Likewise. | |
8622 | * i-vxwoio.adb: Likewise. | |
8623 | * i-vxwoio.ads: Likewise. | |
8624 | * indepsw-aix.adb: Likewise. | |
8625 | * indepsw-gnu.adb: Likewise. | |
8626 | * indepsw-mingw.adb: Likewise. | |
8627 | * indepsw.adb: Likewise. | |
8628 | * indepsw.ads: Likewise. | |
8629 | * init.c: Likewise. | |
8630 | * initialize.c: Likewise. | |
8631 | * interfac.ads: Likewise. | |
8632 | * krunch.adb: Likewise. | |
8633 | * krunch.ads: Likewise. | |
8634 | * lib-list.adb: Likewise. | |
8635 | * lib-sort.adb: Likewise. | |
8636 | * lib.adb: Likewise. | |
8637 | * lib.ads: Likewise. | |
8638 | * link.c: Likewise. | |
8639 | * math_lib.adb: Likewise. | |
8640 | * memtrack.adb: Likewise. | |
8641 | * mingw32.h: Likewise. | |
8642 | * mkdir.c: Likewise. | |
8643 | * namet-sp.adb: Likewise. | |
8644 | * namet-sp.ads: Likewise. | |
8645 | * namet.adb: Likewise. | |
8646 | * namet.ads: Likewise. | |
8647 | * nlists.adb: Likewise. | |
8648 | * nlists.ads: Likewise. | |
8649 | * opt.adb: Likewise. | |
8650 | * opt.ads: Likewise. | |
8651 | * output.adb: Likewise. | |
8652 | * output.ads: Likewise. | |
8653 | * raise-gcc.c: Likewise. | |
8654 | * raise.c: Likewise. | |
8655 | * raise.h: Likewise. | |
8656 | * repinfo.adb: Likewise. | |
8657 | * repinfo.ads: Likewise. | |
8658 | * repinfo.h: Likewise. | |
8659 | * rident.ads: Likewise. | |
8660 | * s-addima.adb: Likewise. | |
8661 | * s-addima.ads: Likewise. | |
8662 | * s-addope.adb: Likewise. | |
8663 | * s-addope.ads: Likewise. | |
8664 | * s-arit64.adb: Likewise. | |
8665 | * s-arit64.ads: Likewise. | |
8666 | * s-assert.adb: Likewise. | |
8667 | * s-assert.ads: Likewise. | |
8668 | * s-asthan-vms-alpha.adb: Likewise. | |
8669 | * s-asthan.adb: Likewise. | |
8670 | * s-asthan.ads: Likewise. | |
8671 | * s-atacco.adb: Likewise. | |
8672 | * s-atacco.ads: Likewise. | |
8673 | * s-auxdec-empty.adb: Likewise. | |
8674 | * s-auxdec-empty.ads: Likewise. | |
8675 | * s-auxdec-vms_64.ads: Likewise. | |
8676 | * s-auxdec.adb: Likewise. | |
8677 | * s-auxdec.ads: Likewise. | |
8678 | * s-bitops.adb: Likewise. | |
8679 | * s-bitops.ads: Likewise. | |
8680 | * s-boarop.ads: Likewise. | |
8681 | * s-carsi8.adb: Likewise. | |
8682 | * s-carsi8.ads: Likewise. | |
8683 | * s-carun8.adb: Likewise. | |
8684 | * s-carun8.ads: Likewise. | |
8685 | * s-casi16.adb: Likewise. | |
8686 | * s-casi16.ads: Likewise. | |
8687 | * s-casi32.adb: Likewise. | |
8688 | * s-casi32.ads: Likewise. | |
8689 | * s-casi64.adb: Likewise. | |
8690 | * s-casi64.ads: Likewise. | |
8691 | * s-casuti.ads: Likewise. | |
8692 | * s-caun16.adb: Likewise. | |
8693 | * s-caun16.ads: Likewise. | |
8694 | * s-caun32.adb: Likewise. | |
8695 | * s-caun32.ads: Likewise. | |
8696 | * s-caun64.adb: Likewise. | |
8697 | * s-caun64.ads: Likewise. | |
8698 | * s-chepoo.ads: Likewise. | |
8699 | * s-crc32.adb: Likewise. | |
8700 | * s-crc32.ads: Likewise. | |
8701 | * s-crtl.ads: Likewise. | |
8702 | * s-direio.adb: Likewise. | |
8703 | * s-direio.ads: Likewise. | |
8704 | * s-dsaser.ads: Likewise. | |
8705 | * s-except.adb: Likewise. | |
8706 | * s-except.ads: Likewise. | |
8707 | * s-exctab.adb: Likewise. | |
8708 | * s-exctab.ads: Likewise. | |
8709 | * s-exnint.adb: Likewise. | |
8710 | * s-exnint.ads: Likewise. | |
8711 | * s-exnllf.adb: Likewise. | |
8712 | * s-exnllf.ads: Likewise. | |
8713 | * s-exnlli.adb: Likewise. | |
8714 | * s-exnlli.ads: Likewise. | |
8715 | * s-expint.adb: Likewise. | |
8716 | * s-expint.ads: Likewise. | |
8717 | * s-explli.adb: Likewise. | |
8718 | * s-explli.ads: Likewise. | |
8719 | * s-expllu.adb: Likewise. | |
8720 | * s-expllu.ads: Likewise. | |
8721 | * s-expmod.adb: Likewise. | |
8722 | * s-expmod.ads: Likewise. | |
8723 | * s-expuns.adb: Likewise. | |
8724 | * s-expuns.ads: Likewise. | |
8725 | * s-fatflt.ads: Likewise. | |
8726 | * s-fatgen.adb: Likewise. | |
8727 | * s-fatgen.ads: Likewise. | |
8728 | * s-fatlfl.ads: Likewise. | |
8729 | * s-fatllf.ads: Likewise. | |
8730 | * s-fatsfl.ads: Likewise. | |
8731 | * s-ficobl.ads: Likewise. | |
8732 | * s-fileio.adb: Likewise. | |
8733 | * s-fileio.ads: Likewise. | |
8734 | * s-filofl.ads: Likewise. | |
8735 | * s-finimp.adb: Likewise. | |
8736 | * s-finimp.ads: Likewise. | |
8737 | * s-finroo.adb: Likewise. | |
8738 | * s-finroo.ads: Likewise. | |
8739 | * s-fishfl.ads: Likewise. | |
8740 | * s-fore.adb: Likewise. | |
8741 | * s-fore.ads: Likewise. | |
8742 | * s-fvadfl.ads: Likewise. | |
8743 | * s-fvaffl.ads: Likewise. | |
8744 | * s-fvagfl.ads: Likewise. | |
8745 | * s-gearop.adb: Likewise. | |
8746 | * s-gearop.ads: Likewise. | |
8747 | * s-gecobl.adb: Likewise. | |
8748 | * s-gecobl.ads: Likewise. | |
8749 | * s-gecola.adb: Likewise. | |
8750 | * s-gecola.ads: Likewise. | |
8751 | * s-gerebl.adb: Likewise. | |
8752 | * s-gerebl.ads: Likewise. | |
8753 | * s-gerela.adb: Likewise. | |
8754 | * s-gerela.ads: Likewise. | |
8755 | * s-geveop.adb: Likewise. | |
8756 | * s-geveop.ads: Likewise. | |
8757 | * s-gloloc.adb: Likewise. | |
8758 | * s-gloloc.ads: Likewise. | |
8759 | * s-hibaen.ads: Likewise. | |
8760 | * s-imenne.adb: Likewise. | |
8761 | * s-imenne.ads: Likewise. | |
8762 | * s-imgbiu.adb: Likewise. | |
8763 | * s-imgbiu.ads: Likewise. | |
8764 | * s-imgboo.adb: Likewise. | |
8765 | * s-imgboo.ads: Likewise. | |
8766 | * s-imgcha.adb: Likewise. | |
8767 | * s-imgcha.ads: Likewise. | |
8768 | * s-imgdec.adb: Likewise. | |
8769 | * s-imgdec.ads: Likewise. | |
8770 | * s-imgenu.adb: Likewise. | |
8771 | * s-imgenu.ads: Likewise. | |
8772 | * s-imgint.adb: Likewise. | |
8773 | * s-imgint.ads: Likewise. | |
8774 | * s-imgllb.adb: Likewise. | |
8775 | * s-imgllb.ads: Likewise. | |
8776 | * s-imglld.adb: Likewise. | |
8777 | * s-imglld.ads: Likewise. | |
8778 | * s-imglli.adb: Likewise. | |
8779 | * s-imglli.ads: Likewise. | |
8780 | * s-imgllu.adb: Likewise. | |
8781 | * s-imgllu.ads: Likewise. | |
8782 | * s-imgllw.adb: Likewise. | |
8783 | * s-imgllw.ads: Likewise. | |
8784 | * s-imgrea.adb: Likewise. | |
8785 | * s-imgrea.ads: Likewise. | |
8786 | * s-imguns.adb: Likewise. | |
8787 | * s-imguns.ads: Likewise. | |
8788 | * s-imgwch.adb: Likewise. | |
8789 | * s-imgwch.ads: Likewise. | |
8790 | * s-imgwiu.adb: Likewise. | |
8791 | * s-imgwiu.ads: Likewise. | |
8792 | * s-inmaop-dummy.adb: Likewise. | |
8793 | * s-inmaop-vms.adb: Likewise. | |
8794 | * s-inmaop.ads: Likewise. | |
8795 | * s-interr-hwint.adb: Likewise. | |
8796 | * s-interr-sigaction.adb: Likewise. | |
8797 | * s-interr-vms.adb: Likewise. | |
8798 | * s-interr.adb: Likewise. | |
8799 | * s-interr.ads: Likewise. | |
8800 | * s-intman-dummy.adb: Likewise. | |
8801 | * s-intman-mingw.adb: Likewise. | |
8802 | * s-intman-posix.adb: Likewise. | |
8803 | * s-intman-solaris.adb: Likewise. | |
8804 | * s-intman-vms.adb: Likewise. | |
8805 | * s-intman-vms.ads: Likewise. | |
8806 | * s-intman-vxworks.adb: Likewise. | |
8807 | * s-intman-vxworks.ads: Likewise. | |
8808 | * s-intman.ads: Likewise. | |
8809 | * s-io.adb: Likewise. | |
8810 | * s-io.ads: Likewise. | |
8811 | * s-linux-alpha.ads: Likewise. | |
8812 | * s-linux-hppa.ads: Likewise. | |
8813 | * s-linux.ads: Likewise. | |
8814 | * s-maccod.ads: Likewise. | |
8815 | * s-mantis.adb: Likewise. | |
8816 | * s-mantis.ads: Likewise. | |
8817 | * s-mastop-irix.adb: Likewise. | |
8818 | * s-mastop.adb: Likewise. | |
8819 | * s-mastop.ads: Likewise. | |
8820 | * s-memcop.ads: Likewise. | |
8821 | * s-memory-mingw.adb: Likewise. | |
8822 | * s-memory.adb: Likewise. | |
8823 | * s-memory.ads: Likewise. | |
8824 | * s-os_lib.ads: Likewise. | |
8825 | * s-oscons-tmplt.c: Likewise. | |
8826 | * s-osinte-aix.adb: Likewise. | |
8827 | * s-osinte-darwin.adb: Likewise. | |
8828 | * s-osinte-freebsd.adb: Likewise. | |
8829 | * s-osinte-irix.adb: Likewise. | |
8830 | * s-osinte-lynxos-3.adb: Likewise. | |
8831 | * s-osinte-rtems.ads: Likewise. | |
8832 | * s-osinte-tru64.adb: Likewise. | |
8833 | * s-osinte-vxworks-kernel.adb: Likewise. | |
8834 | * s-osinte-vxworks.adb: Likewise. | |
8835 | * s-osprim-mingw.adb: Likewise. | |
8836 | * s-osprim-posix.adb: Likewise. | |
8837 | * s-osprim-solaris.adb: Likewise. | |
8838 | * s-osprim-unix.adb: Likewise. | |
8839 | * s-osprim-vms.adb: Likewise. | |
8840 | * s-osprim-vms.ads: Likewise. | |
8841 | * s-osprim-vxworks.adb: Likewise. | |
8842 | * s-osprim.ads: Likewise. | |
8843 | * s-pack03.adb: Likewise. | |
8844 | * s-pack03.ads: Likewise. | |
8845 | * s-pack05.adb: Likewise. | |
8846 | * s-pack05.ads: Likewise. | |
8847 | * s-pack06.adb: Likewise. | |
8848 | * s-pack06.ads: Likewise. | |
8849 | * s-pack07.adb: Likewise. | |
8850 | * s-pack07.ads: Likewise. | |
8851 | * s-pack09.adb: Likewise. | |
8852 | * s-pack09.ads: Likewise. | |
8853 | * s-pack10.adb: Likewise. | |
8854 | * s-pack10.ads: Likewise. | |
8855 | * s-pack11.adb: Likewise. | |
8856 | * s-pack11.ads: Likewise. | |
8857 | * s-pack12.adb: Likewise. | |
8858 | * s-pack12.ads: Likewise. | |
8859 | * s-pack13.adb: Likewise. | |
8860 | * s-pack13.ads: Likewise. | |
8861 | * s-pack14.adb: Likewise. | |
8862 | * s-pack14.ads: Likewise. | |
8863 | * s-pack15.adb: Likewise. | |
8864 | * s-pack15.ads: Likewise. | |
8865 | * s-pack17.adb: Likewise. | |
8866 | * s-pack17.ads: Likewise. | |
8867 | * s-pack18.adb: Likewise. | |
8868 | * s-pack18.ads: Likewise. | |
8869 | * s-pack19.adb: Likewise. | |
8870 | * s-pack19.ads: Likewise. | |
8871 | * s-pack20.adb: Likewise. | |
8872 | * s-pack20.ads: Likewise. | |
8873 | * s-pack21.adb: Likewise. | |
8874 | * s-pack21.ads: Likewise. | |
8875 | * s-pack22.adb: Likewise. | |
8876 | * s-pack22.ads: Likewise. | |
8877 | * s-pack23.adb: Likewise. | |
8878 | * s-pack23.ads: Likewise. | |
8879 | * s-pack24.adb: Likewise. | |
8880 | * s-pack24.ads: Likewise. | |
8881 | * s-pack25.adb: Likewise. | |
8882 | * s-pack25.ads: Likewise. | |
8883 | * s-pack26.adb: Likewise. | |
8884 | * s-pack26.ads: Likewise. | |
8885 | * s-pack27.adb: Likewise. | |
8886 | * s-pack27.ads: Likewise. | |
8887 | * s-pack28.adb: Likewise. | |
8888 | * s-pack28.ads: Likewise. | |
8889 | * s-pack29.adb: Likewise. | |
8890 | * s-pack29.ads: Likewise. | |
8891 | * s-pack30.adb: Likewise. | |
8892 | * s-pack30.ads: Likewise. | |
8893 | * s-pack31.adb: Likewise. | |
8894 | * s-pack31.ads: Likewise. | |
8895 | * s-pack33.adb: Likewise. | |
8896 | * s-pack33.ads: Likewise. | |
8897 | * s-pack34.adb: Likewise. | |
8898 | * s-pack34.ads: Likewise. | |
8899 | * s-pack35.adb: Likewise. | |
8900 | * s-pack35.ads: Likewise. | |
8901 | * s-pack36.adb: Likewise. | |
8902 | * s-pack36.ads: Likewise. | |
8903 | * s-pack37.adb: Likewise. | |
8904 | * s-pack37.ads: Likewise. | |
8905 | * s-pack38.adb: Likewise. | |
8906 | * s-pack38.ads: Likewise. | |
8907 | * s-pack39.adb: Likewise. | |
8908 | * s-pack39.ads: Likewise. | |
8909 | * s-pack40.adb: Likewise. | |
8910 | * s-pack40.ads: Likewise. | |
8911 | * s-pack41.adb: Likewise. | |
8912 | * s-pack41.ads: Likewise. | |
8913 | * s-pack42.adb: Likewise. | |
8914 | * s-pack42.ads: Likewise. | |
8915 | * s-pack43.adb: Likewise. | |
8916 | * s-pack43.ads: Likewise. | |
8917 | * s-pack44.adb: Likewise. | |
8918 | * s-pack44.ads: Likewise. | |
8919 | * s-pack45.adb: Likewise. | |
8920 | * s-pack45.ads: Likewise. | |
8921 | * s-pack46.adb: Likewise. | |
8922 | * s-pack46.ads: Likewise. | |
8923 | * s-pack47.adb: Likewise. | |
8924 | * s-pack47.ads: Likewise. | |
8925 | * s-pack48.adb: Likewise. | |
8926 | * s-pack48.ads: Likewise. | |
8927 | * s-pack49.adb: Likewise. | |
8928 | * s-pack49.ads: Likewise. | |
8929 | * s-pack50.adb: Likewise. | |
8930 | * s-pack50.ads: Likewise. | |
8931 | * s-pack51.adb: Likewise. | |
8932 | * s-pack51.ads: Likewise. | |
8933 | * s-pack52.adb: Likewise. | |
8934 | * s-pack52.ads: Likewise. | |
8935 | * s-pack53.adb: Likewise. | |
8936 | * s-pack53.ads: Likewise. | |
8937 | * s-pack54.adb: Likewise. | |
8938 | * s-pack54.ads: Likewise. | |
8939 | * s-pack55.adb: Likewise. | |
8940 | * s-pack55.ads: Likewise. | |
8941 | * s-pack56.adb: Likewise. | |
8942 | * s-pack56.ads: Likewise. | |
8943 | * s-pack57.adb: Likewise. | |
8944 | * s-pack57.ads: Likewise. | |
8945 | * s-pack58.adb: Likewise. | |
8946 | * s-pack58.ads: Likewise. | |
8947 | * s-pack59.adb: Likewise. | |
8948 | * s-pack59.ads: Likewise. | |
8949 | * s-pack60.adb: Likewise. | |
8950 | * s-pack60.ads: Likewise. | |
8951 | * s-pack61.adb: Likewise. | |
8952 | * s-pack61.ads: Likewise. | |
8953 | * s-pack62.adb: Likewise. | |
8954 | * s-pack62.ads: Likewise. | |
8955 | * s-pack63.adb: Likewise. | |
8956 | * s-pack63.ads: Likewise. | |
8957 | * s-parame-ae653.ads: Likewise. | |
8958 | * s-parame-hpux.ads: Likewise. | |
8959 | * s-parame-rtems.adb: Likewise. | |
8960 | * s-parame-vms-alpha.ads: Likewise. | |
8961 | * s-parame-vms-ia64.ads: Likewise. | |
8962 | * s-parame-vms-restrict.ads: Likewise. | |
8963 | * s-parame-vxworks.adb: Likewise. | |
8964 | * s-parame-vxworks.ads: Likewise. | |
8965 | * s-parame.adb: Likewise. | |
8966 | * s-parame.ads: Likewise. | |
8967 | * s-parint.adb: Likewise. | |
8968 | * s-parint.ads: Likewise. | |
8969 | * s-pooglo.adb: Likewise. | |
8970 | * s-pooglo.ads: Likewise. | |
8971 | * s-pooloc.adb: Likewise. | |
8972 | * s-pooloc.ads: Likewise. | |
8973 | * s-poosiz.adb: Likewise. | |
8974 | * s-poosiz.ads: Likewise. | |
8975 | * s-powtab.ads: Likewise. | |
8976 | * s-proinf-irix-athread.adb: Likewise. | |
8977 | * s-proinf-irix-athread.ads: Likewise. | |
8978 | * s-proinf.adb: Likewise. | |
8979 | * s-proinf.ads: Likewise. | |
8980 | * s-purexc.ads: Likewise. | |
8981 | * s-rannum.adb: Likewise. | |
8982 | * s-rannum.ads: Likewise. | |
8983 | * s-restri.adb: Likewise. | |
8984 | * s-restri.ads: Likewise. | |
8985 | * s-rident.ads: Likewise. | |
8986 | * s-rpc.adb: Likewise. | |
8987 | * s-rpc.ads: Likewise. | |
8988 | * s-scaval.adb: Likewise. | |
8989 | * s-scaval.ads: Likewise. | |
8990 | * s-secsta.adb: Likewise. | |
8991 | * s-secsta.ads: Likewise. | |
8992 | * s-sequio.adb: Likewise. | |
8993 | * s-sequio.ads: Likewise. | |
8994 | * s-shasto.adb: Likewise. | |
8995 | * s-shasto.ads: Likewise. | |
8996 | * s-soflin.adb: Likewise. | |
8997 | * s-soflin.ads: Likewise. | |
8998 | * s-solita.adb: Likewise. | |
8999 | * s-solita.ads: Likewise. | |
9000 | * s-sopco3.adb: Likewise. | |
9001 | * s-sopco3.ads: Likewise. | |
9002 | * s-sopco4.adb: Likewise. | |
9003 | * s-sopco4.ads: Likewise. | |
9004 | * s-sopco5.adb: Likewise. | |
9005 | * s-sopco5.ads: Likewise. | |
9006 | * s-stache.adb: Likewise. | |
9007 | * s-stache.ads: Likewise. | |
9008 | * s-stalib.adb: Likewise. | |
9009 | * s-stalib.ads: Likewise. | |
9010 | * s-stausa.adb: Likewise. | |
9011 | * s-stausa.ads: Likewise. | |
9012 | * s-stchop-limit.ads: Likewise. | |
9013 | * s-stchop-rtems.adb: Likewise. | |
9014 | * s-stchop-vxworks.adb: Likewise. | |
9015 | * s-stchop.adb: Likewise. | |
9016 | * s-stchop.ads: Likewise. | |
9017 | * s-stoele.adb: Likewise. | |
9018 | * s-stoele.ads: Likewise. | |
9019 | * s-stopoo.adb: Likewise. | |
9020 | * s-stopoo.ads: Likewise. | |
9021 | * s-stratt.adb: Likewise. | |
9022 | * s-stratt.ads: Likewise. | |
9023 | * s-strcom.adb: Likewise. | |
9024 | * s-strcom.ads: Likewise. | |
9025 | * s-string.adb: Likewise. | |
9026 | * s-string.ads: Likewise. | |
9027 | * s-strops.adb: Likewise. | |
9028 | * s-strops.ads: Likewise. | |
9029 | * s-strxdr.adb: Likewise. | |
9030 | * s-ststop.adb: Likewise. | |
9031 | * s-ststop.ads: Likewise. | |
9032 | * s-taasde.adb: Likewise. | |
9033 | * s-taasde.ads: Likewise. | |
9034 | * s-tadeca.adb: Likewise. | |
9035 | * s-tadeca.ads: Likewise. | |
9036 | * s-tadert.adb: Likewise. | |
9037 | * s-tadert.ads: Likewise. | |
9038 | * s-taenca.adb: Likewise. | |
9039 | * s-taenca.ads: Likewise. | |
9040 | * s-taprob.ads: Likewise. | |
9041 | * s-taprop-dummy.adb: Likewise. | |
9042 | * s-taprop-hpux-dce.adb: Likewise. | |
9043 | * s-taprop-irix.adb: Likewise. | |
9044 | * s-taprop-linux.adb: Likewise. | |
9045 | * s-taprop-lynxos.adb: Likewise. | |
9046 | * s-taprop-mingw.adb: Likewise. | |
9047 | * s-taprop-posix.adb: Likewise. | |
9048 | * s-taprop-solaris.adb: Likewise. | |
9049 | * s-taprop-tru64.adb: Likewise. | |
9050 | * s-taprop-vms.adb: Likewise. | |
9051 | * s-taprop-vxworks.adb: Likewise. | |
9052 | * s-taprop.ads: Likewise. | |
9053 | * s-tarest.adb: Likewise. | |
9054 | * s-tarest.ads: Likewise. | |
9055 | * s-tasdeb.adb: Likewise. | |
9056 | * s-tasdeb.ads: Likewise. | |
9057 | * s-tasinf-irix.ads: Likewise. | |
9058 | * s-tasinf-linux.adb: Likewise. | |
9059 | * s-tasinf-linux.ads: Likewise. | |
9060 | * s-tasinf-mingw.adb: Likewise. | |
9061 | * s-tasinf-mingw.ads: Likewise. | |
9062 | * s-tasinf-solaris.adb: Likewise. | |
9063 | * s-tasinf-solaris.ads: Likewise. | |
9064 | * s-tasinf-tru64.ads: Likewise. | |
9065 | * s-tasinf.adb: Likewise. | |
9066 | * s-tasinf.ads: Likewise. | |
9067 | * s-tasini.adb: Likewise. | |
9068 | * s-tasini.ads: Likewise. | |
9069 | * s-taskin.adb: Likewise. | |
9070 | * s-taskin.ads: Likewise. | |
9071 | * s-taspri-dummy.ads: Likewise. | |
9072 | * s-taspri-hpux-dce.ads: Likewise. | |
9073 | * s-taspri-mingw.ads: Likewise. | |
9074 | * s-taspri-solaris.ads: Likewise. | |
9075 | * s-taspri-tru64.ads: Likewise. | |
9076 | * s-taspri-vms.ads: Likewise. | |
9077 | * s-taspri-vxworks.ads: Likewise. | |
9078 | * s-tasque.adb: Likewise. | |
9079 | * s-tasque.ads: Likewise. | |
9080 | * s-tasren.adb: Likewise. | |
9081 | * s-tasren.ads: Likewise. | |
9082 | * s-tasres.ads: Likewise. | |
9083 | * s-tassta.adb: Likewise. | |
9084 | * s-tassta.ads: Likewise. | |
9085 | * s-tasuti.adb: Likewise. | |
9086 | * s-tasuti.ads: Likewise. | |
9087 | * s-tfsetr-default.adb: Likewise. | |
9088 | * s-tfsetr-vxworks.adb: Likewise. | |
9089 | * s-tpinop.adb: Likewise. | |
9090 | * s-tpinop.ads: Likewise. | |
9091 | * s-tpoben.adb: Likewise. | |
9092 | * s-tpoben.ads: Likewise. | |
9093 | * s-tpobop.adb: Likewise. | |
9094 | * s-tpobop.ads: Likewise. | |
9095 | * s-tpopde-vms.adb: Likewise. | |
9096 | * s-tpopde-vms.ads: Likewise. | |
9097 | * s-tpopsp-lynxos.adb: Likewise. | |
9098 | * s-tpopsp-posix-foreign.adb: Likewise. | |
9099 | * s-tpopsp-posix.adb: Likewise. | |
9100 | * s-tpopsp-solaris.adb: Likewise. | |
9101 | * s-tpopsp-vxworks.adb: Likewise. | |
9102 | * s-tporft.adb: Likewise. | |
9103 | * s-tposen.adb: Likewise. | |
9104 | * s-tposen.ads: Likewise. | |
9105 | * s-traceb.adb: Likewise. | |
9106 | * s-traceb.ads: Likewise. | |
9107 | * s-traces-default.adb: Likewise. | |
9108 | * s-traces.adb: Likewise. | |
9109 | * s-traces.ads: Likewise. | |
9110 | * s-traent-vms.adb: Likewise. | |
9111 | * s-traent-vms.ads: Likewise. | |
9112 | * s-traent.adb: Likewise. | |
9113 | * s-traent.ads: Likewise. | |
9114 | * s-trafor-default.adb: Likewise. | |
9115 | * s-trafor-default.ads: Likewise. | |
9116 | * s-tratas-default.adb: Likewise. | |
9117 | * s-tratas.adb: Likewise. | |
9118 | * s-tratas.ads: Likewise. | |
9119 | * s-unstyp.ads: Likewise. | |
9120 | * s-utf_32.adb: Likewise. | |
9121 | * s-utf_32.ads: Likewise. | |
9122 | * s-vaflop-vms-alpha.adb: Likewise. | |
9123 | * s-vaflop.adb: Likewise. | |
9124 | * s-vaflop.ads: Likewise. | |
9125 | * s-valboo.adb: Likewise. | |
9126 | * s-valboo.ads: Likewise. | |
9127 | * s-valcha.adb: Likewise. | |
9128 | * s-valcha.ads: Likewise. | |
9129 | * s-valdec.adb: Likewise. | |
9130 | * s-valdec.ads: Likewise. | |
9131 | * s-valenu.adb: Likewise. | |
9132 | * s-valenu.ads: Likewise. | |
9133 | * s-valint.adb: Likewise. | |
9134 | * s-valint.ads: Likewise. | |
9135 | * s-vallld.adb: Likewise. | |
9136 | * s-vallld.ads: Likewise. | |
9137 | * s-vallli.adb: Likewise. | |
9138 | * s-vallli.ads: Likewise. | |
9139 | * s-valllu.adb: Likewise. | |
9140 | * s-valllu.ads: Likewise. | |
9141 | * s-valrea.adb: Likewise. | |
9142 | * s-valrea.ads: Likewise. | |
9143 | * s-valuns.adb: Likewise. | |
9144 | * s-valuns.ads: Likewise. | |
9145 | * s-valuti.adb: Likewise. | |
9146 | * s-valuti.ads: Likewise. | |
9147 | * s-valwch.adb: Likewise. | |
9148 | * s-valwch.ads: Likewise. | |
9149 | * s-veboop.adb: Likewise. | |
9150 | * s-veboop.ads: Likewise. | |
9151 | * s-vector.ads: Likewise. | |
9152 | * s-vercon.adb: Likewise. | |
9153 | * s-vercon.ads: Likewise. | |
9154 | * s-vmexta.adb: Likewise. | |
9155 | * s-vmexta.ads: Likewise. | |
9156 | * s-vxwext-kernel.ads: Likewise. | |
9157 | * s-vxwext-rtp.adb: Likewise. | |
9158 | * s-vxwext-rtp.ads: Likewise. | |
9159 | * s-vxwext.ads: Likewise. | |
9160 | * s-vxwork-arm.ads: Likewise. | |
9161 | * s-vxwork-m68k.ads: Likewise. | |
9162 | * s-vxwork-mips.ads: Likewise. | |
9163 | * s-vxwork-ppc.ads: Likewise. | |
9164 | * s-vxwork-sparcv9.ads: Likewise. | |
9165 | * s-vxwork-x86.ads: Likewise. | |
9166 | * s-wchcnv.adb: Likewise. | |
9167 | * s-wchcnv.ads: Likewise. | |
9168 | * s-wchcon.adb: Likewise. | |
9169 | * s-wchcon.ads: Likewise. | |
9170 | * s-wchjis.adb: Likewise. | |
9171 | * s-wchjis.ads: Likewise. | |
9172 | * s-wchstw.adb: Likewise. | |
9173 | * s-wchstw.ads: Likewise. | |
9174 | * s-wchwts.adb: Likewise. | |
9175 | * s-wchwts.ads: Likewise. | |
9176 | * s-widboo.adb: Likewise. | |
9177 | * s-widboo.ads: Likewise. | |
9178 | * s-widcha.adb: Likewise. | |
9179 | * s-widcha.ads: Likewise. | |
9180 | * s-widenu.adb: Likewise. | |
9181 | * s-widenu.ads: Likewise. | |
9182 | * s-widlli.adb: Likewise. | |
9183 | * s-widlli.ads: Likewise. | |
9184 | * s-widllu.adb: Likewise. | |
9185 | * s-widllu.ads: Likewise. | |
9186 | * s-widwch.adb: Likewise. | |
9187 | * s-widwch.ads: Likewise. | |
9188 | * s-win32.ads: Likewise. | |
9189 | * s-winext.ads: Likewise. | |
9190 | * s-wwdcha.adb: Likewise. | |
9191 | * s-wwdcha.ads: Likewise. | |
9192 | * s-wwdenu.adb: Likewise. | |
9193 | * s-wwdenu.ads: Likewise. | |
9194 | * s-wwdwch.adb: Likewise. | |
9195 | * s-wwdwch.ads: Likewise. | |
9196 | * scans.adb: Likewise. | |
9197 | * scans.ads: Likewise. | |
9198 | * seh_init.c: Likewise. | |
9199 | * sfn_scan.adb: Likewise. | |
9200 | * sinfo.adb: Likewise. | |
9201 | * sinfo.ads: Likewise. | |
9202 | * sinput.adb: Likewise. | |
9203 | * sinput.ads: Likewise. | |
9204 | * snames.adb: Likewise. | |
9205 | * snames.ads: Likewise. | |
9206 | * socket.c: Likewise. | |
9207 | * stand.adb: Likewise. | |
9208 | * stand.ads: Likewise. | |
9209 | * stringt.adb: Likewise. | |
9210 | * stringt.ads: Likewise. | |
9211 | * sysdep.c: Likewise. | |
9212 | * system-aix.ads: Likewise. | |
9213 | * system-darwin-ppc.ads: Likewise. | |
9214 | * system-darwin-x86.ads: Likewise. | |
9215 | * system-darwin-x86_64.ads: Likewise. | |
9216 | * system-freebsd-x86.ads: Likewise. | |
9217 | * system-hpux-ia64.ads: Likewise. | |
9218 | * system-hpux.ads: Likewise. | |
9219 | * system-irix-n32.ads: Likewise. | |
9220 | * system-irix-n64.ads: Likewise. | |
9221 | * system-irix-o32.ads: Likewise. | |
9222 | * system-linux-alpha.ads: Likewise. | |
9223 | * system-linux-hppa.ads: Likewise. | |
9224 | * system-linux-ia64.ads: Likewise. | |
9225 | * system-linux-mips.ads: Likewise. | |
9226 | * system-linux-mipsel.ads: Likewise. | |
9227 | * system-linux-ppc.ads: Likewise. | |
9228 | * system-linux-ppc64.ads: Likewise. | |
9229 | * system-linux-s390.ads: Likewise. | |
9230 | * system-linux-s390x.ads: Likewise. | |
9231 | * system-linux-sh4.ads: Likewise. | |
9232 | * system-linux-sparc.ads: Likewise. | |
9233 | * system-linux-sparcv9.ads: Likewise. | |
9234 | * system-linux-x86.ads: Likewise. | |
9235 | * system-linux-x86_64.ads: Likewise. | |
9236 | * system-lynxos-ppc.ads: Likewise. | |
9237 | * system-lynxos-x86.ads: Likewise. | |
9238 | * system-mingw-x86_64.ads: Likewise. | |
9239 | * system-mingw.ads: Likewise. | |
9240 | * system-rtems.ads: Likewise. | |
9241 | * system-solaris-sparc.ads: Likewise. | |
9242 | * system-solaris-sparcv9.ads: Likewise. | |
9243 | * system-solaris-x86.ads: Likewise. | |
9244 | * system-solaris-x86_64.ads: Likewise. | |
9245 | * system-tru64.ads: Likewise. | |
9246 | * system-vms-ia64.ads: Likewise. | |
9247 | * system-vms-zcx.ads: Likewise. | |
9248 | * system-vms.ads: Likewise. | |
9249 | * system-vms_64.ads: Likewise. | |
9250 | * system-vxworks-arm.ads: Likewise. | |
9251 | * system-vxworks-m68k.ads: Likewise. | |
9252 | * system-vxworks-mips.ads: Likewise. | |
9253 | * system-vxworks-ppc.ads: Likewise. | |
9254 | * system-vxworks-sparcv9.ads: Likewise. | |
9255 | * system-vxworks-x86.ads: Likewise. | |
9256 | * system.ads: Likewise. | |
9257 | * table.adb: Likewise. | |
9258 | * table.ads: Likewise. | |
9259 | * targext.c: Likewise. | |
9260 | * targparm.ads: Likewise. | |
9261 | * tree_in.adb: Likewise. | |
9262 | * tree_in.ads: Likewise. | |
9263 | * tree_io.adb: Likewise. | |
9264 | * tree_io.ads: Likewise. | |
9265 | * types.adb: Likewise. | |
9266 | * types.ads: Likewise. | |
9267 | * uintp.adb: Likewise. | |
9268 | * uintp.ads: Likewise. | |
9269 | * uname.adb: Likewise. | |
9270 | * uname.ads: Likewise. | |
9271 | * urealp.adb: Likewise. | |
9272 | * urealp.ads: Likewise. | |
9273 | * vx_stack_info.c: Likewise. | |
9274 | * widechar.adb: Likewise. | |
9275 | * widechar.ads: Likewise. | |
9276 | * exp_attr.adb: Change copyright header to refer to version | |
9277 | 3 of the GNU General Public License and to point readers at the | |
9278 | COPYING3 file and the FSF's license web page. | |
9279 | * sem.adb: Likewise. | |
9280 | * sem_attr.ads: Likewise. | |
9281 | * freeze.adb: Likewise. | |
9282 | * freeze.ads: Likewise. | |
9283 | * errout.ads: Likewise. | |
9284 | * erroutc.adb: Likewise. | |
9285 | * exp_ch11.ads: Likewise. | |
9286 | ||
9287 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> | |
9288 | ||
9289 | * config-lang.in: Change copyright header to refer to version | |
9290 | 3 of the GNU General Public License and to point readers at the | |
9291 | COPYING3 file and the FSF's license web page. | |
9292 | * gcc-interface/trans.c: Likewise. | |
9293 | * gnathtml.pl: Likewise. | |
9294 | * gcc-interface/ada.h: Likewise. Remove runtime exception. | |
9295 | * gcc-interface/gigi.h: Likewise. | |
9296 | * gcc-interface/misc.c: Likewise. | |
9297 | * gcc-interface/targtyps.c: Likewise. | |
9298 | ||
7cab648c | 9299 | 2009-04-09 Nicolas Setton <setton@adacore.com> |
9300 | ||
9301 | * s-osinte-darwin.ads: Fix wrong binding to struc timeval. | |
9302 | ||
9303 | * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of | |
9304 | struct_timeval. | |
9305 | ||
9306 | 2009-04-09 Bob Duff <duff@adacore.com> | |
9307 | ||
9308 | * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in | |
9309 | internally-generated nodes related to select statements to avoid | |
9310 | confusing the debugger. | |
9311 | ||
9312 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
9313 | ||
9314 | * make.adb: Ensure that all linker arguments are duplicated. | |
9315 | ||
f41ce91a | 9316 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9317 | ||
9318 | * sem_ch5.adb: Minor reformatting | |
9319 | ||
9320 | 2009-04-09 Vincent Celier <celier@adacore.com> | |
9321 | ||
9322 | * vms_data.ads: | |
9323 | Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT | |
9324 | New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn | |
9325 | New qualifier /LXDEBUG=nnn for -gnatDnnn | |
9326 | For H820-010 | |
9327 | ||
9328 | * gnat_ugn.texi: | |
9329 | Update documentation for VMS qualifiers equivalent to -gnatGnn and | |
9330 | -gnatDnn | |
9331 | ||
9332 | 2009-04-09 Nicolas Setton <setton@adacore.com> | |
9333 | ||
9334 | * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long, | |
9335 | to match layout of siginfo_t in sys/signal.h. | |
9336 | ||
9337 | * gcc-interface/Makefile.in: Add section for x86_64 darwin. | |
9338 | ||
9339 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
9340 | ||
9341 | * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment. | |
9342 | ||
9343 | 2009-04-09 Nicolas Setton <setton@adacore.com> | |
9344 | ||
9345 | * s-oscons-tmplt.c: Allow long lines in the generated spec. | |
9346 | Add generation of Darwin-specific constants needed when binding to the | |
9347 | pthread library. | |
9348 | ||
9349 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
9350 | ||
3d3b9d5b | 9351 | * checks.adb: |
9352 | (Insert_Valid_Check): Avoid unnecessary generation of junk declaration | |
9353 | when no invalid values exist, Avoid duplicate read of atomic variable. | |
f41ce91a | 9354 | |
3d3b9d5b | 9355 | * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid |
9356 | (Standard_Unsigned): Set Is_Known_Valid | |
f41ce91a | 9357 | |
3d3b9d5b | 9358 | * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on |
f41ce91a | 9359 | subtype declaration if no constraint. |
3d3b9d5b | 9360 | (Set_Modular_Size): Set Is_Known_Valid if appropriate |
9361 | (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint | |
f41ce91a | 9362 | |
5e81d637 | 9363 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9364 | ||
9365 | * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb, | |
9366 | switch.ads: for numeric switches, an optional equal sign is always | |
9367 | allowed. | |
9368 | ||
9369 | 2009-04-09 Vincent Celier <celier@adacore.com> | |
9370 | ||
9371 | * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where | |
9372 | the case of file names is not significant. | |
9373 | ||
ecf90fb4 | 9374 | 2009-04-09 Vincent Celier <celier@adacore.com> |
9375 | ||
9376 | * errout.adb: Remove dependency on package Style | |
9377 | ||
9378 | * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function, | |
9379 | moved to Stylesw. | |
9380 | ||
9381 | * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from | |
9382 | Styleg. | |
9383 | ||
9384 | * errutil.adb, par.adb: Import Stylesw | |
9385 | ||
9386 | 2009-04-09 Arnaud Charlet <charlet@adacore.com> | |
9387 | ||
9388 | * opt.ads: Fix typos. | |
9389 | ||
9390 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
9391 | ||
9392 | * einfo.adb: Minor reformatting | |
9393 | ||
2eabe08b | 9394 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9395 | ||
9396 | * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style | |
9397 | units. | |
9398 | ||
9399 | * styleg-c.ads, styleg-c.adb: Removed, no longer used. | |
9400 | ||
b56de1bc | 9401 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9402 | ||
9403 | * g-comver.adb: Minor reformatting. | |
9404 | ||
9405 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
9406 | ||
9407 | * lib-load.ads (Load_Unit): Update documentation. | |
9408 | ||
9409 | 2009-04-09 Ed Schonberg <schonberg@adacore.com> | |
9410 | ||
9411 | * lib-load.adb (Load_Unit): When loading the parent of a child unit | |
9412 | named in a with_clause, retain the with_clause to preserve a | |
9413 | limited_with indication. | |
9414 | ||
7ab0189d | 9415 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9416 | ||
9417 | * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb, | |
9418 | exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb, | |
9419 | sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where | |
9420 | possible to replace an OR of two separate tests. | |
9421 | ||
15175b09 | 9422 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9423 | ||
9424 | * binderr.adb, errout.adb, errutil.adb: New circuitry for handling | |
9425 | Maximum_Messages. | |
9426 | ||
9427 | * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global | |
9428 | warning status as well. | |
9429 | ||
9430 | * opt.ads (Maximum_Messages): New name for Maximum_Errors. | |
9431 | ||
9432 | * switch-b.adb, switch-c.adb: Change name Maximum_Errors to | |
9433 | Maximum_Messages. | |
9434 | ||
9435 | * bindusg.adb, usage.adb: Update line for -gnatm switch | |
9436 | ||
9437 | * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and | |
9438 | -mnn binder switch. | |
9439 | ||
9440 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
9441 | ||
9442 | * sem_ch10.adb: Minor reformatting. | |
9443 | ||
7efd77ab | 9444 | 2009-04-09 Bob Duff <duff@adacore.com> |
9445 | ||
9446 | * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler): | |
9447 | Set Sloc of generated nodes for calls to Undefer_Aborts and | |
9448 | Save_Occurrence to No_Location, so the debugger ignores them and | |
9449 | therefore does not jump back and forth when single stepping. | |
9450 | ||
9451 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
9452 | ||
9453 | * switch-b.adb: Minor reformatting. | |
9454 | ||
d60c9ff7 | 9455 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9456 | ||
9457 | * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb, | |
9458 | sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb, | |
9459 | exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb, | |
9460 | sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb, | |
9461 | einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb, | |
9462 | tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb, | |
9463 | exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb, | |
9464 | sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb, | |
9465 | sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb, | |
9466 | sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb: | |
9467 | Reorganize einfo/sem_aux, moving routines from einfo to sem_aux | |
9468 | ||
bfd188a4 | 9469 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9470 | ||
9471 | * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code. | |
9472 | ||
9473 | * atree.h: Add Elist26 | |
9474 | ||
9475 | * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc | |
9476 | backends. | |
9477 | ||
f301a57b | 9478 | 2009-04-09 Javier Miranda <miranda@adacore.com> |
9479 | ||
9480 | * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to | |
9481 | retrieve from the Dispatch_Table_Wrappers list the external name. | |
9482 | Addition of documentation. | |
9483 | (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is | |
9484 | used to export secondary dispatch tables (in the previous version of | |
9485 | the frontend only primary dispatch tables were exported). Addition of | |
9486 | documentation. | |
9487 | (Import_DT): New subprogram (internal of Make_Tags). Used to import a | |
9488 | dispatch table of a given tagged type. | |
9489 | (Make_Tags): Modified to import secondary dispatch tables. | |
9490 | ||
9491 | * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup. | |
9492 | (Constant_Redeclaration): Code cleanup. | |
9493 | ||
9494 | * einfo.ads (Dispatch_Table_Wrapper): Renamed to | |
9495 | Dispatch_Table_Wrappers. Update documentation. | |
9496 | ||
9497 | * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper): | |
9498 | Renamed to Dispatch_Table_Wrappers. | |
9499 | ||
9500 | * sem_util.adb (Collect_Interface_Components): Improve handling of | |
9501 | private types. | |
9502 | ||
9503 | * atree.ads (Elist26, Set_Elist26): New subprograms | |
9504 | ||
9505 | * atree.adb (Elist26, Set_Elist26): New subprograms | |
9506 | ||
d70d22d5 | 9507 | 2009-04-09 Javier Miranda <miranda@adacore.com> |
9508 | ||
9509 | * sem_ch3.adb (Build_Derived_Record_Type): Fix typo. | |
9510 | (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of | |
9511 | tagged types. | |
9512 | ||
9513 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
9514 | ||
9515 | * s-direio.adb: Minor reformatting | |
9516 | ||
9517 | * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String | |
9518 | ||
b6772205 | 9519 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9520 | ||
9521 | * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases | |
9522 | ||
9523 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
9524 | ||
9525 | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads, | |
9526 | s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads, | |
9527 | a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads, | |
9528 | a-filico.ads: Add some missing overriding keywords. | |
9529 | ||
c640b24a | 9530 | 2009-04-09 Pascal Obry <obry@adacore.com> |
9531 | ||
9532 | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb, | |
9533 | a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads, | |
9534 | a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor | |
9535 | reformatting. | |
9536 | ||
9537 | 2009-04-09 Ed Schonberg <schonberg@adacore.com> | |
9538 | ||
9539 | * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on | |
9540 | missing overriding indicator if the new declaration is not seen as | |
9541 | primitive. | |
9542 | ||
a50e85e5 | 9543 | 2009-04-09 Thomas Quinot <quinot@adacore.com> |
9544 | ||
9545 | * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle | |
9546 | overflows in computation of bounds. | |
9547 | ||
9548 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
9549 | ||
9550 | * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some | |
9551 | typos in comment. | |
9552 | ||
89a24c22 | 9553 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
9554 | ||
9555 | * sem_attr.adb (Check_Stream_Attribute): Check violation of | |
9556 | restriction No_Streams | |
9557 | ||
9558 | * gnat_rm.texi: Clarify No_Streams restriction | |
9559 | ||
9560 | * g-socket.adb: Minor reformatting. | |
9561 | ||
9562 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
9563 | ||
9564 | * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces. | |
9565 | ||
9566 | 2009-04-09 Geert Bosch <bosch@adacore.com> | |
9567 | ||
9568 | * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument. | |
9569 | (Set_Result): Likewise. | |
9570 | (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the | |
9571 | conversion, as required by RM 4.6(31). | |
9572 | ||
75209ec5 | 9573 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
9574 | ||
9575 | * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks | |
9576 | suppressed. | |
9577 | ||
9578 | * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all | |
9579 | resolution steps. | |
9580 | ||
9581 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9582 | ||
9583 | * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for | |
9584 | No_Local_Allocators restriction preventing local instantiation. | |
9585 | ||
9586 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
9587 | ||
9588 | * sem_eval.adb: Minor comment fix | |
9589 | ||
9590 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
9591 | ||
9592 | * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller): | |
9593 | New limited controlled type used to automate the initialization and | |
9594 | finalization of the sockets implementation. | |
9595 | (GNAT.Sockets.Initialize, Finalize): Make these no-ops | |
9596 | ||
9597 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
9598 | ||
9599 | * prj-attr.adb: New read-only project-level attribute Project_Dir | |
9600 | ||
9601 | * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of | |
9602 | read-only attribute of the same name. | |
9603 | (Process_Declarative_Items): Call Add_Attributes with Project_Dir | |
9604 | (Recursive_Process): Ditto | |
9605 | ||
9606 | * snames.adb: Add new standard name Project_Dir | |
9607 | ||
9608 | * snames.ads: Add new standard name Project_Dir | |
9609 | ||
fc75802a | 9610 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
9611 | ||
9612 | * checks.adb: Minor reformatting | |
9613 | ||
9614 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
9615 | ||
9616 | * vms_data.ads: Add documentation for new style keyword | |
9617 | OVERRIDING_INDICATORS | |
9618 | ||
9619 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9620 | ||
9621 | * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the | |
9622 | spec is in the current unit. | |
9623 | ||
d70ba424 | 9624 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> |
9625 | ||
9626 | * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for | |
9627 | presence of entity. | |
9628 | ||
9629 | * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators | |
9630 | ||
9631 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
9632 | ||
9633 | * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS) | |
9634 | ||
9635 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
9636 | ||
9637 | * checks.ads: Minor reformatting | |
9638 | ||
9639 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9640 | ||
9641 | * gnat_rm.texi: Update documentation of pragma Obsolescent | |
9642 | ||
9643 | * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to | |
9644 | be omitted, and allow Entity parameter to be omitted. | |
9645 | ||
750a4931 | 9646 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
9647 | ||
9648 | * exp_util.adb: Minor comment fix | |
9649 | ||
9650 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9651 | ||
9652 | * g-socket.ads: Fix bad syntax in pragma Obsolescent | |
9653 | ||
9654 | * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of | |
9655 | argument with no identifier following one that has an identifier. Was | |
9656 | missed in some cases. | |
9657 | ||
9658 | * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy | |
9659 | identifier. | |
9660 | (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers | |
9661 | ||
9662 | * snames.adb: Add Name_Policy | |
9663 | ||
9664 | * snames.ads: Add Name_Policy | |
9665 | ||
dd9fb5ec | 9666 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
9667 | ||
9668 | * gnat_rm.texi: Minor reformatting | |
9669 | ||
9670 | * par-ch2.adb: Minor reformatting | |
9671 | ||
80e22f63 | 9672 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
9673 | ||
9674 | * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up. | |
9675 | ||
559f994d | 9676 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
9677 | ||
9678 | * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate | |
9679 | properly in the presence of Remote_Types or Remote_Call_Interface. | |
9680 | ||
9681 | * sem_util.adb: Add comment. | |
9682 | ||
326f781e | 9683 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
9684 | ||
9685 | * ug_words: Add /ASSUME_VALID for -gnatB | |
9686 | ||
9687 | * vms_data.ads: Add /ASSUME_VALID for -gnatB | |
9688 | ||
9689 | * sem_cat.adb: Add clarifying commment | |
9690 | ||
9691 | * a-direio.ads (Bytes): Make sure value is non-zero | |
9692 | ||
9693 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
9694 | ||
9695 | * sem_util.adb (Is_Variable): If the prefix is an explicit dereference | |
9696 | that does not come from source, check for a rewritten function call in | |
9697 | prefixed notation before other forms of rewriting. | |
9698 | ||
9699 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9700 | ||
9701 | * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since | |
9702 | these are now obsolescent units used only for bootrapping with an | |
9703 | older compiler. | |
9704 | ||
d7fb5ea8 | 9705 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
9706 | ||
9707 | * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage | |
9708 | ||
9709 | * sem_ch3.adb: Minor comment updates | |
9710 | ||
9711 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
9712 | ||
9713 | * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms | |
9714 | that come from source. | |
9715 | ||
90d3e56e | 9716 | 2009-04-08 Tristan Gingold <gingold@adacore.com> |
9717 | ||
83bf5876 | 9718 | * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE. |
9719 | * gcc-interface/decl.c (prepend_attributes): New case | |
9720 | Pragma_Thread_Local_Storage. | |
9721 | * gcc-interface/utils.c (process_attributes): New case | |
9722 | ATTR_THREAD_LOCAL_STORAGE. | |
9723 | ||
e92a2f27 | 9724 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> |
9725 | ||
9726 | * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable | |
9727 | by the back-end if it contains a call to a subprogram without a | |
9728 | previous spec that is declared in the same unit. | |
9729 | ||
9730 | * errout.ads: Update comments on uses of dirs | |
9731 | ||
9732 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9733 | ||
9734 | * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed | |
9735 | ||
b376b1d7 | 9736 | 2009-04-08 Tristan Gingold <gingold@adacore.com> |
9737 | ||
9738 | * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level | |
9739 | variables. | |
9740 | Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work). | |
9741 | ||
9742 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
9743 | ||
9744 | * prj-nmsc.adb: | |
9745 | (Add_Source): Add the mapping of the unit name to source file name in | |
9746 | the Unit_Sources_HT hash table, if the unit name is not null. | |
9747 | ||
9748 | * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT | |
9749 | ||
9750 | * prj.ads (Unit_Sources_Htable): New hash table instantiation | |
9751 | (Project_Tree_Data): New component Unit_Sources_HT | |
9752 | ||
5d840260 | 9753 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
9754 | ||
9755 | * sem_ch8.adb: Minor reformatting. | |
9756 | Minor code reorganization. | |
9757 | ||
9758 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9759 | ||
9760 | * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb, | |
9761 | snames.ads, freeze.adb, par-prag.adb: Add implementation of | |
9762 | pragma Thread_Local_Storage, setting new flag | |
9763 | Has_Pragma_Thread_Local_Storage in corresponding entities. | |
9764 | ||
107ec33e | 9765 | 2009-04-08 Emmanuel Briot <briot@adacore.com> |
9766 | ||
9767 | * prj.ads: Update comment on switches file | |
9768 | ||
9769 | * prj-nmsc.adb: Code clean up. Use renaming clauses. | |
9770 | ||
9771 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9772 | ||
9773 | * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling | |
9774 | ||
9775 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
9776 | ||
9777 | * ali-util.adb: Minor comment fix | |
9778 | ||
9779 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
9780 | ||
9781 | * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause | |
9782 | appears in a context clause, and the enclosing package is mentioned in | |
9783 | a limited_with_clause. | |
9784 | (Use_One_Type): Reject clause if type is still incomplete. | |
9785 | ||
0a5976bd | 9786 | 2009-04-08 Emmanuel Briot <briot@adacore.com> |
9787 | ||
9788 | * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode): | |
9789 | avoid copies of Source_Data variables when possible, since these | |
9790 | involve calls to memcpy() which are done too many times. | |
9791 | ||
9792 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
9793 | ||
9794 | * exp_ch4.adb (Expand_Concatenate): Clean up code | |
9795 | ||
449a120b | 9796 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
9797 | ||
9798 | * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index | |
9799 | type for the case of concatenating a constrained array indexed by an | |
9800 | enumeration type. | |
9801 | ||
9802 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
9803 | ||
9804 | * sem_ch6.adb (Check_Conformance): when checking conformance of an | |
9805 | operation that overrides an abstract operation inherited from an | |
9806 | interface, return False if only one of the controlling formals is an | |
9807 | access parameter. | |
9808 | ||
9809 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
9810 | ||
9811 | * sem_ch8.adb (Analyze_Object_Renaming): additional error messages | |
9812 | mandated by AI05-105. | |
9813 | ||
9814 | 2009-04-07 Vincent Celier <celier@adacore.com> | |
9815 | ||
9816 | * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string | |
9817 | ||
9818 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
9819 | ||
9820 | * usage.adb: Minor fix in usage message. | |
9821 | ||
9822 | * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to | |
9823 | match declaration; the correct subtype is Node_Id, not Entity_Id, | |
9824 | because the expected node kind is an identifier, not a defining | |
9825 | identifier. | |
9826 | ||
9827 | * switch-c.adb: Minor reformatting. | |
9828 | ||
9829 | * uintp.adb: Minor reformatting. | |
9830 | ||
9831 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
9832 | ||
9833 | * exp_ch13.adb: Minor reformatting | |
9834 | ||
aab73971 | 9835 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
9836 | ||
9837 | * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence | |
9838 | against missing parent. | |
9839 | ||
9840 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
9841 | ||
9842 | * xoscons.adb: Minor reformatting | |
9843 | ||
9844 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
9845 | ||
9846 | * rtsfind.ads: Remove obsolete string concatenation entries | |
9847 | ||
9848 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
9849 | ||
9850 | * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds | |
9851 | ||
9852 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
9853 | ||
9854 | * sem_ch10.adb (Check_Body_Required): Handle properly imported | |
9855 | subprograms. | |
9856 | ||
9857 | 2009-04-07 Gary Dismukes <dismukes@adacore.com> | |
9858 | ||
9859 | * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case | |
9860 | Attribute_Address): When Init_Or_Norm_Scalars is True and the object | |
9861 | is of a scalar or string type then suppress the setting of the | |
9862 | expression to Empty. | |
9863 | ||
9864 | * freeze.adb (Warn_Overlay): Also emit the warnings about default | |
9865 | initialization for the cases of scalar and string objects when | |
9866 | Init_Or_Norm_Scalars is True. | |
9867 | ||
d21d7832 | 9868 | 2009-04-07 Bob Duff <duff@adacore.com> |
9869 | ||
9870 | * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes | |
9871 | ||
9872 | 2009-04-07 Bob Duff <duff@adacore.com> | |
9873 | ||
9874 | * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A | |
9875 | Form parameter of Text_Translation=No allows binary mode for Text_IO | |
9876 | files. | |
9877 | ||
9878 | * gnat_rm.texi: Document Form parameter Text_Translation=xxx. | |
9879 | ||
9880 | 2009-04-07 Javier Miranda <miranda@adacore.com> | |
9881 | ||
9882 | * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when | |
9883 | processing the bounds for bit packed arrays or VM target machines. | |
9884 | ||
a57388e5 | 9885 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
9886 | ||
9887 | * g-sothco.ads (Int_Access): Remove extraneous access type (use | |
9888 | anonymous access instead). | |
9889 | (Get_Socket_From_Set): Fix incorrectly reverted formals | |
9890 | Last and Socket to match the underlying C routine. | |
9891 | ||
99dd12bf | 9892 | * g-socket.adb, g-socket.ads |
a57388e5 | 9893 | (Get): Use named parameter associations instead of positional ones in |
9894 | call go Get_Socket_From_Set, since this routine has two formals of the | |
9895 | same type. | |
99dd12bf | 9896 | (Image): New procedure. |
a57388e5 | 9897 | |
9898 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
9899 | g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads: | |
9900 | (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access" | |
9901 | for type of Arg formal. | |
9902 | ||
9903 | * sem_warn.adb: Minor reformatting | |
9904 | ||
9905 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
9906 | ||
9907 | * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates | |
9908 | over record components. | |
9909 | ||
9910 | 2009-04-07 Nicolas Roche <roche@adacore.com> | |
9911 | ||
9912 | * gsocket.h: | |
9913 | Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library | |
9914 | has disappeared between VxWorks 6.4 and VxWorks 6.5 | |
9915 | In RTP mode use time.h instead of times.h | |
9916 | ||
9917 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
9918 | ||
9919 | * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling | |
9920 | ||
9921 | 2009-04-07 Kevin Pouget <pouget@adacore.com> | |
9922 | ||
9923 | * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct | |
9924 | expanded code for constrained types. | |
9925 | ||
9926 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
9927 | ||
9928 | * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement | |
9929 | AI05-105: in an object renaming declaration, anonymousness is a name | |
9930 | resolution rule. | |
9931 | ||
9932 | * sem_ch8.adb (Analyze_Object_Renaming): Ditto. | |
9933 | ||
9934 | 2009-04-07 Arnaud Charlet <charlet@adacore.com> | |
9935 | ||
9936 | * g-comlin.adb (Expansion): Fix old regression: also return directory | |
9937 | names when matching. | |
9938 | ||
769e3ade | 9939 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
9940 | ||
9941 | * exp_ch4.adb: | |
9942 | (Expand_N_Op_Concat): Call Expand_Concatenate for all cases | |
9943 | (Expand_Concatenate): New name for Expand_Concatenate_String which has | |
9944 | been rewritten to handle all types. | |
9945 | (Expand_Concatenate_Other): Remove | |
9946 | ||
9947 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
9948 | ||
9949 | * lib-xref.adb (Generate_Reference): A default subprogram in an | |
9950 | instance appears within the tree for the instance, but generates an | |
9951 | implicit reference in the ALI. | |
9952 | ||
440ec0be | 9953 | 2009-04-07 Javier Miranda <miranda@adacore.com> |
9954 | ||
9955 | * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged | |
9956 | derived type that has discriminants, propagate the list of interfaces | |
9957 | to the corresponding new base type. In addition, propagate also | |
9958 | attribute Limited_Present (found working in this patch). | |
9959 | ||
9960 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
9961 | ||
9962 | * exp_ch4.adb: Rewrite concatenation expansion. | |
9963 | ||
bb40b8ec | 9964 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> |
9965 | ||
9966 | * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only | |
9967 | relevant to packages. | |
9968 | ||
9969 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
9970 | ||
9971 | * sem_attr.adb: Minor reformatting | |
9972 | ||
9973 | * sem_ch6.adb: Minor reformatting | |
9974 | ||
66808196 | 9975 | 2009-04-07 Tristan Gingold <gingold@adacore.com> |
9976 | ||
9977 | * socket.c: Add more protections against S_resolvLib_ macros. | |
9978 | ||
9979 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
9980 | ||
9981 | * sem_attr.adb: Minor reformatting | |
9982 | ||
9983 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
9984 | ||
9985 | * sem_ch6.adb (New_Overloaded_Entity): New predicate | |
9986 | Is_Overriding_Alias to handle properly types that inherit two homonym | |
9987 | operations that have distinct dispatch table entries. | |
9988 | ||
950ddf69 | 9989 | 2009-04-07 Emmanuel Briot <briot@adacore.com> |
9990 | ||
9991 | * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when | |
9992 | looking for the end of a parenthesis group | |
9993 | ||
9994 | 2009-04-07 Tristan Gingold <gingold@adacore.com> | |
9995 | ||
9996 | * gsocket.h Don't #include resolvLib.h if __RTP__ is defined. | |
9997 | ||
9998 | * socket.c Don't use resolvLib_ macros if not defined. | |
9999 | ||
e37ded63 | 10000 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10001 | ||
10002 | * g-socket.adb: Minor reformatting. | |
10003 | ||
10004 | * g-socthi-mingw.adb: Minor reformatting | |
10005 | ||
10006 | * g-sothco.ads: Minor reformatting | |
10007 | ||
10008 | * exp_ch4.adb: | |
10009 | (Expand_Concatenate_String): Complete rewrite to generate efficient code | |
10010 | inline instead of relying on external library routines. | |
10011 | ||
10012 | * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb, | |
10013 | s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now | |
10014 | obsolescent | |
10015 | ||
10016 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10017 | ||
10018 | * sem_attr.adb: | |
10019 | (Eval_Attribute): for attributes of array objects that are not strings, | |
10020 | attributes are not static if nominal subtype of object is unconstrained. | |
10021 | ||
10022 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10023 | ||
10024 | * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym | |
10025 | operations for a type T in an instance do not override each other, | |
10026 | when T is derived from a formal private type, the corresponding | |
10027 | operations inherited by a type derived from T outside | |
10028 | of the instance do not override each other either. | |
10029 | ||
38d2fa31 | 10030 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10031 | ||
10032 | (Osint.Fail): Change calling sequence to have one string arg | |
10033 | (Make.Make_Failed): Same change | |
10034 | All callers are adjusted to use concatenation | |
10035 | ||
10036 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10037 | ||
10038 | * exp_ch4.adb: Fix documentation typo | |
10039 | ||
10040 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10041 | ||
10042 | * tbuild.ads: Minor reformatting | |
10043 | ||
10044 | 2009-04-07 Javier Miranda <miranda@adacore.com> | |
10045 | ||
10046 | * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table | |
10047 | when compiling under ZFP runtime. | |
10048 | ||
10049 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10050 | ||
10051 | * g-comlin.adb: Minor reformatting | |
10052 | ||
10053 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
10054 | ||
10055 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
10056 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
10057 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads: | |
10058 | Remove dynamic allocation of Fd_Set in Socket_Set_Type objects. | |
10059 | ||
4076879f | 10060 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10061 | ||
10062 | * gnat_ugn.texi: Document -gnatDnn/-gnatGnn | |
10063 | ||
10064 | * opt.ads (Sprint_Line_Limit): New parameter | |
10065 | ||
10066 | * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout | |
10067 | ||
10068 | * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches | |
10069 | ||
10070 | * usage.adb: Output information for -gnatGnn -gnatDnn | |
10071 | ||
10072 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10073 | ||
10074 | * make.adb: Minor reformatting | |
10075 | ||
10076 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10077 | ||
10078 | * mlib-tgt-specific-vms-alpha.adb: Minor reformatting | |
10079 | ||
10080 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10081 | ||
10082 | * mlib-tgt-specific-vms-ia64.adb: Minor reformatting | |
10083 | ||
7a1dabb3 | 10084 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10085 | ||
10086 | * checks.adb: | |
10087 | Remove Assume_Valid parameter from In_Subrange_Of calls | |
10088 | ||
10089 | * sem_eval.adb: | |
10090 | (Is_Subrange_Of): Remove Assume_Valid parameter, not needed | |
10091 | (Is_In_Range): Remove incorrect use of Assume_Valid | |
10092 | (Is_Out_Of_Range): Remove incorrect use of Assume_Valid | |
10093 | ||
10094 | * sem_eval.ads: | |
10095 | (Is_Subrange_Of): Remove Assume_Valid parameter, not needed | |
10096 | (Is_In_Range): Documentation cleanup | |
10097 | (Is_Out_Of_Range): Documentation cleanup | |
10098 | ||
10099 | * gnat_rm.texi: | |
10100 | Add documentation for Assume_No_Invalid_Values pragma | |
10101 | ||
10102 | * sem_ch12.adb: Minor reformatting | |
10103 | ||
10104 | * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors | |
10105 | ||
10106 | * sem_prag.adb: Improve error message. | |
10107 | ||
10108 | * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb: | |
10109 | LF/CR no longer recognized as line terminator | |
10110 | ||
10111 | * switch.ads: Minor documentation improvement | |
10112 | ||
10113 | * vms_data.ads: Minor reformatting | |
10114 | ||
9c486805 | 10115 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10116 | ||
10117 | * checks.adb (Determine_Range): Add Assume_Valid parameter | |
10118 | ||
10119 | * checks.ads (Determine_Range): Add Assume_Valid parameter | |
10120 | ||
10121 | * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than | |
10122 | Is_Null_Loop to suppress warnings in a loop body. | |
10123 | ||
10124 | * exp_ch4.adb: | |
10125 | (Rewrite_Comparison): Major rewrite to accomodate invalid values | |
10126 | ||
10127 | * exp_ch5.adb: | |
10128 | (Expand_N_Loop_Statement): Delete loop known not to execute | |
10129 | ||
10130 | * opt.ads: | |
10131 | (Assume_No_Invalid_Values): Now set to False, and as documented, this | |
10132 | fully enables the proper handling of invalid values. | |
10133 | ||
10134 | * sem_attr.adb: | |
10135 | New calling sequence for Is_In_Range | |
10136 | ||
10137 | * sem_ch5.adb: | |
10138 | (Analyze_Iteration_Scheme): Accomodate possible invalid values | |
10139 | in determining if a loop range is null. | |
10140 | ||
10141 | * sem_eval.adb: | |
10142 | (Is_In_Range): Add Assume_Valid parameter | |
10143 | (Is_Out_Of_Range): Add Assume_Valid_Parameter | |
10144 | (Compile_Time_Compare): Major rewrite to accomodate invalid values and | |
10145 | also to do more accurate and complete range analysis, catching more | |
10146 | cases. | |
10147 | ||
10148 | * sem_eval.ads: | |
10149 | (Is_In_Range): Add Assume_Valid parameter | |
10150 | (Is_Out_Of_Range): Add Assume_Valid_Parameter | |
10151 | ||
10152 | * sem_util.adb: | |
10153 | New calling sequence for Is_In_Range | |
10154 | ||
10155 | * sinfo.adb: | |
10156 | (Suppress_Loop_Warnings): New flag | |
10157 | ||
10158 | * sinfo.ads: | |
10159 | (Is_Null_Loop): Update documentation | |
10160 | (Suppress_Loop_Warnings): New flag | |
10161 | ||
10162 | * gnat_ugn.texi: Document -gnatB switch | |
10163 | ||
f08c7133 | 10164 | 2009-04-07 Arnaud Charlet <charlet@adacore.com> |
10165 | ||
10166 | * gnatvsn.ads: Bump version number. | |
10167 | ||
9e7de1e1 | 10168 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
10169 | ||
10170 | * exp_ch3.adb: Minor rewording (comments) | |
10171 | ||
10172 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10173 | ||
10174 | * exp_disp.adb: Minor reformatting | |
10175 | ||
e3676880 | 10176 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
10177 | ||
10178 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the | |
10179 | underlying type. | |
10180 | * gcc-interface/trans.c (lvalue_required_p): Likewise. | |
10181 | ||
91b6aca6 | 10182 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
10183 | ||
10184 | * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>: | |
10185 | Do not convert the result. Remove obsolete comment. | |
10186 | ||
2aa63447 | 10187 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
10188 | ||
10189 | * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear | |
10190 | DECL_CONTEXT. | |
10191 | (Subprogram_Body_to_gnu): Fix pasto. | |
10192 | ||
515c6c6c | 10193 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
10194 | ||
10195 | * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl. | |
10196 | (void_type_decl_node): Remove. | |
10197 | (init_gigi_decls): Likewise. | |
10198 | (gnat_install_builtins): Declare. | |
10199 | (record_builtin_type): Likewise. | |
10200 | (create_type_stub_decl): Likewise. | |
10201 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type. | |
10202 | (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types | |
10203 | artificial. | |
10204 | <E_Array_Subtype>: Use the index types, not only their name, in the | |
10205 | record giving the names of the bounds, if any. | |
10206 | For a packed array type, make it artificial only if the base type | |
10207 | was artificial as well. Remove redundant statement. | |
10208 | (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for | |
10209 | dummy types. | |
10210 | Use create_type_stub_decl to build the TYPE_STUB_DECL of types. | |
10211 | (rest_of_type_decl_compilation_no_defer): Likewise. | |
10212 | * gcc-interface/misc.c (gnat_printable_name): Add missing guard. | |
10213 | * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL | |
10214 | and use create_type_stub_decl to build it. | |
10215 | (gnat_pushdecl): Rewrite condition. | |
10216 | (gnat_install_builtins): Remove bogus declaration. | |
10217 | (record_builtin_type): New function. | |
10218 | (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL | |
10219 | of types. | |
10220 | (create_type_stub_decl): New function. | |
10221 | (create_type_decl): Assert that the type is not dummy. If the type | |
10222 | hasn't been named yet, equate the TYPE_STUB_DECL to the created node. | |
10223 | (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor. | |
10224 | (build_vms_descriptor): Likewise. | |
10225 | (init_gigi_decls): Delete and move bulk of code to... | |
10226 | * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type. | |
10227 | (emit_range_check): Add gnat_node parameter. | |
10228 | (emit_index_check): Likewise. | |
10229 | (emit_check): Likewise. | |
10230 | (build_unary_op_trapv): Likewise. | |
10231 | (build_binary_op_trapv): Likewise. | |
10232 | (convert_with_check): Likewise. | |
10233 | (Attribute_to_gnu): Adjust calls for above changes. | |
10234 | (call_to_gnu): Likewise. | |
10235 | (gnat_to_gnu): Likewise. | |
10236 | (assoc_to_constructor): Likewise. | |
10237 | (pos_to_constructor): Likewise. | |
10238 | (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes. | |
10239 | (process_type): Do not create TYPE_DECL for dummy types. | |
10240 | ||
27dd98d5 | 10241 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
10242 | ||
32826d65 | 10243 | * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables. |
10244 | * gcc-interface/trans.c: Fix formatting throughout. Fix comments. | |
10245 | * gcc-interface/utils.c: Fix comments. | |
10246 | ||
10247 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> | |
10248 | ||
10249 | * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and | |
10250 | move around. | |
27dd98d5 | 10251 | (gnat_to_gnu_type): Move around. |
10252 | (get_unpadded_type): Likewise. | |
32826d65 | 10253 | * gcc-interface/utils.c (update_pointer_to): Use synthetic macro. |
10254 | Tidy comments. | |
27dd98d5 | 10255 | |
19b59272 | 10256 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
10257 | ||
10258 | * gcc-interface/trans.c (check_for_eliminated_entity): New function. | |
10259 | (Attribute_to_gnu): Invoke it for Access- and Address-like attributes. | |
10260 | (call_to_gnu): Invoke it instead of manually checking. | |
10261 | ||
09cd9e44 | 10262 | 2009-04-04 Eric Botcazou <ebotcazou@adacore.com> |
10263 | ||
10264 | * gcc-interface/utils.c (finish_record_type): Force structural equality | |
10265 | checks if the record type is discriminated. | |
10266 | ||
33745ea5 | 10267 | 2009-03-31 Eric Botcazou <ebotcazou@adacore.com> |
10268 | ||
10269 | * system-linux-alpha.ads (Functions_Return_By_DSP): Remove. | |
10270 | * system-linux-mips.ads (Functions_Return_By_DSP): Likewise. | |
10271 | * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise. | |
10272 | * system-linux-s390.ads (Functions_Return_By_DSP): Likewise. | |
10273 | * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise. | |
10274 | * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise. | |
10275 | * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise. | |
10276 | ||
be763a3f | 10277 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
10278 | ||
36ac1281 | 10279 | * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead |
10280 | of TREE_CONSTANT_OVERFLOW. | |
be763a3f | 10281 | |
c6418a4e | 10282 | 2009-03-30 Joseph Myers <joseph@codesourcery.com> |
10283 | ||
10284 | PR rtl-optimization/323 | |
10285 | * gcc-interface/misc.c (gnat_post_options): Set | |
10286 | flag_excess_precision_cmdline. Give an error for | |
10287 | -fexcess-precision=standard for processors where the option is | |
10288 | significant. | |
10289 | ||
7cfdc2f0 | 10290 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
10291 | ||
10292 | PR c/39323 | |
10293 | * gcc-interface/utils.c (create_field_decl): Use "unsigned int" | |
10294 | on bit_align. | |
10295 | ||
a45338e6 | 10296 | 2009-03-11 Olivier Hainque <hainque@adacore.com> |
10297 | ||
10298 | * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range | |
10299 | checks processing, remove unintended TREE_TYPE walk on index type. | |
10300 | ||
f6b2b596 | 10301 | 2009-03-01 Eric Botcazou <ebotcazou@adacore.com> |
10302 | ||
10303 | PR ada/39264 | |
10304 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no | |
10305 | call make_packable_type on fat pointer types. | |
10306 | <E_Array_Subtype>: Likewise. | |
10307 | <E_Record_Subtype>: Call make_packable_type on all record types | |
10308 | except for fat pointer types. | |
10309 | (make_packable_type): Likewise. | |
10310 | (gnat_to_gnu_field): Likewise. | |
10311 | ||
79357758 | 10312 | 2009-02-28 Eric Botcazou <ebotcazou@adacore.com> |
10313 | ||
10314 | * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental | |
9ff37fb4 | 10315 | EH_MECHANISM change made on 2007-12-06. |
79357758 | 10316 | |
369e542b | 10317 | 2009-02-26 Andreas Schwab <schwab@suse.de> |
10318 | ||
91c745ea | 10319 | PR ada/39172 |
369e542b | 10320 | * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@. |
369e542b | 10321 | * gcc-interface/Makefile.in: Change all uses of $(srcdir), |
10322 | $(fsrcdir) and $(fsrcpfx) to add ada subdir. | |
10323 | (AWK): Substitute. | |
10324 | (target_cpu_default): Substitute. | |
10325 | ||
fc569392 | 10326 | 2009-02-25 Laurent GUERBY <laurent@guerby.net> |
10327 | ||
9963b131 | 10328 | PR ada/39221 |
369e542b | 10329 | * a-teioed.adb (Expand): Fix Result overflow. |
10330 | ||
3c9bc267 | 10331 | 2009-02-25 Laurent GUERBY <laurent@guerby.net> |
f91878b6 | 10332 | |
369e542b | 10333 | * gcc-interface/Makefile.in: Fix multilib handling for |
10334 | sparc64-linux. | |
10335 | ||
6e0613db | 10336 | 2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10337 | ||
10338 | * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6. | |
10339 | ||
0ff5b865 | 10340 | 2009-02-18 H.J. Lu <hongjiu.lu@intel.com> |
10341 | ||
10342 | * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. | |
10343 | ||
e584dc46 | 10344 | 2009-02-16 Eric Botcazou <ebotcazou@adacore.com> |
10345 | ||
10346 | * gcc-interface/deftarg.c: Remove. | |
10347 | ||
892fdb03 | 10348 | 2009-02-10 Olivier Hainque <hainque@adacore.com> |
0ff5b865 | 10349 | Eric Botcazou <ebotcazou@adacore.com> |
892fdb03 | 10350 | |
10351 | * gcc-interface/decl.c (enum alias_set_op): New enumeration. | |
10352 | (copy_alias_set): Rename into... | |
10353 | (relate_alias_sets): ...this. Add third parameter OP. Retrieve the | |
10354 | underlying array of unconstrained arrays for the new type as well. | |
10355 | If the old and new alias sets don't conflict, make one a subset of | |
10356 | the other as per the OP parameter. | |
10357 | (gnat_to_gnu_entity): Adjust calls to copy_alias_set. | |
10358 | <E_Record_Type>: Do not copy the alias set for derived types. | |
10359 | For all types, make the alias set of derived types a superset of | |
10360 | that of their parent type. | |
10361 | (make_aligning_type): Adjust calls to copy_alias_set. | |
10362 | (make_packable_type): Likewise. | |
10363 | * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>: | |
10364 | Check for alias set conflict instead of strict equality to issue the | |
10365 | warning. | |
10366 | ||
9c843fa0 | 10367 | 2009-02-09 Eric Botcazou <ebotcazou@adacore.com> |
10368 | ||
10369 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: | |
10370 | Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate. | |
10371 | (copy_alias_set): Assert that arrays have the same aliasing settings. | |
10372 | (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT. | |
10373 | ||
34e9b3c7 | 10374 | 2009-02-08 Eric Botcazou <ebotcazou@adacore.com> |
10375 | ||
10376 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: | |
10377 | Set TYPE_NONALIASED_COMPONENT on the array type. | |
10378 | ||
5f65ad17 | 10379 | 2009-01-31 Laurent GUERBY <laurent@guerby.net> |
10380 | ||
10381 | * gcc-interface/Makefile.in: Fix mipsel linux handling. | |
369e542b | 10382 | |
ac27c1c8 | 10383 | 2009-01-16 Jakub Jelinek <jakub@redhat.com> |
10384 | ||
10385 | * gcc-interface/Makefile.in: Fix multilib handling for | |
10386 | powerpc64-linux. | |
10387 | ||
d626a092 | 10388 | 2009-01-12 Eric Botcazou <ebotcazou@adacore.com> |
10389 | ||
10390 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip | |
10391 | only useless conversions around renamed objects. | |
10392 | ||
c4f4d389 | 10393 | 2009-01-11 Eric Botcazou <ebotcazou@adacore.com> |
10394 | ||
10395 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put | |
10396 | the _Tag field before any discriminants in the field list. | |
10397 | (components_to_record): Remove obsolete comment. | |
10398 | ||
7dfbd804 | 10399 | |
10400 | \f | |
13239963 | 10401 | Copyright (C) 2009 Free Software Foundation, Inc. |
7dfbd804 | 10402 | |
10403 | Copying and distribution of this file, with or without modification, | |
10404 | are permitted in any medium without royalty provided the copyright | |
10405 | notice and this notice are preserved. |